.car file (prisonRpg)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Seonply
Posts: 27
Joined: Sun Apr 12, 2020 11:14 am

.car file (prisonRpg)

Post by Seonply »

Hi I wanna edit that .car file can someone help for how to extract that file from prisonRPG game?

https://www.mediafire.com/file/uapvjmq3 ... e.car/file
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: .car file (prisonRpg)

Post by aluigi »

Code: Select all

# prisonRPG

idstring "rac\x01"
get VER long    # 1
get INFO_SIZE long
get FILES long
for i = 0 < FILES
    get DUMMY long  # 1
    get OFFSET long
    get NAMESZ long
    math NAMESZ + 1
    getdstring NAME NAMESZ
    padding 4

    savepos TMP
    goto OFFSET
    get DUMMY long  # 2
    get XSIZE long  # aligned
    get SIZE long
    savepos OFFSET
    log NAME OFFSET SIZE
    goto TMP
next i
Seonply
Posts: 27
Joined: Sun Apr 12, 2020 11:14 am

Re: .car file (prisonRpg)

Post by Seonply »

Thanx Aluigi <3
Seonply
Posts: 27
Joined: Sun Apr 12, 2020 11:14 am

Re: .car file (prisonRpg)

Post by Seonply »

aluigi wrote:

Code: Select all

# prisonRPG

idstring "rac\x01"
get VER long    # 1
get INFO_SIZE long
get FILES long
for i = 0 < FILES
    get DUMMY long  # 1
    get OFFSET long
    get NAMESZ long
    math NAMESZ + 1
    getdstring NAME NAMESZ
    padding 4

    savepos TMP
    goto OFFSET
    get DUMMY long  # 2
    get XSIZE long  # aligned
    get SIZE long
    savepos OFFSET
    log NAME OFFSET SIZE
    goto TMP
next i

is there a way for edit .lu files?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: .car file (prisonRpg)

Post by aluigi »

Search any Lua 5.1 decompiler compatible with them