Debugging with Symbols?

Discussion in 'Xbox (Original console)' started by stuntpenguin, Feb 28, 2016.

  1. stuntpenguin

    stuntpenguin Spirited Member

    Joined:
    Jun 5, 2009
    Messages:
    117
    Likes Received:
    69
    I'm trying to debug an xbe that I have the pdb file for. I made this post not too long ago: http://assemblergames.com/l/threads/offer-the-godfather-xdk-debug-hard-drive.60097/ explaining that I had an xbox hard drive image with files pertaining to the debug version of a game.

    Thanks to aerosoul94 (Who extracted most of the files), I now have a good majority of the assets required for this game. Most of the recovered files are missing the key information of which directory they belong in. With the help of the PC version (for reference), most of the files have been placed in an appropriate directory.

    So far the game loads a couple of videos, and then crashes. When debugging the game with xbdbsmon, I make it to this error:
    ERROR - c:\packages\ears_framework\dev\src\game_framework\framework\core\attributehandler\cattributehandler.cpp (184): ASSERT: [IsInstanceCreationPacket()]


    This is somewhat vague, and I don't really know how to go about debugging this. I do have the pdb file for this xbe. Is there some way that this could be of use to me? When loading up the xbe in IDA, it doesn't ask for a pdb like most other things I try to reverse.

    It's worth noting that someone on this forum found that the debug xbe will load with the retail assets, but will crash for many different reasons when playing. The retail assets are packed into a .viv file. The .viv file format is similar to that of the EA .big format. If this format could be figured out, we'd have a pretty good idea of what the file directory structure should look like for the debug assets.

    Is there some way that I can load up the pdb alongside the xbe in ida? Can I make use of the debug symbols over the network debug?

    Thanks.
     
  2. Decapicitated

    Decapicitated Site Supporter 2011-13 Lara Croft

    Joined:
    Apr 17, 2011
    Messages:
    399
    Likes Received:
    33
    Did you ever confirm whether that build on the DevKit was final or not? It's possible some file formats have changed. I doubt that since you can actually load levels.

    Send me the PDB and a .VIV file.
     
  3. stuntpenguin

    stuntpenguin Spirited Member

    Joined:
    Jun 5, 2009
    Messages:
    117
    Likes Received:
    69
    There are three xbe's on the drive. Two are debug and one is final. They'll all load the retail VIV files (and crash at some point) but at least the debug executable will load the unpacked "debug" assets that were also found on the hard drive. I'll upload the files and PM you. There are still some assets that haven't been dumped yet but I think most are there.

    I did manage to get the pdb to load in ida. I was just being stupid
     
  4. Amorri40

    Amorri40 Active Member

    Joined:
    Dec 25, 2017
    Messages:
    30
    Likes Received:
    32
    Thats really cool that you found the developer symbol file for godfather! Would it be possible to share the pdb/xbe? There are very few debugger/pdb files for original xbox games, this would be amazing! :)
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page