Author Topic: Freeciv Questions  (Read 4336 times)

uMP2k

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://
Freeciv Questions
« on: October 02, 2006, 11:15:35 pm »
I have succesfully managed to get the older version of freeciv (1.14.2) running on my C1000 (thanks to anunakin[/b] for the port and the help with how to start a single player game) but so far have not been able to get the 2.1.0beta2 version to work.  

After setting up a 16MB swapfile on my card (see discussion HERE for all the help I got with that  ) I can now start the civserver and the client when in matchbox/openbox but it still seems to run out of memory when I try to join the game I have started and freeciv either freezes or gets killed.

Just wondering if anybody has been able to run this successfully?
My new toy: C1000/pdaXrom/xfce4 and Rox - now I just have to get it all working!.

Other stuff: Axim x50v and a brace of Newtons....!

desertrat

  • Hero Member
  • *****
  • Posts: 743
    • View Profile
    • http://
Freeciv Questions
« Reply #1 on: October 03, 2006, 02:16:40 am »
Quote
Just wondering if anybody has been able to run this successfully?
Works fine (using 256MB swap  )  The graphics on v2 looks gorgeous.

I haven't seriously played a game yet, I just played a few turns putting my units into auto-explore mode.
SL-C3100 / Ambicon WL1100C-CF / pdaXrom 1.1.0beta3 / IceWM

uMP2k

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://
Freeciv Questions
« Reply #2 on: October 03, 2006, 02:42:09 am »
Okay - looks like it is time to increase the size of my swap file and see how things go!
My new toy: C1000/pdaXrom/xfce4 and Rox - now I just have to get it all working!.

Other stuff: Axim x50v and a brace of Newtons....!

uMP2k

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://
Freeciv Questions
« Reply #3 on: October 03, 2006, 10:28:54 pm »
Quote
Okay - looks like it is time to increase the size of my swap file and see how things go!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142937\"][{POST_SNAPBACK}][/a][/div]

Success - well sort of.....

I have increased my swapfile to 96MB and am now able to run Freeciv, although it takes a very very very long time to start up!

The graphics and sounds in the new version are excellent - way better than in 1.14.2.

The only problem I am having now (apart from the time it takes to start a game) is keymapping within the game.  I can move diagonally with the cursor pad but can not work out how to move in a straight line.  In the older version keys 1,3,7 and 9 were mapped to move in straight lines, but I cannot work out how to do it in this version.

Any ideas?
« Last Edit: October 03, 2006, 10:29:39 pm by uMP2k »
My new toy: C1000/pdaXrom/xfce4 and Rox - now I just have to get it all working!.

Other stuff: Axim x50v and a brace of Newtons....!

anunakin

  • Sr. Member
  • ****
  • Posts: 340
    • View Profile
    • http://vivaphp.net
Freeciv Questions
« Reply #4 on: October 04, 2006, 07:46:15 am »
Quote
Quote
Okay - looks like it is time to increase the size of my swap file and see how things go!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=142937\"][{POST_SNAPBACK}][/a][/div]

Success - well sort of.....

I have increased my swapfile to 96MB and am now able to run Freeciv, although it takes a very very very long time to start up!

The graphics and sounds in the new version are excellent - way better than in 1.14.2.

The only problem I am having now (apart from the time it takes to start a game) is keymapping within the game.  I can move diagonally with the cursor pad but can not work out how to move in a straight line.  In the older version keys 1,3,7 and 9 were mapped to move in straight lines, but I cannot work out how to do it in this version.

Any ideas?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=143022\"][{POST_SNAPBACK}][/a][/div]

- I using a 128MB swap partition, remember this is a beta, is normal to a beta eat so much of RAM
- My Freeciv 2.1beta2 have a nice load time, about 5 seconds, but I using pdaXrom 1.1.0r121
- I go make a new package with Cxx00 CFLAGs.. and O3 and some insane CFLAGs
- When new official release goes up... (2.1.0 final release) I go work in a new key mapping for Zaurus, but for now not, use "G" and stylus for "GO" to any place
- I have played for 2 hours without any crash.

Really this new SDL interface is very rich and more fast then older GTK2 version, I have tried compiled SDL in old freeciv 1.14 and 2.0.8, but without sucess...
[img]http://www.vivaphp.net/imagens/rev2.jpg\" border=\"0\" class=\"linked-sig-image\" /]
Anunakin (Marcus Fazzi)

Nokia N900 32GB + microSD 2GB
Nokia N810 w/ microSD 8GB
Nokia 5310 XpressMusic w/ microSD 1GB
HP48GX->Psion Sienna->Palm m130->Tungsten T->Zaurus SL-5500->C3000->C3100 ALL SOLD

My FEED(On Line AGAIN!!!)

uMP2k

  • Jr. Member
  • **
  • Posts: 79
    • View Profile
    • http://
Freeciv Questions
« Reply #5 on: October 04, 2006, 10:46:56 am »
Anunakin - I have now spent a couple of hours myself playing the beta release and can confirm that it is running fine without any crashes using a 96MB swap file on my SD Card.

The graphics really are pretty amazing and once the game is loaded it is no slower than the 1.14 version.

All I can say is "great work" and thanks for the help getting it going!
My new toy: C1000/pdaXrom/xfce4 and Rox - now I just have to get it all working!.

Other stuff: Axim x50v and a brace of Newtons....!

anunakin

  • Sr. Member
  • ****
  • Posts: 340
    • View Profile
    • http://vivaphp.net
Freeciv Questions
« Reply #6 on: October 04, 2006, 11:52:44 am »
Quote
Anunakin - I have now spent a couple of hours myself playing the beta release and can confirm that it is running fine without any crashes using a 96MB swap file on my SD Card.

The graphics really are pretty amazing and once the game is loaded it is no slower than the 1.14 version.

All I can say is "great work" and thanks for the help getting it going!
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
I just compiled a Cxx00 version, this is more fast then generic, try it!
[a href=\"http://zaurus.vivaphp.net/pdaxrom/misc/freeciv-cxx00_2.1.0-beta2_armv5tel.ipk]freeciv-cxx00_2.1.0-beta2_armv5tel.ipk[/url]

Flags used:
CFLAGS="-mtune=iwmmxt -march=iwmmxt -mcpu=iwmmxt -fsigned-char -O3 -pipe"
« Last Edit: October 04, 2006, 11:53:16 am by anunakin »
[img]http://www.vivaphp.net/imagens/rev2.jpg\" border=\"0\" class=\"linked-sig-image\" /]
Anunakin (Marcus Fazzi)

Nokia N900 32GB + microSD 2GB
Nokia N810 w/ microSD 8GB
Nokia 5310 XpressMusic w/ microSD 1GB
HP48GX->Psion Sienna->Palm m130->Tungsten T->Zaurus SL-5500->C3000->C3100 ALL SOLD

My FEED(On Line AGAIN!!!)

raduga

  • Full Member
  • ***
  • Posts: 129
    • View Profile
    • http://
Freeciv Questions
« Reply #7 on: October 04, 2006, 12:34:01 pm »
Quote
[
- I using a 128MB swap partition, remember this is a beta, is normal to a beta eat so much of RAM
- My Freeciv 2.1beta2 have a nice load time, about 5 seconds, but I using pdaXrom 1.1.0r121
- I go make a new package with Cxx00 CFLAGs.. and O3 and some insane CFLAGs
- When new official release goes up... (2.1.0 final release) I go work in a new key mapping for Zaurus, but for now not, use "G" and stylus for "GO" to any place
- I have played for 2 hours without any crash.

Really this new SDL interface is very rich and more fast then older GTK2 version, I have tried compiled SDL in old freeciv 1.14 and 2.0.8, but without sucess...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=143040\"][{POST_SNAPBACK}][/a][/div]

I've been poking at key-mapping for some time-
I've ended up just patching the source.

What I use is:

map F1-F10  to number keys: 1-0
map u/d/l/r to N/S/E/W
map shift-up/shift-down/shift-left/shift-right to NW/SE/SW/NE

Not perfect, but it works pretty well.

Also, for a GUI game-startup (and other bits like civpedia)
its helpful to keep a copy of the GTK client handy-
its rather more awkward to actually play with, but still has lots of things
that havent been implemented in the SDL client yet.

After the next release, I'll be investigating one of two paths:
revisiting the 640x480 hack, to make the GTK client fit on zaurus screen
or implementing some of the missing features in SDL,
and also an "official" Zaurus keymap patch.