maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   [Announce] GnGeo-gui (https://talk.maemo.org/showthread.php?t=72574)

gleydsonpr 2011-12-10 00:52

Re: [Announce] GnGeo-gui
 
I think it was PR 1.2 . Have flashed it with PR 1.3 World v. and got a OTA update ( security) very small, I think I´m with the latest one, still have to install Gngeo.

ade 2011-12-13 14:08

Re: [Announce] GnGeo-gui
 
Cool, gngeo-gui is used to demonstrate a self build gamepad by a polish developer!

http://tweakers.net/nieuws/78731/poo...okia-n900.html

blitzlee06 2011-12-14 14:25

Re: [Announce] GnGeo-gui
 
after running this script,
Quote:

/usr/bin/gngeo-gui.sh
i found this problem

maemo applications must be run with the run-standalone.sh script!
QGtkStyle was unable to detect the current GTK+ theme.

please help!

ade 2011-12-14 15:01

Re: [Announce] GnGeo-gui
 
Quote:

maemo applications must be run with the run-standalone.sh script!
QGtkStyle was unable to detect the current GTK+ theme.
Not likely to be a gngeo-gui problem...

What's the output of
Code:

set | grep -i gtk
If the output is the GTK2_RC_FILES variable, does the file exist where it points to?

Alternatively, try to start gngeo-gui by
Code:

python /opt/gngeo-gui/gngeo-gui.py

blitzlee06 2011-12-14 15:22

Re: [Announce] GnGeo-gui
 
Quote:

python /opt/gngeo-gui/gngeo-gui.py
this one works..thanks!

ade 2011-12-14 15:59

Re: [Announce] GnGeo-gui
 
Quote:

Originally Posted by blitzlee06 (Post 1137477)
this one works..thanks!

But it is not the proper way to start the app. This way initial logfiles will not be created, and the output of gngeo is not traced.

blitzlee06 2011-12-14 16:47

Re: [Announce] GnGeo-gui
 
yes after i follow that script. try to open gngeo-gui it works successfully. i close it and open directly by ticking the gngeo-gui icon
the problem is gone. weird. thanks btw sir.. :)

gleydsonpr 2011-12-14 19:59

Re: [Announce] GnGeo-gui
 
Ade, can you help me? I tried to install gngeo-gui by App Man, it downloads
start to install and when is almost finishing it says unable to install. I look
on App Man Uninstall and gngeo-gui is there, check details it says app broken
but able to update. I have the 4 last versions of the app downloaded from
garage . Tried to click on deb on File Man with app installed to try to update
the v. 0.0.4-1 says some app packages missing etc. The other verss 5.1 , 5.2
and 5.3 don't install at all and says operation failed, then I try to open Uninstal
it says no applications installed, try Download says no catalogues in use.
I already have gngeo installed using the tar comand.
Please give me some directions. Also tried using X_Terminal, no luck aswell.
I will give a last try, will try to install the first version 0.0.0-1 I think.

ade 2011-12-14 20:24

Re: [Announce] GnGeo-gui
 
Never experienced this...

check:
Code:

sudo gainroot
dpkg --get-selections|egrep -i "pyside|python2.5"

should give something like:
Code:

libpyside1.0                                    install
pyside-qt4-core                                install
pyside-qt4-maemo5                              install
python-pyside.qtcore                            install
python-pyside.qtgui                            install
python-pyside.qtmaemo5                          install
python2.5                                      install
python2.5-minimal                              install
python2.5-qt4                                  install
python2.5-qt4-common                            install
python2.5-qt4-core                              install
python2.5-qt4-dbus                              install
python2.5-qt4-gl                                install
python2.5-qt4-gui                              install
python2.5-qt4-maemo5                            install
python2.5-qt4-multimedia                        install
python2.5-qt4-network                          install
python2.5-qt4-phonon                            install
python2.5-qt4-script                            install
python2.5-qt4-sql                              install
python2.5-qt4-svg                              install
python2.5-qt4-test                              install
python2.5-qt4-webkit                            install
python2.5-qt4-xml                              install
python2.5-qt4-xmlpatterns                      install
python2.5-sip4                                  install

Else you should install it. Not all packages are needed (xml webkit etc)

Then we can try a forced remove in your case:
Code:

