Page 1 of 1
Disassembling Default.xbe With IDA Pro
Posted: Tue Apr 10, 2007 6:46 pm
by Shadowz_O_Death
Hello everyone! May someone please explain to me the basics of disassembling the Halo 2 default.xbe with IDA Pro? This includes explaining to me how to properly open the Halo 2 default.xbe, modify the Halo 2 default.xbe, save the Halo 2 default.xbe, and anything else that I might need to know. I tried searching "IDA" on the forums and found
very few results. Also, may someone please provide me with an example code of a Halo 2 default.xbe modification in IDA Pro and explain to me how it works? I'm very anxious to start using IDA Pro. I've just purchased the full version of it and I'm very confused!

I hope it's not against the rules of HaloMods, because like I said before, I didn't find many posts regarding disassembling the Halo 2 default.xbe with IDA Pro at all. I double-checked the rules to make sure it wasn't on there, and it didn't appear to be. If this is for some reason against the rules of HaloMods, I'm very sorry... Anyways, thank you very much for reading!
Regards,
Shadowz O Death
Posted: Tue Apr 10, 2007 6:48 pm
by latinomodder
just open it....
Ive used that app for searching for some basic script stuff, but believe me you wont do much if you dont know assembly.
Posted: Tue Apr 10, 2007 6:51 pm
by Shadowz_O_Death
latinomodder wrote:just open it....
Ive used that app for searching for some basic script stuff, but believe me you wont do much if you dont know assembly.
Thank you very much for the reply! I believe it's already opened.

I just need to know how to actually start modifying the Halo 2 default.xbe. May you please provide me with a simple example of a modification of the Halo 2 default.xbe in IDA Pro? That's all I'm really asking for.
Regards,
Shadowz O Death
Posted: Tue Apr 10, 2007 7:07 pm
by shade45
Shadowz_O_Death wrote:latinomodder wrote:just open it....
Ive used that app for searching for some basic script stuff, but believe me you wont do much if you dont know assembly.
Thank you very much for the reply! I believe it's already opened.

I just need to know how to actually start modifying the Halo 2 default.xbe. May you please provide me with a simple example of a modification of the Halo 2 default.xbe in IDA Pro? That's all I'm really asking for.
Regards,
Shadowz O Death
We'll to start editing the xbe you have to connect to your xbox using a debug bios to find what you want to edit, get the breakpoints, raw dumps, blah, blah, blah
I dont know how its done but if you go to the maxconole.net forums you can find some nice trainer making tutorials

Posted: Tue Apr 10, 2007 7:07 pm
by latinomodder
Im not exactly the person to do that, all I know how to do is check how many arguments a script has.
Posted: Tue Apr 10, 2007 7:13 pm
by Shadowz_O_Death
Thank you very much for the replies everyone! I was looking through some strings and I seen "weapon-ammo-exsists." Here is the original code:
.rdata:00452714 aWeaponAmmoExis db 'weapon-ammo-exists',0 ; DATA XREF: sub_A2470+158o
I'm guessing if I were to change the value from "0" to "1," it would make it so ammo always exsists another words you'll have unlimited ammo. This it what it would look like if I changed the value:
.rdata:00452714 aWeaponAmmoExis db 'weapon-ammo-exists',1 ; DATA XREF: sub_A2470+158o
What do you guys think? Does that seem right to you? Thank you very much!
Regards,
Shadowz O Death
Edit: How are you suppost to edit the value?

Posted: Tue Apr 10, 2007 7:30 pm
by Anthony
you don't use IDA pro to edit the xbe, you either use a hex editor, or actually make a trainer.
and no that wont work for inf. ammo

its a alot more work then that, it includes dumping your xbox memory, searching for values that happen to be the same amout of ammo that you currently have, once you find that use some more of the ammo and dump the memory again and see if you can find that value to narrow your first search results until you get down to a few values to test
then you need to set a breakpoint to give the address of the coide that wrote to that address
once you find that you will need to figure out what you want to do wiht that location
and thats just a summary not even exactly what has to be done...
so I think u kinda wasted your "money"

when you "bought it"

Posted: Tue Apr 10, 2007 8:14 pm
by DarkShallFall
why the hell is this guy so nice?

Posted: Wed Apr 11, 2007 3:48 am
by Geo
Sounds like a similar process to making cheats for Pokemon on the gameboy... though probably much harder.
Posted: Wed Apr 11, 2007 3:53 am
by -DeToX-
Yeah I wouldn't use Ida just for editting, it would be harder to find values. If you got XDK on your xbox(Don't ask for it, its illegal), you would have about for example 80 rounds in your gun, set a breakpoint, shoot 3 rounds, set another break point and search for 80 and 77 in the dumped memory, or something along those lines, haven't looked into XBEing in a while.
Posted: Wed Apr 11, 2007 5:06 pm
by Anthony
-DeToX- wrote:Yeah I wouldn't use Ida just for editting, it would be harder to find values. If you got XDK on your xbox(Don't ask for it, its illegal), you would have about for example 80 rounds in your gun, set a breakpoint, shoot 3 rounds, set another break point and search for 80 and 77 in the dumped memory, or something along those lines, haven't looked into XBEing in a while.
thats exactly what I said...

Posted: Wed Apr 11, 2007 5:12 pm
by -DeToX-
Didn't see that, cause I just skim through the topic.
Posted: Thu Apr 12, 2007 4:32 pm
by Spammy
Sounds exactly like a gameshark(brings me back...)