Join also our Discord channel! Click here.

2K Drive WAD

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
User avatar
Chipicao
ultra-veteran
ultra-veteran
Posts: 476
Joined: Thu Feb 03, 2011 11:18 am
Has thanked: 42 times
Been thanked: 304 times
Contact:

2K Drive WAD

Post by Chipicao » Sat May 03, 2014 5:01 pm

A script I came up with to extract image_ios.wad from the game 2K Drive.

Code: Select all

idstring "DAWL"

goto 2048
get PAIRS long
for i = 0 < PAIRS
	get DUMMY1 long
	get DUMMY2 long
next i

get FILES long
savepos FILEDATA
math NAMES_OFF = FILES
math NAMES_OFF *= 48
math NAMES_OFF += FILEDATA
math NAMES_OFF += 4	#NAMES SIZE

for i = 0 < FILES
	get DUMMY long
	get NAME_OFF long
	math NAME_OFF += NAMES_OFF
	get TYPE long
	get DUMMY long
	get OFFSET long
	get ZERO long
	get SIZE long
	get ZERO long	#could indicate compressed/uncompressed
	get ZSIZE long	#untested
	get ZERO long
	get DUMMY long
	get ZERO long
	savepos LASTFILE

	goto NAME_OFF
	get NAME string
	log NAME OFFSET SIZE
	goto LASTFILE
next i
Please post any requests or issues with my tools in the appropriate topics.
I'm sorry if I don't reply or if I ignore PMs. My time is very limited.

Post Reply