Results 1 to 3 of 3
  1. #1
    h4x0r
    h4x0r is offline
    h4x0r's Avatar
    Join Date
    2011 Aug
    Location
    ..\root\home\pgc
    Posts
    826
    Thanks
    64
    Thanked 525 Times in 205 Posts
    Rep Power
    8

    Repulse Arch00 Unpack Script

    Script by aluigi
    Game: Repulse
    Arch00 Structure: here

    For unpack you need QuickBMS Tool.

    PHP Code:
    # HeroesX Online / Repulse ARCH00 archives (script 0.3)
    # script for QuickBMS http://quickbms.aluigi.org

    comtype deflate
    idstring 
    "LTAR"
    get VERSION long

    # it's possible to make the check on the version or using this solution
    savepos TMP
    get FULL_SIZE asize
    get DUMMY1 long
    get DUMMY2 long
    math AUTOGUESS 
    0
    if DUMMY1 uFULL_SIZE
        math AUTOGUESS 
    1
    endif
    if 
    DUMMY2 uFULL_SIZE
        math AUTOGUESS 
    1
    endif
    goto 
    TMP
    if AUTOGUESS == 0
        get NAMESSZ long
        get FOLDERS long
        get FILES long
        get DUMMY long      
    # 1
        
    get DUMMY long      # 0
        
    get DUMMY long      # 0
        
    getdstring HASH 16
    else
        
    getdstring HASH 16
        get DUMMY long      
    # 1
        
    get DUMMY long      # 0
        
    get DUMMY long      # 0
        
    get FILES long
        get FOLDERS long
        get NAMESSZ long
    endif

    savepos OFFSET
    log MEMORY_FILE OFFSET NAMESSZ

    math OFFSET 
    += NAMESSZ
    set FILESSZ long FILES
    math FILESSZ 
    *= 32
    log MEMORY_FILE2 OFFSET FILESSZ

    math OFFSET 
    += FILESSZ
    set FOLDERSSZ long FOLDERS
    math FOLDERSSZ 
    *= 16
    log MEMORY_FILE3 OFFSET FOLDERSSZ

    set FOLDER string 
    ""
    callfunction EXTRACT

    startfunction EXTRACT
        savepos CURR_OFF MEMORY_FILE3
        
    if CURR_OFF >= FOLDERSSZ
            cleanexit
        
    endif
        
    get NAME_OFF long MEMORY_FILE3
        get SUB_FOLDERS long MEMORY_FILE3
        get NEXT_FOLDERS long MEMORY_FILE3
        get NUM_FILES long MEMORY_FILE3

        
    goto NAME_OFF MEMORY_FILE
        get NAME string MEMORY_FILE

        
    # don't have the minimal idea if it's correct, it's an update of the old script
        
    if AUTOGUESS == 0
            string FOLDER 
    NAME
        
    else
            
    string FOLDER += NAME
        
    endif
        
    string FOLDER += /

        for 
    NUM_FILES
            savepos CURR_OFF MEMORY_FILE2
            
    if CURR_OFF >= FILESSZ
                cleanexit
            
    endif
            
    get NAME_OFF long MEMORY_FILE2
            get OFFSET  longlong MEMORY_FILE2
            get ZSIZE   longlong MEMORY_FILE2
            get SIZE    longlong MEMORY_FILE2
            get ZIP     long MEMORY_FILE2

            
    goto NAME_OFF MEMORY_FILE
            get NAME string MEMORY_FILE

            
    if FOLDER != "CRC/" # they are not files
                
    set FNAME string FOLDER
                string FNAME 
    += NAME
                
    if ZIP == 0
                    log FNAME OFFSET SIZE
                
    else
                    
    # compression 9
                    
    callfunction ZIP_DUMP 1 # 1 only for being faster
                
    endif
            endif
        
    next i

        
    for SUB_FOLDERS
            callfunction EXTRACT
        next i

        set FOLDER string 
    ""
        
    for NEXT_FOLDERS
            callfunction EXTRACT
        next i
    endfunction

    startfunction ZIP_DUMP
        log MEMORY_FILE4 0 0
        append
        
    for SIZE
            math TMP 
    OFFSET
            math TMP 
    += j
            
    goto TMP
            get CHUNK_ZSIZE long
            get CHUNK_SIZE long
            savepos TMP
            
    if CHUNK_ZSIZE == CHUNK_SIZE
                log MEMORY_FILE4 TMP CHUNK_SIZE
            
    else
                
    clog MEMORY_FILE4 TMP CHUNK_ZSIZE CHUNK_SIZE
            
    endif
            
    math j += 8
            math j 
    += CHUNK_ZSIZE
            math j x
    4
        next
        append
        get SIZE asize MEMORY_FILE4
        log FNAME 0 SIZE MEMORY_FILE4
    endfunction 
    HOW TO Use:

    1. Run QuickBMS
    2. Select script
    3. Select file for unpack
    4. Select dir to unpack
    5. Enjoy

  2. #2
    Dwar
    Dwar is offline
    Veteran Dwar's Avatar
    Join Date
    2010 Mar
    Posts
    2,221
    Thanks
    211
    Thanked 2,224 Times in 289 Posts
    Rep Power
    10
    Hm... I planned to release repulse unpacker tomorrow. It almost ready

    Please, post your questions on forum, not by PM or mail

    I spend my time, so please pay a little bit of your time to keep world in equilibrium

  3. The Following User Says Thank You to Dwar For This Useful Post:


  4. #3
    h4x0r
    h4x0r is offline
    h4x0r's Avatar
    Join Date
    2011 Aug
    Location
    ..\root\home\pgc
    Posts
    826
    Thanks
    64
    Thanked 525 Times in 205 Posts
    Rep Power
    8
    Nice GUI.. Waiting

Similar Threads

  1. [Dev] Repulse Arch00 structure
    By Dwar in forum Game Files
    Replies: 0
    Last Post: 2012-02-12, 05:19 AM
  2. [Info] HeroesX Online ARCH00 Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-02-10, 01:42 PM
  3. [Info] TZ Online EVP Unpack Script
    By h4x0r in forum Game Files
    Replies: 1
    Last Post: 2012-02-09, 05:13 AM
  4. [Info] DK Online XAC Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-02-08, 09:31 PM
  5. [Info] ShotOnline SOR Unpack Script
    By h4x0r in forum Game Files
    Replies: 0
    Last Post: 2012-02-04, 06:23 PM
Visitors found this page by searching for:

heroesx arch00

repulse arch00 extractor

repulse arch00

extract repulse files

Repulse unpacked

arch00 script

how to extract arch00

repulse scripts

extract arch00

how to extract file arch00 progamercity

arch00 unpack

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •