maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   PyBoy 0.2 GBC Emulator (https://talk.maemo.org/showthread.php?t=14854)

ChaoticBob 2008-01-11 14:58

PyBoy 0.2 GBC Emulator
 
OK first Maemo project for me. I've been messing around with Gambatte for the last couple of days to get my feet wet with Maemo, and I think it's quite playable, I've racked up quite a few hours on Pokemon :D. The front end is based on PyBoy made by Aisu here http://www.internettablettalk.com/fo...ad.php?t=13824

I think the .deb should work, it does on my os2007 n800. Anyway here it is http://chaoticbob.nfshost.com/maemo/....2-1_armel.deb

Oh and this might be better in the dev forum but does anyone know how to make it so an app doesn't appear in the application list but does appear in the task list. At the moment there is an entry for Gambatte that doesn't do anything :o.

[EDIT] See below for the mucho-improved version [/EDIT]

hordeman 2008-01-12 06:00

Re: PyBoy 0.2 GBC Emulator
 
sweet! im going to have to give this a try when i get home. (im traveling right now.) thanks for the contribution. :)

kurupted 2008-01-14 05:18

Re: PyBoy 0.2 GBC Emulator
 
got it working runs okay on my n810. any way i can map the keys to my n810 keyboard.

ChaoticBob 2008-01-14 12:46

Re: PyBoy 0.2 GBC Emulator
 
Ok here's the new version.

Improvements:
New Emulator, Gnuboy, runs considerably faster, 3x mode quite usable.

In-game menu, press the menu key, allows for the next feature.

State saving and loading! If 6 slots isn't enough I can easily increase it.

Heres the .deb http://chaoticbob.nfshost.com/maemo/...13-1_armel.deb

I strongly recommend you uninstall PyBoy before you install this one, just to eliminate any potential conflicts.

Known issues:

