LGeneral en Ubuntu

Posted: domingo, 2 de diciembre de 2012 by Termita in Etiquetas: , , , , , , ,
0




1)Using synaptic install:
lgeneral
lgc-pg

Lgeneral package installs:
a) lgeneral ( binary executable ) in /usr/games
b) /usr/share/games/lgeneral folder
c) doc in /usr/share/doc/lgeneral

lgc-pg installs:
a) lgc-pg ( binary executable ) in /usr/bin
b) /usr/share/games/lgc-pg folder
c) /usr/share/doc/lgc-pg folder
d) man in /usr/share/man/man6

2) open a console and type "lgeneral" just to check that the binary is working.
Remember, we don't have any installed scenario yet
Exit the game.

3) from
http://lgames.sourceforge.net/index.php?project=LGeneral
download "pg-data.tar.gz"
Untar and unzip it to your home directory.
You now have the "pg-data" folder in your home dir


4) Installing the data:
Obviously, the person who created the lgc-pg Ubuntu package ( thanks to him/her ) did a few small mistakes, but we'll correct them.
So, with the "sudo nautilus" command open the pg-data folder and rename the following files:
flags.shp to FLAGS.SHP
tacicons.shp to TACICONS.SHP
explode.shp to EXPLODE.SHP
tacmap.shp to TACMAP.SHP
scenstat.bin to SCENSTAT.BIN

Now, we are ready to install the data using the lgc-pg program.
lgc-pg needs 2 directories:
a) the source directory ( where the pg-data dir is located. In our case, our home directory )
b) the destination directory ( where to install the data, in our case, /usr/share/games/lgeneral )
So, open a console and type ( in 1 line )

sudo lgc-pg -s /home/YourHomeDirectory/pg-data -d /usr/share/games/lgeneral

If successful, that's the message you should get:
LGeneral Converter for Panzer General (DOS version) v0.32
Copyright 2002 Michael Speck
Released under GNU GPL
---
Settings:
Source: /home/bourdouj/pg-data
Destination: /usr/share/games/lgeneral
Use Individual Palettes
Converting:
nation database...
nation flag graphics...
unit data base...
unit graphics...
terrain database...
terrain graphics...
maps...
scenarios...
Done!

Fuente: http://ubuntuforums.org/showthread.php?t=86931
Enlaces: http://lgames.sourceforge.net/index.php?project=LGeneral
http://www.clubzonaoscura.com/estrategia/pg1/
http://panzergeneral.wikispaces.com/Rules+-+Basic+concepts

0 comentarios: