Game Development Community

Upgrading from 1.01 to 1.02?

by Toby Haynes · in ThinkTanks · 05/09/2003 (2:44 pm) · 6 replies

Running the new version installer (which I note requires downloading the whole package and not just the updated parts - can you implement the loki_update instead of just using the loki_installer?), the Begin Install fails to be activated. I'm assuming this is because I still have version 1.01 installed. Attempting to run the ./uninstall script in /usr/local/games/ThinkTanks/ gives

/usr/local/games/ThinkTanks/uninstall: line 53: 7364 Segmentation fault "$UNINSTALL" "/usr/local/games/ThinkTanks/.manifest/ThinkTanks.xml" "$1"

I've moved the old version aside for now so I can install 1.02, but I had exactly the same problem with the demo release as well as the full game.

This is on a Mandrake 9.1 Athlon 650MHz running 2.2.21pre and NVIDIA graphic drivers, 128MB ram box.

Thanks, Toby Haynes

About the author

Recent Threads


#1
05/09/2003 (2:46 pm)
Thanks Toby, I'll make sure John (our Linux guru -- I wonder if he's getting tired of me calling him a guru yet :) see this. Better to have the unistall fail than the install, eh? :)
#2
05/09/2003 (2:54 pm)
Ooo! Segmentation fault. Great. Just "rm -rf" the old directory, that is the same as uninstalling ;)
#3
05/10/2003 (7:19 am)
Thanks for actually putting all the game in one directory so that clean up is easier! :-) You'd be amazed how many projects manage to splatter themselves into half a dozen folders...

Is there any chance of seeing an incremental update mechanism for Thinktanks? Downloading everything is fine for people like me on broadband - I can afford to wait a couple of minutes for a new version to arrive. I don't think I'd be quite so happy if I was on a 56k modem... Loki_update has an incremental updater you could have a look at. Vendetta has an automatic patching mechanism. Especially when the total list of files changed from 1.01 to 1.02 looks like:

[root@nexus games]# diff -q -r -s ThinkTanks ThinkTanks-v1.01/ | grep -i differ
| awk '{print $2}' | xargs ls -l
-rw-r--r-- 1 root root 6668 May 9 18:19 ThinkTanks/common/client/cardProfiles.cs
-rw-r--r-- 1 root root 5266 May 9 18:19 ThinkTanks/common/client/cardProfiles.cs.dso
-rw-r--r-- 1 root root 1320 May 9 18:19 ThinkTanks/game/client/ui/demoScreenGui.gui.dso
-rw-r--r-- 1 root root 5250 May 9 18:19 ThinkTanks/game/client/ui/playGui.gui.dso
-rw-r--r-- 1 root root 486528 May 9 18:19 ThinkTanks/game/data/sound/r2.ogg
-rw-rw-rw- 1 root root 219 May 9 18:24 ThinkTanks/ignition
-rw-r--r-- 1 root root 73242 May 9 18:19 ThinkTanks/.manifest/ThinkTanks.xml
-rw-r--r-- 1 root root 10784 May 9 18:19 ThinkTanks/ReadMe.html
-rwxr-xr-x 1 root root 2310868 May 9 18:19 ThinkTanks/ThinkTanks.bin
#4
05/10/2003 (10:40 am)
Whew, wrote a long reply but it looks the the forums lost it. Here is the condensed version.

I'd rather not user Loki Update, here's why:

1) I don't plan to upgrade the clients often. I shouldn't have put out this upgrade; it was unnecessary
2) The loki tools have bugs. Note that your installer crashed. This will add to my support issues.
3) I'd have to build/maintain a separate install package for loki update. Can't use the version from Loki; it is incompatible.
4) It takes time for me to build and test the patches
5) The existing update system (messages,weblinks) would need to be modified to support incremental updates for linux

I'm not ruling it out quite yet...it all depends on the frequency of updates. If I need to do more than one more update for ThinkTanks, I'll probably revisit this. I'm hoping full downloads are just an inconvenience for broadband users. For modem users, it is bad...are there any out there on Linux?
#5
05/11/2003 (11:40 pm)
Hi John,

I'm one of the poor souls using a 56K modem under Linux 8)

I just used wget to grab thinktanks 1.01 so it wasn't a big deal. I just went and did something for 40 minutes or so.

And I couldn't see this being an issue for anyone with broadband.

Just my two cents.

Also, sincere thanks for the GNU/Linux version of this game ! 8)

Regards,
Stuart.
#6
05/12/2003 (9:04 am)
Zounds! It sounds like you were able to workaround ok, but still that sucks. It just boils down to the frequency of updates. Hopefully there will be at most one or two more, spread out over a few months.