It can occasionally stutter for a while after using the menu due to the dodgy way I pause(or don't) the emulation.

3x mode doesn't work in non-fullscreen, but it wouldn't really fit anyhow so consider it a feature.

The on-screen buttons won't show until you click once.

In regards to changing the keys, in this new version you should be able to edit /etc/gnuboy.rc, at the top there are some lines like

bind a +a
bind z +b

Change the left hand ones to the keys you want, it should work, although you won't be able to press on the screen anymore.

hordeman 2008-01-15 04:45

Re: PyBoy 0.2 GBC Emulator
 
ok, i just gave this a try. ABSOLUTELY BRILLIANT!!!! thank you for this. aside from smoothing out the sound, it's near perfect. unless i missed something, here's what i recommend:
* ability to rotate the screen; that way i can use the n800 buttons more easily.
* have it remember what the last folder it was that i was in; i have to keep navigating to my mmc for a game
* capability to remap buttons while still pbeing able to use touchscreen; for example, i want button A to be physical button and button B to be the touchpad

so, nice job! btw, i really like how you set up the touchscreen btttons --- especially the combined a+b buttons.

stabu 2008-01-16 01:57

Re: PyBoy 0.2 GBC Emulator
 
I cannot find my ROMs from the PyBoy menu. MyDocs shows up as empty.
The ROM is saved under Games on the N800

ChaoticBob 2008-01-16 03:36

Re: PyBoy 0.2 GBC Emulator
 
Bah, didn't think of that, stupid maemo storing files in hidden directories. I'll have to change the script a bit to get it to work, for the moment I suggest you move the games to the base N800 directory in the file manager, then they should show up in MyDocs.

kurupted 2008-01-16 06:03

Re: PyBoy 0.2 GBC Emulator
 
i have not had ant real problems, the file directory thing is okay i just have to navigate to root /media/mmc1(or 2)/roms (a folder i added to place all my roms in the root of the storage memory.

pwsn 2008-01-16 07:09

Re: PyBoy 0.2 GBC Emulator
 
pyboy opens up and the i can find my roms, but when i click start game, a gb icon opens up then closes right away. something i'm missing?

ChaoticBob 2008-01-16 08:26

Re: PyBoy 0.2 GBC Emulator
 
Hmm, that's odd, they aren't gameboy advance roms are they? Gnuboy only does Gameboy and Gameboy Color.

stooo 2008-01-16 09:53

Re: PyBoy 0.2 GBC Emulator
 
I've got the same issue as pwsn - using a gameboy colour rom, downloaded from coolrom.

ChaoticBob 2008-01-16 09:59

Re: PyBoy 0.2 GBC Emulator
 
Hmm, that's no good, what OS/model are you running. Also, do either of you know your way around the command line? That would be the best way to figure this out.

hordeman 2008-01-16 18:02

Re: PyBoy 0.2 GBC Emulator
 
Are you guys trying to run a .zip rom? If so, that won't work. You'll need to run the extracted file.

pwsn 2008-01-17 04:01

Re: PyBoy 0.2 GBC Emulator
 
running os2008 on n800. roms work fine as tested on pc.

dont know much about linux command lines, but what u want me to learn to help?

ChaoticBob 2008-01-17 04:33

Re: PyBoy 0.2 GBC Emulator
 
Well basically you just need to run two commands:

1. sdlgnuboy

It should print out some usage information.

2. sdlgnuboy --source /etc/gnuboy.rc --scale=1 /path/to/rom

The main thing here is for you to get the path to your rom correct. By running these from the command line we can see any error messages.

It's possible the problem is because of os2008, I'm running 2007, but as far as I can tell it shouldn't depend on anything that isn't in both.

ChaoticBob 2008-01-17 08:47

Re: PyBoy 0.2 GBC Emulator
 
Aha, I think I may have it, do you have special characters or spaces in the ROM name? I renamed all mine to simple short words while testing. Try renaming yours to just alphanumeric characters. I'll have a fiddle with PyBoy to see where the problem is.

[Edit] Heres a new version, I've fixed up PyBoy to deal with filenames with spaces, also got rid of that annoying crash when you try and select a different file. Here it is:
http://chaoticbob.nfshost.com/maemo/...14-1_armel.deb[/edit]

pwsn 2008-01-17 20:53

Re: PyBoy 0.2 GBC Emulator
 
filenames were all characters.

w/e u did in the new version fixed it. thx

stabu 2008-01-18 21:48

Re: PyBoy 0.2 GBC Emulator
 
I fixed the filenames and it works great! Way better than VBA. Any chance in a blue moon of you doing a GBA emu? Cause this one kicks ***.

saunders73 2008-01-18 23:50

Re: PyBoy 0.2 GBC Emulator
 
had this problem as well, tried taking the spaces out and it works perfectly, was going to come back here and post the solution but i see im too late:)

keypox 2008-01-22 14:51

Re: PyBoy 0.2 GBC Emulator
 
Quote:

Originally Posted by pwsn (Post 129134)
running os2008 on n800. roms work fine as tested on pc.

dont know much about linux command lines, but what u want me to learn to help?

i cannot get it to run on os2008, i installed the latest one but when i run it nothing happens, needed python 2.5 installed done and working thanks:)

keypox 2008-01-22 22:13

Re: PyBoy 0.2 GBC Emulator
 
i think i must need python installed? I have canola2 installed i was thinking that would automatically installed python for me?

edit: I did need python and had to use gainroot to install it... it is hidden now so


side question what is the risk of damaging your touch screen from using this emulator? From pressing the same area so many times?

grim489 2008-01-26 00:09

Re: PyBoy 0.2 GBC Emulator
 
hey
im new to this forum. i just got an n810 and im having trouble getting the emulator on there. im new to all this stuff and was wondering if anyone was willing to go into extreme detail. :D

keypox 2008-01-27 01:47

Re: PyBoy 0.2 GBC Emulator
 
first youneed to install python . searh the forum for python and red pill mode after that this thread has thw insta;l for emu

grim489 2008-01-27 21:40

Re: PyBoy 0.2 GBC Emulator
 
alright i got it all done
ive heard theres a gba emulator for the n810 too, i read it doesnt work very well but where do i find it?

stabu 2008-01-28 17:43

Re: PyBoy 0.2 GBC Emulator
 
VirtualBoy Advance. It runs horribly.

Thesandlord 2008-01-31 04:07

Re: PyBoy 0.2 GBC Emulator
 
This runs great! Much better than the old gambatte and vba...
But, i have a question: where is the default savedir, and how do i change it
I edited the python file and added the --savedir /media/mmc2/Gameboy command
It seemed to work once with a typo, but i cant do it again...
everything works great btw

EDIT;; lol, it should be --savedir=/media/mmc2/Gameboy , so now the only question is where is the default savedir so i can delete the files. ( i think a gui option for changing the savestate would be a great addition)

ChaoticBob 2008-02-01 03:45

Re: PyBoy 0.2 GBC Emulator
 
The default spot for the savegames/states is /home/user/.gnuboy/saves/

Sorry I'm not going to have much time to add features for a while. However I'll try and post the source up tonight so anyone else who wants to add stuff can.

[EDIT] Here's the source:
http://chaoticbob.nfshost.com/maemo/...-0.9.14.tar.gz

I would reccommend not messing with the debianization as all the files are copied manually so you'll lose that if you aren't careful.

jhoff80 2008-02-04 17:20

Re: PyBoy 0.2 GBC Emulator
 
I was kind of wondering. Why not rotate the device 90 degrees for this. As in, if you turn it so that the buttons are at the bottom, then the Previous key could be B, and the Home key could be A. Way better than onscreen buttons.

ChaoticBob 2008-02-05 05:02

Re: PyBoy 0.2 GBC Emulator
 
Plus one of the big problems with gaming on n800 is that it can't recognize more than one hardware button at a time. Actually now that I think about it, maybe that was an SDL limitation? Anyway I agree that it really wouldn't be very easy to control and the home button thing is true. There may be a way to override it somewhere but I have no idea where.

jh13 2008-02-10 04:55

Re: PyBoy 0.2 GBC Emulator
 
hey im going to do a quick youtube demo of gnuboy with the pyboy front end (more for promotional than informative purposes) so if theres anything anyone wants me to show off pm me before the end of the weekend

hordeman 2008-02-14 23:44

Re: PyBoy 0.2 GBC Emulator
 
Quote:

Originally Posted by ChaoticBob (Post 138342)
Plus one of the big problems with gaming on n800 is that it can't recognize more than one hardware button at a time. Actually now that I think about it, maybe that was an SDL limitation? Anyway I agree that it really wouldn't be very easy to control and the home button thing is true. There may be a way to override it somewhere but I have no idea where.

I was able to use two buttons at once PyBoy. (e.g., turbo + jump in Super Mario Land.) It's just a pain to do because of the button layout.

braveally 2008-03-03 00:31

Re: PyBoy 0.2 GBC Emulator
 
i just installed pyboy and the front end. what is the button layout beyond the d-pad and start, nothing else works. is there any way to change it?

jbb 2008-03-13 12:27

Re: PyBoy 0.2 GBC Emulator
 
there are so many pythons when in red pill mode, could someone please tell me the exact one I need, or do I need them all?

jbb 2008-03-15 22:14

Re: PyBoy 0.2 GBC Emulator
 
I downloaded the runtime and it doesn't work, please help

ArnimS 2008-03-16 05:44

Re: PyBoy 0.2 GBC Emulator
 
Quote:

Originally Posted by jbb (Post 155709)
I downloaded the runtime and it doesn't work, please help

Hi jbb, the deb should contain the required python files as dependencies but sometimes they don't. I don't know which python things this needs.

Here's just the python stuff I installed on my device in the course of the past couple of months.

