Page 1 of 1

Earth series .wd files?

Posted: Thu Oct 26, 2006 5:19 pm
by Spuddy
I would be very interested in the .WD archives for the DOS version of Earth 2140.
They seem to be composed of many different formats, Zlib containing .PCX files and .dat with .pal files (are these pictures with pallette's?) and riff wave formats with strange XingCD movies.

Does any body have any help to create a plugin for this game?

Total Commander and GAUP can decode some of the .wd files but there are many It does not work with.
Available here...

Anyway let me know if you can help.

Posted: Thu Nov 02, 2006 9:12 pm
by Mr.Mouse

Code: Select all

ImpType Standard ;
Get FNum Long 0 ;
SavePos P 0 ;
SavePos C 0 ;
Set J Long 24 ;
Math J *= FNum ;
Math C += J ;
Math C += 4 ;
For T = 1 To FNum ;
GoTo P 0 ;
SavePos FOO 0 ;
Get ROff Long 0 ;
SavePos FSO 0 ;
Get Size Long 0 ;
Get D1 Long 0 ;
Get D2 Long 0 ;
Get D3 Long 0 ;
Get D4 Long 0 ;
SavePos P 0 ;
GoTo C 0 ;
Get FN String 0 ;
SavePos C 0;
Log FN ROff Size FOO FSO ;
Next T ;
This MexScript will work on the main type of WD. Also replace files.

Note that there are different formats of WD. Some are not archives! That's why the plugin would not work!

Re: Earth 2140 .WD Format

Posted: Fri Nov 10, 2006 11:58 am
by Spuddy
Mr Mouse,
Many thanks for the script.
I will spend the next few days testing on Earth 2140 .WD files.
I will let you know how I get on.


:) :) :wink: