[SOURCE]:[C] Hydrogen & Oxygen

Utilities designed primarily for the xbox version of Halo 2.
Shalted




Eureka Translator

Posts: 565
Joined: Wed Nov 17, 2004 8:41 am
Location: Vancouver, BC This is where people put their modding team because they feel important.
Contact:

[SOURCE]:[C] Hydrogen & Oxygen

Post 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.
Attachments
HaloGen.tar.gz
(22.21 KiB) Downloaded 182 times
Last edited by Shalted on Wed Nov 09, 2005 4:59 pm, edited 1 time in total.
Awaiting connection...
casuela





Posts: 406
Joined: Mon Jun 27, 2005 3:01 am
Location: in my own state of mind
Contact:

Post by casuela »

Are you just telling us, or did you forget a download?
User avatar
GametagAeonFlux




Bloodhound Acolyte Orb Commentator
Pyre Socialist

Posts: 9320
Joined: Sun Jun 06, 2004 7:27 pm
Location: Lincoln, NE

Post by GametagAeonFlux »

Map rebuilder?! So...many...doors...opened...amazing job.
Shalted




Eureka Translator

Posts: 565
Joined: Wed Nov 17, 2004 8:41 am
Location: Vancouver, BC This is where people put their modding team because they feel important.
Contact:

Post by Shalted »

Forgot the download, no this doenst rebuild BSP's. I leaves all external data, externally refrenced to save space,,,
Awaiting connection...
User avatar
Lavix




Recreator Connoisseur

Posts: 439
Joined: Thu Sep 29, 2005 7:10 pm
Location: Ohio
Contact:

Post by Lavix »

Nice job dude. Its good that you released its source. That should help some people. :)
User avatar
shade45




Translator Artisan Enthraller Logistician
Stylist Wave Firestorm New Age

Posts: 2270
Joined: Fri Apr 01, 2005 1:04 pm

Post by shade45 »

Awsome a map rebuilder.... thanks man, good job :D

Edit: sorry for the stupid question but i know nothing about programming so how would i compile this to a .exe
Juniorman030790





Posts: 745
Joined: Mon Feb 14, 2005 1:09 pm
Contact:

Post by Juniorman030790 »

even bigger n00b question. What does a map rebuilder allow to happen?
Image
da dude of halo2




Wordewatician 250

Posts: 375
Joined: Sun May 16, 2004 11:23 am
Location: At work or in a DJ Booth

well

Post 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?.
If you want to hear some awsome amature music mixed and remixed and newly composed then check out my myspace. www.myspace.com/djmetriod
-enjoy.

Image
Zigen




Miner Socialist Snitch! Coagulator

Posts: 1654
Joined: Thu Jun 02, 2005 8:37 pm
Contact:

Post by Zigen »

downloaded...what i do with it?
seems like just source too me
mrhyperpenguin




Revivalist Miner Wordewatician 250

Posts: 357
Joined: Sun Mar 07, 2004 4:34 pm

Post 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.
Last edited by mrhyperpenguin on Wed Nov 09, 2005 6:07 pm, edited 1 time in total.
Image
User avatar
Lavix




Recreator Connoisseur

Posts: 439
Joined: Thu Sep 29, 2005 7:10 pm
Location: Ohio
Contact:

Post by Lavix »

Wll if you have a C++ compiler then you can compile it. :wink:
User avatar
shade45




Translator Artisan Enthraller Logistician
Stylist Wave Firestorm New Age

Posts: 2270
Joined: Fri Apr 01, 2005 1:04 pm

Post by shade45 »

Lavix wrote:Wll if you have a C++ compiler then you can compile it. :wink:
where could i get a free one?
Zigen




Miner Socialist Snitch! Coagulator

Posts: 1654
Joined: Thu Jun 02, 2005 8:37 pm
Contact:

Post by Zigen »

linux oh bah!! :x
jamesr66a




Miner

Posts: 250
Joined: Sat Jul 30, 2005 9:17 am

Post by jamesr66a »

Infection4389 wrote:linux oh bah!! :x
hey you can't dis linux!
Zigen




Miner Socialist Snitch! Coagulator

Posts: 1654
Joined: Thu Jun 02, 2005 8:37 pm
Contact:

Post by Zigen »

no its just my bro installed linux then we took it off .........because i said i didnt need it.....
User avatar
MasterChief2829




Critic Blacksmith

Posts: 1184
Joined: Sun Dec 26, 2004 2:18 pm

Post by MasterChief2829 »

er.... linux? ... dam.n
Image
User avatar
shade45




Translator Artisan Enthraller Logistician
Stylist Wave Firestorm New Age

Posts: 2270
Joined: Fri Apr 01, 2005 1:04 pm

Post by shade45 »

is it possible to convert it to windows at all?
Shalted




Eureka Translator

Posts: 565
Joined: Wed Nov 17, 2004 8:41 am
Location: Vancouver, BC This is where people put their modding team because they feel important.
Contact:

Post 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++.
Awaiting connection...
User avatar
TunesRus90




Commentator Articulatist 250

Posts: 335
Joined: Tue Aug 23, 2005 1:27 pm

Post 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?
Last edited by TunesRus90 on Sun Mar 05, 2006 11:12 am, edited 1 time in total.
Image
tjc2k4




Construct Socialist Golden Age Magic Era
Pi Coagulator Eureka Pyre
Literarian 100

Posts: 150
Joined: Wed Nov 12, 2003 3:21 am

Post 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.
Blah blah blah
Post Reply