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

Universal Century Gundam Online .DET

Post questions about game models here, or help out others!
leyme
advanced
Posts: 50
Joined: Wed Apr 04, 2012 10:17 am
Has thanked: 10 times
Been thanked: 3 times

Re: Universal Century Gundam Online .DET

Post by leyme »

If someone has already been used, that it is a soluble problem.
leyme
advanced
Posts: 50
Joined: Wed Apr 04, 2012 10:17 am
Has thanked: 10 times
Been thanked: 3 times

Re: Universal Century Gundam Online .DET

Post by leyme »

I settled the problems.
The answer was staring us in the face.
Image
viewtopic.php?p=29676#p29676
Rheini wrote:Well all indications point to zlib, don't they?
Though that 78 5E is quite uncommon.

78 01 - No Compression/low
78 9C - Default Compression
78 DA - Best Compression
viewtopic.php?p=29708#p29708
fatduck wrote:They are zlib compression! I can uncompress them manually!
Try offzip should work!

Code: Select all

C:\offzip.exe -a C:\name.det C:\unpack 0x0
Troopermanaic
advanced
Posts: 71
Joined: Fri Jul 01, 2011 4:29 pm
Has thanked: 5 times
Been thanked: 5 times

Re: Universal Century Gundam Online .DET

Post by Troopermanaic »

Holey cow this thread was revived, ill be watching.. Hoping... waiting =]
EZ-BMS for when you want to work with non-programmers viewtopic.php?f=33&t=10499
If you like what I do then support my coffee addiction https://www.paypal.com/cgi-bin/webscr?c ... 853S265MPW
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Universal Century Gundam Online .DET

Post by finale00 »

I would've thought your admin would have provided at least some information by now.
leyme wrote:I settled the problems.
The answer was staring us in the face.
Nice, there were go lol
There are 8 integers at the end of the file, where the 3rd is the compressed size and the 4th is the uncompressed size.

Code: Select all


#UC Gundam Online .DET decompress

get FLAG short
get NAME FILENAME
if FLAG = 0xDA78
	goto -32
	get unk long
	get unk long
	get ZSIZE long
	get SIZE long
	clog NAME 0 ZSIZE SIZE
else
	print "Not compressed"
	cleanexit
endif
Too bad I can't load them cause I'm not getting the format right.
Troopermanaic
advanced
Posts: 71
Joined: Fri Jul 01, 2011 4:29 pm
Has thanked: 5 times
Been thanked: 5 times

Re: Universal Century Gundam Online .DET

Post by Troopermanaic »

I had just noticed that you are trying to get to the map files, they are compressed because they are easy to get to but I have a hunch because of that they might not be encrypted like the ones in the .RFI and .RFP files.
EZ-BMS for when you want to work with non-programmers viewtopic.php?f=33&t=10499
If you like what I do then support my coffee addiction https://www.paypal.com/cgi-bin/webscr?c ... 853S265MPW
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Universal Century Gundam Online .DET

Post by finale00 »

leyme figured out the compression and the script I threw together decompresses them with the name retained (well, just output with a specified name lol).
It is the same format as the other det files; I just don't know how to parse each chunk properly.
leyme
advanced
Posts: 50
Joined: Wed Apr 04, 2012 10:17 am
Has thanked: 10 times
Been thanked: 3 times

Re: Universal Century Gundam Online .DET

Post by leyme »

Help me~
UCGundamnOnline_det.py
Is it just me, after exporting model as mqo, the UVs are lost.
And, i checked fmt_UCGundamOnline_det.py. Everything's O.K.
User avatar
youngmark
veteran
Posts: 145
Joined: Thu Sep 02, 2010 1:38 pm
Has thanked: 30 times
Been thanked: 6 times

Re: Universal Century Gundam Online .DET

Post by youngmark »

Image
Thanks all.
I think I'm finally succeeding in converting det to mqo.
But there definitely is missing UV data, too.
I used this script.
Please fix the problem of missing UV.
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Universal Century Gundam Online .DET

Post by finale00 »

