Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Settlers 2:Rise of Cultures Tool

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Settlers 2:Rise of Cultures Tool

Post by Rheini »

Ok I created a new thread for the tool to keep it clean.
Discussion about the format etc. can be found in viewtopic.php?f=21&t=3142

Current version: v1.11 BETA
CHANGES:
v1.11
- FIXED: compression bug

v1.10
- FIXED: compression should now work properly

v1.01
- FIXED: decryption failed when filename contained capital letters
- FIXED: you can drag&drop files now

v1.0
- supports 10th Anniversary files as well
- supports encryption

Both tools can decrypt 10th Anniversary and Rise of Cultures files, but while AdKEd encrypts normal files to RoC files, DnGEd converts them to 10th A. ones.

Compression doesn't work properly yet, in fact files get bigger.


OH AND CAUTION, THE TOOL OVERWRITES THE INPUT FILE, SO ALWAYS COPY THE FILES YOU WANT TO DECRYPT INTO A WORKING FOLDER.

EDIT: If you want to decrypt a whole directory, you can use a batch script like the following for the moment:

Code: Select all

FOR %%i IN (*.*) DO AdKEd %%i
You just need to put this into a text file, rename it "go.bat" and run it. :wink:
You do not have the required permissions to view the files attached to this post.
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Re: Settlers 2:Rise of Cultures Tool

Post by Rheini »

Ok here is a preliminary encrypter. It is a hacked version of the encrypter for S2:DNG.
Just in case I don't have the time to finish my own :wink:

EDIT: In case of virus messages: I couldn't find anything bad in there, AntiVir & Co. normally cry wolf cause the exe is packed.
You do not have the required permissions to view the files attached to this post.
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Re: Settlers 2:Rise of Cultures Tool

Post by Rheini »

updated to v1.0
hunpatrik
veteran
Posts: 101
Joined: Mon Jan 04, 2010 9:21 pm
Has thanked: 10 times
Been thanked: 5 times

Re: Settlers 2:Rise of Cultures Tool

Post by hunpatrik »

Hello!
Now i use this tools and i make the hungarian translation for the game. I started with the ui.txt.
In most of the document i can use éáűúőóüöí characters, but some place i can't.
for example: line 169:
I can't write:
!Castle_tip_kurz A főhadiszállás minden település szíve.
Only:
!Castle_tip_kurz A fohadiszallas minden telepules szive.

other problem some place i can't modify or delete dthe german text like:
line 161:
!Cancel Tutorial Abbrechen
if i edit/replace Abbrechen the file will corrupt.
or at line 139:
!CONNECTION_LOST A kapcsolat megszakadt verloren
if i delet the verloren world the file will corrupt.

Can anyone give me some help, how can i solve the problem?
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Re: Settlers 2:Rise of Cultures Tool

Post by Rheini »

First problem might be caused by using the wrong encoding.
Second one, no clue atm.
hunpatrik
veteran
Posts: 101
Joined: Mon Jan 04, 2010 9:21 pm
Has thanked: 10 times
Been thanked: 5 times

Re: Settlers 2:Rise of Cultures Tool

Post by hunpatrik »

thanks anyway (:
Servismann
ultra-n00b
Posts: 7
Joined: Sat Jul 17, 2010 1:14 pm

Re: Settlers 2:Rise of Cultures Tool

Post by Servismann »

Hi,

changes in encryption file size of 3 bits. Please advice how to solve this problem

using tools from the forum without coding into the Czech language
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Re: Settlers 2:Rise of Cultures Tool

Post by Rheini »

don't understand what you mean.
strangely I can't even find the original source code anymore. :?
Servismann
ultra-n00b
Posts: 7
Joined: Sat Jul 17, 2010 1:14 pm

Re: Settlers 2:Rise of Cultures Tool

Post by Servismann »

Use the tools if you have recommended to transfer back the resulting file has the same size as the original.

is only seen - "!Single Player" translation is "JEDEN HRAC"



Thank you for your help
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Re: Settlers 2:Rise of Cultures Tool

Post by Rheini »

sry, I don't understand.
So you tried decrypting a file, translating it and then re-encrypted it, right?
What went wrong, any error messages?
Servismann
ultra-n00b
Posts: 7
Joined: Sat Jul 17, 2010 1:14 pm

Re: Settlers 2:Rise of Cultures Tool

Post by Servismann »

yes exactly

original file size after translation of 4039b and 4042b encrypted file size

change only the name "SINGLE" (6 letters and spaces) to "JEDEN " (6 letters and spaces)

no error message is not shown only the correct text

correct text "JEDEN" wrong text "!Single" WHY?

thanks
Rheini
Moderator
Posts: 652
Joined: Wed Oct 18, 2006 9:48 pm
Location: Germany
Has thanked: 19 times
Been thanked: 46 times
Contact:

Re: Settlers 2:Rise of Cultures Tool

Post by Rheini »

Please post your files so I can try to reproduce it.
Servismann
ultra-n00b
Posts: 7
Joined: Sat Jul 17, 2010 1:14 pm

Re: Settlers 2:Rise of Cultures Tool

Post by Servismann »

I have the files you have you translated into English from German

from this set, I tried to create a Czech translation
Simon
mega-veteran
mega-veteran
Posts: 180
Joined: Sun Sep 20, 2009 5:41 pm
Has thanked: 31 times
Been thanked: 20 times

Re: Settlers 2:Rise of Cultures Tool

Post by Simon »

Sorry for Off Topic. but JEDEN is not the German word for SINGLE ;)

You can translate it with ANY or better EVERY
Servismann
ultra-n00b
Posts: 7
Joined: Sat Jul 17, 2010 1:14 pm

Re: Settlers 2:Rise of Cultures Tool

Post by Servismann »

"JEDEN" is not German word but it's the Czech word for one player
Post Reply