1. DSwizzy

    OP DSwizzy GBAtemp Regular
    Member

    Joined:
    Nov 16, 2018
    Messages:
    228
    Country:
    United States
    #1. Get a "Backup" of your Sega CD (or Mega CD) game you want plus grab any Sega Genesis/Mega Drive game (as a quick dummy file doesn't matter) and also a Sega CD BIOS file (all three regions)


    #2. next download four important programs if you haven't already, (Ultimate GEN-MD Forwarder Maker for 3DS, HackingToolkit3DS, XVI32 *or any other hex editor program doesn't matter* and Notepad++)


    #3. now run "Ultimate GEN-MD Forwarder Maker for 3DS" first, go to Open GEN-SMD File and load your downloaded Sega Genesis/Mega Drive game rom, second rename the game's name & publisher to that of the Sega CD game's name and publisher and also change the banner icon image to that of the Sega CD game you got instead (you can use the box art cover to make it quicker) and then just do the rest of the procedure, edit the screen, VC message, etc.. and then click on finish and it'll create a .cia file (that's gonna be your dummy file you'll be using for the next step)


    #4. run "HackingToolkit3DS" and now copy & paste (or drag & drop) the created .cia dummy file you just made into the HackingToolkit3DS's folder, run the app and then you'll be given a list of commands you can do, but what you gonna want to do in this tutorial only is "Enter CE for extract a .CIA file" and then enter the name of that dummy file you copy & paste'd to. (so for example: SegaCD or snatcher without the .cia typed in with it)


    #5. now once it's done extracting (which only takes a few seconds to finish) look back in the HackingToolkit3DS folder and you should now see three folders "ExtractedBanner", "ExtractedExeFS", and "ExtractedRomFS" plus just a bunch of .bin files, now first go into ExtractedExeFS folder and look for a file code.bin, this file you'll want to open a Hex Editor program for.


    #6. next you'll want to do is open XVI32 (or any other Hex Editor program you installed instead) and load up the code.bin file from the ExtractedExeFS folder from the HackingToolkit3DS folder, and now once it's loaded next thing to do is click on the magnifying glass icon and then in the text string box type in rom.bin and then click on OK and it should take you directly to the text on the right side that'll say "romfs:/rom.bin" change the rom.bin text line to rom.cue instead, so it should now look like "romfs:/rom.cue" and now save it and exit out the editor app.


    #7. and now next thing to do now is go into the ExtractedRomFS folder and open up retroarch.cfg in a text editor app like Notepad++ or any other text editing app, once your in look for system_directory = "sdmc:/" delete the entire sdmc:/ line and then you'll want to rename it now as to only romfs: so now it should look like this: system_directory = "romfs:" you can now save or save all the retroarch.cfg file and quit out of the text editor.


    #8. next to last thing to do is now drag & drop all the .bin + .cue files in the Sega CD game folder you "Backup'd" eariler to the ExtractedRomFS folder and then now rename that .cue file to rom.cue and also copy the Sega CD BIOS file of your region of the game, so for example: if your Sega CD game is from USA you'll want to drag & drop (or copy & paste) it to the ExtractedRomFS folder as well too and rename it as bios_CD_U.bin


    #9. and now FINALLY you can start rebuilding all the files to a new .cia file, so now what you wanna do is start up HackingToolkit3DS.exe and now this time "Enter CR for rebuild a .CIA file" and next it'll ask you to name a output file so it can create a new .cia file that being your Sega CD game this time so you can call it Snatcher or Sonic CD or whatever game your doing, follow the rest of the steps as normal and then it'll begin to rebuild the files so now just sit back and chill until it finishes... and once it's done that's it!!





    Your now all done and can now finally install your Sega/Mega CD game you wanted to your 3DS and enjoy!!!


    And also you can now run CleanTool.exe and have it delete all the extracted files from the HackingToolkit3DS folder completely
     
    Last edited by DSwizzy, Aug 5, 2020
    Tyrony, FanNintendo, jzam74 and 2 others like this.
  2. Rj.MoG

    Rj.MoG GBAtemp Fan
    Member

    Joined:
    Jun 8, 2015
    Messages:
    308
    Country:
    United States
    Thank you Kanye, very cool tutorial
     
  3. DSwizzy

    OP DSwizzy GBAtemp Regular
    Member

    Joined:
    Nov 16, 2018
    Messages:
    228
    Country:
    United States
    lmao! who's Kayne? and you're welcome
     
  4. AlterL

    AlterL Member
    Newcomer

    Joined:
    Aug 12, 2019
    Messages:
    39
    Country:
    Venezuela
    Could this or dome sort of adaptation of this technique allow for TemperPCE forwarders?
     
  5. DSwizzy

    OP DSwizzy GBAtemp Regular
    Member

    Joined:
    Nov 16, 2018
    Messages:
    228
    Country:
    United States
    I'd honestly tried attempting this but unfortunately the file structure is completely different and it doesn't use a PC Engine RetroArch core as it's base so making it impossible to do atm.
     
  6. AlterL

    AlterL Member
    Newcomer

    Joined:
    Aug 12, 2019
    Messages:
    39
    Country:
    Venezuela
    To bad. Honestly I would love to have a Rondo of Blood forwarder for my Castlevania collection.
     
    DSwizzy likes this.
  7. DSwizzy

    OP DSwizzy GBAtemp Regular
    Member

    Joined:
    Nov 16, 2018
    Messages:
    228
    Country:
    United States
    Trust me, there's loads of PC Engine CD games i defo want to do as well but until the creator makes a RetroArch CIA creator tool for PCE/TG-16 CD games then hopefully we can get that possibility
     
  8. Tyrony

    Tyrony Member
    Newcomer

    Joined:
    Nov 24, 2018
    Messages:
    16
    Country:
    Netherlands
    Since NSUI Beta 28 is now available (albeit in Spanish) You can set T16/PCE Injects to be built with either the default VC method (which indeed has a completely different file structure), or two Retroarch Mednafen cores (one is called PCE Fast, the other SuperGrafx) I also noticed that the PCE injector for this console now accepts .cue, .img etc. CD image formats and I could open my Ys IV .cue backup without any problems. (With the Retroarch Medn. PCE Fast method, which is what i injected it with).

    But when I tried running the output file after installing it, black screen. I opened the .CIA file with ninfs (for some reason, HackingToolskit did not ''give'' me any folders with names specified in the tutorial, but that's besides the point).

    What i'm saying is; When I looked through the romfs and exefs folders, I could see some similarities in the file structure...(presence of a rom.cue, retroarch_.cfg etc). I should also say that when still in the injector, I could not supply any BIOS.pce file anywhere besides the CD image I loaded before, not even in the settings menu, and it still would let me inject.

    TLDR: Injecting with the Mednafen method will give comparable file structures to SEGA GEN, I think it would be possible to get A PCE CD game to run with this tutorial, but i'm not much of a programmer so i'm all just speculating. Maybe haven't tried hard enough.
     
    Last edited by Tyrony, Aug 26, 2020
    DSwizzy likes this.
  9. Joom

    Joom  ❤❤❤
    Member

    Joined:
    Jan 8, 2016
    Messages:
    5,430
    Country:
    United States
    Provided the location of the BIOS is defined by the retroarch.cfg file, wouldn't it be possible to manually add the BIOS to the CIA? Of course, this sort of defeats the purpose of NSUI, but I figure if the BIOS is all that's needed then this should work. Basically, you'd have to decompile the CIA generated by NSUI, add the BIOS and edit the configuration file accordingly, then rebuild the CIA.
     
  10. Tyrony

    Tyrony Member
    Newcomer

    Joined:
    Nov 24, 2018
    Messages:
    16
    Country:
    Netherlands
    I
    I suppose you could, I should try that anytime soon
     
  11. Tyrony

    Tyrony Member
    Newcomer

    Joined:
    Nov 24, 2018
    Messages:
    16
    Country:
    Netherlands
    So, coming back to my issue with HackingToolKit, about that fact the tool always gives me a couple of decrypted(romfs-exefs etc.).bin files but no extracted folders. Am I missing something here? I'm following the instructions exactly as told...
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - tutorial, maker,