Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.
the gen 5 games are C, not C++, and there are no classes. also, those addresses are wrong- they're missing a 0 or something.
e:
you're going to want this: https://hack.thundaga.com/hacking_stuff.7z
arm9-white2_decompressed_U.idb is the most useful thing.
also, one other thing. instead of having to edit the linker script each time you want to compile for a different address, you can do this:
make CODEADDR=0x8xxxxxx
this way you only have to make 1 linker script and never touch it again. i have a batch file that's nothing but
make...
fyi shiny quagsire, i've been experimenting with the linker and symbol files and i've found that the best way to use THUMB calls with a symbol file involves adding an extra bit to the makefile. basically, what happens is that all the symbols in the symbol file are assumed to be ARM functions...
one more thing. let's say you have a struct that's part of the game that you need to use that's very large and complex with a bunch of members, but you never have to modify it yourself. something like this:
typedef struct graphics_struct {
u32 data;
u32 more_data;
etc etc...
}...
just fyi, you can also call functions already built into the game from your c/c++ files using a symbols file. i'm looking at useful.h and it looks like you're trying to call functions that are built into gamefreak's codebase. you can do that much more easily using the symbols file and...
what's the address of the function that loads the header data? and the file loading code? i have virtually all the file-loading code labeled, but knowing which one it is beforehand would be nice.
e:
lol, already had it labelled:
kazo, try going to 0x1478C in the arm9 and increasing that...
could you send me a patch that will produce this same issue? ideally in white 2. i'd like to poke at it a little bit. e: also, what does "doesn't like it" mean exactly?
i don't think it is. libVX isn't part of the linked-in libraries. if you look above, i pasted them all in. if libVX was there and used, it would show up. i know because the abiosso lib is another middleware lib for voice chat and it shows up in the list. so are libVCT and ubiquitous ssl.
a good amount of the twl sdk is exactly the same as the nitro sdk aside from some adjustments to the card and filesystem libraries. there are differences in other libraries though, i occasionally have to make up a name for a function. the "i" functions are internal to the devkit only, not for...
there are potential library functions for 6 or 7 different 3d modeling programs, but in bw2 only 3 are included in the engine: 3dsmax, maya, and something called xsi. so if that's what the files are, they likely started out as one of those.
this is wrong. r/s seeds only go 0-0xffff also even though they use a more complex formula. the seeding is 16-bit either way, so no there's not more seeds.
ROM:080003E4 ; =============== S U B R O U T I N E =======================================
ROM:080003E4
ROM:080003E4
ROM:080003E4...
ROM:0806A518 getPKMData:
ROM:0806A674 readPKMData:
ROM:0806ACAC writePKMData:
ROM:0806AD9C setPKMData:
08070266 Inheritance- bugged to not prevent inheriting the same IV multiple times Bond697
08070218 Inheritance check- make sure the same IV...