Standalone Retroarch CIA Creator for 3DS
Simple GUI to create Retroarch CIA's all written in AHK 1.1
- set up devkitpro.
- grab devkitARM r45 and aemstro.
- grab ctrulib_1.1_mod.
- grab Retroarch-3DS-Forwarders-PSOne.
- grab pcsx_rearmed from the libretro repositories.
- grab HackingToolkit3DS v9.
- follow core compilation notes.txt instructions and compile pcsx_rearmed to create pcsx_rearmed_libretro_ctr.a and rename it libretro_ctr.a.
- move libretro_ctr.a to RetroArch-3DS-Forwarders-PSOne.
- compile RetroArch-3DS-Forwarders-PSOne to create retroarch_3ds.cia.
- extract retroarch_3ds.cia with Hackingtoolkit3DS.
- go to rarch3ds_forwarder_creator\tools\assets_ps1 and replace code.bin, exheader.bin, headerexefs.bin and headerncch0.bin with the previously extracted files.
- open code.bin with an hex editor and find romfs:/game.pbp, note down the address for the first p on pbp.
- open the version file with an hex editor and modify address 0x10 with the previously noted address. it needs to be written in little-endian (example: 003066D4 becomes D4663000).
- (optional) while inside the version file, update the emulator core version at address 0x0. it needs to be written in little-endian (example: 04BC5E35 becomes 355EBC04).
- emulator core should be updated now.