ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Dec 12, 2017 12:21 pm

All times are UTC




Post new topic  Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Wed Sep 06, 2017 1:15 pm 

Joined: Wed Sep 06, 2017 12:37 pm
Posts: 29
Someone help me for script bms extrak file rx3 (chunlzma) on fifa 16 ultimate team
Unpack repack
https://mega.nz/#!O5pVhZAR!eb9cshAqj1l0 ... Xsnh4fbPe8


Top
   
PostPosted: Wed Sep 06, 2017 3:41 pm 
User avatar

Joined: Fri Aug 08, 2014 1:06 am
Posts: 362
bms script to split rx3 sample :D
Code:
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm

idstring "RX3l"
get UNK long
get ARC_SIZE long
get FILES long
for i = 0 < FILES
   get TYPE long
   get OFFSET long
   get SIZE long
   get ZERO long
   get NAME basename
   string NAME + _
   string NAME + OFFSET
   if TYPE == 0x7a0b60da
      string NAME + .dxt
   else
      string NAME + .dat
   endif
   log NAME OFFSET SIZE
next i

i gave extracted textures a dxt extension, just need to identify the formats then i will update script to add headers. :)
i don't know about the repack stuff, more samples would be good too.

_________________
Quickbms.com link thread
Search bms scripts


Top
   
PostPosted: Fri Sep 08, 2017 1:43 am 

Joined: Wed Sep 06, 2017 12:37 pm
Posts: 29
Waw tanks, this rx3 on file but i am l open with hex portable .is file "chunlzma"
This https://mega.nz/#!e4YD3YrJ!i5CG6iG2rvp1 ... PXPAqmR0hc


Top
   
PostPosted: Fri Sep 08, 2017 9:11 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7228
Script 0.2.3 for chunklzma:
http://aluigi.org/bms/chunklzx.bms


Top
   
PostPosted: Fri Sep 08, 2017 10:30 pm 

Joined: Wed Sep 06, 2017 12:37 pm
Posts: 29
With repack ?


Top
   
PostPosted: Fri Sep 08, 2017 11:25 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7228
No reimporting with that script.
Maybe the decompressed files work without the need of recompressing them with the chunklzma format. Try it.


Top
   
PostPosted: Sun Oct 08, 2017 1:58 pm 

Joined: Wed Sep 06, 2017 12:37 pm
Posts: 29
Please script this bro


Top
   
PostPosted: Sun Oct 08, 2017 2:01 pm 

Joined: Wed Sep 06, 2017 12:37 pm
Posts: 29
https://mega.nz/#!ihJkyKAY!ekxhe9z60-tK ... l-6N_-tisU


Top
   
PostPosted: Sun Oct 08, 2017 6:11 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7228
@daffa17
Don't post random useless links about files not related to the topic


Top
   
PostPosted: Sun Oct 08, 2017 11:53 pm 

Joined: Wed Sep 06, 2017 12:37 pm
Posts: 29
Ok sorry i am post new post


Top
   
PostPosted: Mon Oct 09, 2017 9:26 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7228
No, you already did it!
In fact I have seen your 2nd topic in Graphics and I deleted the one you opened yesterday.


Top
   
PostPosted: Mon Oct 09, 2017 10:26 am 

Joined: Wed Sep 06, 2017 12:37 pm
Posts: 29
Ok brother ,deleted


Top
   
PostPosted: Tue Nov 28, 2017 6:50 pm 

Joined: Wed Sep 06, 2017 12:37 pm
Posts: 29
Hello admin please help me
For this file
https://mega.nz/#!3lhGVKaY!3m0kIg6XkTnM ... yMWDPmNrBQ


Top
   
PostPosted: Fri Dec 01, 2017 8:29 pm 

Joined: Sat Aug 26, 2017 8:09 am
Posts: 7
You can compress and re-pack .rx3 to chunlzma with this:
Code:
# chunlzma re-pack / compress script
# script for QuickBMS http://quickbms.aluigi.org

