You are not logged in.

#1 2010-05-29 16:49:48

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

SSNES - The SNES emulator that sucks less.

BSNES is an awesome SNES emulator, but it has a QT GUI.

I've made a really slim interface for libsnes, which is the bsnes emulation core in library form.

What it currently does:

- OpenGL video
- Audio through ALSA, OSS or RSound.
- Save states/files
- Joypad support
- Optional HQ-filters

Configuration is done through config.{h,mk} and recompiling. People familiar with dwm will feel right at home wink

SSNES currently has three deps:

- libsnes
- GLFW (because GLX sucks)
- libsamplerate

Package for libsnes and ssnes-git can be found in AUR:
http://aur.archlinux.org/packages.php?ID=37617 - SSNES-git
http://aur.archlinux.org/packages.php?ID=37582 - libsnes

Offline

#2 2010-05-29 19:51:49

idjut
Member
From: Oslo
Registered: 2006-05-15
Posts: 176

Re: SSNES - The SNES emulator that sucks less.

Bra jobba/ well done!

Trying it out now.


Linux user #403491

"Men have called me mad; but the question is not yet settled, whether madness is or is not the loftiest intelligence– whether much that is glorious– whether all that is profound– does not spring from disease of thought– from moods of mind exalted at the expense of the general intellect." - E. A. Poe from Eleonora

Offline

#3 2010-05-29 21:13:01

randomguy
Member
Registered: 2007-06-19
Posts: 93

Re: SSNES - The SNES emulator that sucks less.

Nicccceeeee! wink

Offline

#4 2010-06-06 06:41:30

Falstaff
Member
Registered: 2008-11-03
Posts: 79

Re: SSNES - The SNES emulator that sucks less.

Interesting.

Offline

#5 2010-06-06 11:56:00

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

Re: SSNES - The SNES emulator that sucks less.

Fixed the header issues. smile There shouldn't be RSound dep unless you explicitly build with support for it.

Offline

#6 2010-06-06 20:54:08

ntness
Member
From: The World
Registered: 2009-12-29
Posts: 97

Re: SSNES - The SNES emulator that sucks less.

Sweet looking emulator. However, I keeping getting validity check errors when I modify config.h and so am not able to customize any of the preset options.


transcend to the fifth abode

Offline

#7 2010-06-07 10:32:12

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

Re: SSNES - The SNES emulator that sucks less.

Yes, PKGBUILDs aren't really made for configurable source files. You can remove the md5sum stuff and build with --skipinteg. I don't know of any other way. :\

Offline

#8 2010-08-17 21:21:03

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

Re: SSNES - The SNES emulator that sucks less.

Shameless bump.
Done some more work on the frontend now.

Added:
- Proper save file support (.srm, etc).
- Can toggle between fast-forward and normal speed.
- FPS counter in taskbar tongue

Offline

#9 2010-08-18 03:23:40

wisp558
Member
Registered: 2010-06-10
Posts: 17

Re: SSNES - The SNES emulator that sucks less.

Just wanted to say that I nabbed and compiled this sucker; Nice Job! Bsnes without Qt will always have a place in my heart. You keep doing what you do. Thanks man.

Offline

#10 2010-10-08 09:13:38

dartfira
Member
Registered: 2010-08-23
Posts: 63

Re: SSNES - The SNES emulator that sucks less.

exscuse me for my ignorance. But how coul I let it start, it has no front-end I could use it only by terminal?
I'm writing ssnes-git on a terminal but it says "command not found".
I also installed all the dependecies.

Last edited by dartfira (2010-10-08 09:16:50)

Offline

#11 2010-10-08 20:14:43

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

Re: SSNES - The SNES emulator that sucks less.

Nope, ssnes has no GUI front-end so to say, that's the purpose of bsnes itself, which is a quite feature-rich GUI. ssnes tries to be a slim alternative to the GUI.
You start it with

ssnes some_game.smc

Do note that you need to extract any .zip files you might have beforehand.

Offline

#12 2010-10-09 11:44:13

dartfira
Member
Registered: 2010-08-23
Posts: 63

Re: SSNES - The SNES emulator that sucks less.

Hmm, ok thanks. I did it.
there is a list of command, as to load save or to save?

Offline

#13 2011-03-19 19:31:38

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

Re: SSNES - The SNES emulator that sucks less.

Guess I can bump this now. SSNES has received lots of development over the last half year, and while it's hardly suckless anymore, it has some interesting features.
It is still CLI based, but rather than config.{h,mk} it uses configuration files. When building, it is possible however to do --disable-configfile which uses config.def.h, which is a static configuration. The build system uses quickbuild, which is a side project that attempts to be a quite slim replacement for dreaded autoconf. It is written in posix sh. While the code base is quite large now compared to last year, it is possible to disable stuff that is not needed.

Mandatory dependencies have been reduced to just SDL.

Lots of new drivers are added:
Video: OpenGL, XVideo
Audio: ALSA, OSS, Pulse, Jack, RSound, RoarAudio, OpenAL, SDL, (XAudio2 for win32). (This should cover most peoples needs big_smile)

CPU filters have been reworked, and now loads *.filter files as known from bSNES.
It also supports GPU shaders. bSNES-style XML shaders (GLSL) and Cg shaders are supported. With XML shaders you can do multi-pass shaders and cool stuff like that.

Other interesting features include:
Netplay written from scratch. It's a peer-to-peer implementation. It's not very mature but works quite well.
Playback and recording of bSNES-style *.bsv movies are supported.
Frame-by-frame rewind is also implemented. Think Braid smile It is possible to rewind during recording of movies too, but this is considered in alpha state (some games break).
libsnes implementations can be loaded dynamically in run-time. It's possible to use both bsnes and snes9x emulation cores.
On-screen font rendering for messages is also implemented. It renders using libfreetype.

As a side project, I worked on a GUI launcher frontend. It can also configure stuff like input, etc. https://aur.archlinux.org/packages.php?ID=46781

Offline

#14 2011-03-19 21:55:04

Falstaff
Member
Registered: 2008-11-03
Posts: 79

Re: SSNES - The SNES emulator that sucks less.

Goddamn, you've improved it tremendously to the point where I like it better than my favorite snes emu (snes9x-gtk). Thumbs up!!!

Offline

#15 2011-03-19 21:55:40

Falstaff
Member
Registered: 2008-11-03
Posts: 79

Re: SSNES - The SNES emulator that sucks less.

BTW, why no compressed files support?

Offline

#16 2011-03-19 22:18:05

Awebb
Member
Registered: 2010-05-06
Posts: 5,201

Re: SSNES - The SNES emulator that sucks less.

Falstaff wrote:

BTW, why no compressed files support?

Good question. My guess is zip support is somewhere on his 2do list.

Offline

#17 2011-03-19 22:23:19

ntness
Member
From: The World
Registered: 2009-12-29
Posts: 97

Re: SSNES - The SNES emulator that sucks less.

Wonderful update. I'll be using it instead of zsnes over the next few days as my initial impressions are nothing but good. Maybe I've found a permanent replacement. big_smile Great work!


transcend to the fifth abode

Offline

#18 2011-03-20 01:04:56

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

Re: SSNES - The SNES emulator that sucks less.

Falstaff wrote:

BTW, why no compressed files support?

It's a design choice. SSNES can read roms from stdin, so you can make a wrapper script that reads whatever zipped format you want smile

Offline

#19 2011-03-20 01:56:04

Falstaff
Member
Registered: 2008-11-03
Posts: 79

Re: SSNES - The SNES emulator that sucks less.

Themaister wrote:
Falstaff wrote:

BTW, why no compressed files support?

It's a design choice. SSNES can read roms from stdin, so you can make a wrapper script that reads whatever zipped format you want smile

Would be great if you could implement it imo...

Last edited by Falstaff (2011-03-20 01:56:35)

Offline

#20 2011-03-20 12:43:34

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

Re: SSNES - The SNES emulator that sucks less.

Falstaff wrote:
Themaister wrote:
Falstaff wrote:

BTW, why no compressed files support?

It's a design choice. SSNES can read roms from stdin, so you can make a wrapper script that reads whatever zipped format you want smile

Would be great if you could implement it imo...

Alright, started on a wrapper script that does this. It only supports .zip so far, but shouldn't be too hard to support more. It is in latest git, and is called ssnes-zip. smile
EDIT: 7z and rar (untested) are covered. Should be every format I've seen in the wild.

Last edited by Themaister (2011-03-20 18:47:33)

Offline

#21 2011-03-20 22:32:53

Falstaff
Member
Registered: 2008-11-03
Posts: 79

Re: SSNES - The SNES emulator that sucks less.

Nice!

Offline

#22 2011-05-28 13:04:38

greatant
Member
Registered: 2011-02-12
Posts: 28

Re: SSNES - The SNES emulator that sucks less.

I haven't been able to get ssnes-zip to work at all.
Great emulator otherwise. So simple.

Offline

#23 2011-05-30 21:11:39

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

Re: SSNES - The SNES emulator that sucks less.

Hm, works here for my .zip files at least. What format is the file you're trying to open, and what's the content?

Offline

#24 2011-05-30 23:42:49

greatant
Member
Registered: 2011-02-12
Posts: 28

Re: SSNES - The SNES emulator that sucks less.

I just worked out that it does work as long as there's no square brackets in the filename. When there are square brackets it's unable to match the smc inside the zip even if the filenames do actually match.

When trying to open Batman Forever (U) [!].zip I get this error: "caution: filename not matched:  Batman Forever (U) [!].smc"

Last edited by greatant (2011-05-31 01:45:23)

Offline

#25 2011-05-31 10:31:54

Themaister
Member
From: Horten, Norway
Registered: 2008-07-21
Posts: 647
Website

Re: SSNES - The SNES emulator that sucks less.

Oh dear ... The people who made the [!] naming convention obviously never used regex. Ever. Hacked around it, so fix should be on Git soon tongue

Offline

Board footer

Powered by FluxBB