Jason_25
Posts: 101
Joined: Tue Oct 20, 2015 6:25 pm

SNES emulation without Retropie?

Wed Sep 13, 2017 10:09 pm

A couple of years ago I had a simple SNES emulator installed on my Pi 1 that worked ok. I have since tried to find one for the Pi Zero that did not involve installing a large, complicated, single point-of-failure software package. My understanding is there are three main emulators available: Zsnes, Snes9x and Bsnes. Zsnes is compiled with x86 assembly so is not available and Bsnes with it's focus on perfection is too slow on the single core Pi. That leaves Snes9x and it's many forks.

edit: Fixed.

https://github.com/chep/snes9x-rpi
The compile failed with: soundux.d no such file or directory

https://github.com/squidrpi/pisnes
compiled successfully but when running a window opens then closes then returns to the terminal

https://github.com/mholgatem/PiSNES
compiled successfully but when running a window opens then closes then returns to the terminal

https://github.com/domaemon/snes9x-sdl
compiled successfully but:
1.run in virtual console with sdl binary - system freeze
2.run in x terminal with unix binary - works but no sound - also image cannot be resized - aoss causes x terminal freeze
3.run in x terminal with sdl binary - x terminal freeze - aoss also causes x terminal freeze

https://github.com/neagix/snes9x-rpi
compiled successfully but stuck at black screen but does not cause x terminal freeze

https://sourceforge.net/projects/pisnes ... p_redirect
This is the binary many people are using. This did not launch and there was seemingly no way to get the shell to treat it as an executable with: snes9x: no such file or directory when running from the shell. This is because it was compiled with a different ABI than my system.

https://github.com/otty/snes9x-raspi
compiled successfully and segfaults but does run with sound and an image that fits within the screen
Last edited by Jason_25 on Fri Sep 15, 2017 5:56 pm, edited 1 time in total.

welshy
Posts: 1660
Joined: Mon Oct 29, 2012 2:07 pm

Re: SNES emulation without Retropie?

Thu Sep 14, 2017 7:45 am

Jason_25
Squids PiSNES is available as a Binary for Download

Link - https://sourceforge.net/projects/pisnes/

Launch it via Command Line and hopefully this will resolve your issue. For all your Emulation needs check the Emulation on the RPi Thread

Link - viewtopic.php?f=78&t=54357
"The list of things I have heard now contains everything!"

Jason_25
Posts: 101
Joined: Tue Oct 20, 2015 6:25 pm

Re: SNES emulation without Retropie?

Thu Sep 14, 2017 2:30 pm

Thanks. But as you can see from my original post I was not able to run the binary file. I have also read that thread extensively along with researching the topic for many hours which is also evidenced from my original post.

shadowzero26
Posts: 1
Joined: Sun Sep 24, 2017 2:56 pm

Re: SNES emulation without Retropie?

Sun Sep 24, 2017 2:59 pm

I too am interested in finding a SNES emulator that works in Raspbian. There are so many choices but they all seem to fail exactly the same as the op states.

Jason_25
Posts: 101
Joined: Tue Oct 20, 2015 6:25 pm

Re: SNES emulation without Retropie?

Mon Sep 25, 2017 4:50 am

Did you try the last option I linked to?

snes9x-raspi will even work at full speed on Pi Zero while running KDE 4. If that will not work for you I can fork the project on Github and write detailed compilation instructions and maybe even respond to the issues page because what good is the source code if it won't compile. I did not have much luck using any of the other versions and I guarantee no one will help me as I am helping you now. Most people on this forum fall in to two groups: the button mashers that install Raspian or Retropie and they are done and the super geniuses sitting in a basement somewhere who coded all this up and are too good to actually give an answer.

Jason_25
Posts: 101
Joined: Tue Oct 20, 2015 6:25 pm

Re: SNES emulation without Retropie?

Thu Sep 28, 2017 5:18 pm

Sorry to double post but this is an urgent and extremely depressing situation. I am trying to get snes9x to run with these goals:
1. The original fork - in a larger than 320x240 window and without crashing on 64 bit after a few seconds
2. The forks with "sdl" in their name - run without a black screen
3. The forks that include GL support - run on a 64 bit OS without OpenGL support

Note: I have been using snes9x for 20 years - two decades - on Windows. We certainly didn't have proper 3D acceleration in 1997 and the program worked just fine so don't give me any crap about running on an OS without OpenGL.

I am now faced with downloading and compiling 25 different forks of snes9x. Allow me to be an oracle and "foresee" what will happen.
1. Some will just not compile at all because they are some teenager's programming project
2. The "sdl" ports will either show a black screen or be unable to be resized
3. The GL forks will not compile because some smartass decided to add OpenGL support to an emulator that never needed it to begin with

I'm not taking no for an answer here. An Emulator WILL be running even if I have to pay someone with more than 50 IQ to do it. As you can see I hate myself and I hate doing this so I am not doing it for cool points. I have plans to distribute and support this for everyone unlike every other person who has written snes9x code. The irony here is even that though I am willing to distribute and support this software I am far too stupid to be able to. Anyone who has the skills to do this has no people skills and no want or need to help anyone out. Further more they are most likely slaving away on some Corporation's database anyway.

If after reading this you are as frustrated as myself lend me a hand and post here. Obviously the bar for participation is incredibly low.

edit: This post concerns Pi 3 on a 64 bit OS. The first post above concerns Pi 1/Zero on a 32 bit OS.

