SkyDrift .loc

How to translate the files of a game
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

SkyDrift .loc

Post by makc_ar »

Hope someone can make a Unpacker/Packer for .loc file or script for QuickBMS.

Thanks!
swuforce
Posts: 233
Joined: Thu Oct 16, 2014 4:39 pm

Re: SkyDrift .loc

Post by swuforce »

Here script

Code: Select all

endian big
idstring "!col"
get unk long
get strings long
for i = 0 < strings
get len long
math len *= 2
getdstring str len
set str unicode str
print "%str%"
next i
get strings long
for i = 0 < strings
get len long
math len *= 2
getdstring str len
set str unicode str
print "%str%"
next i
get strings long
for i = 0 < strings
get len long
math len *= 2
getdstring str len
set str unicode str
print "%str%"
next i
for i = 0 < 480
get len long
math len *= 2
getdstring str len
set str unicode str
print "%str%"
next i
get strings long
xmath strings "strings*16+1"
for i = 0 < strings
get len long
math len *= 2
getdstring str len
set str unicode str
print "%str%"
next i


Here tool to export import last part of strings. Try.
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: SkyDrift .loc

Post by makc_ar »

swuforce you can make the tool for archives .EXP (need paker)?
Sample: https://yadi.sk/d/b73BNg4id2FDn

This script unpack .EXP archives :
http://aluigi.org/papers/bms/others/skydrift.bms
aluigi you can make the fix script -w -r?
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: SkyDrift .loc

Post by aluigi »

Attached.
You must unzip data archive with offzip first:
offzip input_file output_file 8
makc_ar
Posts: 1193
Joined: Sun Aug 17, 2014 7:27 pm

Re: SkyDrift .loc

Post by makc_ar »

aluigi thanks for the skydrift_no_memoryfile.bms, but the game does not work after -w -r. How back original .exp zip?
Before archive .exp:
Image
after offzip archive + -reimport .exp:
Image
I used the command:
offzip.exe -z -15 common_pc.exp common_pc_NEW.exp 8
for %%a in (common_pc_NEW.exp) do quickbms.exe -w -r skydrift_no_memoryfile.bms %%a