ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Wed Oct 17, 2018 12:56 am

All times are UTC




Post new topic  Reply to topic  [ 41 posts ]  Go to page 1 2 3 Next
Author Message
 Post subject: Dark Souls II (fmg)
PostPosted: Sat Dec 12, 2015 9:52 pm 

Joined: Thu Oct 16, 2014 4:39 pm
Posts: 166
Here is a tool for the game fmg text files. Unfortunately i don't know any repacker working with bigger size then original, so you can only do a file size limit.
The end of the files has a padding so you can exceed the character limit with a very few. Each txt file has a first line contain the filename, the number of characters (not counting the first line), and a number you can exceed the limit.
eg, if you got newgame.fmg.txt and you see in first line [newgame.fmg.txt__8__2] and got one line New Game, you can change it to New Game12, and it should work.

There are two methods you can use it.
Use Atvaark's BinderTool to unpack GameDataEbl.bdt
Export, import text, watch the file size limit
Then use Atvaark's Dark-Souls-II-Mod-Loader to replace the files

Or
Use Atvaark's BinderTool to unpack GameDataEbl.bdt
Use Quickbms and GameDataEbl_fmgunpack.bms to unpack fmg's from GameDataEbl.bdt
Use compare.exe to separate the language files, Select menu\Text\English then the folder you unpack with quickbms
Export import texts from Ds2FMG folder, watch the file size limit
Reimport Ds2FMG folder with quickbms


Tested only with non original v1.0 game


Attachments:
darksouls2_texttool.7z [427.01 KiB]
Downloaded 3200 times
Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Sun Dec 13, 2015 1:38 am 

Joined: Sat Jul 11, 2015 8:04 am
Posts: 26
thank you very much, it awesome
And to play the game, do we need to repack .bdt file


Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Sun Dec 13, 2015 9:57 pm 

Joined: Sun Aug 10, 2014 12:49 pm
Posts: 269
I made repacker with no char limitations for X360, it will be the same i can share it if you like just need a few fmg files.. Format is not that hard just tricky ..


Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Sun Dec 13, 2015 11:32 pm 

Joined: Sat Jul 11, 2015 8:04 am
Posts: 26
michalss wrote:
I made repacker with no char limitations for X360, it will be the same i can share it if you like just need a few fmg files.. Format is not that hard just tricky ..


here the sample for pc version


Attachments:
English.rar [222.32 KiB]
Downloaded 195 times
Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Mon Dec 14, 2015 7:42 am 

Joined: Sun Aug 10, 2014 12:49 pm
Posts: 269
here you go, never tested but should work ok..

Code:
https://dl.dropboxusercontent.com/u/38234344/Tools/DS2%20FMG%20Manager.rar


Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Mon Dec 14, 2015 12:12 pm 

Joined: Sat Jul 11, 2015 8:04 am
Posts: 26
michalss wrote:
here you go, never tested but should work ok..

Code:
https://dl.dropboxusercontent.com/u/38234344/Tools/DS2%20FMG%20Manager.rar


I not test yet, but thanks first


Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Mon Dec 14, 2015 3:30 pm 

Joined: Thu Oct 16, 2014 4:39 pm
Posts: 166
I was not so accurate.
The size limit is because the bdt/bhd repack.
Quickbms can't reimport bigger files, and DS2ModLoader also not support Replacing a file with a bigger one.


Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Mon Dec 14, 2015 4:55 pm 

Joined: Sat Jul 11, 2015 8:04 am
Posts: 26
swuforce wrote:
I was not so accurate.
The size limit is because the bdt/bhd repack.
Quickbms can't reimport bigger files, and DS2ModLoader also not support Replacing a file with a bigger one.


i used your bms script to repack .bdt file, but it say: "the file is bigger than 4gb so it's not support by Quickbms"


Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Mon Dec 14, 2015 11:23 pm 

Joined: Sun Dec 21, 2014 7:43 pm
Posts: 23
No one can decrypt the header ?
if be possible, i can " move " the fmg files for " another place " in the GameDataEbl.bdt file...

making possible to insert files biggest than the original.


Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Sat Jan 23, 2016 11:10 am 
User avatar

Joined: Sat Dec 05, 2015 2:31 pm
Posts: 62
Okay, this is what I got so far using these tools:

I can't use the Mod Tools, because it makes the game crash (no wonder, it was made for version 1.0, and I have the latest).

