Hacking Emulation RetroArch/Libretro Thread: PS Vita Edition! Nightlies Included

  • Thread starter Thread starter SeongGino
  • Start date Start date
  • Views Views 1,281,895
  • Replies Replies 4,502
  • Likes Likes 56
I Posted this in the 3DS Thread for RetroArch, maybe someone here can figure it out:
All the other Cores work fine with Cheats. The Cores that dont have access to Cheats are the FBA/CPS1/CPS2 Versions. The Cheats that FBA utilizes are .ini Files. But RA only seems to want .cht Files.
Also, when opening the .cht Files, this is how they appear:
RA Cheat Format.jpg
But if you Copy and Paste them.....

cheats = 9

cheat0_desc = "Infinite Countdown Timer"
cheat0_code = "800972DE+0063"
cheat0_enable = false

cheat1_desc = "Stop Track Timer"
cheat1_code = "800972E2+0000"
cheat1_enable = false

cheat2_desc = "Infinite Boost (On Pickup)"
cheat2_code = "80050B86+2400"
cheat2_enable = false

cheat3_desc = "Always First Place"
cheat3_code = "8009DD58+0001"
cheat3_enable = false

cheat4_desc = "Unlock All Tracks & Boats (Cheat Device 2.2 Or Higher Needed!)"
cheat4_code = "50000602+0000+800A223C+0000+300A2248+0000"
cheat4_enable = false

cheat5_desc = "Max Cash"
cheat5_code = "800966B4+FFFF"
cheat5_enable = false

cheat6_desc = "Unlock Medium Boats & Levels"
cheat6_code = "300A2245+0000+300A223D+0000+300A2240+0000"
cheat6_enable = false

cheat7_desc = "Unlock Hard Boats & Levels"
cheat7_code = "300A2243+0000+300A223F+0000+300A2244+0000"
cheat7_enable = false

cheat8_desc = "Unlock Bonus Levels & Boats"
cheat8_code = "300A223C+0000+300A223E+0000+300A2242+0000+300A2241+0000+300A2247+0000+300A2248+0000+300A2246+0000"
cheat8_enable = false
 
I Posted this in the 3DS Thread for RetroArch, maybe someone here can figure it out:
All the other Cores work fine with Cheats. The Cores that dont have access to Cheats are the FBA/CPS1/CPS2 Versions. The Cheats that FBA utilizes are .ini Files. But RA only seems to want .cht Files.
Also, when opening the .cht Files, this is how they appear:
View attachment 96791
But if you Copy and Paste them.....

cheats = 9

cheat0_desc = "Infinite Countdown Timer"
cheat0_code = "800972DE+0063"
cheat0_enable = false

cheat1_desc = "Stop Track Timer"
cheat1_code = "800972E2+0000"
cheat1_enable = false

cheat2_desc = "Infinite Boost (On Pickup)"
cheat2_code = "80050B86+2400"
cheat2_enable = false

cheat3_desc = "Always First Place"
cheat3_code = "8009DD58+0001"
cheat3_enable = false

cheat4_desc = "Unlock All Tracks & Boats (Cheat Device 2.2 Or Higher Needed!)"
cheat4_code = "50000602+0000+800A223C+0000+300A2248+0000"
cheat4_enable = false

cheat5_desc = "Max Cash"
cheat5_code = "800966B4+FFFF"
cheat5_enable = false

cheat6_desc = "Unlock Medium Boats & Levels"
cheat6_code = "300A2245+0000+300A223D+0000+300A2240+0000"
cheat6_enable = false

cheat7_desc = "Unlock Hard Boats & Levels"
cheat7_code = "300A2243+0000+300A223F+0000+300A2244+0000"
cheat7_enable = false

cheat8_desc = "Unlock Bonus Levels & Boats"
cheat8_code = "300A223C+0000+300A223E+0000+300A2242+0000+300A2241+0000+300A2247+0000+300A2248+0000+300A2246+0000"
cheat8_enable = false
On GBC core you cant turn off cheats after turned them on, and on VBA cheats don't work.
On FBA, what need to do with this format? It have only 7 digits in address (we need only to add 8 in front of address?), and values must be dec or hex?
This from SFIII 3rd Strike example:

cheat "Select Universal Cancel Settings #1"
default 0
0 "Disabled"
1 "Special", 0, 0x2068E8D , 0x20
2 "Super", 0, 0x2068E8D , 0x40
3 "Special + Super", 0, 0x2068E8D , 0x60
4 "Crazy Cancel", 0, 0x2068E8D , 0x10
4 "All", 0, 0x2068E8D , 0xC0
 
On GBC core you cant turn off cheats after turned them on, and on VBA cheats don't work.
On FBA, what need to do with this format? It have only 7 digits in address (we need only to add 8 in front of address?), and values must be dec or hex?
This from SFIII 3rd Strike example:

cheat "Select Universal Cancel Settings #1"
default 0
0 "Disabled"
1 "Special", 0, 0x2068E8D , 0x20
2 "Super", 0, 0x2068E8D , 0x40
3 "Special + Super", 0, 0x2068E8D , 0x60
4 "Crazy Cancel", 0, 0x2068E8D , 0x10
4 "All", 0, 0x2068E8D , 0xC0
So all the FBA Cheats would have to be Re-made or Re-coded? I actually tried figuring this out myself. I took VirtualBoy Cheats and tried to see if I could make them work. VirtualBoy Wario Land. I tried Editing the Codes, but the 1 I did get to work, did nothing In-Game.
RetroArch VB Coding that works but does nothing.jpg
 
So all the FBA Cheats would have to be Re-made or Re-coded? I actually tried figuring this out myself. I took VirtualBoy Cheats and tried to see if I could make them work. VirtualBoy Wario Land. I tried Editing the Codes, but the 1 I did get to work, did nothing In-Game.
View attachment 96881
I think it simply GBA and GBC cheats dont work correctly on RA Vita (and Virtual Boy run on Vita?).
And actually there's no way to get FBA cheats working on Vita AFAIK.
 
I finally have retroarch working as I want w playlists/snaps/backgrounds/etc w my sd2vita, but the scrolling through games is terrible on bigger size games and playlists and the issue I found out is the thumbnails, while screenshots (snaps) helps, it still lags a lot specially on bigger lists. If I turn off thumbnails it scrolls down smoothly though all my playlists. Is there any way to fix it while keeping the artwork? It seems retroarch wants to show EACH rom artwork while scrolling which is what is causing the lag since you can see the artwork trying to catch up to the rom selection. Anyway to adjust it to show the artwork after no movement is detected or something?

BTW, the samples folder for mame, do you put it into system as mame 2000 folder?
 
Last edited by Carlanga,
Any notable issues? I seem to have problems with Megaman zero games, advance wars, Sonic Advance 2 and 3, sound and speed issues in FF Tactics Advance and various graphical issues across many other games
Yeah games aren't running without issues, but I think they are missable.
I have finished the first MegaManZero and AdvanceWars, can't talk for the others.
 
  • Like
Reactions: cvskid
Any notable issues? I seem to have problems with Megaman zero games, advance wars, Sonic Advance 2 and 3, sound and speed issues in FF Tactics Advance and various graphical issues across many other games

Megaman Zero games have some pretty noticeable performance problems, especially when you hit underwater levels.
 
Slight Issue with FBA Core
FBA NeoGeo: Can use UniBIOS 3.2
FBA Core: Only uses 3.0 UniBIOS

Also, with VirtualBoy, The Cheat File for Rdragon has this for Wario Land:
Title: Virtual Boy Wario Land

CT: Infinite Time
CC: 0-00087AA-00B0

CT: Infinite Lives
CC: 0-00087A4-0009

It is a DB File, so I created a cht File with the same structure. I tried different ways of laying out the Code. As it is, it crashes. But written like this, it works.......but the Codes do not Register in Game.
cheats = 2

cheat0_desc = "Infinite Time"
cheat0_code = "000087AA+00B0"
cheat0_enable = false

cheat1_desc = "Infinite Lives"
cheat1_code = "000087A4+0009"
cheat1_enable = false

Anyone know a way to find the Code for the Time and Lives? Thinking GameShark type Format works best
 
Slight Issue with FBA Core
FBA NeoGeo: Can use UniBIOS 3.2
FBA Core: Only uses 3.0 UniBIOS

Also, with VirtualBoy, The Cheat File for Rdragon has this for Wario Land:
Title: Virtual Boy Wario Land

CT: Infinite Time
CC: 0-00087AA-00B0

CT: Infinite Lives
CC: 0-00087A4-0009

It is a DB File, so I created a cht File with the same structure. I tried different ways of laying out the Code. As it is, it crashes. But written like this, it works.......but the Codes do not Register in Game.
cheats = 2

cheat0_desc = "Infinite Time"
cheat0_code = "000087AA+00B0"
cheat0_enable = false

cheat1_desc = "Infinite Lives"
cheat1_code = "000087A4+0009"
cheat1_enable = false

Anyone know a way to find the Code for the Time and Lives? Thinking GameShark type Format works best
the format seems correct, i think its a problem of cores cheats function (Virtual Boy i suppose work like GBC or GBA emu, and cheats here have problem)
Anyway on Virtual Boy dont work savestate? If you need these cheats i think you have some trouble in a specific stage/spot; savestate is better than cheats :D
 
now on the 1.6.4 and on the latest nightlie i cant load any cores it say me a black screen the vita will power off reset config of retroarch can fix this ?
 
now on the 1.6.4 and on the latest nightlie i cant load any cores it say me a black screen the vita will power off reset config of retroarch can fix this ?
I'm sry, I've never load a core, just go to Load Content and select the rom.

I can confirm this problem on 1.6.3 too, I just tried loading Snes9x 2005, the core I use and love, and my Vita freeze, so I had to restart the battery.
 
  • Like
Reactions: laharl22
I'm sry, I've never load a core, just go to Load Content and select the rom.

I can confirm this problem on 1.6.3 too, I just tried loading Snes9x 2005, the core I use and love, and my Vita freeze, so I had to restart the battery.
there are not no fix?thanks for your report
 
there are not no fix?thanks for your report
If I select a core like snes2005 it freezes the main screen and need to reboot, BUT I never load a core. I go to the playlist of the system i want to play and there I select the core and works without issues. I just tested this on the 8/30 nightly
 
Last edited by Carlanga,
I finally have retroarch working as I want w playlists/snaps/backgrounds/etc w my sd2vita, but the scrolling through games is terrible on bigger size games and playlists and the issue I found out is the thumbnails, while screenshots (snaps) helps, it still lags a lot specially on bigger lists. If I turn off thumbnails it scrolls down smoothly though all my playlists. Is there any way to fix it while keeping the artwork? It seems retroarch wants to show EACH rom artwork while scrolling which is what is causing the lag since you can see the artwork trying to catch up to the rom selection. Anyway to adjust it to show the artwork after no movement is detected or something?

BTW, the samples folder for mame, do you put it into system as mame 2000 folder?
Zipped samples all go into a folder called "samples" and that folder into the same directory as the ROMs. It is weird but RA seems to do some non standard things. I have an issue that when I load a different ROM it just runs the last ROM loaded. I can't change games without restarting MAME. Is it just me?
 
Last edited by DaveC1964,
I thought zipped samples go into system/mame2003/samples in the ux0:data/Retroarch folder. There seems to be zero documentation of this, concerning it is such a widely used emulator it should come at least with a comprehensive readme.md or readme.txt that explains these basic things like controls, folder config etc.

I am basing my knowledge on the (hopelessly outdated) RetroPie manual from retropie.co.uk...
 
Last edited by rsn8887,

Site & Scene News

Popular threads in this forum