maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Games (https://talk.maemo.org/forumdisplay.php?f=12)
-   -   New Port: Wormux (https://talk.maemo.org/showthread.php?t=17523)

Bundyo 2008-03-04 17:38

New Port: Wormux
 
Wormux ported to OS2008, runs... acceptable :) On some maps you'll get 7-10 fps, on others close to 20 fps. Network game works, tried with my home computer and was beaten by myself :) Sound is not working yet... if it is working for you, tell me.

Warning: The game requires swap. Without swap file Wormux dies on map load, sometimes may even reset the device. I won't be held responsible if you break your device.

I'll try to remove the backgrounds to get it to run faster than now.

Okay, screenshot:
http://www.bundyo.org/maemo/wormux/wormux.png

File:
http://maemobox.org/bundyo/wormux_0.8beta4-2_armel.deb
Almost forgot: the file is 50MB.

EDIT: New version is up. Managed to squeeze some more fps. Removed flying particles completely and reduced the number of waves to 1 on water levels.

qwerty12 2008-03-04 17:50

Re: New Port: Wormux
 
Ok thank you but this deb does not install to internal flash right? (I mean the data files)

Bundyo 2008-03-04 17:53

Re: New Port: Wormux
 
It installs to /usr/share/wormux :) you can move it with symlink.

I don't like relocating to the cards, but if everyone wants it - no problem.

qwerty12 2008-03-04 18:01

Re: New Port: Wormux
 
I would like to put in a vote for /media/mmc2/share like ukki uses please?

I can't install it because my flash only has 40MB left. Does the install run any scripts? If not, then I will attempt to unpack it.

Thanks.

Bundyo 2008-03-04 18:07

Re: New Port: Wormux
 
No scripts.

Some people don't have mmc2, you know :)

spirytsick 2008-03-04 19:21

Re: New Port: Wormux
 
Bundy, you're productive guy!! Thanks

ukki 2008-03-04 20:25

Re: New Port: Wormux
 
Bundyo, I found it easiest to make the games look for datafiles from PWD, then make a startup script that checks both cards. If it finds the data, it changes to that dir and runs the executable from /usr/bin. You can copy my postinst/run script from airstrike for example. Just be sure to also add a chown for the data files (which i've forgotten) for people that boot from mmcs. Just a suggestion though :). Thanks for the port, hope you get sound working.

Bundyo 2008-03-05 00:30

Re: New Port: Wormux
 
Update - check the first post.

ArnimS 2008-03-05 19:02

Re: New Port: Wormux
 
Thanks. This one was not going anywhere with me. (though to be fair i was trying with a 770)

Problem with datafiles in debs is they always first get extracted to / tree when dpkg first unpacks the deb - even if you move them to mmc in postinst (afaict). Or can this be done in preinst?

I really don't see a solution to this besides putting them all in a seperate archive that user must download to mmc. Any more ideas on this? Ideally we'd want a game with exe and libs taking only 1-2MB to be able to install on a system with <=4 MB free, while magically putting data files on mmc.

(and /media/mmcX/share is my preference as a standard dir for that type of thing)

(edit) One possibility is to split $game.deb into $game-bin.deb and $game-data.deb and make them non-dependent on each other for pkg-manager.

Users who have sufficient space could then install both debs (from website link, package-manager from repo, or install from file).
For users w/o sufficient space, the game binary would have a launcher frontend which, if gamedata not found, would prompt user to specify location of the downloaded $game-data.deb and extract (ar x) that to the /media/mmcX/share/$game directory. I know that's a bit involved, but I can't come up with a simple solution that works around the core problem of dpkg extracting all the game data to root filesystem first, before package scripting can take effect.

Bundyo 2008-03-05 19:25

Re: New Port: Wormux
 
Or the installer can download them from the web on postinst.
Deb installation fails if it tries to directly unpack the files to vfat (tries to set permissions). Maybe if we can force it to not set them.

bexley 2008-03-05 19:37

Re: New Port: Wormux
 
Wow, anyone else getting a list of application packages missing? OS2008 here with what I thought was every dependency needed for any given game.

libglibmm
libidn11
libsdl-gfx1.2-4
libsdl-net1.2
libsigc++
libxml++

tdk_1988 2008-04-20 18:54

Re: New Port: Wormux
 
yeah i get the same list missing

bobloadmire 2008-04-22 02:57

Re: New Port: Wormux
 
same here, trying to find out where i can download them to my SD card to install, i dont have wifi here.

Bundyo 2008-04-22 05:20

Re: New Port: Wormux
 
http://gronmayer.com/it

Kevlin 2008-04-22 18:47

Re: New Port: Wormux
 
I would love to play this! But, I only have ~30mbs worth of internal flash left and i don't know how to symlink :(

Bundyo 2008-04-22 18:55

Re: New Port: Wormux
 
Sorry, but it needs to be installed first so that you can move it to the card.

jhoff80 2008-04-22 20:07

Re: New Port: Wormux
 
I was trying this for the first time and I think I noticed an issue. If you hit play and then tap on the number of teams, it'll increase it to 3, and then 4 teams, but then there's no way to put it back to 2 teams. Also, is there any way to play against the CPU, or is an online game the best there is?

Bundyo 2008-04-22 20:34

Re: New Port: Wormux
 
I think reducing is done with the right mouse button :)

jhoff80 2008-04-22 20:54

Re: New Port: Wormux
 
So is there any way that I've missed to fake a right click then?

Bundyo 2008-04-22 20:58

Re: New Port: Wormux
 
Nope, but you can click on X and start over. :)

