|
Post by kinghanco on Jun 3, 2007 16:05:00 GMT -5
|
|
|
Post by patrickp on Jun 4, 2007 13:35:35 GMT -5
Pity there's no Linux version - Windows gets to be less fun by the day...
|
|
|
Post by Ultima on Jun 4, 2007 15:38:09 GMT -5
You can always compile it from source -- it's simple, actually (provided you have the right libraries installed). Messing around with compiling, I found that it needed: - x11proto-core-dev (some package in that meta-package, but I wasn't sure which, so I just installed the entire thing) and/or libxv-dev - libgtk2.0-dev - libao-dev - nasm
You're gonna need to install G++ too for compiling. All of that aside, download the source code, extract, and run ./cc.sh in the extracted directory. The compiled result is the bsnes executable. At least that's how I had to do it under Ubuntu 7.04 anyway.
I was unable to test the emulator on my Ubuntu installation, though, as I'm running it under VMware (which has no hardware video acceleration) and it spat an error back at me when I tried to run the compiled executable. Meh.
|
|
|
Post by patrickp on Jun 4, 2007 17:46:23 GMT -5
Hm, suspect it might not run well on this machine, but could be worth a try...
|
|
|
Post by Gamesoul Master on Jun 4, 2007 19:12:45 GMT -5
Hmm... I could've swore v0.018 allowed me to use my controller... And unless my memory is mistaken, the configuration dialog looks different. I'll be testing it out soon enough though... Edit: And it won't let me assign most of the keyboard keys either. It wouldn't accept the numpad keys or any of the symbol keys. I guess I'll wait till the next stable release comes out with the proper features re-enabled.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 5, 2007 3:55:57 GMT -5
For some reason I had some weird sound related issues with 0.18, but with this new S-DSP, they are gone. Hooray!
|
|
byuu
New Member
Posts: 7
|
Post by byuu on Jun 5, 2007 10:15:42 GMT -5
I rewrote the entire UI from scratch. The UI now builds with the exact same code on Windows and Linux, using a portability layer I also wrote. Still working on joypad mapping from the UI, but you can do it by hand in the advanced panel (see ZSNES board for more info), or wait for the next release. It hopefully won't be more than a month or two away at most.
It was my understanding Linux binaries weren't very portable. You can download the source and run: 'cd src && make PLATFORM=x-gcc-lui && ./bsnes' ... or x-gcc-lui-x64 if you have a 64-bit Linux.
Just make sure you install all the libraries first.
|
|
|
Post by patrickp on Jun 5, 2007 13:08:44 GMT -5
Yes, Ultima posted the libraries needed. bsnes always ran very nicely for me in Windows - I'm going to _have_ to give it a shot in Linux. Many thanks for your work, byuu!
|
|
|
Post by Gamesoul Master on Jun 5, 2007 14:17:47 GMT -5
Umm... I can see where to edit the settings in v0.020 through the GUI, but where does the program actually save its settings? There is no configuration file of any sort in the directory, and I can't find any entries in the registry except for a couple things which seem to have no relevance at all.
Edit: Manually setting the keys in the Advanced section worked just fine. Couple notes to anybody who doesn't know or feel like searching... If you need to know the button numbers, just check them in something like ZSNES (since they're universal). Also, I noticed the emulator needs to be restarted for the button settings to take effect.
Also, emulator runs quite well (though a lot slower than v0.018). Another nice thing is that while v0.018 takes about 10 seconds to load (some kind of freezing problem which probably has more to do with my video drivers than the emulator), v0.020 opens instantly as I would expect any emulator to. Sound and graphics are great.
|
|
byuu
New Member
Posts: 7
|
Post by byuu on Jun 6, 2007 3:41:07 GMT -5
No problem. I'm new to Linux programming, though, so there are some issues. What's really lacking are solid, universal APIs for video and sound output. I can use software-scaling, which is ridiculously slow, or if I want hardware acceleration I can use Xv and YUY2 (which causes chroma loss), which about 80% of drivers support (ATI's fglrx completely lacks Xv support) -- further complicated that half the drivers that do support it lack or ignore the option to perform vblanking, or I can use OpenGL, which about 30% of drivers support. For sound, libao is the only thing I've gotten working, and it has terrible latencies, and is also an auto-blocking API. But who knows, maybe someone will help me with the Linux port some more ... hey, I can dream.
Some people were asking for multi-user support, so I had it save the config file in your user profile. So for you, either "c:\documents and settings\yourname\application data\.bsnes\bsnes.cfg" or "c:\users\yourname\application data\.bsnes\bsnes.cfg". You can make a shortcut link to that file in your bsnes folder if you prefer to have it there.
Yeah, speed keeps getting hit bad. The lack of PGO (Microsoft's compiler is buggy with PGO and it crashes building bsnes) and the new, vastly slower but more accurate IRQ routines are probably cutting the speed in half compared to v0.018. I wish I could say I could improve things, but on the plus side, there's not much that can get slower unless I attempt the dot-accurate PPU renderer. No idea why v0.018 was freezing for you, but I'm glad it's fixed at least.
|
|
|
Post by patrickp on Jun 6, 2007 10:04:22 GMT -5
Well, FWIW TheCloud says byuu. He's already released one very successful Linux version of pSX. Maybe he could offer a few ideas - if you're not speaking to him already?
I think putting the config file specifically in the user profile/area is an excellent idea. One of our members, dfreer has started maintaining installation packages for pSX and Ultima's pSX Frontend, and the one problem there is with that is that with pSX installed in /usr somewhere, you have to go hunting to play around with the config files. I presume in Linux it's something like /home/<user>/.bsnes/bsnes.conf?
Sounds like bsnes is going to run slooow on my Athlon 3200+, but I have to try it! It ran pretty well in Windows 2K in version 0.018...
|
|
|
Post by Ultima on Jun 6, 2007 11:53:25 GMT -5
Stop saying you will try it and actually try it! ;D
|
|
|
Post by patrickp on Jun 6, 2007 13:27:57 GMT -5
Quiet, U! Maybe this weekend; unlike some young, carefree admins, I've got a busy week here.
|
|
|
Post by kinghanco on Jun 8, 2007 16:20:11 GMT -5
I just download the bsnes.exe from his website.
I don't know where to get the stuff to run "make" in windows version.
I already use to the fba and Mame source and stuff.
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Jun 8, 2007 17:54:30 GMT -5
Quiet, U! Maybe this weekend; unlike some young, carefree admins, I've got a busy week here. Yet you have somehow found the time to post over 2200 posts in these forums. Your excuse is full of holes!
|
|