READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Star Crusader (WIN95/DOS) Archive Formats (GL, PAK, VL, SL)

Old posts about game archives and other formats.
Post Reply
Darkfox
VVIP member
VVIP member
Posts: 688
Joined: Fri Jul 04, 2003 6:11 pm
Has thanked: 33 times
Been thanked: 16 times

Star Crusader (WIN95/DOS) Archive Formats (GL, PAK, VL, SL)

Post by Darkfox » Sat Jul 29, 2006 10:02 pm

Ok, I know, another request from me, just somthing I thought I'd dig up, it's an oldie alright, it is a space shooter back from way then that just recently DosBox now supports. The closest thing to supporting it is Dragon Unpacker from back when I requested it, but that support got buggy somehow. In any case here is one of the GLs, broken up thanks to WinRAR.
You do not have the required permissions to view the files attached to this post.

Darkfox
VVIP member
VVIP member
Posts: 688
Joined: Fri Jul 04, 2003 6:11 pm
Has thanked: 33 times
Been thanked: 16 times

Post by Darkfox » Sat Jul 29, 2006 10:03 pm

Second part of RAR here. I wonder if there is a faster way than having to break them up? O_o

Edit: I'm in no hurry at all, I'm just quite interested, and it seems to have it's own texture format.
You do not have the required permissions to view the files attached to this post.

Darkfox
VVIP member
VVIP member
Posts: 688
Joined: Fri Jul 04, 2003 6:11 pm
Has thanked: 33 times
Been thanked: 16 times

Post by Darkfox » Tue Aug 01, 2006 7:24 pm

Ok, found a place for the big files.

This is NSP4D.GL, the largest archive file for Star Crusader: http://www.yousendit.com/transfer.php?a ... FC4E326AFA

I'm not too sure what it contains, but what it seems to have is some WAVs but other than that it seems to have the largest portion of data, anything from textures to perhaps the main scripts. Whatever it contains, it is plenty large.

Edit: Ok I take that back, the BRIEFSND.SL is the largest. O_o But I know what that is I believe. The voices during briefing, I think o_O.

Darkfox
VVIP member
VVIP member
Posts: 688
Joined: Fri Jul 04, 2003 6:11 pm
Has thanked: 33 times
Been thanked: 16 times

Post by Darkfox » Fri Oct 20, 2006 12:38 am

I know this is a topic kick, I may reupload the big file if it is neccesary. I do not know if there is any compression. Not sure. Originally Dragon Unpacker's author looked into it. Ever since the silence it has been unable to read these datafiles.

User avatar
Mr.Mouse
Site Admin
Posts: 4041
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 412 times
Been thanked: 561 times
Contact:

Post by Mr.Mouse » Fri Oct 20, 2006 10:27 am

Code: Select all

# MexScript for Star Crusader *.GL files
# by Mr.Mouse
# There is something odd at the back of the GL file 
# I investigated. There is a pointer to a tail, 
# along with the number of filenames, that fits the 
# tail section starting from the pointer nicely.
# However, before that pointer there seem to be 
# two more entries that overlap the others. 
# Interesting eh?
Get FNUM Int 0 ;
SavePos TailOffOff 0 ;
Get TailOff Long 0 ;
GoTo TailOff 0 ;
SavePos NO 0 ;
Math FNUM -= 1 ;
For T = 1 To FNUM ;
GoTo NO 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
GetDString FN 8 0 ;
SavePos NO 0 ;
Get SF Long 0 ;
Math SF -= FO ;
Log FN FO SF FOO 0 ;
Next T ;
# The final file 
GoTo NO 0 ;
SavePos FOO 0 ;
Get FO Long 0 ;
GetDString FN 8 0 ;
Math TailOff -= FO ;
Log FN FO TailOff FOO 0 ;
This will open and extract resources from that first GL file you attached.

The picture data does seem compressed, and the format of the pictures is not clear to me, but then I'm no expert. The logo picture for instance is 320x200, that I can gather from the header of the file. And menuart has a number of pictures saved in there, of at least 16x16.
You do not have the required permissions to view the files attached to this post.

User avatar
Mr.Mouse
Site Admin
Posts: 4041
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 412 times
Been thanked: 561 times
Contact:

Post by Mr.Mouse » Wed Oct 25, 2006 8:24 pm

By the way, I noticed you can also open some of the other files inside GL archives with this script. They have the same format. So, you can open "sound" from the NSP3D.GL file and listen to the sounds. And open "music" to extract midi tunes. Just rename them to <name>.mid and listen.

The .DAT files are actually DOS executables compressed using PKLITE. I don't know what they do in the game.

Darkfox
VVIP member
VVIP member
Posts: 688
Joined: Fri Jul 04, 2003 6:11 pm
Has thanked: 33 times
Been thanked: 16 times

Update

Post by Darkfox » Wed Mar 28, 2007 1:19 am

Been a while, sorry, but I finally got back to this.

Yeah, up until Star Crusader support became corrupted in Dragon Unpacker it would recognise the gl extension files within SC. Hm...

Ok, I found the purpose of the DAT files, I used UNP v4.11 to decompress a few and found they refer to the contents of the GL files with extensions. I do believe the DAT executables serve as data handlers and thus is their purpose.

The images I am uncertain of but I'll see what some of the image gurus here can figure out on it. :)
Content of NSP3D.GL as explained in NSP2D.DAT and much inspection by myself.

shapes.gl - 3D Meshes.
textures.gl - textures for each ship.
art.gl - Artwork other than textures, likely brief screens?
vnfs.gl - Uncertain but has somthing to do with 3D objects, perhaps data on the objects such as strength?
3dscript.ptf - text file
windress.gl - space background textures
sound.gl - Contains standard RIFF WAV files for sound commons in gameplay like lasers and explosions. :)
faces.gl - Faces of people in the briefings and etc
music.gl - standard MID files.
boom1.gl - explosion animation?
boom2.gl - explosion animation?
boom3.gl - explosion animation?
I'll check into more of the datafiles later and produce more explanations.

Oh and thanks Mr. Mouse. This is pretty great! Right now I'm attempting to figure out what kind of textures this game uses. Considering the game uses MIDI and WAV files... hm... I'll go get a second opinion on this. O_o

All I've realised in images is that they end in 12345..etc and ABCDEF..etc serving purposes I have no clue about.
Crusader.gl contents explained... sorta

logo.??? - SC image
menuart.??? - SC image
newfont.gl - (FONT.[fnt?] and IMAGE.??? [images of the fonts?])
missions.??? - Mission data.
rooms.gl - Rooms. Contains SC images.
specs.tf - Ship specs file. What shows up in it's infoscreen.
sb-main.mid - Sound Blaster version of main music.
sC-main.mid - Sound Canvis version of main music.
PDB.(tf or ptf) - Alien biographies/weapon info/etc
MBSCRIPT.(tf or ptf) - Main Briefing Script
pal_3d.(pal?) - Palette
empire.??? - Unknown
rebel.??? - Unknown
debrief.gl - Contains 2 image files (cave and new)
Also I came across that the cinamatics used ingame are FLC and can be played on Quicktime.

Post Reply