Chihiro on XBOX

Discussion in 'Chihiro Development' started by Dabman, Mar 14, 2010.

  1. Floydthebarber

    Floydthebarber Rapidly Rising Member

    Joined:
    Sep 1, 2012
    Messages:
    76
    Likes Received:
    4
    @Jayfoxrox I just checked and my .dat files are a couple hundred mb in size, and when I open the .dat file the first symbols read "FATX"
    @Boomslangnz I have done it with the 512mb image and the 1gb image and I end up with the same result.

    I appreciate the help guys.
     
  2. Boomslangnz

    Boomslangnz Spirited Member

    Joined:
    Jan 17, 2013
    Messages:
    172
    Likes Received:
    3
    try the fat-x-plorer program then. See if that extracts any better (wont work on 1gb dumps tho)
     
  3. Floydthebarber

    Floydthebarber Rapidly Rising Member

    Joined:
    Sep 1, 2012
    Messages:
    76
    Likes Received:
    4
    Wow, the fat-x-plorer program cannot extract the generated .dat files using jayfox's tools either. At least I can extract 512mb .chd's the old way. Something must be going wrong somewhere along the way. I am still very curious as to why I get 5 files after using "extract-gdrom" and you only get 3.
     
  4. JayFoxRox

    JayFoxRox Spirited Member

    Joined:
    Dec 23, 2010
    Messages:
    176
    Likes Received:
    9
    I doubt that extract-gdrom has a bug. You probably use different GD-ROMs. Some games just seem to come for one DIMM size only, some come for multiple DIMM sizes.

    - These are the files on the GDROM the Chihiro baseboard sees (extract-gdrom)
    A game only for one DIMM (512MB only? Or possibly a game which only works on 1024MB?) will have 3 files: {GAMEID}.BIN, {Image}, XBAMGD.BIN
    A game for different DIMM Sizes (512MB and 1024MB on one disc) will have 5 files: {GAMEID}.BIN, {Image}, {GAMEID}.1GB, {Image-1GB}, XBAMGD.BIN

    - XBAMGD.BIN is always included and contains the current kernel / firmware I believe. Possibly also info about disc structure. Not sure yet.

    - The {GAMEID}.BIN name is downloaded from the security chip. (parse-securityic loader)

    - The {GAMEID}.BIN is then loaded by the the Chihiro baseboard and will tell it the image filename for the default DIMM Image. (parse-loader fatx)
    The Chihiro probably looks for {GAMEID}.1GB by convention for an alternate image - That file will tell it the file name for the alternate DIMM image.

    - Then it will download the encryption key from the security chip. (parse-securityic key, decrypt / descrypt)

    - Then the decrypted image (probably by detecting the DIMM size) is used as filesystem from DIMM memory by the Xbox. (extract-fatx)


    And finally the Xbox board gets full control and starts the game.
     
  5. Floydthebarber

    Floydthebarber Rapidly Rising Member

    Joined:
    Sep 1, 2012
    Messages:
    76
    Likes Received:
    4
    Thanks for the info jayfoxrox. Hey by the way, I will start working on your motherboard as soon as I get some new equipment that I am waiting on. You are completely right about some gd-rom's only having 3 files and other having 5. I extracted gdx-0013 up to the point where I am stuck, and I noticed that in the gd-rom folder there was only 3 files. I wish I could just get the extract-fatx tool to work for me.
     
  6. tkeahi

    tkeahi Active Member

    Joined:
    Jul 22, 2013
    Messages:
    48
    Likes Received:
    0
    Remove the leading slash before "fatx":

    extract-fatx gdrom/V307_S.512.dat fatx

    Or move the V307_S.512.dat file into the same folder as extract-fatx.exe and try:

    extract-fatx V307_S.512.dat fatx
     
    Last edited: Jan 25, 2014
  7. Floydthebarber

    Floydthebarber Rapidly Rising Member

    Joined:
    Sep 1, 2012
    Messages:
    76
    Likes Received:
    4
    Thanks for doing up that .bat file, unfortunately it still didn't work for me. Just extracting without the slash before "fatx" ended up giving me the same result as before, and moving the .dat file into the same directory as "extract-fatx" didn't change anything. After running your .bat file, it gets pretty far but then stops when it tries to extract XBAMGD.bin (is it suppose to be trying to extract that file) This is the part where cmd stops working

    Untitled_zpsad049c2e.png
     
    Last edited: Jan 23, 2014
  8. tkeahi

    tkeahi Active Member

    Joined:
    Jul 22, 2013
    Messages:
    48
    Likes Received:
    0
    Can you capture or screenshot all the text starting with the command you use to run it?
     
  9. Floydthebarber

    Floydthebarber Rapidly Rising Member

    Joined:
    Sep 1, 2012
    Messages:
    76
    Likes Received:
    4
    Microsoft Windows [Version 6.1.7601]
    Copyright (c) 2009 Microsoft Corporation. All rights reserved.


    C:\Windows\system32>cd C:\Users\Warren\Desktop\Last Try Chihiro 1gb extracts


    C:\Users\Warren\Desktop\Last Try Chihiro 1gb extracts>extract-game gdx-0013.chd gdx-0013.data extracted
    The system cannot find the path specified.
    DES key: DCDC137A26CD25B6
    chdman - MAME Compressed Hunks of Data (CHD) manager 0.146 (May 21 2012)
    Output TOC: tmp/chihiro/gdrom.toc
    Output Data: tmp/chihiro/gdrom.bin
    Input CHD: gdx-0013.chd
    Extraction complete
    toc2cue version 1.1.7 - (C) Andreas Mueller <andreas@daneb.de>


    Converted toc-file 'tmp\chihiro\gdrom.toc' to cue file 'tmp\chihiro\gdrom.cue'.


    Please note that the resulting cue file is only valid if the
    toc-file was created with cdrdao using the commands 'read-toc'
    or 'read-cd'. For manually created or edited toc-files the
    cue file may not be correct. This program just checks for
    the most obvious toc-file features that cannot be converted to
    a cue file.
    Furthermore, if the toc-file contains audio tracks the byte
    order of the image file will be wrong which results in static
    noise when the resulting cue file is used for recording
    (even with cdrdao itself).
    1 file(s) copied.


    Jan 11 2014, 15:30:44
    bin2iso V1.9b - Converts RAW format (.bin) files to ISO/WAV format
    Bob Doiron, ICQ#280251


    Check for updates at http://users.andara.com/~doiron




    Note: Appending pregap data to end of audio tracks


    gdrom-01.iso ( 1 Mb) - sectors 000000:000599 (offset 000000000:001411199)
    gdrom-02.wav ( 99 Mb) - sectors 000600:044999 (offset 001411200:105839999)
    gdrom-03.iso (984 Mb) - sectors 045000:549149 (offset 105840000:1291600799)




    Note: PreGap = 0 frames
    Creating .\gdrom-03.iso (045000,549149) Mode1/2048 : Complete
    Title: 'GUNDAM BATTLE OPERATING SIMULATOR '
    Product number: 'GDX-0013 '
    Product version: 'V1.002'
    Release date: '20050208 '
    System identifier: 'SEGA SEGAKATANA '
    Volume identifier: 'SAMPLE_GAME_TITLE '
    Set: 1 / 1
    LB-Size: 2048 (0x00000008)
    LB-Size offset: 128
    LSB Path Table Size: 10
    LSB Path Table LBA: 45018
    Size of directory is 2048
    offset: 0
    [this directory]
    offset: 34
    [parent directory]
    offset: 68
    cut!
    Extracting './gdrom/BJK.BIN' from lba 254375
    file 'BJK.BIN' (as './gdrom/BJK.BIN') 0x00, lsb @ 0x0003E1A7, size: 256
    offset: 110
    cut!
    Extracting './gdrom/GS04_S.ISO' from lba 254376
    file 'GS04_S.ISO' (as './gdrom/GS04_S.ISO') 0x00, lsb @ 0x0003E1A8, size: 603377664
    offset: 156
    cut!
    Extracting './gdrom/XBAMGD.BIN' from lba 548994
    file 'XBAMGD.BIN' (as './gdrom/XBAMGD.BIN') 0x00, lsb @ 0x00086082, size: 12288
    offset: 202
    Empty entry!
    Root has '' (LBA is 0)
    Error opening file gdrom/
    Guessed partition size: 0 bytes


    C:\Users\Warren\Desktop\Last Try Chihiro 1gb extracts>
     
  10. tkeahi

    tkeahi Active Member

    Joined:
    Jul 22, 2013
    Messages:
    48
    Likes Received:
    0
    If I use the version of extract-fatx.exe in Boomslangnz's upload gdx-0013.chd won't extract for me either.

    Edit: Re-compiled the most recent version of extract-fatx and added a simple GUI for windows users - download here.
    Read the README file - to start the file extractor double click gui_extractor.bat
     
    Last edited: Jan 25, 2014
  11. JayFoxRox

    JayFoxRox Spirited Member

    Joined:
    Dec 23, 2010
    Messages:
    176
    Likes Received:
    9
    //Edit: Correction, I thought we were speaking about a different game. gdx-0013.chd works for me. Needs the most recent version of extract-fatx though. The gdrom was extracted fine too. Most changes were made to extract-fatx anyway. Just recompile that. - DON'T USE OLD SOFTWARE. If a freshly compiled version from my blog fails I probably uploaded / linked the wrong file.
     
    Last edited: Jan 23, 2014
  12. Floydthebarber

    Floydthebarber Rapidly Rising Member

    Joined:
    Sep 1, 2012
    Messages:
    76
    Likes Received:
    4
    Well, the .bat file no longer deletes the gdrom folder after like you said, but it isn't able to extract the fatx image. Seems like there is some kind of problem with "extract-fatx". I wish I knew how to recompile the tool from your blog jayfox, but I have no clue how to. It is really nice that it is all pretty much automated now with your .bat file tkeahi, thanks for doing that up. If we can just figure out the problem with the "extract-fatx" tool we shouldn't have a problem extracting the fatx images anymore.

    http://pastebin.com/rKj4fCfQ

    Here is the log of what is happening in cmd after running your .bat file tkeahi. I thought I would post it on pastebin.com instead of taking up room in the thread.
     
    Last edited: Jan 23, 2014
  13. XboxSurgeon

    XboxSurgeon Site Supporter Since 2013

    Joined:
    Nov 18, 2013
    Messages:
    2,109
    Likes Received:
    923
  14. JayFoxRox

    JayFoxRox Spirited Member

    Joined:
    Dec 23, 2010
    Messages:
    176
    Likes Received:
    9
    I moved my tools to

    https://github.com/JayFoxRox/Chihiro-Tools
    https://github.com/JayFoxRox/Chihiro-Launcher

    The Launcher is very very WIP at the moment. The version in the repo does not compile!
    Huge thanks to Myria - without her help some of the stuff wouldn't even be possible. Even though it's not functional yet it was a great learning experience and could turn into something really cool (even if it's just as reference for something else).
    Both repos still need a cleanup.

    I'll be back working on it for a little more once I'm done with my tests at Uni.
     
  15. Boomslangnz

    Boomslangnz Spirited Member

    Joined:
    Jan 17, 2013
    Messages:
    172
    Likes Received:
    3
    cool man. Looking forward to then.
     
  16. nonosto

    nonosto Intrepid Member

    Joined:
    Jan 5, 2012
    Messages:
    698
    Likes Received:
    54
    Could you resume what can we do with chihiro launcher please?

    run ghost squad only? other games? option/test mode for calibration?


    Thank you.
     
  17. tkeahi

    tkeahi Active Member

    Joined:
    Jul 22, 2013
    Messages:
    48
    Likes Received:
    0
    I compiled the most recent version of extract-fatx and added a simple GUI for windows users - download here.
    Read the README file - to start the file extractor double click gui_extractor.bat.

    Somebody let me know if this works on your windows computer.

    Many thanks to jayfoxroxfor all his hard work on this.
     
    Last edited: Jan 25, 2014
  18. Floydthebarber

    Floydthebarber Rapidly Rising Member

    Joined:
    Sep 1, 2012
    Messages:
    76
    Likes Received:
    4
    Holy Shit! Thank you tkeahi :) Worked flawlessly. Now to see if Ghost Squad 1gb version has that same sound problem. Thanks again
     
  19. davidthomas

    davidthomas Site Supporter 2013,2014

    Joined:
    Jun 28, 2013
    Messages:
    461
    Likes Received:
    4
  20. nonosto

    nonosto Intrepid Member

    Joined:
    Jan 5, 2012
    Messages:
    698
    Likes Received:
    54
    Where is it in the game? I will test, because in my Debug/dev kit no sound bug detected for the moment.
    One hypothesis better compatibility with debug than trusty. It's seems like with VC3, it's sometimes very slowly for trusty. I Tested it one time I detected one scene slower than rest of games, but on chihiro arcade system appears too at the same scene.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page