Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Raider Z

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
pixellegolas
ultra-veteran
ultra-veteran
Posts: 423
Joined: Mon Aug 11, 2008 11:30 pm
Has thanked: 27 times
Been thanked: 15 times

Raider Z

Post by pixellegolas »

The contents of this post was deleted because of possible forum rules violation.
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 137 times

Re: Raider Z

Post by WRS »

The contents of this post was deleted because of possible forum rules violation.
Useful tool links:
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Raider Z

Post by chrrox »

Can you post the specs of the archive if you know them is it some kind of xor?
pixellegolas
ultra-veteran
ultra-veteran
Posts: 423
Joined: Mon Aug 11, 2008 11:30 pm
Has thanked: 27 times
Been thanked: 15 times

Re: Raider Z

Post by pixellegolas »

nice, will try this later. hoping we can get models moving soon :)
iaw
advanced
Posts: 52
Joined: Wed Oct 21, 2009 12:52 pm
Has thanked: 9 times
Been thanked: 10 times

Re: Raider Z

Post by iaw »

thx,I download the 1.45 version, Extract all files.
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 137 times

Re: Raider Z

Post by WRS »

pixellegolas wrote:nice, will try this later. hoping we can get models moving soon :)
the elu files are models, ani files are animations.
the elus differ from gunz in that their texture information is in a seperate xml file but the format looks quite similar. i couldnt spend much time on this, but when comparing the versions, i was able to extract the vertex information, which hasn't changed from the other versions. hope to work on this soon, as the realspace engine will be used in gunz 2.


the mrs archive is a zip format with the headers with some byte shifting (see bottom function curtosy of aluigi).

Code: Select all

get SIZE asize
log MEMORY_FILE 0 SIZE

comtype deflate

for

	savepos POS MEMORY_FILE
	
	math EOH = POS
	math EOH += 30

	for i = POS < EOH

		callfunction decbytei

	next i

	idstring "PK\x03\x04" MEMORY_FILE
	
	get VERSION 	short MEMORY_FILE
	get BITFLAG 	short MEMORY_FILE
	get COMPVER 	short MEMORY_FILE
	
	get FILEMOD	long MEMORY_FILE
	get CRC32 	long MEMORY_FILE
	get CSIZE 	long MEMORY_FILE
	get USIZE 	long MEMORY_FILE
	
	get FNAMELEN 	short MEMORY_FILE
	get EXTRALEN 	short MEMORY_FILE
	
	math EOFN = EOH
	math EOFN += FNAMELEN
	
	for i = EOH < EOFN

		callfunction decbytei

	next i
	
	getdstring FNAME FNAMELEN MEMORY_FILE
	getdstring EXTRA EXTRALEN MEMORY_FILE
	
	savepos POS MEMORY_FILE
	
	math POS2 = POS
	math POS2 += CSIZE
	
	if COMPVER == 0
	
		log FNAME POS USIZE MEMORY_FILE
		
	elif COMPVER == 8
	
		clog FNAME POS CSIZE USIZE MEMORY_FILE
		
	endif

	goto POS2 MEMORY_FILE

next

startfunction decbytei

	getvarchr BYTE MEMORY_FILE i
	math TMP = BYTE
	math TMP >>= 3
	math BYTE <<= 5
	math BYTE |= TMP
	math BYTE ^= 0xff
	putvarchr MEMORY_FILE i BYTE

endfunction
the data is either deflate or raw, and offzip can extract the files.

Code: Select all

offzip -a -z -15 file.mrs . 0


edit:

can you upload and texture mrs files? or the client.exe? i cant download the beta.
also are there and .pdb files with the client :mrgreen: ?
You do not have the required permissions to view the files attached to this post.
Useful tool links:
chrrox
Moderator
Posts: 2602
Joined: Sun May 18, 2008 3:01 pm
Has thanked: 57 times
Been thanked: 1422 times

Re: Raider Z

Post by chrrox »

ah cool thanks for posting the code i found this formula o another site for gunz but i dint know how to make it into bms.
i got bones loading the rest should not be hard.
You do not have the required permissions to view the files attached to this post.
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 137 times

Re: Raider Z

Post by WRS »

chrrox wrote:i got bones loading the rest should not be hard.
from what file?

also, still looking for cbt client download links. the official one no longer works (http://file.nowcdn.co.kr/down/NeowizGam ... 081113.exe)
Useful tool links:
WRS
ultra-veteran
ultra-veteran
Posts: 603
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 137 times

Re: Raider Z

Post by WRS »

gotten any further with those bones?

i cant make much sense of the face information - there are vertex and uv indexes (both tables are easy to read), and some seem to repeat themselves. its also fustrating to see maiet updating their elu format without changing the version with 0x5007 elu files.
Useful tool links:
Post Reply