Snes9x 1.52 is now dead due to Snes9X 1.53 being out

This is for people involved in the developement of Snes9x, or SNES emulators in general.
BUG REPORTS BELONG IN TECH SUPPORT/BUG TRACKING!

Moderator: Ryan

Locked
User avatar
zones
Official Mac OSX Porter/Dev
Posts: 908
Joined: Sat May 15, 2004 11:58 pm
Location: Japan

Snes9x 1.52 is now dead due to Snes9X 1.53 being out

Post by zones » Tue Jan 12, 2010 9:26 pm

Snes9x 1.52

GTK, Windows, Mac OS X and Unix (command-line) ports are ready at:
http://www.caitsith2.com/snes9x152/
http://snesemu.black-ship.net/index.php ... nes9x+1.52
http://download.sessionclan.de/overfiend/snes9x/
http://sites.google.com/site/bearoso/
Please mirror files if you can.
Edit: added mirror sites. :)

Important: The 1.52 savestate (freeze file) is not compatible with older versions!

I'll announce the detail of this release later...

changes:

Code: Select all

Snes9x 1.52
- IMPORTANT NOTICE: The structure of savestates (also known
  as snapshots / freeze files) is incompatible with older
  versions! Snes9x 1.52 cannot read the savestates created
  by 1.51 or older.                                         (zones)
- Highly acculate SPC700 and S-DSP emulation.               (Blargg)
- Replaced APU emulation cores (SPC700 and S-DSP) with
  ones provided by Blargg's SNES_SPC library. This renders
  savestates incompatible with older versions.              (BearOso, zones)
- SPC7110 emulation.                                        (byuu, neviksti)
- Merged bsnes' SPC7110 emulation code. Note that the .rtc
  file of Far East of Eden Zero is incompatible with older
  versions.                                                 (zones)
- Removed graphics pack support. It's no more necessary.    (zones)
- Replaced S-RTC emulation code with bsnes' one to keep the
  good compatibility of .rtc files between the two
  emulators. As a result, Daikaijuu Monogatari 2 now
  outputs the .rtc file, and its .srm file is incompatible
  with older versions.                                      (zones)
- Added savestate supports for DSP-2, DSP-4, ST-010 and
  OBC1.                                                     (zones)
- Added UPS support.                                        (byuu)
- Fixed DSP-4 AI problem.                                   (Jonas Quinn)
- Fixed invalid memory accesses in C4 and OBC1 codes.       (zones)
- Fixed invalid memory accesses in BSX codes. My mistake.   (zones)
- Fixed the read value of $213e, $4210 and $4211.           (zones)
- Fixed the writing of word values at the memory boundary.  (zones)
- Fixed the bug that the unnecessary SA-1 emulation
  continues once any SA-1 games are launched.               (zones)
- Removed old color blending codes.                         (zones)
- Removed too-old Snes96 and ZSNES snapshot support.        (zones)
- Updated command-line options.                             (zones)
- Code cleaning.                                            (zones)
- GTK+ : Added a port of Snes9x to the GTK+ toolkit.        (BearOso)
- Unix : Reconstructed and simplified all the contents.
  Some features have been removed to be simple, and many
  options have changed. GTK+ port is recommended for most
  of Linux users.                                           (zones)
- Win32: Now uses snes9x.conf to prevent problems with
  modified meaning of settings.                             (OV2)
- Win32: Removed broken OpenGL mode.                        (OV2)
- Win32: Removed support for 8bit output.                   (OV2)
- Win32: Reworked settings dialogues to accomodate the
  new APU core and display settings.                        (OV2)
- Win32: Updated defaults to use D3D and XA2 (better
  Vista and Win7 support).                                  (OV2)
- Win32: Direct3D and XAudio2 support.                      (OV2)
- Win32: Added Blargg's ntsc filter (three presets).        (OV2)
- Mac  : Fixed corrupted screenshot on Intel Mac.           (zones)
- Mac  : Fixed sudden abort in QuickTime movie export on
  Intel Mac.                                                (zones)
- Mac  : Changed sound settings for the new APU core.       (zones)
- Mac  : Changed the default folder which Snes9x looks for
  to 'Application Support' folder.                          (zones)
