ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Mon Jun 17, 2019 1:16 am

All times are UTC




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
 Post subject: [PC] Zula
PostPosted: Tue Mar 05, 2019 3:53 am 

Joined: Wed Feb 13, 2019 4:08 pm
Posts: 25
can anyone help me make tool for export/import lang_en.gen file ? :D


Attachments:
lang_en.zip [127.34 KiB]
Downloaded 28 times
Top
   
 Post subject: Re: [PC] Zula
PostPosted: Thu May 30, 2019 9:20 pm 

Joined: Thu May 30, 2019 7:14 pm
Posts: 5
What do you want to do?


Top
   
 Post subject: Re: [PC] Zula
PostPosted: Fri Jun 07, 2019 7:24 am 

Joined: Wed Feb 13, 2019 4:08 pm
Posts: 25
sharlatan wrote:
What do you want to do?

i want anyone make tool for export that file and import that file


Top
   
 Post subject: Re: [PC] Zula
PostPosted: Mon Jun 10, 2019 11:20 am 

Joined: Thu Oct 16, 2014 4:39 pm
Posts: 184
Try aluigi's script. https://aluigi.altervista.org/bms/acknex_engine.bms
For pack, try Quickbms reimport, or this modified script.
Code:
set MEMORY_FILE binary "WRS4\x00\x00\x00\x00"
log "NEWfile.gen" 0 8 MEMORY_FILE
set KEY binary "\xaa"
comtype lzss0   # lzss or lzss0? same results with samples
endian big
idstring "WRS4"
get INFO_OFF long
savepos OFFSET
goto INFO_OFF
get ZSIZE long
get SIZE long
savepos INFO_OFF
log MEMORY_FILE 0 0
clog MEMORY_FILE INFO_OFF ZSIZE SIZE
xmath FILES "SIZE / (0x20 + 4 + 4)"
comtype lzss0_compress
log MEMORY_FILE2 0 0
for i = 0 < FILES
    getdstring NAME 0x20 MEMORY_FILE
   putdstring NAME 0x20 MEMORY_FILE2
    string NAME ^ KEY
    get ZSIZE long MEMORY_FILE
    get SIZE long MEMORY_FILE
   math OFFSET + ZSIZE
    Open FDSE NAME 2
   get asize asize 2
   log MEMORY_FILE3 0 0
   clog MEMORY_FILE3 0 asize asize 2
   get zasize asize MEMORY_FILE3
   put zasize long MEMORY_FILE2
   put asize long MEMORY_FILE2
   append
   log "NEWfile.gen" 0 zasize MEMORY_FILE3
   append
next i
Open FDSE "NEWfile.gen" 1
get INFO_OFF asize 1
log MEMORY_FILE 0 0
log MEMORY_FILE 0 INFO_OFF 1
putvarchr MEMORY_FILE 4 INFO_OFF long
get asize asize MEMORY_FILE2
log MEMORY_FILE3 0 0
clog MEMORY_FILE3 0 asize asize MEMORY_FILE2
goto INFO_OFF MEMORY_FILE
get zasize asize MEMORY_FILE3
put zasize long MEMORY_FILE
put asize long MEMORY_FILE
getdstring info zasize MEMORY_FILE3
putdstring info zasize MEMORY_FILE
get asize asize MEMORY_FILE
log "NEWfile.gen" 0 asize MEMORY_FILE

Usage
quickbms acknex_engine.bms filename.gen .
quickbms pack.bms filename.gen .

_________________
Texttool sources: viewtopic.php?f=12&t=645


Top
   
 Post subject: Re: [PC] Zula
PostPosted: Wed Jun 12, 2019 4:47 am 

Joined: Wed Feb 13, 2019 4:08 pm
Posts: 25
swuforce wrote:
Try aluigi's script. https://aluigi.altervista.org/bms/acknex_engine.bms
For pack, try Quickbms reimport, or this modified script.
Code:
set MEMORY_FILE binary "WRS4\x00\x00\x00\x00"
log "NEWfile.gen" 0 8 MEMORY_FILE
set KEY binary "\xaa"
comtype lzss0   # lzss or lzss0? same results with samples
endian big
idstring "WRS4"
get INFO_OFF long
savepos OFFSET
goto INFO_OFF
get ZSIZE long
get SIZE long
savepos INFO_OFF
log MEMORY_FILE 0 0
clog MEMORY_FILE INFO_OFF ZSIZE SIZE
xmath FILES "SIZE / (0x20 + 4 + 4)"
comtype lzss0_compress
log MEMORY_FILE2 0 0
for i = 0 < FILES
    getdstring NAME 0x20 MEMORY_FILE
   putdstring NAME 0x20 MEMORY_FILE2
    string NAME ^ KEY
    get ZSIZE long MEMORY_FILE
    get SIZE long MEMORY_FILE
   math OFFSET + ZSIZE
    Open FDSE NAME 2
   get asize asize 2
   log MEMORY_FILE3 0 0
   clog MEMORY_FILE3 0 asize asize 2
   get zasize asize MEMORY_FILE3
   put zasize long MEMORY_FILE2
   put asize long MEMORY_FILE2
   append
   log "NEWfile.gen" 0 zasize MEMORY_FILE3
   append
next i
Open FDSE "NEWfile.gen" 1
get INFO_OFF asize 1
log MEMORY_FILE 0 0
log MEMORY_FILE 0 INFO_OFF 1
putvarchr MEMORY_FILE 4 INFO_OFF long
get asize asize MEMORY_FILE2
log MEMORY_FILE3 0 0
clog MEMORY_FILE3 0 asize asize MEMORY_FILE2
goto INFO_OFF MEMORY_FILE
get zasize asize MEMORY_FILE3
put zasize long MEMORY_FILE
put asize long MEMORY_FILE
getdstring info zasize MEMORY_FILE3
putdstring info zasize MEMORY_FILE
get asize asize MEMORY_FILE
log "NEWfile.gen" 0 asize MEMORY_FILE

Usage
quickbms acknex_engine.bms filename.gen .
quickbms pack.bms filename.gen .

there is not cardstrings.pak in my folder game
Image


Top
   
 Post subject: Re: [PC] Zula
PostPosted: Wed Jun 12, 2019 4:56 am 

Joined: Wed Feb 13, 2019 4:08 pm
Posts: 25
chphat11 wrote:
swuforce wrote:
Try aluigi's script. https://aluigi.altervista.org/bms/acknex_engine.bms
For pack, try Quickbms reimport, or this modified script.
Code:
set MEMORY_FILE binary "WRS4\x00\x00\x00\x00"
log "NEWfile.gen" 0 8 MEMORY_FILE
set KEY binary "\xaa"
comtype lzss0   # lzss or lzss0? same results with samples
endian big
idstring "WRS4"
get INFO_OFF long
savepos OFFSET
goto INFO_OFF
get ZSIZE long
get SIZE long
savepos INFO_OFF
log MEMORY_FILE 0 0
clog MEMORY_FILE INFO_OFF ZSIZE SIZE
xmath FILES "SIZE / (0x20 + 4 + 4)"
comtype lzss0_compress
log MEMORY_FILE2 0 0
for i = 0 < FILES
    getdstring NAME 0x20 MEMORY_FILE
   putdstring NAME 0x20 MEMORY_FILE2
    string NAME ^ KEY
    get ZSIZE long MEMORY_FILE
    get SIZE long MEMORY_FILE
   math OFFSET + ZSIZE
    Open FDSE NAME 2
   get asize asize 2
   log MEMORY_FILE3 0 0
   clog MEMORY_FILE3 0 asize asize 2
   get zasize asize MEMORY_FILE3
   put zasize long MEMORY_FILE2
   put asize long MEMORY_FILE2
   append
   log "NEWfile.gen" 0 zasize MEMORY_FILE3
   append
next i
Open FDSE "NEWfile.gen" 1
get INFO_OFF asize 1
log MEMORY_FILE 0 0
log MEMORY_FILE 0 INFO_OFF 1
putvarchr MEMORY_FILE 4 INFO_OFF long
get asize asize MEMORY_FILE2
log MEMORY_FILE3 0 0
clog MEMORY_FILE3 0 asize asize MEMORY_FILE2
goto INFO_OFF MEMORY_FILE
get zasize asize MEMORY_FILE3
put zasize long MEMORY_FILE
put asize long MEMORY_FILE
getdstring info zasize MEMORY_FILE3
putdstring info zasize MEMORY_FILE
get asize asize MEMORY_FILE
log "NEWfile.gen" 0 asize MEMORY_FILE

Usage
quickbms acknex_engine.bms filename.gen .
quickbms pack.bms filename.gen .

there is not cardstrings.pak in my folder game
Image

Ok, It work :D


Top
   
 Post subject: Re: [PC] Zula
PostPosted: Wed Jun 12, 2019 11:31 am 

Joined: Thu Oct 16, 2014 4:39 pm
Posts: 184
There is no need to quote the full post. Especially two times...
Watch for it next time! You can also use edit if it's needed.

_________________
Texttool sources: viewtopic.php?f=12&t=645


Top
   
 Post subject: Re: [PC] Zula
PostPosted: Wed Jun 12, 2019 2:58 pm 

Joined: Wed Feb 13, 2019 4:08 pm
Posts: 25
swuforce wrote:
There is no need to quote the full post. Especially two times...
Watch for it next time! You can also use edit if it's needed.

ok, thanks


Top
   
 Post subject: Re: [PC] Zula
PostPosted: Sun Jun 16, 2019 7:35 pm 

Joined: Thu May 30, 2019 7:14 pm
Posts: 5
chphat11 wrote:
can anyone help me make tool for export/import lang_en.gen file ? :D

بی خیال حاجی


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 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