Not sure how you figure the UV is missing. I don't even assign materials.
User avatar
youngmark
veteran
Posts: 145
Joined: Thu Sep 02, 2010 1:38 pm
Has thanked: 30 times
Been thanked: 6 times

Re: Universal Century Gundam Online .DET

Post by youngmark »

Oh, i have completely mistaken about this.
User avatar
youngmark
veteran
Posts: 145
Joined: Thu Sep 02, 2010 1:38 pm
Has thanked: 30 times
Been thanked: 6 times

Re: Universal Century Gundam Online .DET

Post by youngmark »

finale00 wrote:Not sure how you figure the UV is missing. I don't even assign materials.
Image
Look here.
They are perfectly suited.
I used fmt_UCGundamOnline_det.py script for this.
Well, Thanks for sharing this great Script.
Troopermanaic
advanced
Posts: 71
Joined: Fri Jul 01, 2011 4:29 pm
Has thanked: 5 times
Been thanked: 5 times

Re: Universal Century Gundam Online .DET

Post by Troopermanaic »

finale00 wrote:I would've thought your admin would have provided at least some information by now.
leyme wrote:I settled the problems.
The answer was staring us in the face.
Nice, there were go lol
There are 8 integers at the end of the file, where the 3rd is the compressed size and the 4th is the uncompressed size.

Code: Select all


#UC Gundam Online .DET decompress

get FLAG short
get NAME FILENAME
if FLAG = 0xDA78
	goto -32
	get unk long
	get unk long
	get ZSIZE long
	get SIZE long
	clog NAME 0 ZSIZE SIZE
else
	print "Not compressed"
	cleanexit
endif
Too bad I can't load them cause I'm not getting the format right.
I know this may be a bit off topic but im wondering if you can help with this, basically I have some .DET files from prototype and beta UCGO and they are kinda different then the .DET files we have now, here is one that was decompiled with your script. Do you think you can parse it like current .DET files?

http://www.2shared.com/file/A0DdB-LM/RA ... ZOOKA.html
EZ-BMS for when you want to work with non-programmers viewtopic.php?f=33&t=10499
If you like what I do then support my coffee addiction https://www.paypal.com/cgi-bin/webscr?c ... 853S265MPW
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Universal Century Gundam Online .DET

Post by finale00 »

It is a different format but it is easier than the chunk-based ones.
Are these available in the setup file from UCGO p-server website?

Judging from the tags, it looks like this was an older version and they decided to build on it.
Last edited by finale00 on Sat Apr 14, 2012 5:29 am, edited 1 time in total.
Troopermanaic
advanced
Posts: 71
Joined: Fri Jul 01, 2011 4:29 pm
Has thanked: 5 times
Been thanked: 5 times

Re: Universal Century Gundam Online .DET

Post by Troopermanaic »

finale00 wrote:It is a different format but it is easier than the chunk-based ones.
Are these available in the setup file from UCGO p-server website?
no they arent available for public use, these are much much older files, only I and a few other people left in the world have these files. Unfortunately my method for file replacement in UCGO doesn't work with these older file formats.

That file I have you, the Raketen bazooka is a weapon we dont have in the current version of UCGO. We really want to implement it.

if you are really interested I can give you more files if you think it will help with overall reverse engineering.
EZ-BMS for when you want to work with non-programmers viewtopic.php?f=33&t=10499
If you like what I do then support my coffee addiction https://www.paypal.com/cgi-bin/webscr?c ... 853S265MPW
finale00
M-M-M-Monster veteran
M-M-M-Monster veteran
Posts: 2382
Joined: Sat Apr 09, 2011 1:22 am
Has thanked: 170 times
Been thanked: 307 times

Re: Universal Century Gundam Online .DET

Post by finale00 »

Send them to tsukihimex[at]gmail.com
I can parse out the general structure; it is almost like the ver3 and ver4 exception they don't have the XR's and stuff.

In fact the structures are pretty much the same.
Only thing it doesn't seem to have are those dumb SCRIPTDATA sections.
Last edited by finale00 on Sat Apr 14, 2012 5:33 am, edited 1 time in total.
Post Reply