ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Tue Sep 25, 2018 2:48 am

All times are UTC




Post new topic  Reply to topic  [ 13 posts ] 
Author Message
PostPosted: Wed May 23, 2018 9:49 am 

Joined: Mon Apr 09, 2018 11:09 pm
Posts: 84
Hello everyone.I want to translate lotf
How can I unpack and repack
I unpacked english.bin with LoFPKGUnpacker but I don't have edit tools
Can anyone help me ?
Files: http://www.mediafire.com/file/kqzuwceik ... syalar.rar


Attachments:
fonts.bin [470.38 KiB]
Downloaded 56 times


Last edited by ISKA on Sat Sep 22, 2018 12:13 am, edited 2 times in total.
Top
   
PostPosted: Wed May 30, 2018 2:59 pm 

Joined: Wed May 30, 2018 2:56 pm
Posts: 1
Hello, I want to translate this game too. I'm Turkish translator. I unpacked english.bin with LoFPKGUnpacker too. Just like you, I don't have edit tools. Please someone help.


Top
   
PostPosted: Wed Jun 06, 2018 8:32 pm 

Joined: Mon Apr 09, 2018 11:09 pm
Posts: 84
up


Top
   
PostPosted: Wed Jun 06, 2018 11:33 pm 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 306
ISKA wrote:
up
First: Link dead.
Second: Whats the point in edit localization files if there's no PKG repacker?!?

_________________
Tribo Gamer Brasil


Top
   
PostPosted: Wed Jun 06, 2018 11:51 pm 

Joined: Mon Apr 09, 2018 11:09 pm
Posts: 84
Delutto wrote:
ISKA wrote:
up
First: Link dead.
Second: Whats the point in edit localization files if there's no PKG repacker?!?

Here
http://www.mediafire.com/file/kqzuwceik ... syalar.rar
Yes now just unpack.Tools doesnt work import


Top
   
PostPosted: Thu Jun 07, 2018 3:51 am 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 306
ISKA wrote:
Yes now just unpack.Tools doesnt work import
Here some tips for newbies on game mod/translation:

First off all, you need find were are located the resources that you want to mod. For texts, use some "Find in files" text search and point to game root folder, search for some game text, but something simple like "NEW GAME". HEX Editor have this feature, even Notepad++ have this. For textures, you can use that same text search, searching for the resource Magic(e.g. DDS, search for "DDS " text), or try some file ripper focused on game resources, like the HyperRipper from Dragon UnPACKer or similar.

If that resources are packed inside some main package/big file, you'll need a tool/script to unpack those resources from your main package. For recents games, Zenhax is your best choice, but use the forum search before open a new topic asking for help. For older games, maybe you'll have more lucky on Xentax. There's a good chance that package allready cover by some quickbms script, so use the quickbms search: http://aluigi.altervista.org/quickbms.htm#search. And of course, Google it!
Note about quickbms reimport: There's NO guarantees that all script works for reimport, its depends of the file structure and how the script was coded. And reimport doesn't support checksums(not sure).

OK, you was able to extract those resource from main package, the next step is make sure that tool/script have import/repack/pack/compile feature, once you probably need do this for your mod/translation be readed by game. Once you extracted the resources try reimnport the untouched original resources back and check if the game works. If works, next step is mod just ONE resource, reimport and check ingame again.Be ware that reimport solution could not support moded files bigger than original, so try mod a file keeping your original size or smaller. With texts, use the original charset.

If reimport doesn't works, STOP RIGHT THERE!!! There's a good chance that never will be a solution for this(reimport is too much more complex), and you will not waste your time(and the time of those trying helping you) with something that will be useless.

You can ask for help with this kind of incomplete solution, but do this on the same place you found the unpacker/extraction solution.

So ISKA, don't get me wrong, I'm trying to help you, it's the 3th time that I see you asking for help for a game that still not have repack solution. If you read the entire discution about this pkg files, you'll see that both aluigi and Ekey (two experts) worked on this format and still have no repack solution.
I appreciate your determination, but sometimes we need move on.

_________________
Tribo Gamer Brasil


Top
   
PostPosted: Thu Jun 07, 2018 6:10 am 
User avatar

Joined: Wed Jul 19, 2017 5:04 am
Posts: 124
lords_of_the_fallen.bms
log MEMORY_FILE CHUNK_OFF CHUNK_ZSIZE

Script Using Chunk To Get files (Export/Import)
As i know... chunk files can't be ReImport in QuickBMS (As i Know)

_________________
Be Good, Even in distressing or defamation and chill, Even Everyone's Called You a Bad Guy Or Lier and Mad


Top
   
PostPosted: Thu Jun 07, 2018 7:25 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8831
Reimporting here is not possible due to:
  • MEMORY_FILEs, necessary for guessing the extension of the nameless filenames
  • chunks, well not a real problem because it should work correctly moreover here where the offset is not sequential
  • lz4 compression because it's a headerless algorithm without terminator bit and so the game will get an error when decompressing the chunk/file
So even if I remove the MEMORY_FILE you will still have problems with lz4 and you will get files without extension.


Top
   
PostPosted: Thu Jun 07, 2018 7:34 am 
User avatar

Joined: Wed Jul 19, 2017 5:04 am
Posts: 124
aluigi wrote:
Reimporting here is not possible due to:
  • MEMORY_FILEs, necessary for guessing the extension of the nameless filenames
  • chunks, well not a real problem because it should work correctly moreover here where the offset is not sequential
  • lz4 compression because it's a headerless algorithm without terminator bit and so the game will get an error when decompressing the chunk/file
So even if I remove the MEMORY_FILE you will still have problems with lz4 and you will get files without extension.


What About putarray 0 x CHUNK_OFF?
Can you Tell Me about that ( If you have time, becuase i dont want to waste your Time)

_________________
Be Good, Even in distressing or defamation and chill, Even Everyone's Called You a Bad Guy Or Lier and Mad


Top
   
PostPosted: Thu Jun 07, 2018 7:45 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 8831
That instruction simply puts a field read from the file in an array (an ordered location of the memory) for using it later.


Top
   
PostPosted: Fri Sep 21, 2018 4:49 pm 

Joined: Sat Mar 04, 2017 10:37 am
Posts: 23
Maybe my msg was ignored some time ago, but… you don't need to "repack it". If you put the english.bin under "...\Lords Of The Fallen\bundles\patch" it works.
The problem is that there's a sort of checksum in the header of file and you can't change even a single byte...


Last edited by Hexaae on Mon Sep 24, 2018 7:53 am, edited 1 time in total.

Top
   
PostPosted: Sat Sep 22, 2018 12:20 am 

Joined: Mon Apr 09, 2018 11:09 pm
Posts: 84
Hexaae wrote:
Maybe my msg was ignored some time ago, but… you don't need to "repack it". If you put the english.bin under "...\Lords Of The Fallen\bundles\patch" it works.
The problem is that there's a sort of checksum in the header of file and you can't change even a single byte...

Maybe this is impossible. Whatever never mind :)


Top
   
PostPosted: Mon Sep 24, 2018 7:50 am 

Joined: Sat Mar 04, 2017 10:37 am
Posts: 23
Well… the only problem is understanding that number block in blue:
Image
From a comparision between the French.bin and Italian.bin (see msg here with attachments) the first block is the same: FC89C5A3, next 4 bytes change between languages… If we understand that we should be able to edit the text and use it in the game simply putting the modified .bin under "...\Lords Of The Fallen\bundles\patch", skipping the unnecessary repack process.


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