Even just the last run game would be good. Maybe change the Power settings to 'Play last loaded'? It makes sense if you think about it - you don't take the cartridge out of your SNES every time you turn the thing off. You could drop the cascaded Power menu to make this more intuitive. Can you change the menu text dynamically yet? (if so, change the text when a ROM is loaded to 'Power off' or some such, and keep both options for Hiro)FirebrandX wrote:Byuu, I remember you were always against it, but is there a chance you might reconsider putting in a history feature? Just the top 5 most recently played would be really nice. I'm playing CT again and it's kind of a pain to have to navigate to the rom every time I run bsnes.
bsnes v0.041 released
-
- Regular
- Posts: 347
- Joined: Tue Mar 07, 2006 10:32 am
- Location: The Netherlands
Last edited by Verdauga Greeneyes on Sun Mar 15, 2009 7:14 pm, edited 1 time in total.
Doesn't bsnes remember the folder you last loaded from? What is slow about that? You can also give the games you're playing their own directory if you're annoyed by sifting through your collection, or type first few chars of the filename, that's what I do.FirebrandX wrote:Byuu, I remember you were always against it, but is there a chance you might reconsider putting in a history feature? Just the top 5 most recently played would be really nice. I'm playing CT again and it's kind of a pain to have to navigate to the rom every time I run bsnes.
Re: bsnes v0.041 released
I think it would be sweet if bsnes was in the official Debian (and Ubuntu) repositories. If I can make the time someday to become a Debian maintainer myself I would gladly take care of that.byuu wrote:Sorry. Derrick's main PC is a Loongson MIPS-clone, so the i386 port is no longer being updated
Newer, but by no means very new: Celeron M 530 (1.73 GHz)byuu wrote:Wow cool, must be a newer Celery.
Be sure to profile it too for an extra ~15% speed boost
How do I profile it? Is that a 'make' parameter? I only did 'make platform=x compiler=gcc'.
Thanks! F11 does the job fine (I can't believe that wasn't the first thing I tried @_@).byuu wrote:The keyboard shortcuts that exist are under Settings -> Configuration -> Input -> User interface (it's the third option after the two controller ports.)
There's no key binding to minimize / maximize windows, for that I'd recommend relying on your desktop environment. Win7 has Win+Up / Win+Down, and GNOME + Xfce at least have window manager shortcut keys that are user-assignable.
-
- Trooper
- Posts: 376
- Joined: Tue Apr 19, 2005 11:08 pm
- Location: DFW area, TX USA
- Contact:
Its a matter of convenience. By your points, none of the other emulators should have a history feature, yet they do and people appreciate it.FitzRoy wrote:Doesn't bsnes remember the folder you last loaded from? What is slow about that? You can also give the games you're playing their own directory if you're annoyed by sifting through your collection, or type first few chars of the filename, that's what I do.FirebrandX wrote:Byuu, I remember you were always against it, but is there a chance you might reconsider putting in a history feature? Just the top 5 most recently played would be really nice. I'm playing CT again and it's kind of a pain to have to navigate to the rom every time I run bsnes.
NES NTSC palette file:
http://www.firebrandx.com/downloads/fbx2pal.zip
http://www.firebrandx.com/downloads/fbx2pal.zip
Sorry, I still hate user-tracking software.Byuu, I remember you were always against it, but is there a chance you might reconsider putting in a history feature?
A bug in Qt 4.4 w/QGtkStyle forced me to always specify something for a path. A blank startup directory throws all kinds of warnings to stdout. So I defaulted to the startup path. If you want to control that, you can make a shortcut and change its startup path to point wherever you want. Or you can use the default ROM path option.Wow, you're right. It remembers it until the emulator closes, then it goes back to the root dir. At least defining a path still works.
If it really matters, I can save the last active path to the config file.
Also, Windows 7 is screwy and completely ignores whatever path you give it. But it does remember your last path, even after reboot. They apparently store per-app data somewhere in the registry for the whole OS now. It's kind of neat, but I wish they'd honor it when you give them a valid path.
Would certainly be nice. Especially if they kept it up to date like the awesome [vEX] and belegdol. The only person to offer for Debian wouldn't do it because of my license.I think it would be sweet if bsnes was in the official Debian (and Ubuntu) repositories.
-
- Trooper
- Posts: 376
- Joined: Tue Apr 19, 2005 11:08 pm
- Location: DFW area, TX USA
- Contact:
byuu wrote:Sorry, I still hate user-tracking software.Byuu, I remember you were always against it, but is there a chance you might reconsider putting in a history feature?


Seriously though, it's cool. Just though I might test the waters with my toe a little bit there. Never know when you might do something crazy like add in turbo fire options

NES NTSC palette file:
http://www.firebrandx.com/downloads/fbx2pal.zip
http://www.firebrandx.com/downloads/fbx2pal.zip
Well, I guess it's sort of impossible for "last loaded from" to be an accurate description on first-run anyway. I think you should discard that behavior then and use <startup folder> for the default. Also, I dislike the usage of "file path" over "folder path". A save file isn't detected/generated in the "same (filepath) as loaded game". Can you please change the descriptions to "same folder as loaded game" to clarify?byuu wrote:A bug in Qt 4.4 w/QGtkStyle forced me to always specify something for a path. A blank startup directory throws all kinds of warnings to stdout. So I defaulted to the startup path.
Bad news for belegdol. I bought this controller to try and work on the SDL hat thing:
http://benchmarkreviews.com/index.php?o ... 9&Itemid=1
... absolutely no hats detected.
On the bright side, the D-pad acts like axes 7-8, and I have two of those "force" button axis things. So it gives me something to improve my input driver with at least.
It also has force feedback.
http://benchmarkreviews.com/index.php?o ... 9&Itemid=1
... absolutely no hats detected.
On the bright side, the D-pad acts like axes 7-8, and I have two of those "force" button axis things. So it gives me something to improve my input driver with at least.
It also has force feedback.
Yeah sure, that sounds fine.Can you please change the descriptions to "same folder as loaded game" to clarify?
..I was going to say a witty remark regarding FSNES, but chose not to, since that is pretty much the same logic....The costs now outweigh the relative gains and they should both be deprecated, either in favor of general compression standards or nothing at all.
Instead:
* Antivirus devs need to lift their game.
* Executable compression should be a choice and should stay with BSNES. In fact, it should force AV developers to improve thier detection methods. Not the other way around, were end users have to work around the antivirus program. If you have a better idea, I would love to hear it.
And no, I don't mean writing another packer which uses aPack/LZMA.

so why don't antivirii programs just un-upx the files and scan them yet
I just realized how obvious this is.
edit; byuu http://thepiratebay.org/torrent/4775004/bsnes_041
I just realized how obvious this is.
edit; byuu http://thepiratebay.org/torrent/4775004/bsnes_041
Eeye did some related research recently.
Mirror download. bsnes.exe (non upx compress.) and src in one. http://coonstation.googlepages.com/bsnes_v041.zip
I use the 7zip to compress. This is what MAME people do.
No more upx complaining.
I use the 7zip to compress. This is what MAME people do.
No more upx complaining.
Window Vista Home Premium 32-bit / Intel Core 2 Quad Q6600 2.40Ghz / 3.00 GB RAM / Nvidia GeForce 8500 GT
Hey brilliant, a++Dullaron wrote:Mirror download. bsnes.exe (non upx compress.) and src in one. http://coonstation.googlepages.com/bsnes_v041.zip
I use the 7zip to compress. This is what MAME people do.
No more upx complaining.
upx at byuu
non-upx mirrors by choice
I support this.
New WIP.
I may have found the SDL POV hat issue. I was masking a result, but the array wasn't boolean. It may work better now.
I've also dropped the analog -> D-pad mapping in both drivers. It just doesn't work ... some controls treat the D-pad as a mirror of the main analog axis, some treat it as a POV-hat, some treat it as its own 'analog' axis (that only returns -32767, 0 or 32767).
What this means is that for now, no mapping of analog sticks will work correctly. I'm going to have to adapt the mapping system to accommodate these.
I also added an 'Assign All ...' button to the input capture window. Note that it is grayed out on 'User interface' items. Although I could, it makes no sense to quickly assign all of those (as most you won't want mapped to anything at all.)
I'm thinking about re-ordering the list from:
Up, Down, Left, Right, A, B, X, Y, L, R, Select, Start
to:
Up, Down, Left, Right, Y, X, B, A, L, R, Select, Start
Reason being that it's more natural with the layout of the real controller. Agree or disagree?
Oh, and I fixed the NTSC merge settings thing. Takes effect immediately too.
I may have found the SDL POV hat issue. I was masking a result, but the array wasn't boolean. It may work better now.
I've also dropped the analog -> D-pad mapping in both drivers. It just doesn't work ... some controls treat the D-pad as a mirror of the main analog axis, some treat it as a POV-hat, some treat it as its own 'analog' axis (that only returns -32767, 0 or 32767).
What this means is that for now, no mapping of analog sticks will work correctly. I'm going to have to adapt the mapping system to accommodate these.
I also added an 'Assign All ...' button to the input capture window. Note that it is grayed out on 'User interface' items. Although I could, it makes no sense to quickly assign all of those (as most you won't want mapped to anything at all.)
I'm thinking about re-ordering the list from:
Up, Down, Left, Right, A, B, X, Y, L, R, Select, Start
to:
Up, Down, Left, Right, Y, X, B, A, L, R, Select, Start
Reason being that it's more natural with the layout of the real controller. Agree or disagree?
Oh, and I fixed the NTSC merge settings thing. Takes effect immediately too.
Neither actually. I am used to assign my buttons like the first one (ZSNES style), although I wouldn't mind using the second method.byuu wrote:I'm thinking about re-ordering the list from:
Up, Down, Left, Right, A, B, X, Y, L, R, Select, Start
to:
Up, Down, Left, Right, Y, X, B, A, L, R, Select, Start
Reason being that it's more natural with the layout of the real controller. Agree or disagree?
[i]"Change is inevitable; progress is optional"[/i]
-
- Trooper
- Posts: 376
- Joined: Tue Apr 19, 2005 11:08 pm
- Location: DFW area, TX USA
- Contact:
Agreed. Its a more natural order.byuu wrote:I'm thinking about re-ordering the list from:
Up, Down, Left, Right, A, B, X, Y, L, R, Select, Start
to:
Up, Down, Left, Right, Y, X, B, A, L, R, Select, Start
Reason being that it's more natural with the layout of the real controller. Agree or disagree?
NES NTSC palette file:
http://www.firebrandx.com/downloads/fbx2pal.zip
http://www.firebrandx.com/downloads/fbx2pal.zip
I agree that the new ordering is more naturalbyuu wrote:I'm thinking about re-ordering the list from:
Up, Down, Left, Right, A, B, X, Y, L, R, Select, Start
to:
Up, Down, Left, Right, Y, X, B, A, L, R, Select, Start
Reason being that it's more natural with the layout of the real controller. Agree or disagree?
A possible alternative, clockwise:
Up, Right, Down, Left, X, A, B, Y, L, R, Select, Start
It's not a matter of giving up anything to "work around" av programs. We don't need to have niche compression formats for every filetype to save an immaterial amount of space. Devs probably spend more time compiling with it than it would take them to earn the $10 a year in bandwidth it saves. So even if it isn't clear to you today, things like UPX will fall into disuse eventually.h4tred wrote:* Executable compression should be a choice and should stay with BSNES. In fact, it should force AV developers to improve thier detection methods. Not the other way around, were end users have to work around the antivirus program. If you have a better idea, I would love to hear it.
In language, I always hear "up and down, left and right." It sounds better and pairs the axes. I will always say "ABXY" alphabetically when referring to the buttons as well. I don't think changing the order speeds up mapping either way, it'll just make it harder to reference in conversation.I agree that the new ordering is more natural
A possible alternative, clockwise:
Up, Right, Down, Left, X, A, B, Y, L, R, Select, Start
Okay, one thing I hate about the current Qt code is that to get the proper size of a window, I have to show() it first. That causes a brief flicker the first time any window is shown where I have to center it immediately after. Otherwise it returns sizes that are way too big, making my move() place the widget in the wrong location.
I can't just place the window offscreen, because Linux WMs ignore that and put it at the top left.
I did find a workaround. Only tested on Windows, but I see no reason it won't work on Xorg:
It'll fall out of disuse once bandwidth prices come down.
I can't just place the window offscreen, because Linux WMs ignore that and put it at the top left.
I did find a workaround. Only tested on Windows, but I see no reason it won't work on Xorg:
Code: Select all
window->showMinimized();
QDesktopWidget *desktop = QApplication::desktop();
unsigned x = window->frameGeometry().right() - window->frameGeometry().left();
unsigned y = window->frameGeometry().bottom() - window->frameGeometry().top();
x = (desktop->width() - x) / 2;
y = (desktop->height() - y) / 2;
window->move(x, y);
window->showNormal();
Or $100? I don't think it takes me more than five hours to UPX compress ~10 binaries a year. The amount of time discussing it is getting close though, sadly.FitzRoy wrote:Devs probably spend more time compiling with it than it would take them to earn the $10 a year in bandwidth it saves. So even if it isn't clear to you today, things like UPX will fall into disuse eventually.
It'll fall out of disuse once bandwidth prices come down.
Awesome, I didn't see this before. On my work computer (P4), the uncompressed program loads up almost instantaneously, very snappy. There's about a 1.5 second delay every time with the UPX one.Dullaron wrote:Mirror download. bsnes.exe (non upx compress.) and src in one. http://coonstation.googlepages.com/bsnes_v041.zip
I use the 7zip to compress. This is what MAME people do.
No more upx complaining.