maemo.org - Talk

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

mikkov 2008-10-02 10:50

Re: New Port: FreeCiv SDL
 
Freeciv is now in extras

notladstyle 2008-10-07 06:34

Re: New Port: FreeCiv SDL
 
just installed, gonna give it a spin.

mikkov 2008-10-07 09:03

Freeciv requires swap to work. I don't know if it was mentioned earlier

Bundyo 2008-10-07 12:26

Re: New Port: FreeCiv SDL
 
It was i think. As Wormux.

Knut55 2009-01-21 18:34

Re: New Port: FreeCiv SDL
 
Hy i download Freeciv2.1.3-2armel for my 770
(newer versions ar not compatible)
as i install the Installclient needs two more Files:
libc6(<=2.5.0-1)
Libfreetype6(<=2.2.1)
i found some files like this with the names:
libc6_2.7.10_armel
libfree6_2.3.5-1 for armel
my Installclient says this are not compatible.
where can i find the missing files??
Thanks for Help
Knut

mrgreaper 2009-01-21 22:07

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by Karel Jansens (Post 143595)
Why write all these ports for the N8X0 which, at best, will give you a half-arsed gaming experience?

Just wait two months and write ports for a true gaming system, the Pandora. You know, a system that actually has controls to play the games?

because some of us have n800s and will not be able to afford new devices for some time you pompus arse

these apps are apreciated by those of us with n800s and limited budgets it amazes me the amoount of effort people go to to provide stuff for free to the masses

nobodysbusiness 2009-02-19 01:39

Re: New Port: FreeCiv SDL
 
i've been playing civ for a while now, and there's only one thing that i haven't yet figured out how to do. Is it possible to open the civilopedia for wonders? I'm not obsessed enough yet to have them memorized. :)

mikkov 2009-02-20 22:34

Re: New Port: FreeCiv SDL
 
Hmm, how do you normally access civilopedia? And how would you like to access it?

nobodysbusiness 2009-02-21 02:38

Re: New Port: FreeCiv SDL
 
If I'm in the main map area, I can tap-and-hold over a square to open the advanced menu. In this menu, I can show the terrain info, and if there's a unit standing there, I can open the civilopedia for that unit type. I did some reading about the SDL client on a computer, and found that when you're in the screen that allows you to choose what to build, you can click on any building/unit with the middle mouse button to open the civilopedia entry for it. I tried the tap-and-hold in that screen, but it didn't seem to work. Is there anything that can be done on a tablet that typically emulates a middle-mouse click? If there is, then that might work here.

As for how I would like to access it, I suppose perhaps tap-and-hold on the building, or maybe a keyboard shortcut if that's easier.

nobodysbusiness 2009-02-21 02:45

Re: New Port: FreeCiv SDL
 
Wait, I did find a work-around. If I get into the civilopedia for units, then I can click the technology that allows that unit to get into the technology section, from there, I can find some technology that allows a city improvement to be built, and get into the city improvements section. Am I missing something obvious here? Is there a simple shortcut available to open the civilopedia browser? If there is... please disregard these messages. :)

mikkov 2009-02-21 06:26

I was just asking because I don't know. I need to try desktop version at some point to see how it works.

Keyboard shortcut is probably possible, but I will probably have to wait until next version

collim 2009-04-01 01:20

Re: New Port: FreeCiv SDL
 
Anyone know how to open the spaceship dialog? I have one all built and can't find a way to launch it :-(

mikkov 2009-04-01 18:39

Re: New Port: FreeCiv SDL
 
Could you post the save file, so I could investigate how it is opened?

collim 2009-04-01 21:25

Re: New Port: FreeCiv SDL
 
1 Attachment(s)
It should be attached.
I just kept building spaceship parts until it said they weren't available anymore so I assume I have a kickass ship just waiting to go.

mikkov 2009-04-02 18:59

Re: New Port: FreeCiv SDL
 
Only way I've found to open spaceship dialog is F12, which means you don't do it with tablet (for now). I may update freeciv at some point. Do you have any other suggestions?

lemmyslender 2009-04-03 01:43

Re: New Port: FreeCiv SDL
 
Using N800 how do you setup worklists for a city?

collim 2009-04-04 00:27

Re: New Port: FreeCiv SDL
 
There's a worklist option in the game menu; the icon at top-left.

As for suggestions:
move the worklist option to the building dialog
move the end turn icon somewhere safe
enable sorting by columns in city report
change colors and fontsize of messages so you can read them
fix crashing when autosaving (I think)
add all the other handy features that the gtk client has

Hope you have plenty of spare time :-)

lemmyslender 2009-04-04 12:20

Re: New Port: FreeCiv SDL
 
Sorry, guess I phrased that wrong. I knew about the worklist, although I can't get an onscreen keyboard up to rename them, or anything else for that matter.

I meant in the city dialog, you can select the production for the city. I can only select one item at a time. Is it possible to create a list of several things for the city to make?

collim 2009-04-04 23:58

Re: New Port: FreeCiv SDL
 
I haven't found a way.

To tell the truth, my feeling is that while the sdl client looks nicer it is far from finished and the gtk client is much better to actually play with.
There is/was a port of the gtk client which worked very well on my 770. I may try to get it running on Diablo if I can get my head round scratchbox.

lemmyslender 2009-04-05 00:19

Re: New Port: FreeCiv SDL
 
OK, Thannks for the info.

ldrn 2009-12-11 08:45

FreeCiv SDL for Fremantle
 
This was my favorite game on the N810 -- thank you so much to Bundyo and Mikkov -- so I was hoping to get it working with the N900. It worked pretty well after removing the maemo-select-menu-location stuff, but tapping the upper left reacted as if the switch button had been hit, so it was impossible to get to preferences; I 'modified it' (read:set up the launch script so it would mess with the config files) so it would run in a window (you can change it to full screen, but it changes back each time you run it).

Anyway, here's my quick and hackish repackaging for the N900; you'll need all three files:


freeciv-client-sdl_2.1.8-0maemo1.0.1_armel.deb

freeciv-server_2.1.8-0maemo1.0.1_armel.deb
freeciv-data_2.1.8-0maemo1.0.2_all.deb
http://rickybrent.com/maemo/fremantle-freeciv.png

REMFwhoopitydo 2009-12-11 10:43

Re: New Port: FreeCiv SDL
 
nice work, thanks.

Corwin 2009-12-11 11:17

Re: New Port: FreeCiv SDL
 
Thanks. A question, though:
Are they optified?

Thanks!
Corwin

ldrn 2009-12-11 14:43

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by Corwin (Post 422528)
Thanks. A question, though:
Are they optified?

No, I only learned what "optified" was just now. :(

I'll be updating that shortly because, well... I ran out of rootfs space. :eek:

Corwin 2009-12-11 15:41

Re: New Port: FreeCiv SDL
 
You made my day :) Thanks a lot for your efforts, it is very much appreciated.
Maybe you can take care to get it into the extras-devel repository (first, testing and extras later))? I am sure qwerty12 can tell you how to do that ;) ;) ;)

Best regards,
Corwin

Flandry 2009-12-11 16:20

Re: New Port: FreeCiv SDL
 
Ah, good job. I had this on my list of games to get onto N900 but now i have one less to work on. :)

You can "optify" it manually or use the utility intended for the purpose. For uqm i just changed the install rules in the debian packaging to copy the files to /opt/uqm instead of /usr/* etc, and then changed the .desktop file to execute the binary in /opt/uqm instead of /usr/....

REMFwhoopitydo 2009-12-11 16:23

Re: New Port: FreeCiv SDL
 
any chance of 2.1.10, or are you sticking to reconverting the OS2008 version? :)

ldrn 2009-12-11 16:38

Re: New Port: FreeCiv SDL
 
I went with manually... duplicating all the work the utility does, I think. Symlinks, the works. :o Wooops. It made sense at the time, honest, although just having the desktop file look to /opt makes a lot more.

Here are optified versions of the files (data probably does not need to be updated, also I edited the post above):

freeciv-client-sdl_2.1.8-0maemo1.0.1_armel.deb

freeciv-server_2.1.8-0maemo1.0.1_armel.deb
freeciv-data_2.1.8-0maemo1.0.2_all.deb

Regarding getting it into extras and updating it -- all I did was modify the diablo version so it would run on fremantle; although I wouldn't mind helping more. I'm not trying to steal Mikkov's project or anything. :) It does look like 2.1.9 (and 10) have some cool new features, though, so I might try that. Mostly I just wanted Freeciv on my tablet again and didn't want to wait.

*edit* Ooops -- I mean Mikkov's! All I did was take *his version* and modify the scripts.:( Wow, that's embarrassing.

Flandry 2009-12-11 17:06

Re: New Port: FreeCiv SDL
 
Mikkov stated that he has no intention of updating this for Fremantle(link), so don't fear that. I had already inquired and discovered that, so whatever you do on this is just progress on the project we all want to see done. No sense in not starting with what works, either.

I do intend on spending time getting this into extras if nobody else does, but i have a responsibility to get uqm fully ported (+universal control == accelerometer/joystick driver) first, so don't wait for me if you want to do it. ;)

Aweb 2009-12-11 17:39

Re: New Port: FreeCiv SDL
 
Yeah, someone should really put it on Extras-testing.

ldrn 2009-12-11 17:44

Re: New Port: FreeCiv SDL
 
Ah -- so he did! Thanks, Flandry... I should have thought to check, too.

Alright, I'll go ahead and give it a shot, then. :) Any time you'd like to take over, though, feel free.

Corwin 2009-12-11 17:57

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by ldrn (Post 423098)
Here are optified versions of the files (data probably does not need to be updated, also I edited the post above):

freeciv-client-sdl_2.1.8-0maemo1.0.1_armel.deb

freeciv-server_2.1.8-0maemo1.0.1_armel.deb
freeciv-server_2.1.8-0maemo1.0.1_armel.deb

You seem to have linked the Server files twice? Which data file is the right one (there are three on the server)?

Thanks,
Corwin

ldrn 2009-12-11 18:05

Re: New Port: FreeCiv SDL
 
Ack, sorry. Fixed the links -- any version would have worked, but I got rid of the extra files now.

Bratag 2009-12-11 20:51

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by ldrn (Post 423264)
Ack, sorry. Fixed the links -- any version would have worked, but I got rid of the extra files now.

Looks like the data is not optified and is installing to /usr/share, thats going to fill the old rootfs pretty quickly.

Would be great if we could get a deb that was optified for that. I really appreciate your work on this. One of my favourite linux games.

ldrn 2009-12-11 21:22

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by Bratag (Post 423571)
Looks like the data is not optified and is installing to /usr/share, thats going to fill the old rootfs pretty quickly.

Would be great if we could get a deb that was optified for that. I really appreciate your work on this. One of my favourite linux games.

Thank you! Mine too. (I love the commercial series, too.)

Even though it looks like it goes to /usr/share/games/freeciv, but it should be putting a symlink to the internal memory (default) or the external memory depending on what you chose when it installed. Of course, something could be going wrong...

I think I can safely have it just install to /opt or MyDocs now, though -- that was a brilliant solution for the N8x0, but we don't need it for the N900 with the huge internal storage. I'll update it to do that soon.

Bratag 2009-12-11 22:04

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by ldrn (Post 423631)
Thank you! Mine too. (I love the commercial series, too.)

Even though it looks like it goes to /usr/share/games/freeciv, but it should be putting a symlink to the internal memory (default) or the external memory depending on what you chose when it installed. Of course, something could be going wrong...

I think I can safely have it just install to /opt or MyDocs now, though -- that was a brilliant solution for the N8x0, but we don't need it for the N900 with the huge internal storage. I'll update it to do that soon.

Well regardless of what I select it still seems to install to rootfs /usr/share.

I guess I can move it and make a symlink - but for those less tech savvy we may have a problem.

mikkov 2009-12-11 22:44

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by ldrn (Post 423631)
Even though it looks like it goes to /usr/share/games/freeciv, but it should be putting a symlink to the internal memory (default) or the external memory depending on what you chose when it installed. Of course, something could be going wrong...

I think I can safely have it just install to /opt or MyDocs now, though -- that was a brilliant solution for the N8x0, but we don't need it for the N900 with the huge internal storage. I'll update it to do that soon.

If you didn't change the postinst script, it installs always to rootfs, because internal mmc location is not the same in N900 as it was in N8x0. It doesn't make sense to use user selectable install location anymore so it's best to use /opt. If MyDocs was used you should check on install time and on startup that it's really usable (not used through usb).

ldrn 2009-12-12 00:31

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by mikkov (Post 423746)
If you didn't change the postinst script, it installs always to rootfs, because internal mmc location is not the same in N900 as it was in N8x0. It doesn't make sense to use user selectable install location anymore so it's best to use /opt. If MyDocs was used you should check on install time and on startup that it's really usable (not used through usb).

Ah... that makes sense. I went with that and did, and sure enough, Bratag was right.

freeciv-data_2.1.8-0maemo1.0.2_all.deb

This version is entirely optified, aside from the program icons.

go1dfish 2009-12-12 00:44

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by ldrn (Post 423863)
Ah... that makes sense. I went with that and did, and sure enough, Bratag was right.

freeciv-data_2.1.8-0maemo1.0.2_all.deb

This version is entirely optified, aside from the program icons.

Thanks for the port, downloading now.

Funny that you mention the program icons.
My icons directory was approaching 40mb already, and given the ridiculously small / partition, I have moved my /usr/share/icons dir to MyDocs and symlinked back, can't wait to see how much havock the first OTA update is going wreak on my customizations :cool:

Bratag 2009-12-12 03:17

Re: New Port: FreeCiv SDL
 
Quote:

Originally Posted by go1dfish (Post 423877)
Thanks for the port, downloading now.

Funny that you mention the program icons.
My icons directory was approaching 40mb already, and given the ridiculously small / partition, I have moved my /usr/share/icons dir to MyDocs and symlinked back, can't wait to see how much havock the first OTA update is going wreak on my customizations :cool:

You should be a tad careful with symlinking rootfs parts to Mydocs - it is definitely mounted later in the boot process as was discovered when someone tried to make a start script for proftpd I ported.

Could be nasty if the system goes for something at boot that isnt there.

That said you should be reasonably ok with icons :)


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

vBulletin® Version 3.8.8