Monsters, Inc. (PS2) textures?

Textures, recreate headers, conversions, algorithms and parsing of image files
frogz2007
Posts: 118
Joined: Sun Dec 14, 2014 3:56 pm

Monsters, Inc. (PS2) textures?

Post by frogz2007 »

There is this game (Monsters, Inc.) and it has textures stored in a .DIC file. I was wondering if anyone could make something that can extract and repack them into the .DIC archive so textures can be modified? Thanks!


File:

https://www.dropbox.com/s/nl08g9x4qp4bo ... r.dic?dl=0
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Monsters, Inc. (PS2) textures?

Post by aluigi »

Hope it's useful:

Code: Select all

get DIC_SIZE asize
math DIC_SIZE - 0x28
for OFFSET = 0 < DIC_SIZE
    getdstring DUMMY 0x34
    getdstring PS2_SIGN 4
    getdstring DUMMY 0x10
    get NAME string
    padding 4
    getdstring DUMMY 0xc
    get NAME2 string
    padding 4
    getdstring DUMMY 0x4
    get SIZE long
    getdstring DUMMY 0x8
    savepos OFFSET
    math SIZE - 4
    log NAME OFFSET SIZE
    math OFFSET + SIZE
    goto OFFSET
next
frogz2007
Posts: 118
Joined: Sun Dec 14, 2014 3:56 pm

Re: Monsters, Inc. (PS2) textures?

Post by frogz2007 »

Thank you! I do have an issue, however; I upgraded to Windows 8.1 recently, and for some reason QuickBMS gives errors no matter what I do. It says

An error or crash occurred:
ExceptionCode c00000005 access violation
ExceptionAddress 766b383c

and it mentions something about Shell32.DLL
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Monsters, Inc. (PS2) textures?

Post by aluigi »

Are you using quickbms 0.6.2?
frogz2007
Posts: 118
Joined: Sun Dec 14, 2014 3:56 pm

Re: Monsters, Inc. (PS2) textures?

Post by frogz2007 »

Yep. I am using that version
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Monsters, Inc. (PS2) textures?

Post by aluigi »

The problem is not caused by quickbms but some software or even driver on your computer.
For example it happened that Asus Xonar and Unixonar drivers caused the crash of quickbms because those drivers were written badly, you can find a detailed and technical explanation in quickbms.txt, just search for the keyword "driver".

Here on Windows 8.1 there are absolutely no problems and nobody else reported issues.
frogz2007
Posts: 118
Joined: Sun Dec 14, 2014 3:56 pm

Re: Monsters, Inc. (PS2) textures?

Post by frogz2007 »

Huh. I guess I will have to use a Windows 7 virtual machine or something, then. No idea what program it could be.