SOLVED! Help with compression / reimporting .BAR files (Gameloft)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
IX285
Posts: 15
Joined: Mon Aug 08, 2022 7:48 pm

SOLVED! Help with compression / reimporting .BAR files (Gameloft)

Post by IX285 »

This has been solved and i need no further help with compression,thanks to QuickBMS library

I might not respond automatically,sorry for any possible delays,and thanks in advance!

GAME NAME / REGION / CONSOLE
Miami Nights:Singles In The City
Released worldwide as DSIWare

GAME DEVELOPER / PUBLISHER
Gameloft

METHODS I TRIED TO ACHIEVE DESIRED COMPRESSION
- I used all reimport.bat files given with QuickBMS (gives errors)

QUICKBMS SCRIPT I USED TO EXTRACT .BAR FILES (credits to aluigi who wrote the script)

Code: Select all

get FILES short
for i = 0 < FILES
    get OFFSET long
    putarray 0 i OFFSET
next i
savepos BASE_OFF
math FILES - 1
for i = 0 < FILES
    getarray OFFSET 0 i
    math i + 1
    getarray SIZE 0 i
    math SIZE - OFFSET
    math OFFSET + BASE_OFF
    log "" OFFSET SIZE
next