bsnes v0.038 released
I just said that idead because byuu saidFitzRoy wrote:...Rather than try to represent every type of load combination in the menu, why not just have one load command that lets you select the slots you want filled/unfilled before running?...
So i was just explaining that was possible.byuu wrote:......how would you load two-part Sufami Turbo carts without a popup menu?.....
And in my way, the user would be bothered about base cartridge just one time (more times if he want to change the base cartridge file).
Here's a couple of boolean advanced options I'd like to see:
misc.minimize_to_system_tray
misc.run_at_system_startup
misc.start_in_fullscreen_mode (moved from video section since it is a program frame setting that has nothing to do with image output)
A couple of renames I'd like to see:
"advanced.enable" to "misc.show_advanced_options" (ideally, this wouldn't exist)
"misc.opacity" to "misc.window_opacity"
video.invert can probably be removed, maybe the two file ones as well, not sure what use those have. My motives for wanting to clean up this section might become clearer later.
I'd also like a minor change in the system menu: flip the power settings with the controller settings.
Let me know when you're ready to talk about the readme overhaul.
misc.minimize_to_system_tray
misc.run_at_system_startup
misc.start_in_fullscreen_mode (moved from video section since it is a program frame setting that has nothing to do with image output)
A couple of renames I'd like to see:
"advanced.enable" to "misc.show_advanced_options" (ideally, this wouldn't exist)
"misc.opacity" to "misc.window_opacity"
video.invert can probably be removed, maybe the two file ones as well, not sure what use those have. My motives for wanting to clean up this section might become clearer later.
I'd also like a minor change in the system menu: flip the power settings with the controller settings.
Let me know when you're ready to talk about the readme overhaul.
Well, I can not find any concrete rule about using the notification area vs the normal taskbar buttons, but I can find something about the name:
Why do some people call the taskbar the "tray"?
Why do some people call the taskbar the "tray"?
-
- Trooper
- Posts: 376
- Joined: Tue Apr 19, 2005 11:08 pm
- Location: DFW area, TX USA
- Contact:
Even Microsoft's own support docs refer to the notification area as the "System Tray". Regardless of what the intended name was, "System Tray" has been adopted and used by MANY companies, including Microsoft and the general public at large. Whether or not its the official name is a moot point. You try going around telling everyone "Notification Area" and they will look at you like you're retarded. Much in the same way as if you always pronounced "karaoke" correctly.
-
- Trooper
- Posts: 394
- Joined: Mon Feb 20, 2006 3:11 am
- Location: Space
In the latest WIP I've notice Pro Action Replay codes aren't working anymore. For example, try these codes for Super Mario World (U);
Invincibility (Uneffected) 7E1497FF
Always Caped Mario 7E001902
Oh, and the codes are enabled.
Invincibility (Uneffected) 7E1497FF
Always Caped Mario 7E001902
Oh, and the codes are enabled.

[url=http://www.eidolons-inn.net/tiki-index.php?page=Kega]Kega Fusion Supporter[/url] | [url=http://byuu.cinnamonpirate.com/]bsnes Supporter[/url] | [url=http://aamirm.hacking-cult.org/]Regen Supporter[/url]
-
- ZSNES Developer
- Posts: 115
- Joined: Thu Jul 29, 2004 9:51 pm
- Location: Germany
-
- Buzzkill Gil
- Posts: 4295
- Joined: Wed Jan 12, 2005 7:14 pm
Or if you buy a package of AA cells. Or a battery of AAs.FirebrandX wrote:Even Microsoft's own support docs refer to the notification area as the "System Tray". Regardless of what the intended name was, "System Tray" has been adopted and used by MANY companies, including Microsoft and the general public at large. Whether or not its the official name is a moot point. You try going around telling everyone "Notification Area" and they will look at you like you're retarded. Much in the same way as if you always pronounced "karaoke" correctly.
New WIP.
- invalid input is blocked again when input.allow_invalid_input == false
- vertical scrollbar only appears when needed in multi-line textboxes
- cheat editor properly encodes / decodes quotes and line breaks
- advanced panel now allows double clicking boolean items to toggle their state
- cleaned up all of the nall template library
- nall::array was missing copy constructor, causing swap/sort to fail
- moved start in fullscreen to advanced panel for now
- renamed most of the options FitzRoy asked for
Run at startup would be tricky. I could only get that working on Windows, and it's really something the user should do externally. Drag it to the startup folder, put it in the registry, use MS config, whatever. Also seems very niche, no? You'd still have to load a game for it to be useful.
1) Looking at an SNES from top to bottom, you have the cart slot, then power / reset, then controllers.
2) Group options that affect carts, then group options that affect input.
- invalid input is blocked again when input.allow_invalid_input == false
- vertical scrollbar only appears when needed in multi-line textboxes
- cheat editor properly encodes / decodes quotes and line breaks
- advanced panel now allows double clicking boolean items to toggle their state
- cleaned up all of the nall template library
- nall::array was missing copy constructor, causing swap/sort to fail
- moved start in fullscreen to advanced panel for now
- renamed most of the options FitzRoy asked for
Thank you very much, that was a huge oversight.Jonas Quinn wrote:Invalid input is always allowed in bsnes. The config file option doesn't change that.
Those work fine for me ... maybe try the next WIP?KoC wrote:In the latest WIP I've notice Pro Action Replay codes aren't working anymore. For example, try these codes for Super Mario World (U);
System tray control is probably something the GUI library needs anyway, but its value is completely lost for Windows 7 -- the taskbar works similar to the system tray + quick launch. In fact, by default tray items are hidden and require you to go through a menu to get to them.FitzRoy wrote:Here's a couple of boolean advanced options I'd like to see:
misc.minimize_to_system_tray
misc.run_at_system_startup
Run at startup would be tricky. I could only get that working on Windows, and it's really something the user should do externally. Drag it to the startup folder, put it in the registry, use MS config, whatever. Also seems very niche, no? You'd still have to load a game for it to be useful.
One is for OS X users. Some of them don't understand file extensions. The other is for ROM hackers. It'd be needed to multi-chain UPS patches in the future, as well.FitzRoy wrote:maybe the two file ones as well, not sure what use those have
Why? Seems arbitrary, and I like the current ordering. We can even make up some crazy stuff to support the current ordering:FitzRoy wrote:I'd also like a minor change in the system menu: flip the power settings with the controller settings.
1) Looking at an SNES from top to bottom, you have the cart slot, then power / reset, then controllers.
2) Group options that affect carts, then group options that affect input.
Will probably release v039 next weekend. Can work on the readme for v040, I guess.FitzRoy wrote:Let me know when you're ready to talk about the readme overhaul.
Interesting, so the taskbar space being used to launch programs is a dead idea then? That's good, the area really needs to be exclusive to programs that are running, the desktop and menu were taking it over. Judging by some pictures, it looks like they are going with a sort of icon button system that groups multiple instances under the same icon. If they put a small number on the buttons to tell me how many instances there are without me doing a mouseover, I might have to install it.System tray control is probably something the GUI library needs anyway, but its value is completely lost for Windows 7 -- the taskbar works similar to the system tray + quick launch. In fact, by default tray items are hidden and require you to go through a menu to get to them.
Yeah, I can do it externally. Stupid MS, it should be as easy as having an option in the executable's properties pane. There are a lot of programs I use almost every time I startup, that's why it would be useful, I would never have to open bsnes or foobar again.Run at startup would be tricky. I could only get that working on Windows, and it's really something the user should do externally. Drag it to the startup folder, put it in the registry, use MS config, whatever. Also seems very niche, no? You'd still have to load a game for it to be useful.
As for the controllers move, I guess I just wanted them closer, because they have that arrow business while reset doesn't.
Last edited by FitzRoy on Mon Jan 12, 2009 5:44 pm, edited 1 time in total.
-
- Seen it all
- Posts: 2302
- Joined: Mon Jan 03, 2005 5:04 pm
- Location: Germany
- Contact:
Thanks.byuu wrote:- advanced panel now allows double clicking boolean items to toggle their state

vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
bsnes launcher with recent files list
Windows 7 does look like an interesting beast. The new taskbar takes some getting used to, but it does feel like an improvement.FitzRoy wrote:Interesting, so the taskbar space being used to launch programs is a dead idea then? That's good, the area really needs to be exclusive to programs that are running, the desktop and menu were taking it over. Judging by some pictures, it looks like they are going with a sort of icon button system that groups multiple instances under the same icon. If they put a small number on the buttons to tell me how many instances there are without me doing a mouseover, I might have to install it.System tray control is probably something the GUI library needs anyway, but its value is completely lost for Windows 7 -- the taskbar works similar to the system tray + quick launch. In fact, by default tray items are hidden and require you to go through a menu to get to them.
My system is not up-to-date enough, else i would be using Windows7 permanently
-
- Trooper
- Posts: 394
- Joined: Mon Feb 20, 2006 3:11 am
- Location: Space
Well you can make the taskbar in Windows 7 smaller to resemble the typical taskbar.
Oh, and the PAR issue is gone in the new WIP.
All is well!
Oh, and the PAR issue is gone in the new WIP.

[url=http://www.eidolons-inn.net/tiki-index.php?page=Kega]Kega Fusion Supporter[/url] | [url=http://byuu.cinnamonpirate.com/]bsnes Supporter[/url] | [url=http://aamirm.hacking-cult.org/]Regen Supporter[/url]
With Win 7, bsnes' UI is really starting to look dated. Even having a menubar / statusbar just looks really out of place compared to their seamless title / toolbar look. Things like their panel menu and special taskbar icon actions (eg IE's download meter on the icon) are also important. Future versions will undoubtedly change even more.
We can probably skirt it until Windows 8 or so, but I think we're going to have to split the UI back to Windows-only and Linux-only, or risk looking like a 16-bit app on Windows 9x. That will really suck, as I value consistency greatly. But we're sacrificing a lot for it: GTK+ has native widget resizing; Windows buttons, editboxes and comboboxes are way too tall; Windows lacks a "true" fullscreen mode (even if it is becoming less important these days); the titlebar icon sucks on Windows; I can't do the fancy tree-view expanding menus with pretty icons everywhere; etc.
The BS-X / ST "Load / Cancel" buttons look ridiculous. Should we resize them to small buttons like the readme / license viewers and put them on the right? I don't want to cut down the textbox sizes any, and we need browse+clear, so shrinking the window width would be tough.
The task panel icon for Win 7 looks pretty pixellated. FitzRoy, I don't suppose you can add back the 48x48 version to the .ico file? :/
Anything else important we're missing before a new release?
We can probably skirt it until Windows 8 or so, but I think we're going to have to split the UI back to Windows-only and Linux-only, or risk looking like a 16-bit app on Windows 9x. That will really suck, as I value consistency greatly. But we're sacrificing a lot for it: GTK+ has native widget resizing; Windows buttons, editboxes and comboboxes are way too tall; Windows lacks a "true" fullscreen mode (even if it is becoming less important these days); the titlebar icon sucks on Windows; I can't do the fancy tree-view expanding menus with pretty icons everywhere; etc.
The BS-X / ST "Load / Cancel" buttons look ridiculous. Should we resize them to small buttons like the readme / license viewers and put them on the right? I don't want to cut down the textbox sizes any, and we need browse+clear, so shrinking the window width would be tough.
The task panel icon for Win 7 looks pretty pixellated. FitzRoy, I don't suppose you can add back the 48x48 version to the .ico file? :/
Anything else important we're missing before a new release?
-
- Trooper
- Posts: 394
- Joined: Mon Feb 20, 2006 3:11 am
- Location: Space
I'm sure you could make an updated quick GUI using Vista/7's Desktop Window Manager APIs... if GTK+ even supports it.
[url=http://www.eidolons-inn.net/tiki-index.php?page=Kega]Kega Fusion Supporter[/url] | [url=http://byuu.cinnamonpirate.com/]bsnes Supporter[/url] | [url=http://aamirm.hacking-cult.org/]Regen Supporter[/url]
http://geeks.pirillo.com/photo/windows-7-paint-1King Of Chaos wrote:I'm sure you could make an updated quick GUI using Vista/7's Desktop Window Manager APIs... if GTK+ even supports it.
Do you think I can match that UI in GTK+ with a few DWM APIs? :P
-
- Trooper
- Posts: 394
- Joined: Mon Feb 20, 2006 3:11 am
- Location: Space
-
- Seen it all
- Posts: 2302
- Joined: Mon Jan 03, 2005 5:04 pm
- Location: Germany
- Contact:
You can roll out your own solution à la ZSNES, and it wouldn't matter much to me as long as the functionality is equal to or better than a native style.byuu wrote:[...] or risk looking like a 16-bit app on Windows 9x
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list
bsnes launcher with recent files list
Tried out Visual C++ 2008 Express SP1. Very impressed. It's infinitesimally faster than my home copy of MinGW4, and a good ~8-10% faster than the current build up on mingw.org. It also supports /GL (whole program optimization) and is a hell of a lot faster than MinGW to compile the entire app.
I wrote up this test app:
Then ran that 500000000 times and compared the speed. Output is clock time (in ms) + result (to verify it worked):
Visual C++ (/Ox /GL):
MinGW4 (-O3 -fomit-frame-pointer):
The external part is really important. Because of GCC lacking WPO, I'm forced to inline many functions inside headers. This creates a lot of near-circular dependencies that force a very specific ordering of header files. Eg I inline the cheat code read function inside the memory read function, which is inlined for CPU access. That means I have to define the cheat header before the memory header.
It also means there's a ton of extra code (slowing down compilation time) hidden inside headers where it doesn't belong.
If I go with the Visual C++ model, I can write my code much cleaner and with no speed loss on Windows. But I'll suffer a ~10-15% speed penalty on Linux until GCC catches up to the 21st century. Is it worth it?
I wrote up this test app:
Code: Select all
alwaysinline int external(int x, int y);
alwaysinline int internal(int x, int y) {
return x + y;
}
Visual C++ (/Ox /GL):
Code: Select all
internal 156 2551657984
external 156 2551657984
Code: Select all
internal 218 2551657984
external 1469 2551657984
It also means there's a ton of extra code (slowing down compilation time) hidden inside headers where it doesn't belong.
If I go with the Visual C++ model, I can write my code much cleaner and with no speed loss on Windows. But I'll suffer a ~10-15% speed penalty on Linux until GCC catches up to the 21st century. Is it worth it?
Oh, I was sadly mistaken. The Win7 taskbar actually keeps the quicklaunch bar and has now introduced something called "pinned programs", which is redundancy within redundancy, as the quicklaunch itself is superfluous to the desktop. The taskbar is much too small an area to serve as a launch station for programs, it very badly needs to be reserved for actively running programs.
http://www.youtube.com/watch?v=M6-2L0DPut4
That's the video I was looking at. The big downside to pinning and previews should be obvious.
(a) A pinned program that isn't running looks exactly the same as one that is. The obvious distinction between the two is now gone.
(b) There is now a "jumplist" next to the button in order to support this, which introduces a high probability of accidentally clicking on something you weren't intending to. Putting the option in the context menu would have been far better.
(c) The preview windows are pointless for text-based programs and websites, a downsampled image of document A looks the same as a downsampled image of document B, you still have to rely on the titlebar text, which the previews themselves help truncate the more you have.
Sorry, not trying to turn this thread into a Win7 discussion.
http://www.youtube.com/watch?v=M6-2L0DPut4
That's the video I was looking at. The big downside to pinning and previews should be obvious.
(a) A pinned program that isn't running looks exactly the same as one that is. The obvious distinction between the two is now gone.
(b) There is now a "jumplist" next to the button in order to support this, which introduces a high probability of accidentally clicking on something you weren't intending to. Putting the option in the context menu would have been far better.
(c) The preview windows are pointless for text-based programs and websites, a downsampled image of document A looks the same as a downsampled image of document B, you still have to rely on the titlebar text, which the previews themselves help truncate the more you have.
Sorry, not trying to turn this thread into a Win7 discussion.
Can you tell me what I should include? 16, 32, 48, 64... and what else after that? The original is 256.The task panel icon for Win 7 looks pretty pixellated. FitzRoy, I don't suppose you can add back the 48x48 version to the .ico file?