Users browsing this thread: 5 Guest(s)
Yet Another Persona-Related Help Request
#1
So as I was ripping files for Persona 4 today, I noticed that a lot of the graphics for battles (particularly the cut-ins) are in .EPL format.

Like so.

Unfortunately it seems the game mod community for Persona hasn't been able to get into these files, where as on this site there's the P3 cut-ins, which would also be in the same format.  Does anyone know how these were done?
Reply
Thanked by:
#2
The modding community HAS gotten into the EPL files, I modified RMDEditor for EPL support (then removed it because it sucked). Follow the link here: http://www.romhacking.net/forum/index.ph...217.0.html to go to the modding website. Also, TGE wrote a EPL script, if I could post that here Tongue
Reply
Thanked by:
#3
...dammit Purge. DDDX

Thanks, TTS. Oh man Python; bless you.
Reply
Thanked by:
#4
Code:
goto 0x80 0 SEEK_CUR
get basename basename
get fullsize asize
savepos start
get entryCount long
get unk2 long
get dataStart long
xmath dataStart "start + dataStart + 16"
goto dataStart
for i = 0 < entryCount
    get tableOffset long
    goto 0x8 0 SEEK_CUR
    getdstring type 0x24
    strlen typeLen type
    math typeLen -= 2
    string subtype = type
    string subtype > typeLen
    goto 0x90 0 SEEK_CUR
    savepos next
    if tableOffset != 0
        goto tableOffset 0 SEEK_SET
        goto 0x20 0 SEEK_CUR
        get actualDataOffset long
        xmath actualDataOffset "tableOffset + actualDataOffset"
        get dataSize long
        string name = basename
        string name += "_"
        string name += i
        string name += .
        if subtype == "T-"
            #string name += type
            string name += ".TMX"
        elif subtype == "MO"
            #string name += type
            string name += ".RMD"
        elif subtype == "P-"
            #string name += type
            string name += ".TMX"
        else
            string name += type
        endif
        if fullsize > actualDataOffset
            if fullsize > dataSize
                if datasize > 8
                    log name actualDataOffset dataSize
                endif
            endif
        endif
    endif
    goto next 0 SEEK_SET
next i
Reply
Thanked by: Skyla Doragono
#5
Niiiice; how do I use this? Paste this into a new file or add it to the Python script on that site? Or is that even Python? VB?
Reply
Thanked by:
#6
(10-08-2015, 08:06 AM)Skyla Doragono Wrote: Niiiice; how do I use this? Paste this into a new file or add it to the Python script on that site? Or is that even Python? VB?

It's a quickbms script, copy and paste that into notepad, save it as [ScriptName].bms and load it in quickbmw
Reply
Thanked by:
#7
[Image: bf73jar.png]

I got this error when I tried using this.
Reply
Thanked by:
#8
You need to download the newest version of QuickBMS
Reply
Thanked by: Skyla Doragono
#9
[Image: rznTNTX.png]

Eff me; finally got one out and looking decent.

Okay, so, I'm using EPL Extract to get the files out, which all the cutins yield .RMD files -- not really that surprising even though the image is 2D, honestly? Because these images are stretching and moving and having effects applied, and making it a 2D image in a 3D space was probably the easiest way to do it without making the PS2 hardware barf. Then I use RMD Viewer because it's the only RMD program that works on my computer to export the file as an .OBJ with a .TGA file that has the image I want. Struggle with the alpha channel to get the right transparency in a .PNG and there we go.

Anyone that can offer an easier method, please do. Sad

I'm running into ones that are a little weird, though. There's another CUTIN folder in the main DATA folder for the disc, but all I ever get out of it is a square model with the P3 stand in image of Yukari on it. Anyone want to take a look at it? Make sure I'm not going crazy and there really is just a whole folder of useless files?

(10-10-2015, 11:02 AM)TGE Wrote: You need to download the newest version of QuickBMS

Thank you! I didn't realize I wasn't using the latest version. That works very well.



EDIT EDIT EDIT: I answered my own question, and finished this thing to the best of my ability. Phew.
Reply
Thanked by:


Forum Jump: