Toy Commander reverse engineering

Discussion in 'Sega Dreamcast Development and Research' started by ptz3233, Sep 12, 2014.

  1. ptz3233

    ptz3233 Active Member

    Joined:
    Jun 20, 2012
    Messages:
    27
    Likes Received:
    5
    One of my favorite games of all time and I've been trying to reverse engineer/modify the game files for years with no progress. Most of the game files are stored .GHQ files. I remember years ago I found a program that could somewhat open these files but I've forgotten about it and I can't seem to find it again. The file GUTH.LST seems to point to .scc files that correspond to the GHQ files in the SCENE folder.

    £000:F:\PROJET\GUTH\RESS\SCENE\AREAS\SYSTEM\Menu.SCC
    £001:F:\PROJET\GUTH\RESS\SCENE\AREAS\Area01\training.SCC
    £002:F:\PROJET\GUTH\RESS\SCENE\AREAS\Area01\aire1bouillir.SCC
    £003:F:\PROJET\GUTH\RESS\SCENE\AREAS\Area01\wild_race.SCC
    £004:F:\PROJET\GUTH\RESS\SCENE\AREAS\Area01\Uboat.SCC

    What I'm really doing is looking for hidden/unknown parts of the game or debug features. I need some trying to figure this stuff out. I'm currently downloading a DreamOn demo disc that has a toy commander demo on it to see if I can find any clues there. Scrolling through these files in a Hex Editor is getting boring and doesnt give many clues. I would really appreciate help with this quest that i started years ago and am picking up again.
     
  2. ptz3233

    ptz3233 Active Member

    Joined:
    Jun 20, 2012
    Messages:
    27
    Likes Received:
    5
    Update: I think i remember how i somewhat accessed these files in the past. The GUTH.BIN gives some clues when opened in a hex editor. Mission.Error: "Can't open HQR file '%s'..................\tabtree.c.ComputeBoundingBox no collision in this object" This led me to look into what the "hqr" file extension is. I found that HQR files are data files for a game called Little Big Adventure. I downloaded a program that can supposedly edit these files and i pointed it at a GHQ file but it didnt really work out. I remember being semi-succesfull with doing something like that in the past but it did not get me anywhere this time. I dont even know why i thought it would work, two completley different games by different developers.

    Also, the dreamon demo disc has pretty much the same file structure, but i have noticed some differences in GUTH_ENG.txt which seems to hold all the text for the gem. The mission up and down was once called "the weightlessness challenge" pirates booty was once pirates treasure and "a friend in need" was once called the escort.
     
  3. FuzzyFish

    FuzzyFish Rising Member

    Joined:
    May 14, 2014
    Messages:
    56
    Likes Received:
    51
    Something that actaully provided beyond helpful when I started my project to update 4x4Evo PC & DC I had contacted people whom worked on it in the credits. You might be surprised how much useful information you get, in my case I got way beyond lucky with what I got.

    However it being originally a french studio might add difficulty, but it could at least provide insight to how those files are packaged.
     
    Last edited: Sep 14, 2014
  4. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    Probably looked MENU.GHQ file is compressed obviously


    Similar lzss compression


    Decompression code entry in the memory address: 0x8C04C930
     
    Last edited: Sep 15, 2014
  5. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,033
    Likes Received:
    891
    If you get in contact with No Cliché and need a French translator I could help, if I have the time. French is my mother tongue.
    I liked Toy Commander when I was young too :p
     
    Last edited: Sep 15, 2014
  6. ptz3233

    ptz3233 Active Member

    Joined:
    Jun 20, 2012
    Messages:
    27
    Likes Received:
    5

    thanks for the info

    Update: after doing research i found that the game little big adventure that i mentioned in one of my posts was developed by the same person who developed toy commander, frederick raynal. that explains why that software somewhat worked.

    Also sent an email to one of the developers asking for help.
     
    Last edited: Sep 15, 2014
  7. bart_simpson

    bart_simpson Dauntless Member

    Joined:
    May 13, 2011
    Messages:
    768
    Likes Received:
    18
    i liked to mess with game text.
     
  8. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
  9. ptz3233

    ptz3233 Active Member

    Joined:
    Jun 20, 2012
    Messages:
    27
    Likes Received:
    5
    That looks good yzb, but how did you get pvr viewer to open the files? i tried that before and it just said unsopprted format. Did you decompress them? and if so how?
     
  10. sheik

    sheik Newly Registered

    Joined:
    Sep 17, 2014
    Messages:
    4
    Likes Received:
    0
    I have no technical contribution to make to this thread, but just wanted to say a quick "thank you" for bringing this game to my attention. I have a stack of original Dreamcast discs but I think I dismissed Toy Commander years ago and never played it. As a result of reading this thread I fired it up yesterday and found it a whole load of fun :).
     
  11. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    Write a program decompression.....
     
  12. ptz3233

    ptz3233 Active Member

    Joined:
    Jun 20, 2012
    Messages:
    27
    Likes Received:
    5
    yzb, could you be a little bit more descriptive? i don't have a big background in programming im still working on my cumputer science degree. Also, the developer that i emailed got back to me and said he doesnt really remember but it could be either a dreamcast format, or several blocs of a zip like format with an index table on them. he said hes gonna get in contact with some of the other programers and let me know. I really hope i can get this project going.
     
  13. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    be a little bit more descriptive?

    Similar lzss compression


    Decompression code entry in the memory address: 0x8C04C930




     
  14. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,033
    Likes Received:
    891
  15. ptz3233

    ptz3233 Active Member

    Joined:
    Jun 20, 2012
    Messages:
    27
    Likes Received:
    5
    I second this, I really don't want this project to die.
     
  16. yzb37859365

    yzb37859365 Spirited Member

    Joined:
    Jul 14, 2013
    Messages:
    187
    Likes Received:
    124
    Very busy these days
     
  17. b1uechr1s

    b1uechr1s Active Member

    Joined:
    Mar 23, 2013
    Messages:
    47
    Likes Received:
    5
    That was helpful...

    Any kind of hints at what we do with the memory address? Anything at all?
     
  18. -=FamilyGuy=-

    -=FamilyGuy=- Site Supporter 2049

    Joined:
    Mar 3, 2007
    Messages:
    3,033
    Likes Received:
    891
    Don't be harsh to the guy! He doesn't have to help, but it seems he wants to but is busy. He told you where the decompression code is in the DC memory already:
    I'm sure he might share it once he got the time, or someone else with the skills will bother enough to extract it himself given the indication he gave.
     
    Last edited: Oct 4, 2014
  19. b1uechr1s

    b1uechr1s Active Member

    Joined:
    Mar 23, 2013
    Messages:
    47
    Likes Received:
    5
    You're right, i was a bit harsh, Kinda wish i had his knowledge about this stuff.


    My apologies if i came across as rude. I appreciate your help with the memory address :)
     
  20. ptz3233

    ptz3233 Active Member

    Joined:
    Jun 20, 2012
    Messages:
    27
    Likes Received:
    5
    I actually tried to access that memory address using the nullDC debugger but I couldn't figure it out. maybe someone with some more experience could point me in the right direction for that, would the nulldc debugger even be the right way to go about it?
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page