zeroKilo / XEXLoaderWV

Ghidra Loader Module for X360 XEX Files
112 stars 13 forks source link

Cannot load PDB information. #14

Closed NefariousTechSupport closed 2 years ago

NefariousTechSupport commented 2 years ago

Trying to load default.xex from a skylanders spyro's adventure dev build and sideload pdb info, same way as the 2nd video tutorial.

This XEX is:

Devkit
Uncompressed
Encrypted
Title Module
Uses Game Voice Channel 

meanwhile the one from #13 is as so:

Devkit
Compressed
Encrypted
Title Module
Uses Game Voice Channel
PII

Not sure what the issue is, compressing it with xextool didn't help, anyways here are the xex and pdb files for the game, yes I've tried both

zeroKilo commented 2 years ago

Im busy this week, but will take a look as soon as I can greetz WV

zeroKilo commented 2 years ago

so, I had time to look at this, and I have bad news: your pdb is broken! in particular the rootstream, which contains the pages of the rootdirectory, its all zero. https://gist.github.com/Diggsey/cefdbd068c540a4d0daa check this, in your header you have page size 0x400 and rootIndex at 0xA9AD -> offset = 0x2A6B400. if you look into your pdb file, theres only zeros, so its been wiped, and as blocks are arranged "randomly" you can not recover this information (unless you wanna play a puzzle with 43531 pieces...

NefariousTechSupport commented 2 years ago

It’s possible something went wrong when it was dumped so I’ll ask the person who originally dumped the game to redump the pdb specifically. Thank you for checking anyways