I can only use QuickBMS reimport with Bindertool and TextTool stuff, BUT when I import the text back in:
1. If it's longer it won't get imported, meaning it has to be the same size, smaller or a bit bigger (like it says).
2. If it has a good size, then unicode characters (such as é-á-ű...etc) won't get displayed.

Now I've tried using FMG Manager, this is what I've got:
1. If it's longer then EVERY text disappears, even menu ones.
2. If it has a good size, then only the modified file's text disappears in-game, regardless if it has unicode characters or not.



Can anyone help me with this? I need unicode characters and maybe longer text to be displayed in-game.


Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Fri Feb 05, 2016 9:48 pm 

Joined: Thu Oct 16, 2014 4:39 pm
Posts: 166
I add a line to Atvaark's BinderTool to copy decrypted bhd to c. I can't find any email to ask premission, but i hope it's ok to post it.

Use the modified BinderTool to unpack GameDataEbl. A decrypted.dat file should appear on c: drive, rename to GameDataEbl.bhd and copy to gamefolder, backup original.
Copy text files to a new folder, keep the folder structure. eg: NEWFOLDER\menu\Text\English
Export, import text, no need to keep size limit.
Use darksouls2_bdt_import to copy modified files to end of bdt file. PossibleFilenames.csv need to be in the folder with exe.


Attachments:
darksouls2_texttool.7z [1.21 MiB]
Downloaded 678 times
Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Sat Feb 06, 2016 12:40 pm 

Joined: Sat Jul 11, 2015 8:04 am
Posts: 26
swuforce wrote:
I add a line to Atvaark's BinderTool to copy decrypted bhd to c. I can't find any email to ask premission, but i hope it's ok to post it.

Use the modified BinderTool to unpack GameDataEbl. A decrypted.dat file should appear on c: drive, rename to GameDataEbl.bhd and copy to gamefolder, backup original.
Copy text files to a new folder, keep the folder structure. eg: NEWFOLDER\menu\Text\English
Export, import text, no need to keep size limit.
Use darksouls2_bdt_import to copy modified files to end of bdt file. PossibleFilenames.csv need to be in the folder with exe.


Many thank to you :D
Hey swuforce, i run the darksouls2_bdt_import in 3 hours, and it still not complete, can you fix it?


Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Sun Feb 21, 2016 10:57 am 
User avatar

Joined: Sat Dec 05, 2015 2:31 pm
Posts: 62
vinhmk02 wrote:
swuforce wrote:
I add a line to Atvaark's BinderTool to copy decrypted bhd to c. I can't find any email to ask premission, but i hope it's ok to post it.

Use the modified BinderTool to unpack GameDataEbl. A decrypted.dat file should appear on c: drive, rename to GameDataEbl.bhd and copy to gamefolder, backup original.
Copy text files to a new folder, keep the folder structure. eg: NEWFOLDER\menu\Text\English
Export, import text, no need to keep size limit.
Use darksouls2_bdt_import to copy modified files to end of bdt file. PossibleFilenames.csv need to be in the folder with exe.


Many thank to you :D
Hey swuforce, i run the darksouls2_bdt_import in 3 hours, and it still not complete, can you fix it?


Same here, if I run this new import, it won't finish and it won't modify the files. What are we missing? Or can we use the earlier import program for this?

EDIT: It also says "Script paused" when I click on it on the desktop

EDIT 2:

Okay, I've managed to get it working. Here's what I did:

1. I made a completely new folder in drive C, and I inserted all of these new BinderTool files in it, and the PossibleFileNames and new Import/Export stuff.
2. Then I copied the GameDataEbl files into this folder, and unpacked it with BinderTool
3. I exported the English text from it, then modified it, imported it back
4. Then I opened the bdt importer and imported the whole folder back, and it was complete in a minute or so (maybe more, maybe less).

And now I still can't see unicode characters. The first line in the intro should say "Talán már láthattad, talán egy álomban." in my language, yet it says "Taln mr lthattad, taln egy lomban."

Will do further tests to see what works, but so far the unicode importing isn't :\


Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Sun Feb 21, 2016 4:08 pm 

Joined: Thu Oct 16, 2014 4:39 pm
Posts: 166
This is probably a font problem, not tool.


Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Sun Feb 21, 2016 4:10 pm 
User avatar

Joined: Sat Dec 05, 2015 2:31 pm
Posts: 62
swuforce wrote:
This is probably a font problem, not tool.


The game also has French subtitles, and I think it uses the same font files, will do tests with that and see what I can come up with.

EDIT:

For some reason I couldn't extract the French text, but I tried it out with the Spanish version. And yes, SOME Unicode characters (like é and á) appeared, and some didn't (like ö and ő).

Where and how can I edit the font files, so that it will include everything that I need?

EDIT 2:

I think the text files are stored here: menu/tex/language/English.fetexbnd.dcx

Although I tried replacing this with the Spanish one, the fonts didn't change in-game.


Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Mon Feb 22, 2016 11:16 am 

Joined: Sat Jul 11, 2015 8:04 am
Posts: 26
I think the font stored in game directory, in the folder named "font"


Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Mon Feb 22, 2016 2:02 pm 
User avatar

Joined: Sat Dec 05, 2015 2:31 pm
Posts: 62
vinhmk02 wrote:
I think the font stored in game directory, in the folder named "font"


You are right! I didn't think of something simple as this :lol:

Once I get home in 2 hours or so will test it to see if it's working or not.

Also there are many files in there, ranging from .ccm, .dcx, .tpf. I know that .tpf is supposed to be a texture file, but I don't know how to edit it (in case I need to)

EDIT:

Well... this wasn't 2 hours lol :D

So I tested out the fonts, and yes, it turned out that the Portuguese font files are the ones I'm looking for, as they have all the required unicode fonts that I need.

And so the big translation project begins :D


Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Tue Feb 23, 2016 1:19 pm 

Joined: Sat Jul 11, 2015 8:04 am
Posts: 26
Still the same question: I run import tool in 3 hours, but it can't complete.
Reaper_Cool :do you have this problem?


Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Tue Feb 23, 2016 5:48 pm 
User avatar

Joined: Sat Dec 05, 2015 2:31 pm
Posts: 62
vinhmk02 wrote:
Still the same question: I run import tool in 3 hours, but it can't complete.
Reaper_Cool :do you have this problem?


Nope, it works perfectly for me. This is how I solved it (detailed guide by TRC, aka myself)

1. Make a folder on a drive, it can be C, D or whatever, and call it Bindertool.
2. Unpack all the stuff in there, so that Bindertool files and darksouls2_export/import/whatever will be in the same folder.
3. Copy the GameDataEbl.bdt, .bhd and GameDataKeyCode.pem into this folder.
4. Drag the GameDataEbl.bdt file onto the Bindertool program, and let it finish (don't do a thing on your PC, it should be finished in 10 mins max., the Bindertool black cmd window will disappear).
5. Once it's done, run darksouls2_export, and go into the BinderTool\GameDataEbl\menu\Text\English folder, and select it.
6. It should be finished in 1 min max., and will create an English.txt next to these Bindertool files.
7. Edit it however you like, and once you are done editing it, just run the darksouls2_import application, choose the English.txt file and then the folder that you've chosen earlier (BinderTool\GameDataEbl\menu\Text\English)
8. You have a file on your C drive called "decrypted.dat", go and copy it here into your Bindertool folder.
9. Rename this file into "GameDataEbl.bhd", deleting the former one (you can make a backup copy of it).
10. Now comes the importing, which now shouldn't take long. You run the darksouls2_bdt_import application, and then choose GameDataEbl.bdt file, and then the GameDataEbl folder (which means you don't choose just the English folder or any folder, you choose the whole folder that you've extracted earlier). There's a PossibleFilenames.csv file, it should be in the same file as darksouls2_bdt_import (just like the rest of the files)
11. Now you have to wait, don't do anything or click on the application's icon on the tray in the bottom right corner of the screen, and let it run and do it's thing. It should be finished in 10 mins or so.
12. Copy the files back to the game's folder and test your stuff.

NOTE:
I've noticed that with this the files will be placed at the end of the .bdt file, meaning that it will always increase in size with every import. I suggest you always use a clean .bdt file for importing, otherwise it will get cluttered really quickly.


Hope this helps :)


Top
   
 Post subject: Re: Dark Souls II (fmg)
PostPosted: Thu Feb 25, 2016 11:48 am 

Joined: Sat Jul 11, 2015 8:04 am
Posts: 26
It work! :mrgreen: I forgot the "decrypted.dat", maybe that why the tool not working ealier.
Thank you very very much :D
Anyway, where are you from?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 41 posts ]  Go to page 1 2 3 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