jhoff80 2008-04-22 20:59

Re: New Port: Wormux
 
No, it still retains that setting after I've changed it and close the program and start again.

Bundyo 2008-04-22 21:51

Re: New Port: Wormux
 
Oh, you saved it... maybe in some config files then.

jhoff80 2008-04-23 05:02

Re: New Port: Wormux
 
Well if I'd known it was going to be permanent I'd never have done that :D

Bundyo 2008-04-23 05:23

Re: New Port: Wormux
 
Sorry, but can't do anything right now :(

flypunk 2008-08-06 14:49

Re: New Port: Wormux
 
Hello Bundyo!

Unfortunately the link to mediafire doesn't work for me - I see the "Click here to start download.." button, but nothing happens when I click on it.

Could you please put the file somewhere else or send it to me?

Thanks!

Bundyo 2008-08-06 14:58

Re: New Port: Wormux
 
Link updated :)

free 2008-08-06 15:27

Re: New Port: Wormux
 
A bit late but..

Quote:

the core problem of dpkg extracting all the game data to root filesystem first, before package scripting can take effect.
The script preinst is called if no older version or no conflict found before unpacking

Also there is this option:
dpkg --instdir /path/to/datas datas.deb

Just a few ideas...

cripes 2008-08-07 01:31

Re: New Port: Wormux
 
Quote:

Originally Posted by free (Post 210799)
A bit late but..


The script preinst is called if no older version or no conflict found before unpacking

Also there is this option:
dpkg --instdir /path/to/datas datas.deb

Just a few ideas...

hiya free: do you know if --instdir will work with a FAT filesystem?

Bundyo 2008-08-07 05:24

Re: New Port: Wormux
 
Probably not. Even if it installs correctly, you'll need permissions to run it.

qwerty12 2008-08-07 05:37

Re: New Port: Wormux
 
I'd just shove a few of ukki's brilliant scripts into the post/preinst. desiv has a pimped version where it shows the disk free space on each card too.

Bundyo 2008-08-07 07:14

Re: New Port: Wormux
 
If i do it, I'll probably go with an autodownloading image file, instead of installing first to internal, then moving to external. Then again, i probably won't do it :)

brento 2008-09-09 07:09

Re: New Port: Wormux
 
i have maemo Extras and Testing Maemo Extras installed in application manager but I can't see, libglibmm, libidn11, libsdl-gfx1.2-4, libsdl-net1.2, libsigc++, and libxml++ for installation. I'm not sure what i'm doing wrong. is there a specific pacakge that installs these?

thanks.

Bundyo 2008-09-09 07:36

Re: New Port: Wormux
 
libglibmm, libsigc++ and libxml++ are in Diablo Extras or in Chinook Extras:

libidn11 and libsdl-net1.2 are in Diablo Extras-devel or in Chinook Extras:

libsdl-gfx1.2-4 is in Chinook Extras only :)

brento 2008-09-09 08:07

Re: New Port: Wormux
 
for my catalogs i have the following.

repository.maemo.org
repository.maemo.org/extras
repository.maemo.org/extras-devel

my distributions is chinook and they all are enabled.

but i can't see those specific applications in the installable applications list. is there something else i'm missing?

thank you for your help.

Bundyo 2008-09-09 08:10

Re: New Port: Wormux
 
You can only see them in red pill mode. Don't forget to switch back to blue after you finish with that.

brento 2008-09-11 03:15

Re: New Port: Wormux
 
Bundyo~

Thank you very much for the help. I completely forgot about the red pill mode. Got it installed finally.

alzen 2009-03-24 13:30

Re: New Port: Wormux
 
Hello, I would like to ask about this "port".

Firstly I would like to know what is this topic about. You discuss how to install wormux or you actually ported the game to make it runable on your OS.

In both cases I think the wormux team may be interested in packages for your OS if they differ from Linux ones. I am not Wormux developer but I'm an active member of wormux community and from time to time, map creator for the game.

Our team is very small and every interesting contribution gives us wings :). So, if you ported the game please let me know, or post on wormux forums what you did, or if you used normal Linux packages and installation requires additional steps to be taken you can write How To and support our documentation.

Also, in both cases, we'd be happy if you decide to maintain wormux for this os and keeping your package up to date.

Waiting for some contact.

Bundyo 2009-03-24 15:18

Re: New Port: Wormux
 
Actually this is quite old, there is new port in extras, I think mikkov maintains it.

alzen 2009-03-24 16:08

Re: New Port: Wormux
 
Quote:

Originally Posted by Bundyo
Actually this is quite old, there is new port in extras, I think mikkov maintains it.

Thanks for answer, may you please provide me some URL to the package's page or any contact information to it's maintainer?

I'm asking here because I don't know where to search for software written for your platform and I'm quite short on time. Thanks in advance and once again thank you for such a quick answer.

mikkov 2009-03-24 16:30

Re: New Port: Wormux
 
Source for wormux is found from here http://repository.maemo.org/extras-d...urce/w/wormux/

There is very little modifications. It has 800x480 resolution, some control changes for maemo devices and handling of maemo's taskswitcher.

It is only in extras-devel repository which is not meant for end-users. Reason is that sound doesn't work and even bigger reason is that it requires too much memory. Load times are measured in minutes, it needs 190 MB memory while current maemo devices have 128 MB of RAM.

Otherwise game runs very well (IMHO) on N8x0 devices. After level is loaded frame rate is somewhere around 15 fps (haven't tested for a while).


All times are GMT. The time now is 04:14.

vBulletin® Version 3.8.8