- Mac  : Changed folder names: 'IPSs' -> 'Patches',
  'BIOSs' -> 'BIOSes'.                                      (zones)
- Mac  : Added Blargg's ntsc filter.                        (zones)
- Mac  : Internal changes for Leopard and Snow Leopard.     (zones)
Last edited by zones on Fri Jan 15, 2010 1:00 pm, edited 1 time in total.

User avatar
Camo_Yoshi
Snes9x Purple belt
Posts: 922
Joined: Thu Nov 08, 2007 7:59 pm
Location: /dev/null

Post by Camo_Yoshi » Tue Jan 12, 2010 11:08 pm

WOOT!

Better sound, and more DSP support!

Thanks much!
Snes9x FAQs | Forum Rules
What operating system are you using? 32 or 64bit? Version of Snes9x? Is the text at the bottom of the window white when you load the game?
These suggestions are usually the solution to your issue!

the_randomizer
Snes9x Orange Belt
Posts: 222
Joined: Sat Oct 17, 2009 4:18 am

Post by the_randomizer » Wed Jan 13, 2010 1:25 am

WOAH that was unexpected! The Snes9xGx port should be just around the corner, right? PS, the SPC700 emulation is AWESOME! Someone should tell dborth about it.
Lisa: "I hope you all know you're sponsoring a murderous pirate!"
Sponsor: "A pirate!!? Well, that's hardly the image we need for Long John Silvers!"

squall_leonhart69r

Post by squall_leonhart69r » Wed Jan 13, 2010 9:46 am

meh, without OV2's additions, its just useless on Vista/7.

Screwtape
Snes9x White Belt
Posts: 49
Joined: Thu May 26, 2005 12:59 pm

Post by Screwtape » Wed Jan 13, 2010 12:12 pm

Huzzah for an ALSA sound-driver in the Linux port!

One minor problem I've found: I happened to have "Use overscanned height" enabled in the previous snes9x-gtk build I used, and when I started the new version, I saw the image on the left; when I turn off "Use overscanned height" I see the image on the right:

Image Image

The effect is the same - vertically squished, big black line in the middle - whether I use XVideo or OpenGL, whether I enable "maintain aspect ratio" or not, whether I resize the window to be big or small.

Obviously I've found myself a workaround, but I thought I should mention it.

User avatar
zones
Official Mac OSX Porter/Dev
Posts: 908
Joined: Sat May 15, 2004 11:58 pm
Location: Japan

Post by zones » Wed Jan 13, 2010 12:13 pm

Four ports are available in this release.

GTK+ port by BearOso
Windows port by OV2
Mac OS X port by me
also simplified command line port (GTK+ is recommended for Linux users.)

The new sound core, thanks to blargg. Also above three port (except command-line port) now support blargg's NTSC filter.

SPC7110 emulation, thanks to bsnes. You don't need graphics pack now.

Now we highly recommend UPS instead of IPS.

User avatar
creaothceann
Snes9x White Belt
Posts: 35
Joined: Tue Mar 22, 2005 2:48 pm
Location: Germany

Post by creaothceann » Wed Jan 13, 2010 12:28 pm

There are graphical glitches in Super Metroid... this is with the default settings: (except 4:3 screen ratio)

http://img193.imageshack.us/img193/6531 ... d4img1.png
http://img59.imageshack.us/img59/2622/metroid4img2.png

User avatar
BearOso
Official GTK/Linux Porter/Dev
Posts: 450
Joined: Tue Oct 02, 2007 12:50 am

Post by BearOso » Wed Jan 13, 2010 12:35 pm

Screwtape wrote:Huzzah for an ALSA sound-driver in the Linux port!

One minor problem I've found: I happened to have "Use overscanned height" enabled in the previous snes9x-gtk build I used, and when I started the new version, I saw the image on the left; when I turn off "Use overscanned height" I see the image on the right:

Image Image

The effect is the same - vertically squished, big black line in the middle - whether I use XVideo or OpenGL, whether I enable "maintain aspect ratio" or not, whether I resize the window to be big or small.

Obviously I've found myself a workaround, but I thought I should mention it.
I've reproduced this with the "multithreaded" option. The overscanned height seems to hit an edge case. Does it work if you turn that off?

User avatar
BearOso
Official GTK/Linux Porter/Dev
Posts: 450
Joined: Tue Oct 02, 2007 12:50 am

Post by BearOso » Wed Jan 13, 2010 12:53 pm

creaothceann wrote:There are graphical glitches in Super Metroid... this is with the default settings: (except 4:3 screen ratio)

http://img193.imageshack.us/img193/6531 ... d4img1.png
http://img59.imageshack.us/img59/2622/metroid4img2.png
Works here in the Linux port:

Image

Might be a byte-alignment/pixel format issue.

Rhapsody
Snes9x White Belt
Posts: 18
Joined: Tue Jul 11, 2006 7:00 pm

Post by Rhapsody » Wed Jan 13, 2010 3:13 pm

I've tried the Ubuntu Karmic build of Snes9x-GTK 1.52 on Debian testing here, and it seems to work fully. Sound is a bit funny though, might be slightly out of sync, I'll have to see if I can do some fiddling with it later.

Mclane
Snes9x White Belt
Posts: 1
Joined: Wed Jan 13, 2010 3:43 pm

Post by Mclane » Wed Jan 13, 2010 3:50 pm

Can confirm re Metroid that same issue happens in Directdraw and Direct3D but what is a bit weird and might give a dev a clue is that it corrects itself from time to time.

On the planet it was all corrupted when I landed but once I went thru the first door it righted itself and when I returned back outside it was fine...

Can't seem to find a combination of options that causes it..

Running on Window 7 X64 2meg ram Nvidia 7800 card with latest DirectX and card drivers..

User avatar
OV2
Official Win32 Porter/Dev
Posts: 647
Joined: Thu Aug 30, 2007 10:15 pm

Post by OV2 » Wed Jan 13, 2010 4:00 pm

Here is a temporary fix until I can pinpoint the issue:

EDIT: see later post for link and fix-list

Note: you might have to switch rooms or open/close the map when loading a savestate to remove an already present glitch.
Last edited by OV2 on Sun Jan 17, 2010 12:01 am, edited 4 times in total.

User avatar
BearOso
Official GTK/Linux Porter/Dev
Posts: 450
Joined: Tue Oct 02, 2007 12:50 am

Post by BearOso » Wed Jan 13, 2010 4:59 pm

byuu wrote:May just be the Windows port, but Earthworm Jim 2 dies at the title screen with an ear shattering note stuck on.
That's one of those HDMA-sample-spooling games. I tested some of those, but not that one. It might need a timing hack, too.

User avatar
creaothceann
Snes9x White Belt
Posts: 35
Joined: Tue Mar 22, 2005 2:48 pm
Location: Germany

Post by creaothceann » Wed Jan 13, 2010 6:31 pm

OV2:
Thanks, that fixed the issue.

Found another one: When I want to record an AVI file, SNES9x crashes as soon as the codec selection window is on screen.

User avatar
BearOso
Official GTK/Linux Porter/Dev
Posts: 450
Joined: Tue Oct 02, 2007 12:50 am

Post by BearOso » Wed Jan 13, 2010 6:44 pm

byuu wrote:One more suggestion, filter/hq2x.cpp destroys GCC when you have 1GB of RAM or less, like in my virtual machine and on Derrick Sobodash's Loongson laptop. If you update the source like so:

Code: Select all

//(2,3,4) just means to do this for all three HQnX routines
void HQ(2,3,4)X_16 (uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height)
{
#ifnfef NO_HQ2X
...
#endif
}
It can be compiled with only 384MB of memory. It would make a great compile-time option, in my opinion :/
Someone posted a request like that (no-filters option) on my bug-tracker, along with a no-sound-driver suggestion. It's actually on my TODO list.

Maetel
Snes9x White Belt
Posts: 1
Joined: Wed Jan 13, 2010 8:40 pm

Post by Maetel » Wed Jan 13, 2010 8:45 pm


User avatar
creaothceann
Snes9x White Belt
Posts: 35
Joined: Tue Mar 22, 2005 2:48 pm
Location: Germany

Post by creaothceann » Wed Jan 13, 2010 8:50 pm

After starting SNES9x, B (the "Delete" key) doesn't do anything until it is re-assigned.

My pad config is like this (Select is Right Shift and L is Left Shift key, which works despite the warning).

Locked