News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Utilities: bsnes v0.053, erm... no wait... v0.054 released  (Read 12144 times)

RHDNBot

  • Guest
Utilities: bsnes v0.053, erm... no wait... v0.054 released
« on: October 18, 2009, 06:47:35 pm »

Update By: creaothceann

Copy and Paste:

Quote
This release greatly polishes the user interface, adds a new cheat code search utility, adds the snesfilter library, and adds Qt-based GUI support to both snesfilter and snesreader. snesfilter gains 2xSaI, Super 2xSaI and Super Eagle support, plus full configuration for both the NTSC and scanline filters; and snesreader gains support support for multi-file ROM archives (eg GoodMerge sets.)

Statically linking Qt to bsnes, snesfilter and snesreader would be too prohibitive size-wise (~10MB or so.) I have to link dynamically so that all three can share the same Qt runtime, which gets all of bsnes and its modules to ~1MB (including the debugger build); and Qt itself to about ~2.5MB.

However, there is some bad news. There's a serious bug in MinGW 4.4+, where it is not generating profile-guided input files (*.gcno files.) There is also a serious bug in Qt 4.5.2/Windows when using dynamic linking: the library is hanging indefinitely, forcing me to manually terminate the process upon exit. This prevents the creation of profile-guided output files (*.gcda files.) It would be tough enough to work around one, but facing both of these issues at once is too much.

I'm afraid I have no choice but to disable profile-guided optimizations until these issues can be addressed. I did not know about these bugs until trying to build the official v053 release, so it's too late to revert to an all-in-one binary now. And I'm simply not willing to stop releasing new builds because of bugs in third-party software. As soon as I can work around this, I'll post a new optimized binary. In the mean time, despite the fact that this release is actually more optimized, please understand that the Windows binary will run approximately ~10% slower than previous releases. I recommend keeping v052 for now if you need the performance. Linux and OS X users are unaffected.

Changelog:

  • save RAM is initialized to 0xff again to work around Ken Griffey Jr Baseball issue
  • libco adds assembly-optimized targets for Win64 and PPC-ELF [the latter courtesy of Kernigh]
  • libco/x86 and libco/amd64 use pre-assembled blocks now, obviates need for custom compilation flags
  • added a new cheat code search utility to the tools menu
  • separated filters from main bsnes binary to libsnesfilter / snesfilter.dll
  • added 2xSaI, Super 2xSaI and Super Eagle filters [kode54]
  • added full configuration settings for NTSC and scanline filters (12+ new options)
  • further optimized HQ2x filter [blargg]
  • added Vsync support to the Mac OS X OpenGL driver
  • added folder creation button to custom file load dialog
  • fixed a few oddities with loading of "game folders" (see older news for an explanation on what this is)
  • updated to blargg's file_extractor v1.0.0
  • added full support for multi-file archives (eg GoodMerge sets)
  • split multi-cart loading again (BS-X, Sufami Turbo, etc) as required for multi-file support
  • cleaned up handling of file placement detection for save files (.srm, .cht, etc)
  • file load dialog now remembers your previous folder path across runs even without a custom games folder assigned
  • windows now save their exact positioning and size across runs, they no longer forcibly center
  • menus now have radio button and check box icons where appropriate
  • debugger's hex editor now has a working scrollbar widget
  • added resize splitter to settings and tools windows
  • worked around Qt style sheet bug where subclassed widgets were not properly applying style properties

Links:


RHDN BSNES Page

Relevant Link: (http://byuu.org/bsnes/)
« Last Edit: October 19, 2009, 03:58:41 pm by MathOnNapkins »

creaothceann

  • Hero Member
  • *****
  • Posts: 2619
  • SPINESHARK
    • View Profile
    • creaothceann's website
Re: Utilities: bsnes v0.053 released
« Reply #1 on: October 19, 2009, 05:28:11 am »
Quote from: byuu
bsnes v0.054 released

After a half-dozen hours of installing and compiling various combinations of MinGW and Qt, I've finally found a combination that once again allows for profile-guided optimizations: MinGW GCC 4.3.3 and Qt 4.6.0-beta 1. Though Qt 4.4 still has broken PGO, the latest Qt beta no longer has the process freeze issue upon termination.

This release is essentially the same as v053, but it's now at least as fast as v052 was, and ~10% faster than v053, which lacked profiling.

I did add in two quick changes, however: first, when starting in fullscreen mode, the video output size was being incorrectly set to the windowed size; second, by requiring save states to match the CRC32 of games, it made debugging with them impossible, so I've turned off the CRC32 matching.

Nightcrawler

  • Hero Member
  • *****
  • Posts: 5757
    • View Profile
    • Nightcrawler's Translation Corporation
Re: Utilities: bsnes v0.053 released
« Reply #2 on: October 19, 2009, 09:08:24 am »
Maybe next time you can summarize or write a bit of something yourself instead of a giant wall of copy/paste. At the very least, you can point out what was changed that might be relevant to ROM hackers.  ;)

With that said, Was there any further enhancements done to the debugger? It doesn't seem like it at first glance. The release in general doesn't seem very relevant to ROM hackers.

Please expand on relevant material for us.
TransCorp - Over 20 years of community dedication.
Dual Orb 2, Wozz, Emerald Dragon, Tenshi No Uta, Glory of Heracles IV SFC/SNES Translations

Lilinda

  • Hero Member
  • *****
  • Posts: 4539
    • View Profile
Re: Utilities: bsnes v0.053 released
« Reply #3 on: October 19, 2009, 09:10:25 am »
Quote
debugger's hex editor now has a working scrollbar widget
Retired moderator/staff member as of July 14th 2016

creaothceann

  • Hero Member
  • *****
  • Posts: 2619
  • SPINESHARK
    • View Profile
    • creaothceann's website
Re: Utilities: bsnes v0.053 released
« Reply #4 on: October 19, 2009, 10:10:06 am »
The cheat code searcher might be helpful, too.

Panzer88

  • RHDN Patreon Supporter!
  • Hero Member
  • *****
  • Posts: 5009
  • GENO means ♥♪!?
    • View Profile
Re: Utilities: bsnes v0.053 released
« Reply #5 on: October 19, 2009, 02:04:05 pm »
can you edit the title of the thread?
Donate now until 24 April, from the makers of shotwell Geary: a new open-source email client

creaothceann

  • Hero Member
  • *****
  • Posts: 2619
  • SPINESHARK
    • View Profile
    • creaothceann's website
Re: Utilities: bsnes v0.053 released
« Reply #6 on: October 19, 2009, 03:40:39 pm »
Nope, since technically the thread wasn't created by me.

MathOnNapkins

  • Forum Moderator
  • Hero Member
  • *****
  • Posts: 636
  • Who ya gonna call
    • View Profile
    • Arc-Nova - Rohmackin' and Chiptunin'
Re: Utilities: bsnes v0.053, erm... no wait... v0.054 released
« Reply #7 on: October 19, 2009, 04:02:01 pm »
Nope, since technically the thread wasn't created by me.

No worries,  :thumbsup:


DQ Chao284

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: Utilities: bsnes v0.053, erm... no wait... v0.054 released
« Reply #9 on: October 19, 2009, 09:07:53 pm »
It is too bad byuu wants a super fast computer to run it, given the "Accurate" theme of the process of the debugger, and this thing even includes a pattern viewer too that out beats ZSNES Win Debug and SNES9x Debug.

creaothceann

  • Hero Member
  • *****
  • Posts: 2619
  • SPINESHARK
    • View Profile
    • creaothceann's website
Re: Utilities: bsnes v0.053, erm... no wait... v0.054 released
« Reply #10 on: October 20, 2009, 06:09:47 am »
What? I get a solid 30 fps without crackling on my 2003 Pentium 4 when I check "sync to audio" and set emulation speed to 50%. ;)

