[HELP] One Piece: Super Grand Battle! X

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
omegaxis12
Posts: 3
Joined: Fri Mar 27, 2015 11:00 am

[HELP] One Piece: Super Grand Battle! X

Post by omegaxis12 »

Hi, i'm trying extract files from one piece super grand battle! x a N3DS game

This file types are .jMOT, .jTEX,.jMDL, jEFC, .jFMT

a very nice person tried to extract .jMDL and .jTEX files i asked him how he did it but he didn't teach me :(
he extracted a texture from .jMDL
and a Text like sprite from .jTEX

i really want to know how he did and how should i open the other files given

here are the files
omegaxis12
Posts: 3
Joined: Fri Mar 27, 2015 11:00 am

Re: [HELP] One Piece: Super Grand Battle! X

Post by omegaxis12 »

Bump..

Sorry For the Bump
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: [HELP] One Piece: Super Grand Battle! X

Post by aluigi »

I remember the archive containing these j* files.

They are not archives so I can't do much, but jefc has a list of absolute offsets from offset 0x20 but I think this is not the right way to handle these files:

Code: Select all

idstring "jEFC"
get JEFC_SIZE long
get DUMMY long
get DUMMY long
get FILES1 long # they have names at the end of the archive
get FILES2 long
get FILES3 long
get FILES4 long
xmath FILES "FILES1 + FILES2 + FILES3 + FILES4"
    get OFFSET long
for i = 1 <= FILES
    if i == FILES
        get NEXT_OFFSET asize
    else
        get NEXT_OFFSET long
    endif
    xmath SIZE "NEXT_OFFSET - OFFSET"
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFFSET
next i