Civilization II


Forum: Games
Topic: Civilization II
started by: ke4nt1

Posted by ke4nt1 on Jan. 12 2005,08:28
Here is a screenshot of a game in Civilization II - M$ version- under wine.
It breaks..  It has a problem with the text fonts used in the game.
Nevertheless, maybe someone can work on the bugs..
One of the greats.. Sid Meyer = Genius
This would be an awesome performer.
Look at freeciv for your "civ" fix.

Screenshot


73
ke4nt

Posted by wolfpeach on Jan. 13 2005,22:15
Hi there - I'm trying to remaster a version of dsl to include freeciv...

wonder if you could advise? (also wonder if you would be interested in a *game* or three once I've got this set up - have a half dozen other strategy game-heads interested)

Havent had much luck yet (made a fair few coasters..  ??? ).  But looking at the blurb on the welcome html page, it says that you can just put the .gz files in the root directory of the cd and it will automatically install them...  Question is, I know how to get the .deb files from the debian woody download site, but how do I change them into the correct .gz files??

Posted by ke4nt1 on Jan. 14 2005,00:03
Search the forum, or look in the documentation on Drupal
for the famous " deb2dsl " script.

This will take your downloaded, installed .deb files,
and make them into a .dsl file to begin working on.

Other than a few adjustments I like to do,
very often the output .dsl file is ready to test run..

Adding icons, and making wrappers or startup files
is done afterwards when rebuilding the .dsl file.

...and I'm always interested in more games,  :)

The deb2dsl will get you started in learning howto make
extensions to contribute to the repository.

73
ke4nt

Posted by wolfpeach on Jan. 14 2005,10:14
thanks ke4nt -

that sounds loads of fun... but I cant find the deb2dsl script, or drupal. I've searched the forum, and googled for it, but no joy.  where do i find the script (and any documentation that might go with it.?)

cheers,
wolfpeach

Posted by clacker on Jan. 14 2005,12:53
You can find it by searching the forums.  Search all forums and from the beginning.  It's here in this < deb2dsl testers needed post >

The script is great and it works most of the time, but if I remember correctly, I had a problem with freeciv.  I had to use a different, slightly more involved method.  I made a deb of freeciv a while ago but it's been removed from the repository because some people had some problem with it using all of the cpu.

Posted by ke4nt1 on Jan. 14 2005,14:40
:(

It was working for me, most of the time..

I wonder...   we've made some changes since then..so have they..
( the new beta is nice ! )

Have you made any changes to it since your submission, clacker...

Sure would like to make this go...  civ II under wine barfs..

73
ke4nt

Posted by wolfpeach on Jan. 15 2005,17:06
Ke4nt -

Tried the deb2dsl script you suggested - played around with it a bit, using different editors to copy & paste etc (nano worked best in the end...) and keep getting the same sort of error message. (see below) Similar problem to chris.

Could this be anything to do with the freeciv client version I'm using (freeciv-gtk)? Or is DSL missing some essential bits that need to be added before this will work?? And how could I find out what bits were needed?

Not sure what's happening.  I'm fairly convinced that I've got the script accurate.

error message:

dsl@box:~$ ./deb2dsl
./deb2dsl: line 50:  : command not found
./deb2dsl: line 50:  : command not found
./deb2dsl: line 50:  : command not found
./deb2dsl: line 50:  : command not found
./deb2dsl: line 50:  : command not found
./deb2dsl: line 50:  : command not found
./deb2dsl: line 50:  : command not found
./deb2dsl: line 50:  : command not found
./deb2dsl: line 58:  : command not found
./deb2dsl: line 58:  : command not found
./deb2dsl: line 58:  : command not found
./deb2dsl: line 58:  : command not found
./deb2dsl: line 58:  : command not found
./deb2dsl: line 58:  : command not found
./deb2dsl: line 58:  : command not found
./deb2dsl: line 58:  : command not found
./deb2dsl: line 86: /tmp/mydsl.menu/$package_name: ambiguous redirect
tar: bad: Cannot stat: No such file or directory
tar: parameters: Cannot stat: No such file or directory
tar: (see: Cannot stat: No such file or directory
tar: man: Cannot stat: No such file or directory
tar: whiptail(1): Cannot stat: No such file or directory
tar: for: Cannot stat: No such file or directory
tar: details): Cannot stat: No such file or directory
tar: ./tmp/mydsl.menu/whiptail\: bad parameters (see man whiptail(1) for details     ): Cannot stat: No such file or directory
rsh: whiptail: Name or service not known
tar (child): whiptail\:: Cannot open: Input/output error
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
rm: cannot remove `/tmp/mydsl.menu/whiptail:': No such file or directory
rm: cannot remove `bad': No such file or directory
rm: cannot remove `parameters': No such file or directory
rm: cannot remove `(see': No such file or directory
rm: cannot remove `man': No such file or directory
rm: cannot remove `whiptail(1)': No such file or directory
rm: cannot remove `for': No such file or directory
rm: cannot remove `details)': No such file or directory

Posted by clivesay on Jan. 15 2005,17:18
What web brower are you using? Dillo will corrupt the script. You want to make sure you are using Firefox.
Posted by wolfpeach on Jan. 15 2005,17:23
hmmm. Nope, it isnt the freeciv-gtk client.  just used apt-get remove to get rid of it, and replaced it with the freeciv-xaw3d version.  Exact same error message. Any ideas?

All the best,
Wolfpeach

Posted by wolfpeach on Jan. 15 2005,19:05
Thanks Chris - that made a big difference!

Some progress to report now!  

I used firefox to copy the script (with nano again - using v 0.9 so no scite) and it worked first time.  Made a freeciv.dsl file - which I copied to the hard-drive (hda3).

Rebooted with 'dsl mydsl-hda3' as the option, but didnt work.  Didnt appear on the menu, and doesnt work from the command line (which afaik is the only way to run freeciv anyway)

Wondering if this is because there are 2 progs here - the server and the client - and both with dependants.  Will try again as 2 .dsl files instead of one...

Wolfpeach

Posted by wolfpeach on Jan. 15 2005,19:16
ummm. nope.  tried again just installing the client part of freeciv (freeciv-gtk) and its not possible - its dependant on files contained in the server package - have to have both, even as client.

Here are the packages that are installed:

freeciv-gtk freeciv gdk-imlib1 imlib-base libpng2 libreadline4 libungif4g imlib-progs

and have been made into a .dsl file...

...question is, why isnt it working?  Am I doing sth wrong?

Posted by wolfpeach on Jan. 15 2005,20:32
HA!  Done it :-)

Thanks all for advice / howtos etc (lots of good stuff on these forums if you dig for it!)

OK.  Got a working freeciv.dsl (only taken 6 hours ;-) & In process of putting this onto a dsl cd so that I can pass it out to my non-teccy mates.

Bit I had missed was that in the 3rd input section from the deb2dsl script, I had to enter the exact location/name of the *client* application.  So in the third box, enter "/usr/games/civclient-gtk" and it just works...

(server also works from typing in 'civserver' from a shell)

V happy to share the .dsl - where do I upload it to?

Posted by Envel on Jan. 15 2005,20:55
what version of freeciv is it?
Posted by wolfpeach on Jan. 15 2005,21:33
1.12.0 - its the only version you can use with Debian Woody (stable) (which DSL is based on)
Posted by wolfpeach on Jan. 15 2005,21:38
Hmmm. Having trouble getting this burnt onto a bootable cd...

The intro html says to just put it in the root directory.  Easier said than done!  

If I get this right, what I need to do is to copy the files from a live-cd, add the freeciv.dsl to the root, package the whole lot up as an iso again, and burn onto cd as an image??

I've tried using the mkmydsl script, but it has to be done from ram, and I dont really have enough.  Also done on a windows pc where I cant create a new linux drive...

A 'how to' somewhere would be v nice!  

help!

Posted by clacker on Jan. 15 2005,23:36
WolfPeach, That's great!  I'm glad you got it to work.  It's a lot of fun making dsl and contributing.

As far as adding it to the root directory of the cd, you have a few choices.  If you create your base DSL CD as a multisession CD, you can go back and add another track.  You can  either put your dsl on the top level of that track (and have it always loaded automatically) or add it an /optional directory (and be able to load it when you want to from the menu).

Your other choice is to look into remastering the CD.  It's more involved and if your happy with everything else like the background and the window style, it's not needed.

You can look here for < multisession CD recording > or at thread for< Remastering How To for DSL >

Posted by wolfpeach on Jan. 16 2005,19:02
Clacker - thanks for the info on multisession cd burning - remastering is interesting, but the number of coasters I'm making is stacking up here!  Maybe save remastering for a rainy day...

Also, just getting cdrecord to play nicely is giving me wrinkles!  :p

I've followed the suggested commands from the guide, but made 2 coasters so far...  My capacity for masochism is limited, so I prefer gui aps where there is a lot of complex or fiddly command line stuff to do, so I tried to do the first bit of burning under Knoppix 3.6 and used k3b to burn an iso of the base system (9.2), with the 'multisession' option ticked.

Looking at the debug info, this worked ok, and the cdrecord command created by k3b showed up as:

/usr/bin/cdrecord.mmap -v gracetime=2 dev=0,1,0 speed=4 -tao driveopts=burnfree -eject -multi -xa /mnt/hda3/dsl-0.9.2.iso

And produced a bootable dsl disk.   :)  All well and good...

Problems started when I tried to add the freeciv.dsl to it.  Using the default settings in k3b produced a coaster.  Think I should have added it as an additional iso rather than a data file. Knoppix also playing up and freezing on me a lot (how do computer systems KNOW when you are tired and frustrated??!)

Try again...  This time after burning the initial image, I rebooted, bypassed KDE, straight into a root prompt and did all from the command line.

# cdrecord -msinfo dev=0,1,0
0,36422
# mkdir newcd
# cp -r /mnt/hda3/freeciv.dsl newcd
# mkisofs -J -r -C 0,36422 -M 0,1,0 -o second.iso newcd
# cdrecord -v dev=0,1,0 -eject second.iso

Again, this produced an unbootable coaster.  :(    One thing I noticed is that the cdrecord command suggested in the multisession howto thread is v sparse - it defaulted to a write speed of X40, which felt far too fast for accurate copying, so will try again first of all simply adding speed=4 to the command...  

Is there not a more detailed 'how to' anywhere?  This all seems to be insanely complicated!! (or have I just been unlucky / stoopid??)  Are there any K3b settings I ought to have tweaked?  I have rarely had any luck with using cdrecord - seems to be one of those apps that require uber-geek status to control properly. And whilst I can no longer call myself a noob, I'm still more of an 'unter-geek' ;-)

btw, the freeciv.dsl seems to work fine when saved to HDD and loaded via the Mydsl button in elfm - how do I submit it?  Couldnt find the page.

Posted by wolfpeach on Jan. 16 2005,20:43
OK.  Tried again.  Went back to the start and followed the CD multisession remastering 'how to' to the letter.

Here goes.  First booted with dsl 0.8.4

$ sudo su
# mkdir newcd
# cp -Rp /cdrom/KNOPPIX newcd
# mkisofs -J -r -b KNOPPIX/boot.img -c KNOPPIX/boot.cat -o mydsl.iso newcd

At this stage I got:

"mkisofs: Uh oh, I cant find the boot image 'KNOPPIX/boot.img'!"

Looks like the KNOPPIX compressed f.s. needs to be mounted first before this will work. Here we go again...  ???

Posted by ke4nt1 on Jan. 16 2005,21:01
Just a thought - CDRW's are really handy here..  :)
Your very close, but yes, the second session ALSO needs to be an .iso image,
if your using the cdrecord msinfo offset to add to the additional files.

But when using k3b, as long as you have the multisession ticked
on the second session as well, and are just appending to the disk,
you should be OK.

We have k3b for DSL.. It works fine for me...

But..

Read the latest post on mkmydsl.  Especially PAGE TWO !
< http://damnsmalllinux.org/cgi-bin....t=4120; >

This will allow you to create your own custom .iso file to burn, without all the coasters,
and without all the reburning .. It is SO easy..  your missing out..

You can even bootup using this "mydsl.iso" BEFORE burning it to disc.
( use " dsl bootfrom=/path/to/mydsl.iso "  at boottime from LiveCD bootup )
...just to be sure!

Sure would save you a LOT of frustration with multisession burns..
Let DSL do all the merging for you..  

73
ke4nt

Posted by wolfpeach on Jan. 16 2005,22:52
Thanks ke4nt.

Sadly the frustration continues!  The mkmydsl script does not work for me.  Comes up with a whole load of errors about file permissions whilst copying over the KNOPPIX file system, and fails to make a usable iso... Any ideas?  I've been banging my head against this all weekend.  :(

Posted by wolfpeach on Jan. 16 2005,23:40
Fan-bloody-tastic!  I've done it.  At last...  <crazed laughter>
</crazed laughter>

The problem with the mkmydsl script was caused by my using a machine that had no native linux partitions (Win XP with fat32) , and using a folder on one of them to store the .dsl files and the KNOPPIX master.  Hence all the hassles with file permissions.  Delta-9 explains it here:

< http://damnsmalllinux.org/cgi-bin....4;st=10 >

My solution:

# mkdir /home/mydsl/source

copy all the .dsl files there.

Run mkmydsl (having booted with the 'dsl 2 toram' option) and give the /home/mydsl/source folder as the location.  Worked fine.  And still specified the fat32 partion as the destination for the finished iso.  Worked a treat. No problem.

One thought on all this - this is a fantastic (and fantastically easy) way of expanding DSL.  But a lot of noobs will be put off because they will not already be using a machine with native linux partitions (otherwise they wouldnt be noobs...). And they wont understand why the damn (small) thing does not work. My guess is that 95% of new linux users trying out DSL will be using a live-cd on a windows pc. They will get nasty file permission errors, maybe burn coasters, and go off grumbling about how crap DSL is.  I nearly did!  This should be prominent in the documentation, as it is a nasty hurdle to lots and lots of fun with this marvellous distro. (happy to write a walkthru!  :D  )  

The stuff on the welcome screen about 'just copy files to the root of the cd' is so misleading!  I've spent the best part of a weekend trying to do it, and been round the houses serveal times trying all sorts of complex remastering and command line coaster creation before being scuppered by that one piece of missing knowledge about the working of the mkmydsl script with non-linux partitions... phew.  Excuse rant!  I think that DSL is wonderful, but am just a little ragged from sleep deprivation!

Posted by ke4nt1 on Jan. 16 2005,23:47
Are you running the mkmydsl as user root ?
Are you using ext2 partitions, or windows partitions?

Root user doesn't care about ownership, unless your writing to
fat16/32 partitions, which can't transfer perms correctly..

If so, this could be a cause of frustration for all your symptoms..

EDIT   ...oops  you posted already ..  :o

as you have found out, this is a LINUX operation,
and does not mix with winblows..

73
ke4nt

Posted by wolfpeach on Jan. 17 2005,00:03
Too right!  Good night!  Thanks again - off to bed now b4 I turn into a pumpkin...  :p
Posted by clacker on Jan. 27 2005,15:06
I saw on the < FreeCiv homepage > that they are releasing a 2.0.0 version.  It looks pretty good, but they say it's still beta for a little bit longer.  I thought they had closed up shop for some reason.
Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.