DQ Chao284

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: Utilities: bsnes v0.053, erm... no wait... v0.054 released
« Reply #11 on: October 20, 2009, 06:18:23 pm »
What? I get a solid 30 fps without crackling on my 2003 Pentium 4 when I check "sync to audio" and set emulation speed to 50%. ;)

Well lets say that I am one who still has yet to get past 1 GHz, and for the most part, I have an 850MHz Celeron using Windows 2000 SP4, pretty much not a good sign if you ask me.

creaothceann

  • Hero Member
  • *****
  • Posts: 2619
  • SPINESHARK
    • View Profile
    • creaothceann's website
Re: Utilities: bsnes v0.053, erm... no wait... v0.054 released
« Reply #12 on: October 20, 2009, 07:09:47 pm »
Bah, lazy cheapskate! Upgrade already! >:D

Panzer88

  • RHDN Patreon Supporter!
  • Hero Member
  • *****
  • Posts: 5009
  • GENO means ♥♪!?
    • View Profile
Re: Utilities: bsnes v0.053, erm... no wait... v0.054 released
« Reply #13 on: October 21, 2009, 06:02:15 pm »
ug, even with that hardware I wouldn't run Windows 2000.

get Windows For Legacy PCs, with SP3

or linux..... or.... SOMETHING.
Donate now until 24 April, from the makers of shotwell Geary: a new open-source email client

DQ Chao284

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: Utilities: bsnes v0.053, erm... no wait... v0.054 released
« Reply #14 on: October 23, 2009, 02:19:28 am »
Bah, lazy cheapskate! Upgrade already! >:D

In this economy, there is no chance, plus I do not even have a job, besides I figure byuu would make fun of me that I am not up on the times with computer upgrades.

mrspoon

  • Jr. Member
  • **
  • Posts: 54
    • View Profile
Re: Utilities: bsnes v0.053, erm... no wait... v0.054 released
« Reply #15 on: October 23, 2009, 02:49:58 am »
I commend you for having the cojones to proclaim on the internet that you're still using a sub-1Ghz Celeron as your main machine. :beer:

That's not sarcasm, by the way. I could easily see people prodding you about it more than you already have been, and I imagine you knew that it would happen.

Lilinda

  • Hero Member
  • *****
  • Posts: 4539
    • View Profile
Re: Utilities: bsnes v0.053, erm... no wait... v0.054 released
« Reply #16 on: October 23, 2009, 05:49:21 am »
byuu wouldn't mock you. o_O
Retired moderator/staff member as of July 14th 2016

BRPXQZME

  • Hero Member
  • *****
  • Posts: 4572
  • じー
    • View Profile
    • The BRPXQZME Network
Re: Utilities: bsnes v0.053, erm... no wait... v0.054 released
« Reply #17 on: October 23, 2009, 09:31:23 am »
Yeah, he’s not exactly a big ol’ meanie. His emulator is just crazy accurate is all.
we are in a horrible and deadly danger

DQ Chao284

  • Jr. Member
  • **
  • Posts: 59
    • View Profile
Re: Utilities: bsnes v0.053, erm... no wait... v0.054 released
« Reply #18 on: October 23, 2009, 12:18:14 pm »
Yeah, he’s not exactly a big ol’ meanie. His emulator is just crazy accurate is all.

You just took the words of my mough, because apparently that is why he wants faster computers to run his emulator, inthe event that accuracy was his main goal, and well I think I will stick to SNES 9X Debug if that is the case.

Lilinda

  • Hero Member
  • *****
  • Posts: 4539
    • View Profile
Re: Utilities: bsnes v0.053, erm... no wait... v0.054 released
« Reply #19 on: October 23, 2009, 01:32:17 pm »
I wouldn't say he wants faster PCs. Hell, he recently did some optimizations that sped it up by about 10% or so. I wouldn't put words in his mouth...
Retired moderator/staff member as of July 14th 2016