User talk:Pokechu22: Difference between revisions

Line 9: Line 9:


Are you sure Nerf N-Strike Elite has symbols in nerf.elf? It doesn't seem to be a regular ELF file. Interestingly, the other two games in the Nerf series do seem to have debug symbols in their ELF files. [[User:Flacs|Flacs]] ([[User talk:Flacs|talk]]) 03:52, 11 January 2020 (CET)
Are you sure Nerf N-Strike Elite has symbols in nerf.elf? It doesn't seem to be a regular ELF file. Interestingly, the other two games in the Nerf series do seem to have debug symbols in their ELF files. [[User:Flacs|Flacs]] ([[User talk:Flacs|talk]]) 03:52, 11 January 2020 (CET)
:Yep, it does seem to have symbols in nerf.elf (when compared to main.dol).  I was able to import it into ghidra and get symbols, which didn't happen with main.dol (which I think has the same code in it otherwise), and running <code>strings nerf.elf | less</code> and going to the end shows very symbol-looking things like <code style="word-break: break-all">insert__Q23std151__vec_deleter<Q210Metrowerks42range_map_entry<w,Q33std10ctype_base4mask>,Q23std69allocator<Q210Metrowerks42range_map_entry<w,Q33std10ctype_base4mask>>>FPQ210Metrowerks42range_map_entry<w,Q33std10ctype_base4mask>RCQ210Metrowerks42range_map_entry<w,Q33std10ctype_base4mask>Q210Metrowerks11int2type<3></code> (and more typical SDK functions).  Both main.dol and nerf.elf have "ELFPATCH/WII v1.0 by Marc Bannister (based on Morton's ELF Compressor)" and "Copyright 2007 Electronic Arts Europe" near the start.  Note that I have a US copy of the game (RL6E69, SHA-1 e5f38d127850eb3d69daca411102d1dc2ddd9370). --[[User:Pokechu22|Pokechu22]] ([[User talk:Pokechu22|talk]]) 20:15, 11 January 2020 (CET)