snes9x investigation

https://github.com/otty/snes9x-raspi
window not resizeable - crashes also on 64 bit after a few seconds

https://github.com/neagix/snes9x-rpi
stuck at black screen but does not cause x terminal freeze

https://github.com/domaemon/snes9x-sdl
same as snes9x-rpi

https://github.com/mholgatem/PiSNES
does not compile because of lack of 3d support on 64 bit

https://github.com/squidrpi/pisnes
same as PiSNES

https://github.com/arthurchoung/snes9x
compilation finishes but no executable is created

https://github.com/lamnguyen917/snes9x
same as snes9x-rpi

https://github.com/SteveBeaupre/SNES9X
error cast from uint32 to int loses precision - not 64 bit compatible???

https://github.com/Medsar2000/snes9x-rr
collect 2 error: ld returned 1 exit status with no other errors

https://github.com/TheProjecter/snes9x-rr
same as snes9x-rr

https://github.com/Quest79/snes9x-rr
same as snes9x-rr

https://github.com/ivanovic/Snes9x4P
same as SNES9X

https://github.com/LuigiBlood/snes9x-sx2
same as snes9x-rpi

https://github.com/rslavin/Aluin_PiSNES
same as PiSNES

https://github.com/twinaphex/snes9x-150
same as snes9x-rpi

https://github.com/YggDrazil/SNES9x
same as snes9x-rpi

https://github.com/x3193/snes9x
same as snes9x-rpi

https://github.com/zarboz/snes9x
same as snes9x-rpi

https://github.com/BoGanon/snes9x1.39ff
same as SNES9X

https://github.com/vuongpv/snes9xnext
no rule to make target src/apu/apu.o needed by snes9x

https://github.com/boojtran/snes9xnext
same as snes9xnext

https://github.com/anhhuybidv/snes9xnext
same as snes9xnext

https://github.com/MathewWi/snes9xnext
same as snes9xnext

https://github.com/ameer-bauer/snes9x-gtk
same as snes9x-rpi

https://github.com/Google-Code-Fork/snes9x-gtk
no makefile or configure

https://github.com/fradinni/snes9x-rpi
same as PiSNES

https://github.com/emulatorE2/snes9x-sdl
same as snes9x-rpi

https://github.com/timblepaw/snes9x-rr
same as snes9x-rr

https://github.com/alban-rochel/pixbox-snes9x-sdl
same as snes9x-rpi

https://github.com/snes9xgit/snes9x
same as snes9x-rpi

-----

bsnes/higan investigation basic information

https://gitlab.com/higan/higan
compiles successfully

https://github.com/rodamaral/lsnes
no rule to make target bsnes.mk

https://github.com/sharknnth/bsnes-classic
compiles successfully

https://github.com/devinacker/bsnes-plus
compiles successfully

https://github.com/awjackson/bsnes-classic
runs the same

https://github.com/gilligan/bsnes
cannot create obj/hexeditor.moc

https://github.com/Themaister/bsnes-Qt
ld cannot find -lsnes

https://github.com/quequotion/higan-qq
undefined references errors from having to comment other stuff

https://github.com/grim210/defimulator
no rule to make target ui/general/general.cpp

https://github.com/maroneze/higan
undefined references errors from having to comment other stuff

bsnes/higan investigation tips
change profile to performance - not available after 0.94
use bsnes-mercury performance hacks

bsnes/higan investigation performance information
higan - 5 fps
bsnes-classic (default) - 20 fps
bsnes-classic (optimized) - 21 fps
bsnes-plus - 15 fps

-----

black screen is a common and well known bug:
https://github.com/snes9xgit/snes9x/issues/82
https://github.com/chep/snes9x-rpi/issues/4
https://archlinuxarm.org/forum/viewtopi ... 65&p=31397
https://www.bountysource.com/issues/428 ... ro-version
http://www.snes9x.com/phpbb3/viewtopic.php?f=6&t=5264

Final Results:

original - fastest on 32 bit/unstable on 64 bit/unable to change resolution
https://github.com/otty/snes9x-raspi
change makefile optmizations for cpu particularly removing references to hard floats
add -lm to cc section to avoid math related error references

chep (old) - like the old version but with alsa support/better 64 bit stability
https://github.com/chep/snes9x-rpi/tree ... b6676282b9
this version is like the old version but with alsa support
similar to the old version all attempts to scale or change rendering resolution failed
file not found errors at beginning of compile are not serious and can be ignored

chep (new, modified) - works in fullscreen but can be hacked to window
https://github.com/chep/snes9x-rpi
this version works in sdl fullscreen mode by default
change SDL_CreateWindowAndRenderer flag to SDL_WINDOW_RESIZABLE to enable window
file not found errors at beginning of compile are not serious and can be ignored

bsnes (classic, modified) - works with decent performance when overclocked
https://github.com/sharknnth/bsnes-classic
O3 mcpu=cortex-a53 mtune=cortex-a53 funsafe-math-optimizations fomit-frame-pointer
switch profile to performance
does not require raspberry pi development libraries
apply "inline" specific portion of changes:
https://github.com/libretro/bsnes-mercu ... anges.diff

mednafen - works almost perfectly with many configuration options but key remapping seems broken
https://mednafen.github.io/releases/fil ... .46.tar.xz
configure at least 1GB swap space
just configure and make -j2 for less memory usage
takes about three hours to compile

Return to “Gaming”

Who is online

Users browsing this forum: No registered users and 11 guests