ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Nov 19, 2017 10:19 am

All times are UTC




Post new topic  Reply to topic  [ 28 posts ]  Go to page 1 2 Next
Author Message
PostPosted: Tue Aug 15, 2017 2:12 pm 

Joined: Mon Aug 14, 2017 7:49 pm
Posts: 26
Чем можно открыть, редактировать и запаковать данный файл обратно, в данный формат ?
ссылка на файл https://cloud.mail.ru/public/LvnY/B4pTvWpSr


Top
   
PostPosted: Tue Aug 15, 2017 2:45 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7110
Name of the game?

That item.bin file you uploaded is a localization file and so it contains no data/files.

You can use google translate to post in english.


Top
   
PostPosted: Tue Aug 15, 2017 5:25 pm 

Joined: Mon Aug 14, 2017 7:49 pm
Posts: 26
ICARUS ONLINE Игра !! Than you can open this file ?


Top
   
PostPosted: Tue Aug 15, 2017 5:37 pm 

Joined: Mon Aug 14, 2017 7:49 pm
Posts: 26
https://cloud.mail.ru/public/LvnY/B4pTvWpSr
the game Icarus Online


Top
   
PostPosted: Tue Aug 15, 2017 5:42 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7110
Topic moved in Game Localization because it's not related to archives, this is a translation topic.
item.bin contains some text but I don't think there is really something to edit. Worst case scenario open it with a hex editor.


Top
   
PostPosted: Tue Aug 15, 2017 8:47 pm 

Joined: Mon Aug 14, 2017 7:49 pm
Posts: 26
I have a method that You can use it in the xlsx format to convert and edit, but back to the (.bin) to pack I don't know how


Top
   
PostPosted: Tue Aug 15, 2017 9:55 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7110
The only thing I can do is a simple script that dumps all the strings so you can edit them with a normal text editor and you can use the reimport feature of quickbms to store them back.
What's important is that you do NOT make longer strings, they must be the same length of the original of maybe shorter..
Read section 3 of http://aluigi.org/papers/quickbms.txt

Script for quickbms:
Code:
goto 0x39   # info about strings? let's guess them
get BIN_SIZE asize
for i = 0
    savepos BASE_OFF
    get OFFSET long
    if OFFSET u> BIN_SIZE
        break
    endif
    putarray 0 i OFFSET
next i
math STRINGS = i
get NAME basename
string NAME + ".txt"
for i = 0 < STRINGS
    getarray OFFSET 0 i
    math OFFSET + BASE_OFF
    if OFFSET < BIN_SIZE
        slog NAME OFFSET -1
    endif
next i

Please note that I can't help further, this solution works correctly but with some limitations.
If it's not enough I hope someone else is interested in helping you.

*edit* script updated against invalid offsets


Top
   
PostPosted: Tue Aug 15, 2017 11:33 pm 

Joined: Mon Aug 14, 2017 7:49 pm
Posts: 26
how to pack back in the bin format ?


Top
   
PostPosted: Tue Aug 15, 2017 11:47 pm 

Joined: Mon Aug 14, 2017 7:49 pm
Posts: 26
and also it does not extract the other files of this format https://cloud.mail.ru/public/MiFw/R2A97MEip


Top
   
PostPosted: Wed Aug 16, 2017 8:05 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7110
I have updated the previous script to handle the invalid information in these other bin files.
For packing back read section 3 of http://aluigi.org/papers/quickbms.txt as I already told you.


Top
   
PostPosted: Wed Aug 16, 2017 3:44 pm 

Joined: Mon Aug 14, 2017 7:49 pm
Posts: 26
Thank you but I don't understand the translation via Google bad


Top
   
PostPosted: Wed Aug 16, 2017 3:48 pm 

Joined: Mon Aug 14, 2017 7:49 pm
Posts: 26
you could write a full script for these files I think other people will also be interested in it


Top
   
PostPosted: Wed Aug 16, 2017 9:52 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7110
Generate item.txt using the script.
Edit one of the korean texts without changing the length of the text (it's just a test)
Run reimport.bat and select the script, item.bin and the output folder where you generated item.bin (SAME files and folders you selected the first time).
That's all.


Top
   
PostPosted: Thu Aug 17, 2017 4:00 pm 

Joined: Mon Aug 14, 2017 7:49 pm
Posts: 26
http://priscree.ru/img/d1e968792be36f.png that's what happened do not come back .bin.


Top
   
PostPosted: Thu Aug 17, 2017 4:03 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7110
aluigi wrote:
SAME files and folders you selected the first time
It means you must select item.bin, NOT item.txt. And also your output folder is probably wrong. SAME SAME SAME, ok?


Top
   
PostPosted: Thu Aug 17, 2017 4:23 pm 

Joined: Mon Aug 14, 2017 7:49 pm
Posts: 26
Да, я хочу упаковать обратно в формат .bin.


Top
   
PostPosted: Thu Aug 17, 2017 4:33 pm 

Joined: Mon Aug 14, 2017 7:49 pm
Posts: 26
Here is the file that was unpacked in txt http://prntscr.com/g9payb Now I'm packing it back in .bin. http://prntscr.com/g9pcvg Does not work why?


Top
   
PostPosted: Thu Aug 17, 2017 4:40 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7110
You must select ITEM.BIN in both extraction and reimporting


Top
   
PostPosted: Thu Aug 17, 2017 5:10 pm 

Joined: Mon Aug 14, 2017 7:49 pm
Posts: 26
does not work


Top
   
PostPosted: Thu Aug 17, 2017 5:15 pm 

Joined: Mon Aug 14, 2017 7:49 pm
Posts: 26
Спасибо


Last edited by salam on Fri Aug 18, 2017 3:42 am, edited 1 time in total.

Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 28 posts ]  Go to page 1 2 Next

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