Page 2 of 3

Re: NIER Xbox360

Posted: Tue Dec 28, 2010 6:20 am
by epopoe
mariokart64n wrote:does that really work? DOA used tpr, which was different then a normal xpr
Yes, it works ok
but it doesnt make a normal map. Only for diffuse.

Sorry, I didn't notice that

Re: NIER Xbox360

Posted: Tue Dec 28, 2010 5:29 pm
by Gromber
HI! I need help with this files: viewtopic.php?f=10&t=5549

Thanks!!

Re: NIER Xbox360

Posted: Tue Dec 28, 2010 9:10 pm
by CMihai
I get this error after I select a .mdv file ...

Code: Select all

>> MAXScript FileIn Exception: -- Unable to convert: undefined to type: Integer64 <<

Re: NIER Xbox360

Posted: Tue Dec 28, 2010 9:19 pm
by chrrox
make sure you decompress the file with the bms first

Re: NIER Xbox360

Posted: Tue Dec 28, 2010 9:31 pm
by CMihai
I get this one now by using bms script you posted for .MDV files, works for .MDP

Code: Select all

- error in src/quickbms.c line 8564: myalloc <>
Error: Not enough space
Updated quickbms also "QuickBMS generic files extractor 0.4.7 (quickbms)"

Re: NIER Xbox360

Posted: Tue Dec 28, 2010 9:53 pm
by mariokart64n
are you decompressing the right file?

theres 2 files, only ones compressed. that error might be from you trying to decompress the wrong file or a file that has already been decompressed.

that or you ran out of space, and you need to buy a new HD O_O

Re: NIER Xbox360

Posted: Tue Dec 28, 2010 11:24 pm
by CMihai
Well guess im trying the right file :mrgreen:

bms script + KAINE010.MDP I get the decompressed file .dec
bms script + KAINE010.MDV I get that error ^

There's enough space :lol: like 177gb on this HDD

files that i try are from layer1/CHARA/

Re: NIER Xbox360

Posted: Tue Dec 28, 2010 11:43 pm
by chrrox
what version of max what is the error you get what is the file you are importing

Re: NIER Xbox360

Posted: Tue Dec 28, 2010 11:56 pm
by CMihai
3DS Max 2010 x64

Getting this error

Image

Tryied alot of different files, same thing, the files from /BG/ doesn't load, 3DSMax just goes not responding after a while.

Edit:

I get this trying the bms script on KAINE020.MDV
Error: the compressed LZO input is wrong or incomplete (-4)

Error: there is an error with the decompression
the returned output size is negative (-1)

Press RETURN to quit
Edit2:

Tryied to import KAINE020.MDV now, but now MAX goes not responding with a message in the bottom left corner "This is the offset 0xf2aa"

Edit3:

Loaded after a while, and this error showed up, only bones showing.

Image

Edit4: Managed to load the mesh, textures should load auto or ?

Edit5: Fixed everything, thanks for ya replies guys

Re: NIER Xbox360

Posted: Wed Dec 29, 2010 12:52 am
by chrrox
ah i updated my script but forgot to upload the update here this will fix that mesh.
Th script should be faster now I increased the heap size.

Re: NIER Xbox360

Posted: Fri Jan 07, 2011 3:43 am
by Tosyk
Ok, so please tell me what bms script i need to use for decompress mdv files, and how to get textures?

i'm trying all things in this thread.

ADD:
So first, i need unbundler!

ADD2:
Ok, so

1 - i unpacked *.cpk using cpk_unpacker.bms from epopoe
2 - i'm trying to decompress AMA010.MDV from "\media\layer1_cpk\CHARA\AMA010", but i can not, i don't know what bms need to using
3 - convert textures...

Re: NIER Xbox360

Posted: Fri Jan 07, 2011 8:47 am
by CMihai
Here's how I managed to import the model in 3DSMax

Unpacked the .cpk files ofc

I'm using this BMS script to uncompress the files, but how I said doesn't work on .MDV files :roll: so I tried on .MDP files and works

Code: Select all

endian big
get name FILENAME
string name + ".dec"
get lzo long
get version long
get subversion long
get files long
get TotalUncompSize long
get unk long
goto 0x20
comtype LZO1X
for i = 1 to files
get memoffset long
get size long
get zsize long
savepos offset
if size == zsize
append
log MEMORY_FILE offset zsize
append
else
append
clog MEMORY_FILE offset zsize size
append
endif
math offset + zsize
goto offset
Padding 0x10000
next i
log NAME 0 TotalUncompSize MEMORY_FILE
Export the textures with this lil script viewtopic.php?p=46423#p46423 select the MDP file when the "Select File" prompts

Convert them to .DDS with this one viewtopic.php?p=46515#p46515 Just put the exe in the same folder as the .xpr texture files and open it, it'll convert them auto

After that import the model using the script posted by chroxx in the 1st post, Sometimes I get some errors, but after a 2nd try or 3rd i gets imported, non textured ...

Maybe this is not the right way to do it but that's how I managed to import the character in 3DSMax, exporting it in .FBX or .OBJ would result in a low poly model ... dunno why :(

Re: NIER Xbox360

Posted: Fri Jan 07, 2011 7:14 pm
by chrrox
You need to activate the textures in the viewport to see them click this button.

Re: NIER Xbox360

Posted: Mon Jan 10, 2011 2:50 am
by Tosyk
CMihai
Thanks, i'm decompressed *.mdp and loaded *.mdv model in 3ds max with bones successfully, but this
CMihai wrote: Export the textures with this lil script viewtopic.php?p=46423#p46423 select the MDP file when the "Select File" prompts
don't work for me. Maybe i'm doing something wrong?

ADD:
ok, i'm tried other files and they work fine, it seems that some models without textures, but where we can get textures, for example for AMA010.MDV?

ADD2:
i have a problem with NIER012.MDV
-- Runtime error: Bone index out of range 201
ms script line: 232

so it won't loading all bones i supposed and i can't see any loaded (yes, some objects and bones loaded in max) objects in 3ds max viewport.

ADD3:
problem with extracting *.mdp files from BG folder, almost every time unbundler.exe gives error (just crashing), hope Mario see this..

Re: NIER Xbox360

Posted: Sat Jun 25, 2011 7:29 pm
by Szkaradek123
chrrox and mariokart64n scripts for 3ds max translate in python importer for blender249