filelist.txt and the autoupdate directory

Catch-all for all development not having a specific forum.
Post Reply
madpeople
Posts: 4787
Joined: Tue Dec 16, 2003 8:00 am
Location: England

Post by madpeople »

I've been playing around with making a tool for downloading and installing mods (think similar to synaptic package manager in linux, only not as well written or as many features like the dependancy managment).

With uninstalling mods, I thought it interesting to be able to pull files from the AU server since some of them change during a FAZ release, and restoring backups would restore ones which may be incompatable with the new release.

I had a look at http://autoupdate.alleg.net/autoupdate/game/filelist.txt , but it doesn't appear to be a plain text file, I'm wondering what the format of it is?
pkk
Posts: 5419
Joined: Tue Jul 01, 2003 7:00 am
Location: Germany, Munich

Post by pkk »

It's called Lempel-Ziv... ;)

Use expand cmd-line tool:

Code: Select all

expand filelist.txt filelist_.txt
http://technet.microsoft.com/en-us/library/bb490903.aspx

All files on AU are compressed by using Lempel-Ziv (compress.exe).
The Escapist (Justin Emerson) @ Dec 21 2010, 02:33 PM:
The history of open-source Allegiance is paved with the bodies of dead code branches, forum flame wars, and personal vendettas. But a community remains because people still love the game.
madpeople
Posts: 4787
Joined: Tue Dec 16, 2003 8:00 am
Location: England

Post by madpeople »

ty
format appears to be

Code: Select all

YYYY/MM/DD HH:mm:ss SIZE_BYTES C_R_C_32 filename.ext
size bytes is padded with leading zeros, CRC may be inverted

I'm guessing the flavour of LZ isn't LZMA? That's the one I chose to use for my tool, if it's not then I guess I will just try invoking the cmd line tool if I can't find a pre-implemented java version.

p.s. I don't think all the files it talks about are compressed, there are a bunch of .pngs which open fine in firefox...
Imago
Posts: 1440
Joined: Tue Sep 23, 2003 7:00 am
Location: Minneapolis, MN
Contact:

Post by Imago »

stop dicking around in java, plug your joystick in, and get on IRC.
Image

These bugs haven't been fixed yet because don't have any developers interested in fixing them up. --Tigereye
Imago's stupid-sensor is supersensitive. --RealPandemonium
The art is managing the flow of the drama to achieve the desired results. --Big_Beta_Tester
joeld wrote:But we’ve been amazed at the level to which some of the Allegiance fans have remained hard-core.
Post Reply