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

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

Post by OV2 » Wed Jan 13, 2010 11:08 pm

byuu wrote: When you activate another window or menubar, it stops updating all parts of the screen except where the window/menubar was at. Very strange. Easy to make it start working again, just minimize the window or such.
For some reason the win port called BeginPaint on WM_PAINT messages, which sets the clipping region to exclude everything outside the update region. It seems direct3d respects the clipping region when rendering. This doesn't happen on Vista and Win7 - I guess the new WDM handles it differently.
Should be fixed now.
creaothceann wrote:Found another one: When I want to record an AVI file, SNES9x crashes as soon as the codec selection window is on screen.
Fixed - this happened only on xp due to a timing issue when displaying the codec selection window.
creaothceann wrote:After starting SNES9x, B (the "Delete" key) doesn't do anything until it is re-assigned.
That took quite a while... the input code of the win port is a mess.
It's an old bug: when loading the key mappings from the config file, "Delete" was mapped to VK_CLEAR. Should also be fixed now.
Last edited by OV2 on Sun Jan 17, 2010 12:01 am, edited 2 times in total.

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

Post by creaothceann » Thu Jan 14, 2010 1:06 am

New one (at least on my system) in "Display Settings":

When "extend height of SNES image" is enabled, checking "display messages before applying filters" causes a crash. Enabling them in reverse order works though.

When both are activated and the setting is confirmed by pressing OK, opening the window again and checking both in any order causes no crash. Only when "display messages before applying filters" is deactivated and the window is closed, the crash is possible again.

shinyoyo
Snes9x White Belt
Posts: 3
Joined: Thu Jan 14, 2010 1:36 am

Post by shinyoyo » Thu Jan 14, 2010 1:40 am

Hello,I found a problem:The Rom information menu item is always uncheckble? Is it a bug?

ReddestDream
Snes9x White Belt
Posts: 1
Joined: Thu Jan 14, 2010 1:43 am

Post by ReddestDream » Thu Jan 14, 2010 1:53 am

BearOso wrote:
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.
Definitely not just the Windows port, since it happens on the MacOSX port too (1.52 only, not 1.51).

Is there any fix for this crash in Earthworm Jim 2?

Thanks!

I'm always glad to see another Snes9x release! :wink:

adventure_of_link
Hero of Hyrule | Official Port Recruiter
Posts: 2588
Joined: Mon May 24, 2004 5:06 pm
Location: 255.255.255.255

Post by adventure_of_link » Thu Jan 14, 2010 5:10 am

Going to go ahead and make this an announcement here too...
Image

Unofficial Test Monkey For:
* Snes9X GX (Wii)
* Snes9X EX (Android)
* Snes9X 64-bits (PC/Mac)

ZSNES|Ben Heck|NSRT|Bob Smiley

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

Post by Screwtape » Thu Jan 14, 2010 8:41 am

BearOso wrote: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?
Yes, yes it does.

If I recall correctly, the "use overscanned height" option was a hack so that SNES9x wouldn't have to change video-modes every time a game toggled overscan mode on the PPU. In this modern age where cheap hardware scaling and fixed-resolution displays are making video-mode-changing obsolete, maybe this option could be removed?

caitsith2
Snes9x White Belt
Posts: 11
Joined: Sat May 15, 2004 7:17 am

Post by caitsith2 » Thu Jan 14, 2010 9:14 am


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

Post by creaothceann » Thu Jan 14, 2010 9:32 am

Screwtape wrote:
BearOso wrote: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?
Yes, yes it does.

If I recall correctly, the "use overscanned height" option was a hack so that SNES9x wouldn't have to change video-modes every time a game toggled overscan mode on the PPU. In this modern age where cheap hardware scaling and fixed-resolution displays are making video-mode-changing obsolete, maybe this option could be removed?
Since the video output is centered, a game toggling overscan mode would cause the picture to jump up and down.

sjyune
Snes9x White Belt
Posts: 23
Joined: Mon Jul 24, 2006 12:19 am

Post by sjyune » Thu Jan 14, 2010 12:11 pm

Crash on Win98SE/ME ...dropping Win9X support ? :(

anyone here can teach me how to build Win98/ME compatible port ?
or know needed changes (in source) to support Win98/ME ?

thank you

User avatar
gocha
Snes9x Yellow Belt
Posts: 64
Joined: Sun Dec 30, 2007 12:14 am
Location: Japan, Nagoya

Post by gocha » Thu Jan 14, 2010 2:56 pm

OV2 wrote:(optimizations disabled for cpu.cpp)
http://code.google.com/p/snes9x-rr/source/detail?r=69 ?

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

Post by OV2 » Thu Jan 14, 2010 7:37 pm

Thanks gocha, that was the issue. You saved me from having to compare more disassemblies :)

Tukuyomi
Snes9x White Belt
Posts: 32
Joined: Mon May 24, 2004 4:14 pm
Location: France

Post by Tukuyomi » Thu Jan 14, 2010 9:59 pm

Thank you for this release, It's awesome :)
Mirror: http://snesemu.black-ship.net/index.php ... nes9x+1.52

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

Post by zones » Fri Jan 15, 2010 1:02 pm

Thanks for mirroring, I added more mirror sites in my top post.

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

Post by OV2 » Fri Jan 15, 2010 8:30 pm

shinyoyo wrote:Hello,I found a problem:The Rom information menu item is always uncheckble? Is it a bug?
Yes, this happened because of core changes and slipped by me. Will be back in the next update.
sjyune wrote:Crash on Win98SE/ME ...dropping Win9X support ? :(

anyone here can teach me how to build Win98/ME compatible port ?
or know needed changes (in source) to support Win98/ME ?

thank you
Visual Studio 2008 no longer supports Win9X and I want to switch to unicode builds some time in the future. ATM you'd have to change the DirectSound output to use a normal windows timer and compile with something other than VS08.
If I find the time I'll try to do a special 9x build.

sjyune
Snes9x White Belt
Posts: 23
Joined: Mon Jul 24, 2006 12:19 am

Post by sjyune » Fri Jan 15, 2010 8:49 pm

thank you very much...otherwise it shouldn't be named 'Snes9X'
I'll wait for your 9x build :D

sjyune
Snes9x White Belt
Posts: 23
Joined: Mon Jul 24, 2006 12:19 am

Post by sjyune » Fri Jan 15, 2010 9:08 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 :/
hi ! byuu

i have one question
before QT-based Gui, Bsnes ran fine but crashed as soon as it loads any rom image on Win9x...
could you please teach me how to fix this issue ?
like DirectSound to use normal windows timer as OV2 said...

many thanks

sjyune
Snes9x White Belt
Posts: 23
Joined: Mon Jul 24, 2006 12:19 am

Post by sjyune » Fri Jan 15, 2010 9:30 pm

OV2 wrote:
shinyoyo wrote:Hello,I found a problem:The Rom information menu item is always uncheckble? Is it a bug?
Yes, this happened because of core changes and slipped by me. Will be back in the next update.
sjyune wrote:Crash on Win98SE/ME ...dropping Win9X support ? :(

anyone here can teach me how to build Win98/ME compatible port ?
or know needed changes (in source) to support Win98/ME ?

thank you
Visual Studio 2008 no longer supports Win9X and I want to switch to unicode builds some time in the future. ATM you'd have to change the DirectSound output to use a normal windows timer and compile with something other than VS08.
If I find the time I'll try to do a special 9x build.
btw, Visual Studio 2008 is no longer problem on Win9x, as there's a program called 'KernelEx'...it also supports unicode on 9x-based system
but the problem here is this

"DirectSound output to use a normal windows timer"

i get an error message "CreateTimerQueue"
could you just please make it default to use a normal windows timer so that 'everyone' can enjoy ?

thank you again

sjyune
Snes9x White Belt
Posts: 23
Joined: Mon Jul 24, 2006 12:19 am

Post by sjyune » Fri Jan 15, 2010 9:44 pm

byuu wrote:I cannot create a Win9x port, sorry.

Qt itself has discontinued Win9x support, and the entire user interface, even the old ones prior, were built around Unicode support and Win2k user interface functionality.

The current builds also include RawInput support (allows multiple mice, very important for Lethal Enforcers), which requires Windows XP or newer. The best you can do is compile without RawInput, which will get it running on Win2k.

Outside of that, someone would have to create an entirely new port of the emulator. The core itself is portable, so it's doable, just a lot of work.
understood but unicode or Win2000 interface is no longer problam (prior QT and Raw input) as i said there's a freeware called 'KernelEx" which supports unicode on Win9x
I think problem is something else/core as it started crash since Bsnes v0.17
you might have better idea than me on this one... :(

so I still use 'Bsnes v0.16' the first-public release as there are some games that only can run on Bsnes

thanks always

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

Post by the_randomizer » Fri Jan 15, 2010 10:29 pm

Now that the source code is released, I wonder if anyone will be willing to port it over to the Wii/Gamecube.....Not that I'm giving any hints, mind you.
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!"

Locked