dpkg -l |grep -i py
ii python-gdata 1.0.10.1-2 Google Data Python client library
ii python2.5 2.5.1-1osso5 An interactive high-level object-oriented la
ii python2.5-bluez 0.9.1-1osso2 Python wrappers around BlueZ
ii python2.5-cairo 1.4.0-1osso2 Python bindings for the Cairo vector graphic
ii python2.5-conic 0.1-1osso1 Python bindings for ConIc Framework.
ii python2.5-dbus 0.82-4osso1 Python wrappers around D-Bus.
ii python2.5-gnome 2.18.0-1osso3 Python bindings for GConf and GnomeVFS
ii python2.5-gobject 2.14.1-1osso1 Python bindings for the GTK+ widget set
ii python2.5-gstreamer 0.10.5-0osso2 generic media-playing framework (Python bind
ii python2.5-gtk2 2.12.1-1osso2 Python bindings for the GTK+ widget set
ii python2.5-hildon 0.8.8-1osso8 Python bindings for Hildon Framework.
ii python2.5-id3lib 0.5.1-1osso2 id3lib wrapper for Python - library
ii python2.5-imaging 1.1.6-1osso2 Python Imaging Library
ii python2.5-numeric 24.2-1osso5 Numerical (matrix-oriented) Mathematics for
ii python2.5-osso 0.3-1osso4 Python bindings for Libosso library
ii python2.5-pygame 1.7.1-1osso2 SDL bindings for games development in Python
ii python2.5-runtime c1.0-3 Python runtime environment.
ii python2.5-xml 0.8.4-1osso9 XML tools for Python

Maybe this can give you an idea why I personally don't like to require python for these games and emulators.


-------------------------------

Hows the performance for other people? I'm getting stuttery sound in everything i tried at any scale factor.

Otherwise looks real nice! :) And thanks for the PyBoy port!

qwerty12 2008-03-16 08:05

Re: PyBoy 0.2 GBC Emulator
 
Quote:

Originally Posted by ArnimS (Post 155818)
Hows the performance for other people? I'm getting stuttery sound in everything i tried at any scale factor.

Otherwise looks real nice! :) And thanks for the PyBoy port!

My sound is stuttery when playing Cokemon, an unoffiical patch that makes Pokemon more dirty/funny :P...

But in pokemon, it sounds like some tossers made the sounds so I turn them off.

iceman_jhs 2008-03-24 03:48

Re: PyBoy 0.2 GBC Emulator
 
Hi, I somehow managed to stumble upon this forum, and I would be very grateful if someone could help me on the syntax of the .rc files. I use gnuboy on an old compaq pocketPC 3650 and cannot figure out how the rc files work. I specifically would like to map a as the 'q-start' key, b as the 'q-menu' key, start as the 'contacts' key, and select as the 'calender' key. Any help would be very greatly appreciated. Thanks!

Navi 2008-03-24 05:25

Re: PyBoy 0.2 GBC Emulator
 
Sound stutters because the N800 can't handle gnuboy at 800x480. It's something that plagues a lot of emulators/games.

As for the rc files, it's pretty simple:
set <key> +a
set <key> +b

No idea how to bind the menu. +menu?

pelago 2008-03-24 18:13

Re: PyBoy 0.2 GBC Emulator
 
Quote:

Originally Posted by iceman_jhs (Post 159316)
Hi, I somehow managed to stumble upon this forum, and I would be very grateful if someone could help me on the syntax of the .rc files. I use gnuboy on an old compaq pocketPC 3650 and cannot figure out how the rc files work. I specifically would like to map a as the 'q-start' key, b as the 'q-menu' key, start as the 'contacts' key, and select as the 'calender' key. Any help would be very greatly appreciated. Thanks!

I think you need to try another forum.

Phaze94 2008-03-29 04:15

Re: PyBoy 0.2 GBC Emulator
 
Would it be possible to map "select" to a key? There are some games that I have that NEED the "select" button such as kirby to remove his abilities, and pokemon to organize folders.


All times are GMT. The time now is 21:06.

vBulletin® Version 3.8.8