1C Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official 1C Company forum > 1C Publishing > King's Bounty > King's Bounty: Armored Princess > Mods

Mods Armored Princess mods

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12-13-2009, 03:13 PM
spamm spamm is offline
Join Date: Sep 2008
Posts: 72
Thumbs up Save Game Scanner

Save Game Scanner v1.5 for:
- Kings Bounty: The Legend
- Kings Bounty: Armored Princess


Author & Developer: Evil-Good
Translation from Russian into English: DG Dobrev

The program decompiles the save files (*.sav), analyzing their contents and providing information concerning all game objects and items in all shops, chests, burried chests, and random game objects in all islands, continents and underground maps.

1. Start the Scanner.
2. Indicate the path to the saved games folder.
3. Indicate the path to file loc_ses.kfs of the save game version that the saves belong to.
4. Hit the Scan button.
5. Wait until scanning is complete.
6. In the folder where the saved game files are found will appear a number of subfolders in which you will find these files:
- savedata.rpt - report concerning the items - where are they found and where are they sold
- savedata.txt - decompiled text of the saved game
- saveinfo.txt - decompiled text providing short information concerning the save game
- screenshot.png - screenshot of the saved game
- slotpicture.png - thumbnail of the screenshot
7. Open the file savedata.rpt in Excel or any program capable of text editing.
8. Read. Carefully.

If you want to speed up the scanning process, you can unlock the creation of the decompiled files. To do so, you muct remove the tick from "Keep the decompiled save text".

Additional options:

* Editing the saved games *

The scanner can help you edit your saved games. In order to do that, you must:
1. Download the KB_DB_EDIT_0.75_eng.zip file from the official forum of the game.
2. Start the scanner. In the Settings tab, turn on everything except "In-depth decompilation".
3. Scan the saved game.
4. Open the file savedata.txt and edit it as you see fit.
5. Start the KB_DB_EDIT_0.75_eng.exe file, hit the "Compile" button, then select "File Compilation", then Next, select the edited savedata.txt file and save is as "savedata" (as a file without an extension!).
6. Now you must calculate the checksum of the new file, or the game will consider the edited save corrupt and will not load it. So start the scanner, select "Calculate CRC" and open the "savedata" file (the one without an extension).
7. The file savecrc will appear on your HDD. Now everything is set for the update of the saved game. Open the *.sav file you decided to edit with WinZip or WinRar and replace the files "savedata" and "savecrc" with the edited ones.
8. Launch the game and load the edited *.sav file.

- Some save file editions may lead to crashes and other errors. Backing up the save file you edit is mandatory!
- File "saveinfo" is used to show information of the save files in the saved games list. Calculation of the checksum of this file after any editing has been conducted is not necessary.

* Creating report filters *

You can create various report filters by stating important objects (artifacts, troops), which the scanner will use as a basis for creating filtered mini-reports.
To do so, you must make a text file with *.flt extension, type in the list of items/creatures you wish to look for and save it. Example:

Ancient Amulet
Ring of Mind
Pain Skull
Snake ring
Usurer's Ring

and put the file in the folder where loc_ses.kfs is found. You can create a number of such files. The Scanner will find them, take them into account and create additional reports based on those files.
Several filter examples can be found in the "Filter_Examples\Eng" folder.

* Adding descriptions of unknown objects *

You have the opportunity to create your own descriptions to unknown objects. Let us assume that you have some files from the Russian version, and in your report you have:

Остров Дебир castle_frederick Крестьянин 9999

The object code Остров Дебир the scanner couldn't find in the loc_ses.kfs file, because it is not translated in English. You can help the scanner by creating a file named eng_misc.lng where you can add the code of the object through the = sign:
Остров Дебир=Debir Island

and put the file eng_misc.lng in the same folder where loc_ses.kfs is found. Now the scanner will take it into account, load it and will give this report:

Debir Island castle_frederick Крестьянин 9999

Then you can do the same for the Крестьянин code, by replacing it with peasant - Крестьянин=Peasant in the eng_misc.lng.


Last edited by spamm; 12-18-2009 at 04:25 PM.
Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:23 AM.

Based on a design by: Miner Skinz.com

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 2007 1C Company. All rights reserved.