pSNES: Switch Snes9x port

Here is pSNES, a snes9x port to multiple platforms.


screenshot_mini.png


Readme:
https://github.com/Cpasjuste/pemu/blob/master/psnes/README.MD

Source code:
https://github.com/Cpasjuste/pemu/

Download:
https://github.com/Cpasjuste/pemu/releases/

Thanks:
  • devkitPro and libnx people: fincs, WntrMute, yellows8, plutoo...
  • ScHlAuChi for providing a 3.0 Switch! (you rock mate)
 
Last edited by cpasjuste,

Lethal_NFS

Active Member
Member
Joined
Dec 14, 2009
Messages
41
Trophies
0
XP
159
Country
United States
It's a great emulator but is there a possility to save within emulated games? I was playing Super Metroid today but it didn't save progress even if I reached different save portals and it sais "game saaved". If I started a new game there was no save game state found. Don't know why. I know Nintendos VC always let you save.

Create your own save state. It works just fine for me.
 

Canzah

Well-Known Member
Member
Joined
Jul 8, 2012
Messages
492
Trophies
0
XP
1,410
Country
United Kingdom
Was it ever mentioned that this has MSU-1 support?
I tried it out today just out of curiosity with the Super Metroid patched with MSU-1 music and it works absolutely perfectly.

On the other hand, the cheats don't seem to work at all.
I tried a bunch of Game Genie codes in format as specified in the readme on GitHub and when trying to load the rom the emulator just hard freezes, sometimes even the entire console prompting the need to hold power button for a couple of seconds to hard-power it down.

Since this is based on SNES9x, can we get support for RAW and PAR cheats as well that SNES9x supports?
Vast majority of Japanese games don't even have Game Genies codes due to those being American thing.
And of course fix the Game Genie issue.
 

cpasjuste

Well-Known Member
OP
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,481
Country
France
Was it ever mentioned that this has MSU-1 support?
I tried it out today just out of curiosity with the Super Metroid patched with MSU-1 music and it works absolutely perfectly.

On the other hand, the cheats don't seem to work at all.
I tried a bunch of Game Genie codes in format as specified in the readme on GitHub and when trying to load the rom the emulator just hard freezes, sometimes even the entire console prompting the need to hold power button for a couple of seconds to hard-power it down.

Since this is based on SNES9x, can we get support for RAW and PAR cheats as well that SNES9x supports?
Vast majority of Japanese games don't even have Game Genies codes due to those being American thing.
And of course fix the Game Genie issue.
Last time I tried it worked ! But it may have been broken in latest releases, I'll take a closer look soon.
 

Canzah

Well-Known Member
Member
Joined
Jul 8, 2012
Messages
492
Trophies
0
XP
1,410
Country
United Kingdom
Last time I tried it worked ! But it may have been broken in latest releases, I'll take a closer look soon.
Just to make sure the codes are input correctly, this is the right format, no?
I used this as an example to test if the codes work on pSNES and the behaviour I described above happened (freezing).
Code:
cheat
  name: Gold1
  code: EE49-FAE8
  enable

cheat
  name: Gold2
  code: EE49-F278
  enable
 
cheat
  name: Gold3
  code: EE49-F258
  enable

It's for Chrono Trigger.
 

cpasjuste

Well-Known Member
OP
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,481
Country
France
Just to make sure the codes are input correctly, this is the right format, no?
I used this as an example to test if the codes work on pSNES and the behaviour I described above happened (freezing).
Code:
cheat
  name: Gold1
  code: EE49-FAE8
  enable

cheat
  name: Gold2
  code: EE49-F278
  enable
 
cheat
  name: Gold3
  code: EE49-F258
  enable

It's for Chrono Trigger.
Yes seems OK. I guess there's really a problem on "my side". I'll take a look.
 

Canzah

Well-Known Member
Member
Joined
Jul 8, 2012
Messages
492
Trophies
0
XP
1,410
Country
United Kingdom
Yes seems OK. I guess there's really a problem on "my side". I'll take a look.
Alright, any chance you could add the PAR and RAW code support while you're at it? Since like I said, those are a lot more common cheat formats for SNES and even more so for Japanese games.
Also, if there supposed to be a UI for cheats in the emulator to individually toggle their On/Off state or can we only do that through the .cht file itself with enable/disable value? If it's the latter, any chance you could implement it into the UI of the emulator to be able to view them and toggle their state from within the emu?
 
  • Like
Reactions: greyeeyore

kane159

Well-Known Member
Member
Joined
May 28, 2013
Messages
215
Trophies
1
Age
35
XP
1,244
Country
Taiwan
@cpasjuste can you add a switch to turn BlockInvalidVRAMAccess on and off? Some old hacked game or fan translation rom needs to turn it off or turn it off then turn it back on


從我的iPhone使用Tapatalk 發送
 

ValenValentine

Active Member
Newcomer
Joined
Aug 20, 2018
Messages
41
Trophies
0
Age
38
Location
Massachusetts
XP
130
Country
United States
This is incredible work, really. Thank you. I so did not want to deal with lakka and all that crap, the switch should be able to handle gamecube emulatore eventually natively so this is a huge step in the right direction :).

Everything works awesome, my one hope is you can find a way to prevent the slowdown after sleep mode that happens, since sleep mode is gonna be a common factor for my playthroughs at work lol.

Even if not tho, you've done iu all a huge service here. Thank you!!
 

tskoze

New Member
Newbie
Joined
Sep 8, 2018
Messages
1
Trophies
0
Age
33
XP
48
Country
Canada
Just to make sure the codes are input correctly, this is the right format, no?
I used this as an example to test if the codes work on pSNES and the behaviour I described above happened (freezing).
Code:
cheat
  name: Gold1
  code: EE49-FAE8
  enable

cheat
  name: Gold2
  code: EE49-F278
  enable
 
cheat
  name: Gold3
  code: EE49-F258
  enable

It's for Chrono Trigger.
Apparently, this format works for me:
Code:
cheat
  name: Money1
  code: 7e2c53=7f
  enable
cheat
  name: Money2
  code: 7e2c54=96
  enable
cheat
  name: Money3
  code: 7e2c55=98
  enable
I believe this is PAR, but it seems to keep my gold maxed at 9999999G.

Just for completeness:
ROM file name -- Chrono Trigger (U) [!].zip
Cheat file name -- Chrono Trigger (U) [!].cht
 
Last edited by tskoze,

Canzah

Well-Known Member
Member
Joined
Jul 8, 2012
Messages
492
Trophies
0
XP
1,410
Country
United Kingdom
Apparently, this format works for me:
Code:
cheat
  name: Money1
  code: 7e2c53=7f
  enable
cheat
  name: Money2
  code: 7e2c54=96
  enable
cheat
  name: Money3
  code: 7e2c55=98
  enable
I believe this is PAR, but it seems to keep my gold maxed at 9999999G.

Just for completeness:
ROM file name -- Chrono Trigger (U) [!].zip
Cheat file name -- Chrono Trigger (U) [!].cht

This is indeed PAR codes, very interesting, will check out if it works since that would be great.
 

DaniPoo

Well-Known Member
Member
Joined
Jan 2, 2013
Messages
925
Trophies
1
Age
35
XP
2,295
Country
is there a reason to put opengl into the snes emu?

To offload the CPU and get better performance? I never dealt with openGL but I supose it can be used for 2D rendering? not sure though :)
But Snes9x for Windows have Direct3D and OpenGL support. (I don't know if it's used for all the rendering or only post-processing though)
 
Last edited by DaniPoo,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://youtu.be/Hn-gx9VjRt8?t=153