Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

The Council Episode 1

Featured Replies

  • Replies 52
  • Views 0
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

patyek, posted Thu Mar 15, 2018 3:28 pm (33281)


Hi!

How to extract/repack the Loca_en_Main_0.cpk file?

Thanks before!

Br.: Patyek
  • Author
  • Localization

Delutto, posted Sat Mar 17, 2018 2:07 am (33338)


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.
  • Author
  • Localization

patyek, posted Sat Mar 17, 2018 7:50 am (33341)


Oh, thanks a lot! I will try it! :R
  • Author
  • Localization

patyek, posted Sat Mar 17, 2018 8:13 am (33342)


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
  • Author
  • Localization

Delutto, posted Sat Mar 17, 2018 8:46 am (33343)


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.
  • Author
  • Localization

patyek, posted Sat Mar 17, 2018 8:59 am (33345)


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. :(
  • Author
  • Localization

patyek, posted Sat Mar 17, 2018 9:07 am (33347)


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.
  • Author
  • Localization

patyek, posted Sat Mar 17, 2018 9:35 am (33349)


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.
  • Author
  • Localization

codec, posted Sat Mar 17, 2018 12:09 pm (33358)


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
  • Author
  • Localization

makc_ar, posted Sat Mar 17, 2018 11:23 pm (33380)


@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.
  • Author
  • Localization

Delutto, posted Sat Mar 17, 2018 11:47 pm (33381)


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.
  • Author
  • Localization

makc_ar, posted Sun Mar 18, 2018 2:47 am (33386)


@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
  • Author
  • Localization

Delutto, posted Sun Mar 18, 2018 4:20 am (33388)


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?
  • Author
  • Localization

patyek, posted Sun Mar 18, 2018 12:49 pm (33404)


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
  • Author
  • Localization

Delutto, posted Mon Mar 19, 2018 4:11 pm (33445)


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.
  • Author
  • Localization

patyek, posted Mon Mar 19, 2018 5:30 pm (33450)


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.
  • Author
  • Localization

Delutto, posted Mon Mar 19, 2018 5:47 pm (33452)


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.
  • Author
  • Localization

patyek, posted Mon Mar 19, 2018 6:02 pm (33453)


Delutto wrote:
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.



Here you are. Thanks before!
  • Author
  • Localization

Delutto, posted Mon Mar 19, 2018 10:46 pm (33455)


patyek wrote:
Here you are. Thanks before!
Sorry, I made a mistake.
Unlike all other db files, some texts in common_loc_en_0.db file has line break and I don't realized that before.
Updated version on my previous post.
Use the text extracted with new tool version. I change the text encoding too, so test if the game will accept your hungarian chars.
Let me know if works or not.
  • Author
  • Localization

patyek, posted Mon Mar 19, 2018 11:12 pm (33458)


Delutto wrote:
patyek wrote:
Here you are. Thanks before!
Sorry, I made a mistake.
Unlike all other db files, some texts in common_loc_en_0.db file has line break and I don't realized that before.
Updated version on my previous post.
Use the text extracted with new tool version. I change the text encoding too, so test if the game will accept your hungarian chars.
Let me know if works or not.


Thanks! :R Everything is work fine even the charset too!
  • Author
  • Localization

ogromanas, posted Thu May 24, 2018 11:02 pm (35246)


Hi patyek

Can you upload Loca_sp_Main_0 from episode 2 to see if it retains the db structure?

Thank you!
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.