OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Software => Topic started by: silvio on April 12, 2005, 10:28:38 am
-
I've just ported some games (Sharp and Cacko ROM, VGA Landscape Only) to the Zaurus.
LTris
LMarbles
Barrage
LGeneral
You can find the originals, screenshots and details here:
http://lgames.sourceforge.net/index.php (http://lgames.sourceforge.net/index.php)
And you can find my ports and screenshots on elsi and on my Zaurus download page:
http://www.iaccarino.de/silvio/zaurusstuff.htm (http://www.iaccarino.de/silvio/zaurusstuff.htm)
Have fun!
Silvio
-
Wow!
good job Silvio, I see a lot of fun cool games to try out! Appreciate your hard work!
Lareya
-
And you can find my ports and screenshots on elsi and on my Zaurus download page:
http://www.iaccarino.de/silvio/zaurusstuff.htm (http://www.iaccarino.de/silvio/zaurusstuff.htm)
Hi Silvio, great work! LGeneral (also backgammon off your site) seems to work on my C3000 but when I try LTris I get these errors. I ialso installed libsdl and libsdl-mixer.
SlSharedManager: can't get proc entry
Display size = 480x640
could not open translation file /home/QtPalmtop//i18n/en/libsl.qmid
QT_GetMachine: /proc/deviceinfo/product is 'SL-C3000
蚓@'
detected machine is 'Sharp SL-5000D'
QT_GetRotation: Read spec from '/tmp/qtembedded-zaurus/QtEmbedded-0.spec'
spec is 'Transformed:Rot270:Vga:0'
Rot=3, Qvga=0
QT_SetVideoMode: argSize=640x480
QT_SetVideoMode: qteSize=640x480
QT_SetVideoMode: fbSize=480x640
QT_SetVideoMode: qteRotation=3
QT_SetVideoMode: userRotation=-1
QT_SetVideoMode: sdlRotation=3
QT_SetVideoMode: qteKeyRotation=3
QT_SetVideoMode: sdlKeyRotation=3
Cannot load figures from '/usr/share/ltris/figures'.
Highscore chart doesn't exist in '/usr/var'... creating new one.
Write permission for '/usr/var/ltris.hscr' denied.
Unable to access highscore chart in '/usr/var'.
Trying to use config directory '/home/zaurus/.lgames'.
QLibrary open failed!: /home/QtPalmtop/lib/libqsfepj.so, libkke.so.1: cannot load shared object file: No such file or directory
LTris 1.0.10
Copyright 2002-2004 Michael Speck
Published under GNU GPL
---
Looking up data in: /usr/share/ltris
Mode 640x480x16 Window valid
Mode 640x480x16 Fullscreen valid
Saving highscore chart in: /home/zaurus/.lgames
It starts up fine but when i start a new game its just says "game over".
Thanks
Russell
-
-
I've uploaded an update for ltris with a missing file and removed the /usr/var stuff.
But ltris neither depends on libqsfepj.so nor on libkke.so.1.
Are you shure you got correct sdl / sdl-mixer versions for your device?
regards,
Silvio
-
LMarbles doesn't show anything when you try to install it.
Barrage, LGeneral, LTris and ZMarhjongg all work on the SL-C3000.
ZMarhjongg still scrolls a little but it is much better than before.
LTris wouldn't let me use the large OK button to rotate.
You're doing a nice job. How do you port a program?
-
LMarbles doesn't show anything when you try to install it.
Barrage, LGeneral, LTris and ZMarhjongg all work on the SL-C3000.
ZMarhjongg still scrolls a little but it is much better than before.
LTris wouldn't let me use the large OK button to rotate.
You're doing a nice job. How do you port a program?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=74938\"][{POST_SNAPBACK}][/a][/div]
1. Check if the game supports VGA resolution
2. ./configure --prefix=/usr
3. Searching for screen resolution constants in the whole project and set them fixed to VGA.
4. Searching for the initial SDL_SetVideoMode() and remove all further SDL_SetVideoMode() calls because it should be called only once (the app screen flickers heavily if you ignore this step).
5. Searching for SDL_WaitEvent() and SDL_PollEvent(), removing the mousebutton stuff (especially for second and third mousebuttons), inserting hokeys instead, enable the cancel-key everywhere, this key should be traversed through all eventhandlers because Zaurus applications should be closed when cancel is pressed.
6. Rarely you have to modify some graphics.
Call make now and cross the fingers.
Round about 50% of the SDL games will work after this modifications.
regards,
Silvio
-
Has anyone got LMarbles working?
-
For me (C860, Cacko 1.22 lite) it is working. What happens if you start it from a shell?
-
You might want to run ./configure --prefix=/opt/QtPalmtop for your packages to enable your packages for alternate installs on Sharp ROMs. Otherwise you can run into problems installing to SD/CF/HD etc.
-
I've uploaded an update for ltris with a missing file and removed the /usr/var stuff.
But ltris neither depends on libqsfepj.so nor on libkke.so.1.
Are you shure you got correct sdl / sdl-mixer versions for your device?
regards,
Silvio
[div align=\"right\"][a href=\"index.php?act=findpost&pid=74865\"][{POST_SNAPBACK}][/a][/div]
Hi Silvio. i rolled back to an older lib sdl mixer and installed your latest version. The lib error still shows up in a terminal window but it all runs fine now.
great job thanks
Russell
-
The lmarbles package was broken - the new release should work now.
Mea culpa.
-
Hi Silvio,
Thanks for porting these apps. They're quite nice.
I'm having a problem with LTris and LMarbles though. I installed the latest SDL stuff from ELSI (libSDL 1.2.6cvs-1 and libSDL-mixer 1.2.5cvs-1). The apps run but the display consists only of a narrow strip of garbage pixels on the left side of the screen. If I hit Cancel the app quits cleanly (and the garbage on the display goes away). Running them from the command line doesn't reveal any errors (except for the usual QImage::color Index out of range messages) and the following: "QApplication: There should be max one application object".
LMarbles additionally shows this info about "Video hardware capabilities":
Hardware Surfaces: No
HW_Blit (CC, A): No (No, No)
SW_Blit (CC, A): No (No, No)
HW_Fill: No
Video Memory: 0
(I don't know the SDL API but that info doesn't look good to me.)
Any idea what's wrong here? Do I have the wrong SDL? A bad SDL install?
BTW, I have a C860 running the tkcROM (Sharp-based, excellent compatibility).
One other thing: Backgammon seems to have a minor problem: the game board is not all visible; scroll bars appear and I must scroll to see the whole board. That's not intentional, is it?
Thanks again!
~ray
-
I'm having a problem with LTris and LMarbles though. I installed the latest SDL stuff from ELSI (libSDL 1.2.6cvs-1 and libSDL-mixer 1.2.5cvs-1). The apps run but the display consists only of a narrow strip of garbage pixels on the left side of the screen.
Any idea what's wrong here? Do I have the wrong SDL? A bad SDL install?
Yes - you have installed a wrong SDL. Use the search function in this forum and search for "W100 SDL".
One other thing: Backgammon seems to have a minor problem: the game board is not all visible; scroll bars appear and I must scroll to see the whole board. That's not intentional, is it?
Thats strange - I have no scrollbars. Could you send me some screenies?
regards,
Silvio
-
LMarbles worked but I don't know how to play it yet How do I win?
-
If the LPong game could also be ported it would be realllllly cool. Fantastic work man!!!
-
Hi Silvio,
I just installed Lmarbles on the 6k and no prob(stock SHARP ROM fast kernel).
The graphics and the speed are really good.
Just for others, these are the libSDL I had installed:
libSDL_1.2.6cvs-1_arm.ipk (libSDL_1.2.6-zports-5_arm.ipk should work also)
libSDL-mixer_1.2.6-zports-0_arm.ipk
see libSDL_sourceforge (http://sourceforge.net/project/showfiles.php?group_id=95582)
Thanks Silvio.
-
Yes - you have installed a wrong SDL. Use the search function in this forum and search for "W100 SDL".
The search only found your own reference. :| But scheck.r's post set me straight (thanks!). LTris is very nice! (Thank you!) I haven't figured out how to lay LMarbles yet; I'll have to look for the docs.
One other thing: Backgammon seems to have a minor problem: the game board is not all visible; scroll bars appear and I must scroll to see the whole board. That's not intentional, is it?
Thats strange - I have no scrollbars. Could you send me some screenies?
Okay, attached. I'm guessing it's a fonts issue.
Thanks again,
~ray
-
Did you change your user interface or did it come like that? It's purple
-
Did you change your user interface or did it come like that? It's purple
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75552\"][{POST_SNAPBACK}][/a][/div]
That's a theme that I installed. It's probably the reason that the scroll bars came up (some component must be larger than the default) but I haven't seen this problem with any other program.
~ray
-
Try changing the layout again to see if it fixes the problem. If it does then the theme can be fixed instead of the game.
BTW LBreakout was the other game that looked cool but isn't in the game list and occ is a good idea. I would love to be able to play Chess
-
Try changing the layout again to see if it fixes the problem. If it does then the theme can be fixed instead of the game.
BTW LBreakout was the other game that looked cool but isn't in the game list  and occ is a good idea. I would love to be able to play Chess
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75795\"][{POST_SNAPBACK}][/a][/div]
Search for Lbreakout in ELSI, the port was done by somebody else.
-
Try changing the layout again to see if it fixes the problem. If it does then the theme can be fixed instead of the game.
I have the same problem as raybert, although using the regular Zblue theme.
I've tried several other themes with still the same issue.
-
I don't have the same problem and I don't know why.
-
Try changing the layout again to see if it fixes the problem. If it does then the theme can be fixed instead of the game.
Good idea (for diagnostic reasons, at least). Unfortunately, it didn't work. I tried different themes, different font settings, etc., can't seem to find a combination that works.
~ray
-
One other thing: Backgammon seems to have a minor problem: the game board is not all visible; scroll bars appear and I must scroll to see the whole board. That's not intentional, is it?
Thats strange - I have no scrollbars. Could you send me some screenies?
regards,
Silvio
[div align=\"right\"][a href=\"index.php?act=findpost&pid=75321\"][{POST_SNAPBACK}][/a][/div]
I had the same problem with your earlier version, it was the window manager inserting scrollbars not the program
I switched to the most uncluttered theme - qpe - and got rid of them leaving the whole board visible
Melee
-
Silvio, I found it. Thanks.
-
Is there any possibility to support also SL-5x00 models for these games?
-
- Thanks, scheckr, for the link to the SDL libs. Been lookin' all over for those guys. 'Course they're right under my virtual nose the entire time! (vaccuous stare)
- Snagged every game on the list, Silvio ... overall an EXCELLENT set. But I'm seeing some wierdness, which is actually somewhat typical for me. (rolls ii)
BACKGAMMON:
- Same scroll bar thing that lots of others see. Standard ZPurple theme.
OTHER:
- It would be nice if these would allow save, or save themselves (halleluiah!) when they exit. Especially Marbles. Or do like the Atomic port and allow the user to select the level to start at, so they can skip the levels they've seen.
- Screen rotation is an issue on the C1000, or at least mine! (grin) If I'm running something in 320x200 with the screen in portrait, then I hti "Home", it repaints the Qt bar at high-res, then garbulates the screen and crashes. Uncool.
-
I have problem playing LGeneral
When i start it from console the message is
Display size = 480x640
QApplicatin There should be max one application object.
At the right side of the screen the game try to start but the zaurus freeze.
I have a c760 with Cacko 1.22a(Lite).I install the libs.
-
Not to seem out of place here, but has anyone come up with some custom SDL library or something that could scale these VGA games down to 320x240 for the older Zaurii? You guys have all the fun :'( And I want OpenTTD on my zaurus as well damn it
-
@silvio
if i try to start ltris from the console it writes some messages and exits.
i'm running cacko 1.22a on c860. libsdl and libsdl-mixer are installed.
Any idea?
thanks in advance
best regrds
cmpayc
-
if you guys are interested, i am playing games like interstellar flames, rocket elite, etc. eon games on my c1000. it works really nice.
i was amazed.
im gona try your lgames.
thanks man! good effort.
-
if you guys are interested, i am playing games like interstellar flames, rocket elite, etc. eon games on my c1000. it works really nice.
i was amazed.
im gona try your lgames.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=86645\"][{POST_SNAPBACK}][/a][/div]
Hey! Quit playing games and get that C1K theme done!!
Just kidding...keep up the great work, Cresho!
shane
-
are you talking about umicons or the updated gant? i also have a newer umicons icons which look way better...
hmmmm
you you hvent checked the last post i did?
its in beta as for now.
a topic of theme (https://www.oesf.org/forums/index.php?showtopic=13590)
-
im gona try your lgames.
Barrage is fun
-
My turn....
I tried to run LTris on my new, and still petty much un-changed (i.e., Sharp ROM) C1000 (English conversion done by Shirtpocket).
At first I installed libSDL_1.2.6cvs-1_arm.ipk and got the max application object error noted by others. Found the libSDL_1.2.6-zports-5_arm.ipk library and installed that instead and now LTris isntead spews forth with a slew of messages too numerous to write here (there must be an easier way to dump those error messages from the Z terminal - QConsole - to my desktop).
So clearly I've got incorrect libraries still, but I am not sure what to try next. My error messages look a lot like those noted by CollieWobbles in his April 12 message (page 1 of this thread), except as I said I'm using libSDL_1.2.6-zports-5_arm.ipk now. Unlike him, for me LTris never runs - launches, spews errorrs, and exits.
Any thoughts? Thaks.
-
Solved my problem. Turns out I had a corrupted highscore file in /home/zaurs/.lgames/ltris.hscr Once I removed that things started to work just fine. Now I can burn battery with abandon and get absolutely nothing done.
-
here is my list of fix for ltris
http://www.iaccarino.de/silvio/zaurusstuff.htm (http://www.iaccarino.de/silvio/zaurusstuff.htm)
look for ltris
you will need zports sdl
download from this site zports sdl
http://webpages.charter.net/cresho/turbo-nes-snes.zip (http://webpages.charter.net/cresho/turbo-nes-snes.zip)
install
libmad_0.15.0b-zports-0_arm.ipk
libSDL_1.2.6-zports-5_arm.ipk
libSDL-mixer_1.2.6-zports-0_arm.ipk
then in the console you need to do this.
su
chown -R zaurus:qpe /home/zaurus/.lgames
chmod 700 /home/zaurus/.lgames
you need to do the above or it will not work.
-
Few questions:
1. lgeneral seems to be memory hungry - it crashes (to be exact: it closes itself without error) a lot. Sometimes I get Low Memory warning and I have to close lgeneral. Adding swap file to SD card didn't help (it crashes but memory applet is green).
2. My "saves" doesn't seems to be saved anywhere.
Save are saved to .lgames directory (after chowning and chmoding the directory).
Thanks in advance for any help
Kind regards,
Raul