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,

cpasjuste

Well-Known Member
OP
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,481
Country
France
I have a small problem with psnes Is it normal that I have some microcuts in the audio? in psnes or pfba it doesn't happen to me thanks
You're right. I didn't notice the problem because I'm not playing a lot, finally. And when I develop I turn down audio.. So I took the time to to take a closer look, and there was a problem with audio, yes (crackling audio in most games, some where more noticeable than other).
I just fixed that, so next release will (should) have perfect audio.
 
  • Like
Reactions: tonikamo

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,215
Country
United States
You're right. I didn't notice the problem because I'm not playing a lot, finally. And when I develop I turn down audio.. So I took the time to to take a closer look, and there was a problem with audio, yes (crackling audio in most games, some where more noticeable than other).
I just fixed that, so next release will (should) have perfect audio.

And you will fix the atmosphere for D-pad issues as well?
 

AGUS38

Member
Newcomer
Joined
Mar 21, 2020
Messages
11
Trophies
0
Age
42
XP
171
Country
Spain
You're right. I didn't notice the problem because I'm not playing a lot, finally. And when I develop I turn down audio.. So I took the time to to take a closer look, and there was a problem with audio, yes (crackling audio in most games, some where more noticeable than other).
I just fixed that, so next release will (should) have perfect audio.


perfect

great job

I'm waiting excited
 

18Phoenix

Well-Known Member
Member
Joined
Nov 21, 2005
Messages
766
Trophies
1
XP
2,298
Country
Germany
You're right. I didn't notice the problem because I'm not playing a lot, finally. And when I develop I turn down audio.. So I took the time to to take a closer look, and there was a problem with audio, yes (crackling audio in most games, some where more noticeable than other).
I just fixed that, so next release will (should) have perfect audio.
Strange, I didn't noticed anything, neither portable nor docked. How could that be? And no, it's not my ears XD
 

AGUS38

Member
Newcomer
Joined
Mar 21, 2020
Messages
11
Trophies
0
Age
42
XP
171
Country
Spain
Your work really helped me a lot. it is best to have options for everyone, without discrediting anyone's work greetings and thank you very much for the work of both
 

Gamer94

New Member
Newbie
Joined
Apr 8, 2020
Messages
1
Trophies
0
Age
43
XP
41
Country
United States
I appreciate the work you've put into this homebrew, it's simple and easy to use. Is there a paypal that I can contribute to? Thanks in advance.
 

cpasjuste

Well-Known Member
OP
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,481
Country
France
Hi, new psnes release: https://github.com/Cpasjuste/pemu/releases/tag/4.3

- psnes: fix audio crackling
- psnes: hide unneeded options from options menu
- psnes: allow listing unknown files in rom listing
- psnes: add BLOCK_INVALID_VRAM option
- psnes: add TRANSPARENCY option
- psnes: add DISPLAY_MESSAGES option
- psnes: add FRAMESKIP, TURBO_MODE and TURBO_FRAMESKIP options
- psnes: allow frameskip on switch, while not really needed...
- psnes: update snes9x core to latest version (03/31/2020, 432fc08498b33190a41ae659c3c5fccbeb5b8b3e)
- psnes: include all pFBN changes since last pSNES release (a lot)
- all: add SHOW_REAL_NAMES ui option to show zip names (or fbn names) instead screenscraper name in rom listing
- all: lower videos previews size (1/2 size, 20 seconds instead 36).
 

cpasjuste

Well-Known Member
OP
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,481
Country
France
Guys, the psnes readme (see first post) links to the media previews.
Also, if you want all in green, in need this romset: "Nintendo - Super Nintendo Entertainment System (2017-05-29).zip"
 
Last edited by cpasjuste,
  • Like
Reactions: hausa51

ScarletDreamz

[Debug Mode]
Member
Joined
Feb 16, 2015
Messages
3,967
Trophies
1
Location
/dev/sda1
XP
4,380
Country
United States
Guys, the psnes readme (see first post) links to the media previews.
Also, if you want all in green, in need this romset: "Nintendo - Super Nintendo Entertainment System (2017-05-29).zip"

Hey @cpasjuste , Great fan of your work, i have a question btw, when trying to compile it myself, i get this:
Code:
C:/pemu/libcross2d/source/platforms/gl2/gl_renderer.cpp: In member function 'void c2d::GLRenderer::initGL()':
C:/pemu/libcross2d/source/platforms/gl2/gl_renderer.cpp:26:5: error: 'gladLoadGL' was not declared in this scope
     gladLoadGL();
     ^~~~~~~~~~
