[PC] Bayonetta .idd

Textures, recreate headers, conversions, algorithms and parsing of image files
Kalvinis
Posts: 5
Joined: Wed Feb 15, 2017 2:50 pm

[PC] Bayonetta .idd

Post by Kalvinis »

Game: http://store.steampowered.com/app/460790/

Example .idd: https://mega.nz/#!pNQhyaZD!wpucPlB6x0Sl ... V1tl_MFkm0

(These .idd files differ from the 360 and PS3 releases of Bayonetta, which means tools that worked on the previously-mentioned .idd file types will not work on the PC .idd files)
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: [PC] Bayonetta .idd

Post by Acewell »

this bms script extracts the textures from all but 2 of your samples :D

Code: Select all

idstring "IDD\x00"
get NAME basename
string NAME + ".dds"
get SIZE asize
goto 0xc
get OFFSET long
goto OFFSET
goto 0x10 0 SEEK_CUR
savepos OFFSET
goto 0x20 0 SEEK_CUR
get DATA_OFFSET long
xmath OFFSET "DATA_OFFSET + OFFSET"
math SIZE - OFFSET
log NAME OFFSET SIZE

it doesn't work with your chapter700.idd and actbutton000.idd samples, those don't even look like texture data to me.
Kalvinis
Posts: 5
Joined: Wed Feb 15, 2017 2:50 pm

Re: [PC] Bayonetta .idd

Post by Kalvinis »

Acewell wrote:this bms script extracts the textures from all but 2 of your samples
*script*
it doesn't work with your chapter700.idd and actbutton000.idd samples, those don't even look like texture data to me.

How interesting! Thank you for the script, Acewell! I'll give it a whirl and edit this post with my findings on what does and doesn't work.

If I may ask, what do you believe the 2 referenced files are (chapter700.idd/actbutton000.idd)?
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: [PC] Bayonetta .idd

Post by Acewell »

Kalvinis wrote:what do you believe the 2 referenced files are (chapter700.idd/actbutton000.idd)?

i've no clue, could be incomplete or corrupt extraction or they just have another purpose.