ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sat Jun 23, 2018 7:16 pm

All times are UTC




Post new topic  Reply to topic  [ 32 posts ]  Go to page 1 2 Next
Author Message
 Post subject: The Council Episode 1
PostPosted: Thu Mar 15, 2018 3:28 pm 

Joined: Sat May 28, 2016 5:43 am
Posts: 53
Hi!

How to extract/repack the Loca_en_Main_0.cpk file?

Thanks before!

Br.: Patyek


Attachments:
en.zip [339.83 KiB]
Downloaded 44 times
Top
   
PostPosted: Sat Mar 17, 2018 2:07 am 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 219
The Council CPK Tool
By Delutto
See Readme.txt for instructions.
Attachment:
Updated version below.

Ps.:
1 - Texts are in *.db files. I need some other localization sample to reseach, like Loca_es_Main_0.cpk(spanish).
2 - CPKH files have some checksum information, so there's a chance of the game doesn't accept the mod files without the checksum update.
3 - There's a chance of the game read the extracted files. I don't have the game so I can't confirm that. Try copy the extracted "data" folder to same folder of the cpk file and rename/delete the respective cpk file and maybe cpkh file too.

_________________
Tribo Gamer Brasil


Last edited by Delutto on Sun Mar 18, 2018 2:06 am, edited 1 time in total.

Top
   
PostPosted: Sat Mar 17, 2018 7:50 am 

Joined: Sat May 28, 2016 5:43 am
Posts: 53
Oh, thanks a lot! I will try it! :R


Top
   
PostPosted: Sat Mar 17, 2018 8:13 am 

Joined: Sat May 28, 2016 5:43 am
Posts: 53
Delutto wrote:
The Council CPK Tool
By Delutto
See Readme.txt for instructions.The_Council_CPK_Tool_By_Delutto.7z
Ps.:
1 - Texts are in *.db files. I need some other localization sample to reseach, like Loca_es_Main_0.cpk(spanish).
2 - CPKH files have some checksum information, so there's a chance of the game doesn't accept the mod files without the checksum update.
3 - There's a chance of the game read the extracted files. I don't have the game so I can't confirm that. Try copy the extracted "data" folder to same folder of the cpk file and rename/delete the respective cpk file and maybe cpkh file too.


Hi!

The results: extracted files won't work, even if i deleted both 2 files. But good news that are the other file looks not needed - because if i deleted Loca_es_Main_0.cpkh file the subtitles are correct (english) but the Loca_es_Main_0.cpk needed for this. How can i edit the db files?

Thanks before!

Br.: Patyek


Top
   
PostPosted: Sat Mar 17, 2018 8:46 am 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 219
patyek wrote:
But good news that are the other file looks not needed - because if i deleted Loca_es_Main_0.cpkh file the subtitles are correct (english) but the Loca_es_Main_0.cpk needed for this.

I need the Loca_es_Main_0.cpk file for research the *.db file structure. Upload that file for me.

_________________
Tribo Gamer Brasil


Top
   
PostPosted: Sat Mar 17, 2018 8:59 am 

Joined: Sat May 28, 2016 5:43 am
Posts: 53
Delutto wrote:
patyek wrote:
But good news that are the other file looks not needed - because if i deleted Loca_es_Main_0.cpkh file the subtitles are correct (english) but the Loca_es_Main_0.cpk needed for this.

I need the Loca_es_Main_0.cpk file for research the *.db file structure. Upload that file for me.


Unfortunately my game version is contain just the english files. :(


Top
   
PostPosted: Sat Mar 17, 2018 9:07 am 

Joined: Sat May 28, 2016 5:43 am
Posts: 53
Delutto wrote:
patyek wrote:
But good news that are the other file looks not needed - because if i deleted Loca_es_Main_0.cpkh file the subtitles are correct (english) but the Loca_es_Main_0.cpk needed for this.

I need the Loca_es_Main_0.cpk file for research the *.db file structure. Upload that file for me.



I bought the game, i will see that contains the spanish version.


Top
   
PostPosted: Sat Mar 17, 2018 9:35 am 

Joined: Sat May 28, 2016 5:43 am
Posts: 53
Delutto wrote:
patyek wrote:
But good news that are the other file looks not needed - because if i deleted Loca_es_Main_0.cpkh file the subtitles are correct (english) but the Loca_es_Main_0.cpk needed for this.

I need the Loca_es_Main_0.cpk file for research the *.db file structure. Upload that file for me.


Attachments:
Loca_sp_Main_0.zip [128.32 KiB]
Downloaded 56 times
Top
   
PostPosted: Sat Mar 17, 2018 12:09 pm 

Joined: Tue Feb 10, 2015 8:28 am
Posts: 41
patyek wrote:
Delutto wrote:
patyek wrote:
But good news that are the other file looks not needed - because if i deleted Loca_es_Main_0.cpkh file the subtitles are correct (english) but the Loca_es_Main_0.cpk needed for this.

I need the Loca_es_Main_0.cpk file for research the *.db file structure. Upload that file for me.



I bought the game, i will see that contains the spanish version.

Take this.But He can make Swuforce for this files


Attachments:
The_Council.rar [319.23 KiB]
Downloaded 65 times
Top
   
PostPosted: Sat Mar 17, 2018 11:23 pm 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1081
@Delutto
How about all archives?

Image

Code:
Exception EOutOfMemory in module The_Council_CPK_Tool.exe at 000AF98E.
Out of memory.

Exception EStreamError in module The_Council_CPK_Tool.exe at 000AF9B9.
Out of memory while expanding memory stream.


Attachments:
all .db.rar [1.37 MiB]
Downloaded 32 times
Top
   
PostPosted: Sat Mar 17, 2018 11:47 pm 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 219
makc_ar wrote:
@Delutto
How about all archives?
Code:
Exception EOutOfMemory in module The_Council_CPK_Tool.exe at 000AF98E.
Out of memory.

Exception EStreamError in module The_Council_CPK_Tool.exe at 000AF9B9.
Out of memory while expanding memory stream.

Hmm... my tool load cpk file to memory but there's some huge files, I'll change to FileMemory...
I need some of these up to 1Gb files to tests. Can someone upload?
Ps.: Google Drive links, please.

_________________
Tribo Gamer Brasil


Top
   
PostPosted: Sun Mar 18, 2018 12:58 am 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1081
Оld tool by swuforce for .db files. Need test


Attachments:
ALL_TEXT (without duplicates).txt.rar [219.91 KiB]
Downloaded 36 times
The Council .db export_import.rar [865.8 KiB]
Downloaded 44 times
Top
   
PostPosted: Sun Mar 18, 2018 1:46 am 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 219
makc_ar wrote:
@Delutto
How about all archives?
Try this new version. If doesn't work, I'll need the upto 1GB cpk file to check.
The Council Episode 1 CPK Tool
By Delutto
Attachment:
The_Council_CPK_Tool_By_Delutto.7z [634.64 KiB]
Downloaded 99 times


makc_ar wrote:
Оld tool by swuforce for .db files. Need test
Seems works perfectly.

The Council Episode 1 DB Text Tool
By Delutto
See Readme.txt for instructions.
!!!NEW VERSION!!!
Attachment:
File comment: Updated version.
The_Council_Episode_1_DB_Text_Tool_By_Delutto.7z [633.75 KiB]
Downloaded 64 times

Ps.: My tool skip blank lines.

_________________
Tribo Gamer Brasil


Last edited by Delutto on Tue Mar 20, 2018 12:49 am, edited 2 times in total.

Top
   
PostPosted: Sun Mar 18, 2018 2:47 am 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1081
@Delutto
Crash:
Code:
Exporting texts from chapter2_loc_toc_0.db to chapter2_loc_toc_0.txt...
Entries Count: 1

Exporting texts from q11_loc_toc_0.db to q11_loc_toc_0.txt...
Entries Count: 2

Exporting texts from q12_loc_toc_0.db to q12_loc_toc_0.txt...
Entries Count: 1

Exporting texts from q2_loc_toc_0.db to q2_loc_toc_0.txt...
Entries Count: 3

Exporting texts from chapter5_loc_toc_0.db to chapter5_loc_toc_0.txt...
Entries Count: 0

Exporting texts from q4_loc_toc_0.db to q4_loc_toc_0.txt...
Entries Count: 3

Exporting texts from q8_loc_toc_0.db to q8_loc_toc_0.txt...
Entries Count: 11


Top
   
PostPosted: Sun Mar 18, 2018 3:02 am 
User avatar

Joined: Sun Aug 17, 2014 7:27 pm
Posts: 1081
For Bitmap Font Generator http://www.angelcode.com/products/bmfont configuration files (*.bmfc)


Attachments:
File comment: .bat and tool
.bmfc to .fnt Tool.rar [453.28 KiB]
Downloaded 44 times
File comment: .fnt here Gui_Main_0\data\gui\fonts\*.fnt
.dds here Gui_Main_0\data\gui\textures\

.bmfc for BMFont.rar [9.66 KiB]
Downloaded 32 times
Top
   
PostPosted: Sun Mar 18, 2018 4:20 am 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 219
makc_ar wrote:
@Delutto
Crash:
Code:
Exporting texts from chapter2_loc_toc_0.db to chapter2_loc_toc_0.txt...
Entries Count: 1

Exporting texts from q11_loc_toc_0.db to q11_loc_toc_0.txt...
Entries Count: 2

Exporting texts from q12_loc_toc_0.db to q12_loc_toc_0.txt...
Entries Count: 1

Exporting texts from q2_loc_toc_0.db to q2_loc_toc_0.txt...
Entries Count: 3

Exporting texts from chapter5_loc_toc_0.db to chapter5_loc_toc_0.txt...
Entries Count: 0

Exporting texts from q4_loc_toc_0.db to q4_loc_toc_0.txt...
Entries Count: 3

Exporting texts from q8_loc_toc_0.db to q8_loc_toc_0.txt...
Entries Count: 11

These *.db are from "Databases_PC_Main_0.cpk" file? These cpk file have only just a few french texts, and the file structure have some little differences, but they are useless for translations. Use DB tool only on *db files extracted from Loca_**_Main_0.cpk files. Or try the swuforce tool on they.
By the way, updated CPK Tool work on other cpk files? The big ones?

_________________
Tribo Gamer Brasil


Top
   
PostPosted: Sun Mar 18, 2018 12:49 pm 

Joined: Sat May 28, 2016 5:43 am
Posts: 53
makc_ar wrote:
Оld tool by swuforce for .db files. Need test


Thanks! I try to import an edited txt file, and the program say that: "Can't open common_loc_en_0 file."

Any idea?

Br.: Patyek


Top
   
PostPosted: Mon Mar 19, 2018 4:11 pm 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 219
patyek wrote:
Thanks! I try to import an edited txt file, and the program say that: "Can't open common_loc_en_0 file."

Any idea?

Br.: Patyek
*.txt files need to be on the same folder of the original *.db files.

_________________
Tribo Gamer Brasil


Top
   
PostPosted: Mon Mar 19, 2018 5:30 pm 

Joined: Sat May 28, 2016 5:43 am
Posts: 53
Delutto wrote:
patyek wrote:
Thanks! I try to import an edited txt file, and the program say that: "Can't open common_loc_en_0 file."

Any idea?

Br.: Patyek
*.txt files need to be on the same folder of the original *.db files.



Your tool is working, but i got these (see the pictures), is still when i reimport the untouched txt file.


Attachments:
ZENHAX.ZIP [442.46 KiB]
Downloaded 48 times
Top
   
PostPosted: Mon Mar 19, 2018 5:47 pm 
User avatar

Joined: Tue Oct 13, 2015 1:26 pm
Posts: 219
patyek wrote:
Your tool is working, but i got these (see the pictures), is still when i reimport the untouched txt file.
Hmm... strange. Please, send me your edited txt. Let me see whats is going on.

_________________
Tribo Gamer Brasil


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