comtype lzma_compress
endian big
math CHUNK_SIZE = 0x28800
get SIZE asize
math T = 0
math H = 0
math CHUNKCNT = SIZE
math CHUNKCNT /= CHUNK_SIZE
math CHUNKCNT += 1
get NAME filename
log NAME 0 0
# Put header info to memory_file
log MEMORY_FILE4 0 0
    put chunlzma string MEMORY_FILE4
    putvarchr MEMORY_FILE4 8 2             long
    putvarchr MEMORY_FILE4 12 SIZE         long
    putvarchr MEMORY_FILE4 16 CHUNK_SIZE   long
    putvarchr MEMORY_FILE4 20 CHUNKCNT     long
    putvarchr MEMORY_FILE4 24 16        long
    putvarchr MEMORY_FILE4 28 0        long
    putvarchr MEMORY_FILE4 32 0        long
    putvarchr MEMORY_FILE4 36 0        long
for OFFSET = 0 != SIZE

    math TMP = SIZE
    math TMP - OFFSET
    if TMP < CHUNK_SIZE
        math CHUNK_SIZE = TMP
    endif
    clog MEMORY_FILE OFFSET CHUNK_SIZE CHUNK_SIZE
    get CHUNK_ZSIZE asize MEMORY_FILE

# math number of nulls in end of chunk putting CHUNK_ZSISE to right column in the file.
    math N = 0x10
    math T = CHUNK_ZSIZE
    math T %= 0x10
   if T == 8
      math N = 0
   elif T > 8
      math N += 8
      math N -= T
   else
      math N -= 8
      math N -= T
   endif

    putvarchr MEMORY_FILE2 0 CHUNK_ZSIZE long
    putvarchr MEMORY_FILE2 4 5           long
    putvarchr MEMORY_FILE3 N 0
    append
       if H = 0
   log NAME 0 40           MEMORY_FILE4
   endif
    log NAME 0 8           MEMORY_FILE2
    log NAME 0 CHUNK_ZSIZE MEMORY_FILE
    log NAME 0 N           MEMORY_FILE3
    append
math H += 1
next OFFSET + CHUNK_SIZE


compress and re-pack to chunklzx with this:
Code:
# chunklzx re-pack / compress script
# script for QuickBMS http://quickbms.aluigi.org

comtype xmemlzx_compress
endian big
math CHUNK_SIZE = 0x40000
get SIZE asize
math T = 0
math H = 0
math CHUNKCNT = SIZE
math CHUNKCNT /= CHUNK_SIZE
math CHUNKCNT += 1
get NAME filename
log NAME 0 0
# Put header info to memory_file
log MEMORY_FILE4 0 0
    put chunklzx string MEMORY_FILE4
    putvarchr MEMORY_FILE4 8 2             long
    putvarchr MEMORY_FILE4 12 SIZE         long
    putvarchr MEMORY_FILE4 16 CHUNK_SIZE   long
    putvarchr MEMORY_FILE4 20 CHUNKCNT     long
    putvarchr MEMORY_FILE4 24 16        long
    putvarchr MEMORY_FILE4 28 0        long
    putvarchr MEMORY_FILE4 32 0        long
    putvarchr MEMORY_FILE4 36 0        long
for OFFSET = 0 != SIZE

    math TMP = SIZE
    math TMP - OFFSET
    if TMP < CHUNK_SIZE
        math CHUNK_SIZE = TMP
    endif
    clog MEMORY_FILE OFFSET CHUNK_SIZE CHUNK_SIZE
    get CHUNK_ZSIZE asize MEMORY_FILE

# math number of nulls in end of chunk putting CHUNK_ZSISE to right column in the file.
    math N = 0x10
    math T = CHUNK_ZSIZE
    math T %= 0x10
   if T == 8
      math N = 0
   elif T > 8
      math N += 8
      math N -= T
   else
      math N -= 8
      math N -= T
   endif

    putvarchr MEMORY_FILE2 0 CHUNK_ZSIZE long
    putvarchr MEMORY_FILE2 4 3           long
    putvarchr MEMORY_FILE3 N 0
    append
       if H = 0
   log NAME 0 40           MEMORY_FILE4
   endif
    log NAME 0 8           MEMORY_FILE2
    log NAME 0 CHUNK_ZSIZE MEMORY_FILE
    log NAME 0 N           MEMORY_FILE3
    append
math H += 1
next OFFSET + CHUNK_SIZE


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 14 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited