Page 1 of 2
[SOURCE]:[C] Hydrogen & Oxygen
Posted: Wed Nov 09, 2005 4:53 pm
by Shalted
--Happy Birthday Halo 2--
Oxygen & Hydrogen:
Halo 2 Tools, in source form,
Hydrogen:
Map Decompiler... sort of....
It recursively extracts all the meta of a certain tag
and writes its Dependencies, LoneIDs, String IDs and
reflexives to a file.
Oxygen:
Map Rebuilder.... also sort of...
While it can inject raw data, I just havn't gotten around
properly implementing it.
Alright, these tools are still WIPs, You can get the fuel rod in, theres one shader problem though that freezes the game. Any way, I hope you can learn a little from this source.
These should compile out of the box on linux machines, and any other *nix based machine. However it might need a little modification for any Doze machine.
Posted: Wed Nov 09, 2005 4:58 pm
by casuela
Are you just telling us, or did you forget a download?
Posted: Wed Nov 09, 2005 4:58 pm
by GametagAeonFlux
Map rebuilder?! So...many...doors...opened...amazing job.
Posted: Wed Nov 09, 2005 5:00 pm
by Shalted
Forgot the download, no this doenst rebuild BSP's. I leaves all external data, externally refrenced to save space,,,
Posted: Wed Nov 09, 2005 5:00 pm
by Lavix
Nice job dude. Its good that you released its source. That should help some people.

Posted: Wed Nov 09, 2005 5:02 pm
by shade45
Awsome a map rebuilder.... thanks man, good job
Edit: sorry for the stupid question but i know nothing about programming so how would i compile this to a .exe
Posted: Wed Nov 09, 2005 5:46 pm
by Juniorman030790
even bigger n00b question. What does a map rebuilder allow to happen?
well
Posted: Wed Nov 09, 2005 5:52 pm
by da dude of halo2
Juniorman030790 wrote:even bigger n00b question. What does a map rebuilder allow to happen?
well it aloows you to build a map like from spconvertion to MP and sp= singel player and mp= multiplaye.
but yeah what do i do with tags i dont know what to do with them but odd job on this. But serouis ly not a lot of people like me know how to make a program or even to know how to make these in exe or program format?.
Posted: Wed Nov 09, 2005 5:52 pm
by Zigen
downloaded...what i do with it?
seems like just source too me
Posted: Wed Nov 09, 2005 5:56 pm
by mrhyperpenguin
shade45 wrote:sorry for the stupid question but i know nothing about programming so how would i compile this to a .exe
S_Halted wrote:These should compile out of the box on linux machines, and any other *nix based machine. However it might need a little modification for any Doze machine.
this is a linux app, im fairly certin it wont work on windows machines because you have to complie it, thats what makefile does on linux. but you can still view the source with notepad if you need help making your own halo apps. but if your going to make a halo app on windows, just use ch2r and darkmatter.
Posted: Wed Nov 09, 2005 6:05 pm
by Lavix
Wll if you have a C++ compiler then you can compile it.

Posted: Wed Nov 09, 2005 6:13 pm
by shade45
Lavix wrote:Wll if you have a C++ compiler then you can compile it.

where could i get a free one?
Posted: Wed Nov 09, 2005 6:14 pm
by Zigen
linux oh bah!!

Posted: Wed Nov 09, 2005 6:17 pm
by jamesr66a
Infection4389 wrote:linux oh bah!!

hey you can't dis linux!
Posted: Wed Nov 09, 2005 6:27 pm
by Zigen
no its just my bro installed linux then we took it off .........because i said i didnt need it.....
Posted: Wed Nov 09, 2005 7:09 pm
by MasterChief2829
er.... linux? ... dam.n
Posted: Wed Nov 09, 2005 7:12 pm
by shade45
is it possible to convert it to windows at all?
Posted: Wed Nov 09, 2005 7:48 pm
by Shalted
Sorry for the vauge description, I only had a couple of minutes to write it, anyways.
This will easily compile under linux, but under windows, since there's a difference in path slashes (ex Linux: /home/user/tlib Windows C:\folder\folder), you need to modify it a little.
But this doesnt fully rebuild maps, I have gotten it to rebuild a Fuel Rod Cannon into Zanzibar. It keeps all raw data references external, to keep the filesize down, there is a bit of code in there, for importing it, but its untested/incomplete.
Once you do compile it, it should create either
TagDump.exe or SCAMR.exe (The names I used before I decided to call them Hydorgen & Oxygen)
usage:
Tagdump [map] [tag] [class]
SCAMR [Map] [Tag] [class]
PS. A good free compiler would be Dev-C++.
Posted: Wed Nov 09, 2005 8:39 pm
by TunesRus90
nice job, but i still haven't tried to get it running in Xebian (xbox form of Debian). How would i get the Gnome2 environment running on my xbox? Also, Any update on mac osx incompetance?
Posted: Thu Nov 10, 2005 12:12 am
by tjc2k4
First, I love posts like this

, keep it up, you're what makes this 'community' so amusing:
but yeah what do i do with tags i dont know what to do with them but odd job on this. But serouis ly not a lot of people like me know how to make a program or even to know how to make these in exe or program format?.
And I hope you're (S_halted) prepared for your thread to be filled with that type when you make releases like this

As well as posts like 'what can i do with this' and then the answers by people who haven't actually read what you posted, tried the program, nor know how to try the program, but feel the need to answer.
i.e.
well it aloows you to build a map like from spconvertion to MP and sp= singel player and mp= multiplaye.
If the person who made the quoted post would've read, the program doesn't do raw quite right for things like the FRG, so a BSP conversion is probably unlikely.
GametagAeonFlux wrote:Map rebuilder?! So...many...doors...opened...amazing job.
But on a more serious note, I have a question for the 'community' based on the quoted post above... Map rebuilding has been possible for a long while, but we figured that it'd be easier for people to drag/drop tags. If you think about it, Insolence is decompiling, moving tags, and rebuilding a map for you behind the scenes whenever you drag/drop a tag, and it does it recursively (when it works).
I believe S_halted's purpose for this program (also Incompetence) was more so that *nix/Mac users would have tools to use, I don't think it was aimed for the Windows users. But, given that the windows users seem excited about a map rebuilder that does less than current Windows tools, I'd like to ask a question: why?
Does the feeling that you're doing more (decompiling, moving, recompiling, etc), make you feel like you're doing something harder or more complex? I'd like to know because if more people would rather decompile and recompile maps and such, my next program can have a decompiler and recompiler instead of dragging and dropping (it's the same code, it'd just be split into 2 sections and allow more steps for error and be more complicated to use for the average modder). The original thought process was that the easier something is to do for the user, the better, because then more people will understand how to do it, will do it, and will make better mods. Maybe not?
Please don't misunderstand the question and base your response on the current capabilities of released programs (Insolence, these, Dark Matter, ADI), I just wanted to ask about the interface (de/recompile vs. drag/drop vs. extract/inject). Insolence has many flaws that crash it, but imagine in a perfect world, to do something like a conversion, would you rather decompile a map, move the bsp & recompile a map, or open both maps & drag/drop. Or export the tag to a file, then re-import it. (If you think about it, rebuilding is just like massive extracting/injecting, and drag/drop is temporary extract/inject).. anyway, the possibilities of what you could do with any of the above interfaces are the same, I guess it just boils down to a UI preference.