dpkg --remove --force-remove-reinstreq gngeo-gui
Then try a new install
Code:

apt-get install gngeo-gui
Please post any relevant error messages

gleydsonpr 2011-12-14 21:20

Re: [Announce] GnGeo-gui
 
1 Attachment(s)
Thanks Ade. I wrote the first comand and got what is on the screenshot. The second comand terminal said like nothing to uninstall as I had uninstalled the 'broken' gngeo-gui from app man. The third comand I am doing right now, about 35 percent, my '3G' connection is 6 kbps today, in 40 more minutes I will know. But I have a feeling that it will be the same like when I installed from app man. When is almost complete it will give me some error like 'unable to install' like before. I hope not. I've downloaded xgngeo 16-2 from sourceforge page. Will try to use that at least before I can install gngeo-gui. I really would like to see the improvements of the latest version like press to assign keys for p1 and p2 and other features, but...
Will report back after terminal finishes, it is on 56 percent now, I guess half a hour more to wait. It is downloading the python files.

ade 2011-12-14 21:48

Re: [Announce] GnGeo-gui
 
This output does not look good. You are missing packages and packages have the deinstall state. The latter could point to not properly installed dependencies.

Your can first check which packages have deinstall state:
Code:

dpkg --get-selections | grep deinstall
The following command should remove the packages with the deinstall state:
Code:

sudo gainroot
dpkg --get-selections | grep deinstall | cut -f1 | xargs dpkg --purge


Then perhaps try a manual install
Code:

apt-get install python2.5 python2.5-qt4-gui python2.5-qt4-core python2.5-qt4-maemo5 python-pyside.qtgui python-pyside.qtcore

apt-get install gngeo-gui

The install/deinstall thas to be done by root. In your screenprint you are user, which is no problem for selecting.

gleydsonpr 2011-12-14 22:33

Re: [Announce] GnGeo-gui
 
1 Attachment(s)
I finally could install , now having problems setting the paths, but those are the least, problem is that mame also need to use roms folder. I have a little trick, I rename roms to 'roms all' (because I also have folders with roms 'snes' 'megadrive' 'n64' 'psx' etc) and folder where I have neogeo roms to 'roms' , now I need to copy the bios to same location where neogeo roms are located. Thank you very much Ade, the comand apt get gngeo-gui has worked ! ! ! Atough I had an eror at the end (see sshot) but te app was on my apps list.

Edit never mind already have played, set the paths, it is up and running, now only need to add n900 bluetooth address to ps3 controller. Thank you, one thing, if I set enter key to start doesn't work, have set back key for it.

ade 2011-12-14 22:46

Re: [Announce] GnGeo-gui
 
The error message looks like a mistake of mine. It is just to be sure the ownership is correct, but the map will not be there at install.
I will correct this in the next version. But the message is no a problem.

Looks like I also have the problem of the return key as start button. I will look into that tomorrow.

ade 2011-12-15 19:03

Re: [Announce] GnGeo-gui
 
Lightly updated version in the repository:

* added 68K and Z80 CPU clock percentage config
* added USB joystick config support
* fix in return key config setting (noticed by gleydsonpr)
* fixed little imperfection during deb install

Hope the joystick config setting by using the USB joystick itself will be ready in the next release.

ivgalvez 2011-12-16 11:10

Re: [Announce] GnGeo-gui
 
Thanks, will try this weekend!

What is this for?:
* added 68K and Z80 CPU clock percentage config

ade 2011-12-16 11:45

Re: [Announce] GnGeo-gui
 
Quote:

Originally Posted by ivgalvez (Post 1138186)
Thanks, will try this weekend!

What is this for?:
* added 68K and Z80 CPU clock percentage config

The NeoGeo gameconsole has two processors:
* Motorola 68000 (16 bit)
* Zilog Z80 (8 bit)

The Z80 was mainly used as a kind of co-processor to control the audio.

GnGeo has the option to "overclock/underclock" these processors, for example if they do not synchronise good enough. Default is 0 (standard speed); values < 0 "will underclock"
I experimented a little with these options, but did not notice much difference.

But now that I made the config screen scrollable, I had room enough to add the buttons :D

gleydsonpr 2011-12-16 19:19

Re: [Announce] GnGeo-gui
 
Thank you Ade, will try it later. Hope I can install without problems.
But I didn't get a warning about the update as with some applications.

liao22 2011-12-17 03:05

Re: [Announce] GnGeo-gui
 
please no roms found ><

ade 2011-12-17 16:52

Re: [Announce] GnGeo-gui
 
Quote:

Originally Posted by liao22 (Post 1138587)
please no roms found ><

Did you scan the posts in this thread? I don't think there is much more to mention.

A quick scan gave me:
http://talk.maemo.org/showpost.php?p=996471&postcount=1
http://talk.maemo.org/showpost.php?p...7&postcount=39
http://talk.maemo.org/showpost.php?p...8&postcount=42

Bottom line: just make sure you have the correct bios/roms/executable in the right directories and point to them in the path configuration. First make sure gngeo itself works.

liao22 2011-12-17 17:22

Re: [Announce] GnGeo-gui
 
who have rom of metal slug?

liao22 2011-12-17 18:13

Re: [Announce] GnGeo-gui
 
Quote:

Originally Posted by ade (Post 1001407)
Then that part looks fine for now... and the Neo Geo roms: are they (zipped) in the proper folder? I suppose so, because you can use gngeo to start games from the command prompt?

Do you get proper output from
/opt/gngeo/bin/gngeo --scandir <YourMapWithRoms>

/opt/gngeo/bin/gngeo --scandir mslug2.zip

shortname:longname:filename

ade 2011-12-17 18:22

Re: [Announce] GnGeo-gui
 
Quote:

Originally Posted by liao22 (Post 1138792)
/opt/gngeo/bin/gngeo --scandir mslug2.zip

shortname:longname:filename

It says: <YourMapWithRoms>
You are typing the name of the zipfile.
You should enter the path of where you put mslug2.zip

For example
/opt/gngeo/bin/gngeo --scandir /home/user/MyDocs/gngeo-roms

If you have mslug2.zip located in /home/user/MyDocs/gngeo-roms

liao22 2011-12-17 18:24

Re: [Announce] GnGeo-gui
 
/opt/gngeo/bin/gngeo --scandir /home/user/MyDocs/roms/ mslug2.zip


shortname:longname:filename

:S

ade 2011-12-17 18:27

Re: [Announce] GnGeo-gui
 
Quote:

Originally Posted by liao22 (Post 1138799)
/opt/gngeo/bin/gngeo --scandir /home/user/MyDocs/roms/ mslug2.zip


shortname:longname:filename

:S

You should have only mentioned the path...
But now that I know where you put your roms, try:

/opt/gngeo/bin/gngeo /home/user/MyDocs/roms/mslug2.zip

And see what the output is.

liao22 2011-12-17 18:28

Re: [Announce] GnGeo-gui
 
gngeo-gui path configuration

bios /home/user/MyDocs/neogeo

romc /home/opt/gngeo/share/gngeo/romc.d

roms /home/user/MyDocs/neogeo

gngeo /home/opt/gngeo/bin

ade 2011-12-17 18:41

Re: [Announce] GnGeo-gui
 
Quote:

Originally Posted by liao22 (Post 1138801)
gngeo-gui path configuration

bios /home/user/MyDocs/neogeo

romc /home/opt/gngeo/share/gngeo/romc.d

roms /home/user/MyDocs/neogeo

gngeo /home/opt/gngeo/bin

You didn't do the test I asked you to do...

But I already see a difference: you did the scandir command using /home/user/MyDocs/roms/, while you have set "roms /home/user/MyDocs/neogeo" in GnGeo-gui.
Now where did you put mslug2.zip? If it is in /home/user/MyDocs/roms, make sure the you have "roms /home/user/MyDocs/roms" instead of "roms /home/user/MyDocs/neogeo"

And you can still try:
Code:

/opt/gngeo/bin/gngeo /home/user/MyDocs/roms/mslug2.zip

liao22 2011-12-17 21:06

Re: [Announce] GnGeo-gui
 
Working fine here. Thanks
but now how can configure keyboard

ade 2011-12-17 21:14

Re: [Announce] GnGeo-gui
 
Quote:

Working fine here. Thanks
but now how can configure keyboard
What about using the "key def" button from the config menu :confused:?