make[2]: *** [libcross2d/CMakeFiles/cross2d.dir/build.make:557: libcross2d/CMakeFiles/cross2d.dir/source/platforms/gl2/gl_renderer.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:168: libcross2d/CMakeFiles/cross2d.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Any suggestions?

Heres the full function:

Code:
void GLRenderer::initGL() {

#if defined(__PLATFORM_LINUX__) || defined(__SWITCH__)
    // amdgpu proprietary driver 19.30 and SDL2 getproc bug
    // it's seems safer to also use glad on linux
    gladLoadGL();
#elif __WINDOWS__
    glewInit();
#endif

    printf("GL vendor   : %s\n", glGetString(GL_VENDOR));
    printf("GL renderer : %s\n", glGetString(GL_RENDERER));
    printf("GL version  : %s\n", glGetString(GL_VERSION));
    printf("GL glsl     : %s\n", glGetString(GL_SHADING_LANGUAGE_VERSION));

#ifndef __GLES2__
    // vao
    GL_CHECK(glGenVertexArrays(1, &vao));
#endif
    GL_CHECK(glDisable(GL_DEPTH_TEST));
    GL_CHECK(glDepthMask(GL_FALSE));

    // init shaders
    shaderList = (ShaderList *) new GLShaderList();
}
 

spotanjo3

Well-Known Member
Member
Joined
Nov 6, 2002
Messages
11,145
Trophies
3
XP
6,215
Country
United States
Guys, the psnes readme (see first post) links to the media previews.
Also, if you want all in green, in need this romset: "Nintendo - Super Nintendo Entertainment System (2017-05-29).zip"

I go ahead and update your version. I overwrite it but keep my default.zip and roms folder.

I notice that those roms not he screen is not mine. I only have few roms. How does it get there ? And it screw up on my screen.

And I cannot move D-pad at all. It hadn't changed.

I am using the latest atmosphere and 9.1.0 version. Here it is the picture:
IMG_8702.JPG
 
Last edited by spotanjo3,

cpasjuste

Well-Known Member
OP
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,481
Country
France
I go ahead and update your version. I overwrite it but keep my default.zip and roms folder.

I notice that those roms not he screen is not mine. I only have few roms. How does it get there ? And it screw up on my screen.

And I cannot move D-pad at all. It hadn't changed.

I am using the latest atmosphere and 9.1.0 version. Here it is the picture:View attachment 203710
Unfortunately there was a lot of changes in the skin to use the new database (ROMs infos), so old skins (default.zip) are not compatible anymore. Sorry for that but I didn't had a lot of options.
 
  • Like
Reactions: RaoTheConqueror

satel

Luigi's Big Brother
Member
Joined
Nov 3, 2004
Messages
2,190
Trophies
1
XP
2,048
Country
Laos
will vita version
Guys, the psnes readme (see first post) links to the media previews.
Also, if you want all in green, in need this romset: "Nintendo - Super Nintendo Entertainment System (2017-05-29).zip"

no-intro-nintendo-super-nintendo-entertainment-system-20170529

the above romset is all in RED none is playable !!! any idea why ?
 

cpasjuste

Well-Known Member
OP
Member
Joined
Aug 27, 2015
Messages
1,108
Trophies
1
Age
44
XP
4,481
Country
France
will vita version


no-intro-nintendo-super-nintendo-entertainment-system-20170529

the above romset is all in RED none is playable !!! any idea why ?
The files should be zipped, not "7ziped", maybe your romset is .7z ? Else you may have copied them to the wrong place ?
 
  • Like
Reactions: satel

satel

Luigi's Big Brother
Member
Joined
Nov 3, 2004
Messages
2,190
Trophies
1
XP
2,048
Country
Laos
@cpasjuste any chance you can change the icon for Psnes forwarder,as both look the same & i would like to be able to tell which one is which from just looking at it,it would be great if you can change the orange colour of the letter P to the 4 SNES colours !! something like image below:

 
Last edited by satel,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • K3Nv2 @ K3Nv2:
    I'll reformat and have a 3tb raid0 m. 2 at least
    +1
  • K3Nv2 @ K3Nv2:
    Lmao that sold out fast
    +1
  • Veho @ Veho:
    Yeet the cat.
    +1
  • K3Nv2 @ K3Nv2:
    Good idea
    +1
  • The Real Jdbye @ The Real Jdbye:
    i thought everybody knew cocktails are like 75% ice
  • Veho @ Veho:
    Yeah but not like this.
  • Veho @ Veho:
    It's not like they're complaining that their Slurpee is 99% ice or something, but if the cocktail calls for "shot of vodka, shot of vermouth, shot of gin, shot of Campari, three shots of juice, squirt of lemon" and ends up being a thimbleful of booze, that's a problem.
  • The Real Jdbye @ The Real Jdbye:
    the funny thing is cocktails in norway are only allowed to have 1 20ml shot of booze
  • The Real Jdbye @ The Real Jdbye:
    so..... yeah
  • The Real Jdbye @ The Real Jdbye:
    we're used to only having a thimbleful of booze
  • Veho @ Veho:
    Booo.
  • The Real Jdbye @ The Real Jdbye:
    same thing if you want whisky on the rocks or something, you can't get a double
  • The Real Jdbye @ The Real Jdbye:
    but you could buy as many shots of whisky (or anything else) as you want and ask for a glass of ice and pour them in
  • The Real Jdbye @ The Real Jdbye:
    it's dumb
  • Veho @ Veho:
    Maybe.
  • Veho @ Veho:
    There was a comparison of the number of Ibuprofen poisonings before and after they limited the maximum dosage per box or per pill (i'll look that up). No limit on the number of boxes you can still buy as many as you want, so people argued it was pointless.
  • Veho @ Veho:
    But the number of (accidental) poisonings dropped because drinking an entire package of ibuprofen pills went from "I need a new liver" to "I need a new box of Ibuprofen".
  • Veho @ Veho:
    Here we have ketoprofen that used to be prescription-only because of the risk of toxic dosages, but then they halved the dose per pill and sell them in bottles of six pills apiece instead of twenty and it doesn't need a prescription any more. Yes you can buy more than one bottle but people simply don't.
  • Psionic Roshambo @ Psionic Roshambo:
    Usually accidentally overdose of ibuprofen here is from people taking like cold medicine then ibuprofen for a headache and the combination is over what they need
    Veho @ Veho: https://imgur.com/gallery/QQkYnQu