Aggressive Inline Level Files

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
g00dman
Posts: 19
Joined: Mon Sep 03, 2018 9:15 am

Aggressive Inline Level Files

Post by g00dman »

Hey! Been puzzling over this particular format for a while. I don't really know anything about this, which is why I've come here to ask for help...

I'd like to extract the levels from Aggressive Inline to an .OBJ or similar, to make them playable in THUG PRO, a mod of Tony Hawk's Underground 2.

The most I can glean is that the levels were made in an old version of 3DS Max and then converted to some presumably in-house file formats. The files themselves (.GEO, .INS, .TXR) appear to be IFF data. The same file formats were used for Dave Mirra Freestyle BMX 2 and BMX XXX.

I can't attach a file because the levels are bigger than 5 MB, so I zipped up all the levels instead and put them on Mega (these are from the NTSC PS2 version):

https://mega.nz/#!5J1i0CgJ!xrPDe6ik5oYz ... NWbjy_3JsI

All the levels have an export .TXT which actually lists all the file names if that makes anything easier...

Any help would be greatly appreciated! Thanks so much!
Last edited by g00dman on Wed Sep 05, 2018 12:34 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Aggressive Inline Level Files

Post by aluigi »

This script for quickbms can dump every single chunk of data from these iff-like formats:

Code: Select all

idstring "FORM"
goto 0

math MAX_LEVEL = 3
get SIZE asize
set NAME string ""
set PATH string ""
math LEVEL = 0
callfunction EXTRACT

startfunction EXTRACT
    string PATH + NAME
    string PATH + /
    savepos LIMIT
    math LIMIT + SIZE
    math LEVEL + 1
    for
        savepos TMP
        if TMP u>= LIMIT
            break
        endif
        getdstring NAME 4
        get SIZE long
        savepos OFFSET

        if NAME u== "SDPT"
            math MAX_LEVEL = 2
        endif

        if LEVEL < MAX_LEVEL
            callfunction EXTRACT
        else
            string NAME p "%s%s/" PATH NAME
            log NAME OFFSET SIZE
        endif

        math OFFSET + SIZE
        goto OFFSET
    next
endfunction
Not sure if that would be useful but at least it's a starting point and it extracts everything.
g00dman
Posts: 19
Joined: Mon Sep 03, 2018 9:15 am

Re: Aggressive Inline Level Files

Post by g00dman »

Awesome, it extracts the textures well from the .TXR. It does seem to export everything from the .GEO too but I can't make much of it - however I found a .bms script that can extract models as .3ds files from it which I've attached to this post. While this is okay, it would take a long time to piece together the whole level (especially with textures and lighting etc). Can anyone help?
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Aggressive Inline Level Files

Post by BloodRaynare »

I've used that script before and I must warn you that script won't extract the models UV map so you can't apply the textures on it.
g00dman
Posts: 19
Joined: Mon Sep 03, 2018 9:15 am

Re: Aggressive Inline Level Files

Post by g00dman »

Yeah that's what I mean. I'd like to just be able to export everything automatically rather than having to piece everything together, but I know that's a big ask. All help is appreciated though
g00dman
Posts: 19
Joined: Mon Sep 03, 2018 9:15 am

Re: Aggressive Inline Level Files

Post by g00dman »

Hey again - sorry to double post but I've found a tool that will extract games on this engine to an .obj.

However it misses a lot of stuff on import for Aggressive Inline, and only works on the Gamecube/Xbox level files.

Would like some help to see if anyone knows how to fix it... Thanks :D

EDIT: Here's a link to the Gamecube level files: https://mega.nz/#!wV83FarK!PRW947Plyg6o ... UNWPS8ooUo