You can then enter the keycodes, but also push the related key button and then press your key on the keyboard. As easy as that.

P.s. don't forget the save button afterwards.

liao22 2011-12-17 22:17

Re: [Announce] GnGeo-gui
 
where I find the key code? : S
><

liao22 2011-12-17 22:24

Re: [Announce] GnGeo-gui
 
work ^^^thank ade

ade 2011-12-20 00:43

Re: [Announce] GnGeo-gui
 
Version 0.0.5-5 is going to be uploaded soon.

This release I tried to add joystick setup support by pressing the related buttons on the USB joystick.

This feature will only be shown if /dev/input/js0 is found. This character devices will be there if a USB joystick is connected or has been connected. During a reboot, this character device will be erased.

When you choose to set a key by pressing a joystick button, Gngeo-gui will keep waiting for input. After the button is pressed, Gngeo-gui will respond again to other input.
The analog part of the joystick is not supported during config, only the digital part.

How the X-axis and Y-axis are defined in gngeo is not totally clear to me, but the keypad does respond well in my configuration.

Furthermore I added two buttons in the confuration screen: p1 and p2 joystick device. They define to what devices the joystick for this player is attached. "0" means /dev/input/js0, 1 means dev/input/js1 etc. I don't know if anyone has experience with multiple joysticks (USB hub connected to the N900?), but I have not tested it.

For now, the player 2 joystick config is done by reading /dev/input/js0, just like for player 1.

@ivgalvez, since you where the one asking for this, would you be so kind and test the joystick setup on your own phone ? ;)

gleydsonpr 2011-12-20 05:39

Re: [Announce] GnGeo-gui
 
Thank you Ade for the updates atough I don't have a usb joystick, I might need to get one as my ps3 controller is not working anymore, do you have any idea why, when I got my last N900 robbed I stopped using it for 6 months and now I plug it in the PC and it won't charge, also I am having difficulties with libusb program and glovepie to add bluetooth address, problem is that usb joy. uses much more power than ps3 controller I think.

Manatus 2011-12-20 06:25

Re: [Announce] GnGeo-gui
 
I haven't gone into Gngeo-gui config screen lately, but at least with this latest update it doesn't seem to work. Nothing happens when you press the config-button. Will test USB-stick when I find my USB converter.

ade 2011-12-20 09:09

Re: [Announce] GnGeo-gui
 
Matanus,
Are you talking about the config button from the main menu left from the about button? No issues here.
Could you try it again making sure you hit the button with a firm press. An maybe a reboot in advance.

It could also be caused by the gngeo config file not being as aspected. For that you can start by:

python /opt/gngeo-gui/gngeo-gui.py

from the xterminal and see what the output is when you choose config.

ivgalvez 2011-12-20 11:22

Re: [Announce] GnGeo-gui
 
Quote:

Originally Posted by ade (Post 1139721)
@ivgalvez, since you where the one asking for this, would you be so kind and test the joystick setup on your own phone ? ;)

Very busy week and out from home, but I'll try that this Christmas :D.

ade 2011-12-20 11:37

Re: [Announce] GnGeo-gui
 
Okay, Version 0.0.5-6 is coming your way soon:

* Added support for The Universe Bios

I have been playing with this this morning, and it is really interesting in my opinion. It exists for quite a while (and xgngeo also supports it), but I never noticed it.

The Universe Bios is a homemade bios that adds lots of extra features. The most interesting is of course the cheat options :D

You can find info and download it on http://unibios.free.fr/
Notice that the latest version (3.0) can only be downloaded if you donate money. From the downloaded zip, extract uni-bios.rom and put it in your current bios directory.
Gngeo-Gui 0.0.5-6 will check for this file, and if found add the "unibios" option in the system choice (next to "arcade" and "home")

You can clearly see if unibios is activated on the startup screen.

From the readme.txt of unibios:
Quote:

Accessing Menus
---------------
The following codes should be used while the splash screen is showing or held during
system power up (splash disabled). Button codes will only work on player 1 controls.

A+B+C = Main UNIVERSE BIOS Menu
A+B+C+D = Memory Card Manager
B+C+D = Test mode (MVS only)
A+B+D = Hardware Test (AES only)

The following code can only be entered on player 2 control

