Chihiro on XBOX

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

  1. bombman

    bombman Rising Member

    Joined:
    Sep 20, 2009
    Messages:
    73
    Likes Received:
    21
    was this ever solved? is it the white button or trigger or both which activates the slowdown?
    because the mad catz blaster has the white and black buttons on the side
     
  2. Boomslangnz

    Boomslangnz Spirited Member

    Joined:
    Jan 17, 2013
    Messages:
    172
    Likes Received:
    3
    No I don't think it was. It seems people lost interest on trying to get Chihiro going on xbox for now which is a shame. Let's hope it picks up again at some stage
     
  3. bennydiamond

    bennydiamond Gutsy Member

    Joined:
    Aug 24, 2011
    Messages:
    476
    Likes Received:
    180
    Hi, I am currently developing a modchip that interfaces on the LPC port. Thread here

    I was wondering if there would be some benefits to try and add "BASIC" spoofing of a MediaBoard in the modchip's code.
    When I say basic it's because I really don't have much ressources left in the cpld to do moderately complex logic processing. Right now, cpld could reply 0x00 on the whole 0x4*** address range which would at least spoof a FPGA rev MediaBoard ID and supply other locations with 0x00 instead of the 0xFF you'd normally receive when no one answers at those adresses.

    Anyway just asking but I read that JayFoxRun did some marvelous work with its Chihiro-Launcher. Maybe he already included some sort of spoof for this via software.
     
  4. bennydiamond

    bennydiamond Gutsy Member

    Joined:
    Aug 24, 2011
    Messages:
    476
    Likes Received:
    180
    So I will be adding MediaBoard version spoof to FPGA version and 1024MB DIMM size detected. These are the 2 checks made by Chihiro BIOS on the LPC bus to identify a MediaBoard connected and detected on the BUS.
     
  5. Borman

    Borman Digital Games Curator

    Joined:
    Mar 24, 2005
    Messages:
    9,543
    Likes Received:
    1,880
    Any idea if that helps with compatibility at all?
     
  6. bennydiamond

    bennydiamond Gutsy Member

    Joined:
    Aug 24, 2011
    Messages:
    476
    Likes Received:
    180
    I have no idea. Maybe some Chihiro XBEs do check for those parameters...

    At least it will not hurt if you try to boot using the chihiro BIOS. The BIOS do check for those but I do not know how much it will help to make Chihiro games work.

    Frankly I wouldn't put any hope in this!
     
  7. RetroReboot

    RetroReboot Active Member

    Joined:
    Aug 7, 2013
    Messages:
    33
    Likes Received:
    0
    What would be interesting would be a modified Chihiro BIOS. Your modchip should make development of that a bit easier but yes, even partial emulation of the media board would be useful.

    I have one I can send you if you needed to study it, it has several flash roms on it which may prove handy.

    Probably not the place to ask this but as it's an FPGA could a separate firmware not be written to it so it could be used only as a media board emulator? Does it have spare I/O?

    BTW some games (like OR2SP) check for presence of the network board also. This is a separate board that attaches to the media board but still goes through the LPC I believe.
     
    Last edited: Nov 12, 2014
  8. RetroReboot

    RetroReboot Active Member

    Joined:
    Aug 7, 2013
    Messages:
    33
    Likes Received:
    0
    As it goes, seems all the flash dumps are already in MAME:

    Source: http://mamedev.org/source/src/mame/drivers/chihiro.c.html

    How MAME handles things should be noted as they have OR2 running much better these days (albeit about 2% speed).
     
  9. RetroReboot

    RetroReboot Active Member

    Joined:
    Aug 7, 2013
    Messages:
    33
    Likes Received:
    0
    Sorry for the triple post but those tools miss an important step, creating the extracted PIC data.

    You need to put the pic file in the same directory as extract-securityic.exe and use command line (or a batch file) like this (using Outrun 2 SP PIC file for example):

    extract-securityic 317-0xxx-com.pic 317-0xxx-com.data

    This creates the pic file the wizard is looking for. Using the MAME one straight up will not work.

    *EDIT* I hope no one minds but I added the necessary steps to WizApp so now you can just select the MAME pic file rather than having to extract it first:
    https://www.sendspace.com/file/xk1471

    I had it leave the file after the process finishes too as it's handy to have for future reference.

    *EDIT2* Looks like some pic files are already extracted in MAME (OR2 for example) so this won't work for those, I might add a selector to indicate if it's extracted or not if WizApp supports it.
     
    Last edited: Nov 12, 2014
  10. nonosto

    nonosto Intrepid Member

    Joined:
    Jan 5, 2012
    Messages:
    698
    Likes Received:
    54
    Thanks for your contributions.

    I can load any bios with a special phoenix bios loader on my dev kit, if it can help for test.
    I try with chihiro bios from mamedev but freeze on black screen

    I already say that but Crediar succes to run some of triforce games on WII, with his quadforec, I think he solve some of problem about board emulation.
     
    Last edited: Nov 15, 2014
  11. RetroReboot

    RetroReboot Active Member

    Joined:
    Aug 7, 2013
    Messages:
    33
    Likes Received:
    0
    Yeah it would freeze as the media board needs to be present. I'd imagine your box would also frag (if it even gets that far).

    It'd need the bios modifying but even then, half the bios is in the media/JVS board.

    Quadforce is interesting as though the triforce and chihiro are totally different systems, the media/network board etc is very similar.
     
  12. nonosto

    nonosto Intrepid Member

    Joined:
    Jan 5, 2012
    Messages:
    698
    Likes Received:
    54
    media and network is the same with triforce, the flash too.

    I have a I/O JVS board sega type 2, but the is not usb signal this rj something, I would try to connect it with my crystal dev kit via usb but I think does not work.
     
  13. RetroReboot

    RetroReboot Active Member

    Joined:
    Aug 7, 2013
    Messages:
    33
    Likes Received:
    0
    Yes it's not USB, it's RS485.

    IIRC you could damage it by plugging it into USB.

    A baseboard would need to be present in the xbox board and it'd plug into that. If that modchip above could be used as a baseboard emulator that would be able to be plugged into it. It would still need modification though as the MCPX would be different (in a retail box).

    More on that here: http://hackspot.net/XboxBlog/?p=1

    Hacking the XBE is probably still the best way to get these games running, which is a shame because it probably means JVS would be impossible (inputs, lamp and FFB outputs etc).
     
    Last edited: Nov 18, 2014
  14. JayFoxRox

    JayFoxRox Spirited Member

    Joined:
    Dec 23, 2010
    Messages:
    176
    Likes Received:
    9
    I don't think I handled the LPC writes because there is no way to set I/O breakpoints for the entire range.
    So at best you can hook 4 I/O addresses iirc.

    Having it in the modchip would probably help to check if it improves anything. If it does I might be willing to add it to the launcher.

    I'm busy writing my bachelor thesis (About virtual FATX Filesystems in QEMU) at the moment and also work on xqemu which will hopefully support Chihiro at some point.
    I documented FATX some more for the thesis and extract-fatx will probably be updated to reflect some of my new findings.

    Also, about MAME. I believe they also only have OR2 Beta running - not the final. But it's been some time since I have checked, so I might be wrong.
     
  15. tkeahi

    tkeahi Active Member

    Joined:
    Jul 22, 2013
    Messages:
    48
    Likes Received:
    0
    I'm not renewing my webhosting so the Chihiro on XBOX wiki will be going away at the end of this year. If anybody wants to host it let me know, it's easy to move.
     
  16. CodeAsm

    CodeAsm ohci_write: Bad offset 30

    Joined:
    Dec 22, 2010
    Messages:
    1,500
    Likes Received:
    176
    How large is it? I can host it somewhere, maybe till forever.
     
  17. dans87

    dans87 Site Supporter 2013,14,15

    Joined:
    Jan 6, 2013
    Messages:
    359
    Likes Received:
    33
    looks like its a dokuiki installation so it'll be tiny (the actual page data anyway)

    if codeasm doesnt want to host it i will
     
  18. CodeAsm

    CodeAsm ohci_write: Bad offset 30

    Joined:
    Dec 22, 2010
    Messages:
    1,500
    Likes Received:
    176
    Maybe Hexigon wants to add it to his wiki? aslong as information stays alive im happy :D
     
  19. tkeahi

    tkeahi Active Member

    Joined:
    Jul 22, 2013
    Messages:
    48
    Likes Received:
    0
  20. JayFoxRox

    JayFoxRox Spirited Member

    Joined:
    Dec 23, 2010
    Messages:
    176
    Likes Received:
    9
    I just noticed an off-by-one bug in extract-fatx which is also in xbox-linux (and most other FATX tools probably).
    That might have even corrupted files during extraction which might cause crashes with some games. I will probably fix it mid december.
     
sonicdude10
Draft saved Draft deleted
Insert every image as a...
  1.  0%

Share This Page