maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   Anyone got visualboyadvance working?? (https://talk.maemo.org/showthread.php?t=4573)

nosam 2008-01-02 20:34

Re: Anyone got visualboyadvance working??
 
Quote:

Originally Posted by dblank (Post 103054)
Gambatte works, you can grab it here:
http://daveblank.com/gambatte.zip

unzip and run from command line like this:
gambatte_sdl -i enter f4 f7 f8 up down left right -s 2 -r 44100 file.gb

Someone who isn't me should make a frontend :)

Hi, what is a _sdl file? I downloaded this and am not sure how to install. Any help is appreciated for this noob. The file is gambatte_sdl when I unzip it.
thanks.

DataPath 2008-01-03 19:44

Re: Anyone got visualboyadvance working??
 
The _sdl is just part of the filename. You have to start it from xterm, by typing in the line suggested above.

I'm in the process of integrating this with the Hildon Games Wrapper so that it has an interface just like many of the standard games.

I hope to have some installer packages that people can try out in a week, maybe two.

Incidentally, for those of you who have usb gamepads, and have gotten USB host mode working, gambatte_sdl (posted above) and MaemoBoy (my project) both support the gamepad.

spirytsick 2008-01-06 21:49

Re: Anyone got visualboyadvance working??
 
it's worth experimenting with sound rate 22050 or 11024 speed up the emulation speed considerably. It was possible to run pacman with full speed and sound in full screen with 3x scaler. Strange enough it does not seem to work each time. Sometimes it's fast and at other times audio skips with exactly the same commandline switches and roms. Perhaps it is a memory issue. Hard to say. Anyway, great work porting it over to the maemo platform. Congratulations and Thank You.

Aisu 2008-01-12 16:40

Re: Anyone got visualboyadvance working??
 
Here's a bit of a front-end for Gambatte :)

DataPath 2008-01-13 01:34

Re: Anyone got visualboyadvance working??
 
1 Attachment(s)
Quote:

Originally Posted by Aisu (Post 126192)

Hey, Aisu. Any chance you have some C/C++ experience and would be willing to help me with MaemoBoy?

I basically packaged up libgambatte into its own package, and am taking the gambatte_sdl source code and wrapping in in GTK/hildon to give it a nice little UI.

I even made icons and a logo screen for it.

If I get any responses from experienced programmers, I'll take the work I've done so far and make a maemo-garage project for it.

Otherwise, I'll continue on and post the debs when I get something functional.

ChaoticBob 2008-01-13 03:38

Re: Anyone got visualboyadvance working??
 
I've been messing around with gambatte also, as you can see I posted a .deb in here, it's not gtk/hildonized at all, but has some improvements. However, on a whim, I compiled gnuboy, and I have to say it works a lot better than gambatte. Less CPU usage and runs better. It also based on SDL, and works much the same as gambatte. I might have a .deb similar to my other one out shortly with gnuboy.

However at the moment I am stuck trying to get the YUV overlay to work decently. It is terribly slow. I don't suppose you got anywhere with the YUV mode of gambatte? They seem to work pretty much the same, and both give absolutely terrible performance, even though the N800 is supposed to have hardware YUV scaling. I have been poring over the quetoo and ur-quan masters source looking for differences with their YUV overlay modes, but haven't had any luck speeding it up.

Aisu 2008-01-13 03:45

Re: Anyone got visualboyadvance working??
 
DataPath, I have used C++ before, but not graphically on Linux, I'm afraid.

Oh, and, a Nokia guy kindly informed me that I could be sued for using the word "Maemo" in the name of an application (Was gonna be iMaemo, not iTablet).

Good luck on that!

DataPath 2008-01-13 03:55

Re: Anyone got visualboyadvance working??
 
Quote:

Originally Posted by ChaoticBob (Post 126547)
I've been messing around with gambatte also, as you can see I posted a .deb in here, it's not gtk/hildonized at all, but has some improvements. However, on a whim, I compiled gnuboy, and I have to say it works a lot better than gambatte. Less CPU usage and runs better. It also based on SDL, and works much the same as gambatte. I might have a .deb similar to my other one out shortly with gnuboy.

Gambatte would likely be slower just because it's more accurate.

A better reason for choosing gambatte is there is still active core development going on, and we can benefit from those improvements.

Actually, once this GTK interface done, my intention was to make it build for non-hildon and use it on regular linux. Then benchmarking and optimizing would be a snap.

Quote:

Originally Posted by ChaoticBob (Post 126547)
However at the moment I am stuck trying to get the YUV overlay to work decently. It is terribly slow. I don't suppose you got anywhere with the YUV mode of gambatte? They seem to work pretty much the same, and both give absolutely terrible performance, even though the N800 is supposed to have hardware YUV scaling. I have been poring over the quetoo and ur-quan masters source looking for differences with their YUV overlay modes, but haven't had any luck speeding it up.

I haven't toyed with YUV yet. I'm rather anxious to get a pleasant interface up and running, and so I haven't been playing many games :(.

That said, once I get the UI pretty much wrapped up, I intend to move on to the next emulator, probably SNES. I might lean more toward GBA, except that VisualBoyAdvance is under some heavy development right now, with a complete overhaul going on, so it's a bit of a moving target.

Mudlord and Spacy have been overhauling EVERY subsystem of VBA lately, simplifying, optimizing, improving. Once that development settles down, it might have a shot at running well on the N8x0 tablets. And there are active devs who might be able to give us some hints on how we could improve performance, maybe trading compatibility to do so.

ChaoticBob 2008-01-13 04:42

Re: Anyone got visualboyadvance working??
 
Quote:

Originally Posted by DataPath (Post 126554)
Gambatte would likely be slower just because it's more accurate.

A better reason for choosing gambatte is there is still active core development going on, and we can benefit from those improvements.

True, but on the other hand, gambatte doesn't seem to support things like savestates at the moment (going by gambatte-qt and the source) , I personally am probably not skilled enough to add them. Compatibility wise I believe it is quite good.

Quote:

Originally Posted by DataPath (Post 126554)
Actually, once this GTK interface done, my intention was to make it build for non-hildon and use it on regular linux. Then benchmarking and optimizing would be a snap.

Again I'm probably not good enough to optimize gambatte but if you are that sounds reasonable.

Perhaps I'll just add a few more features to GnuboySDL to tide everyone over until you get something out :)

DataPath 2008-01-13 04:59

Re: Anyone got visualboyadvance working??
 
Quote:

Originally Posted by ChaoticBob (Post 126577)
True, but on the other hand, gambatte doesn't seem to support things like savestates at the moment (going by gambatte-qt and the source) , I personally am probably not skilled enough to add them. Compatibility wise I believe it is quite good.



Again I'm probably not good enough to optimize gambatte but if you are that sounds reasonable.

Perhaps I'll just add a few more features to GnuboySDL to tide everyone over until you get something out :)


I see no reason not to have two first-class emulators. Don't think of it as a stopgap, but as an alternative.


All times are GMT. The time now is 22:10.

vBulletin® Version 3.8.8