A+B+C+D = Controller Test

The following codes are available in game only, they will not work if you have disabled the in game menu (general bios settings).

START+SELECT = In Game Menu
START+COIN = In Game Menu
START+A+B+C = In Game Menu
The In Game menu has the cheat options.

You can always revert back to the standard "arcade" or "home" in the config menu.

Manatus 2011-12-20 16:51

Re: [Announce] GnGeo-gui
 
Quote:

Originally Posted by ade (Post 1139838)
Matanus,
Are you talking about the config button from the main menu left from the about button? No issues here.
Could you try it again making sure you hit the button with a firm press. An maybe a reboot in advance.

It could also be caused by the gngeo config file not being as aspected. For that you can start by:

python /opt/gngeo-gui/gngeo-gui.py

from the xterminal and see what the output is when you choose config.

Ok, back from work. :)
I did the reboot earlier without effect and added now delete of file ~/.gngeo-gui/gngeo-gui.cfg. It got recreated automatically when Gngeo-gui started. Also I tried to remove ~/.gngeo/gngeorc, but then Gngeo-gui refused to start.

Running from command line gave me this:

~ $ python /opt/gngeo-gui/gngeo-gui.py
Unsupported date format character at 1 (%-d.%-m.)
Error calling slot "slotConfig"
Traceback (most recent call last):
File "/opt/gngeo-gui/gngeo-gui.py", line 216, in slotConfig
a = ConfigWindow(self)
File "/opt/gngeo-gui/gngeo-gui.py", line 358, in __init__
self.Z80SpinBox.setValue(float(self.options["z80clock"]))
KeyError: 'z80clock'

The first line is caused by Finnish regional settings I think, and has been usually harmless. The rest appears when I press 'Config' button from the Gngeo-gui upper menu.


Gngeo-gui.cfg:
exec_path /opt/gngeo/bin
exit_after_launch false


Gngeorc:
# Generated by gngeo-gui
showfps false
rompath /home/user/MyDocs/roms_mame
samplerate 11025
p2joy 1,0,3,2,7,6,0,1,1,1
convtile true
fullscreen true
scale 2
p1hotkey0 4,8
p1hotkey1 2,4
p1hotkey2 1,2,4
system arcade
p2joydev 1
romrcdir /home/opt/gngeo/share/gngeo/romrc.d
p2key 38,34,111,114,233,39,264,261,260,262
pal false
biospath /home/user/MyDocs/roms_mame/neogeo_bios
sound true
autoframeskip true
p1key 108,112,228,46,116,117,119,120,97,100
effect none
sleepidle true
invertjoy false
p1joy 2,3,0,1,5,4,0,1,1,1
raster false
blitter soft
country europe
p1joydev 0
hwsurface false
debug false
joystick false
interpolation false

ade 2011-12-20 17:06

Re: [Announce] GnGeo-gui
 
You are missing two settings which I expect to be set:
Code:

z80clock 0
68kclock 0

That you missed the settings was probably never a problem till I activated the options in the config screen.

Could you add the two lines to your gngeorc file and test again?

Perhaps a full check for missing parameters and auto correction by Gngeo-gui would be better.

Manatus 2011-12-20 18:14

Re: [Announce] GnGeo-gui
 
Quote:

Originally Posted by ade (Post 1140074)
You are missing two settings which I expect to be set:
Code:

z80clock 0
68kclock 0

That you missed the settings was probably never a problem till I activated the options in the config screen.

Could you add the two lines to your gngeorc file and test again?

Perhaps a full check for missing parameters and auto correction by Gngeo-gui would be better.

Thanks! It works now. :)

gleydsonpr 2011-12-21 05:38

Re: [Announce] GnGeo-gui
 
I am having the same problem aswell. I also have a problem with cps2emu, but that is for another thread, am having problems with emulators. Will try to add the z80 clock parameters, was thinking to downgrade to v. 0.0.5-3 but will do the same to check... Just tried I can now open conf menu from the gui but looks like some small bug to define keys... Will test a game to check... Yes just tested, I have changed the keys on key def but they stayed the same as before, can we now have start key on Enter or any key we want? If not , not a big issue.


All times are GMT. The time now is 01:08.

vBulletin® Version 3.8.8