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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-13-2009, 02:13 PM
spamm spamm is offline
Member
 
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

KBScanner.zip


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

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.

Instructions:
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.

NOTE:
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.

NOTE:
- 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 03:25 PM.
Reply With Quote
  #2  
Old 12-13-2009, 03:39 PM
DGDobrev DGDobrev is offline
Approved Member
 
Join Date: Feb 2009
Location: Bottrop, Germany, born Varna, Bulgaria.
Posts: 1,414
Default

Works perfectly, spamm, great one

The report is the most important thing to take into account, showing you every simple thing that the shops sell - items, troops, scrolls and whatnot
__________________
Reply With Quote
  #3  
Old 12-13-2009, 07:20 PM
billythegreat billythegreat is offline
Member
 
Join Date: Oct 2008
Posts: 89
Default

Can you edit with this mod the item's availability at a shop or is only useful just to see if the wanted items are in the game or not ?
Reply With Quote
  #4  
Old 12-13-2009, 07:40 PM
DGDobrev DGDobrev is offline
Approved Member
 
Join Date: Feb 2009
Location: Bottrop, Germany, born Varna, Bulgaria.
Posts: 1,414
Default

As a tool, it simply scanns the save game. However, you can try to decompile, edit and recompile it, but make sure you keep a backup of the saved game.

How to do that is described in the readme file. If anything has changed and it is not there, then the KB_EDIT tool is the way to go.
__________________
Reply With Quote
  #5  
Old 12-13-2009, 11:05 PM
Mystic Phoenix's Avatar
Mystic Phoenix Mystic Phoenix is offline
Approved Member
 
Join Date: Oct 2008
Location: Germany
Posts: 38
Default

Great tool for sure, many thanks for that.

I just wonder how reliable it is:
In a test there seem to be at least three pieces of information that might be wrong (and I discovered them just by cross reading the file and not via an in-depth analysis). While I might have easily missed two caches in trees on Debir (although I was really thoroughly searching for them), I think it is difficult to miss the skeleton on Rusty Anchor which has some magic crystals to offer according to the file.

Are the diggable chest mentioned as well? Didn't find them on first glance.
Reply With Quote
  #6  
Old 12-13-2009, 11:20 PM
DGDobrev DGDobrev is offline
Approved Member
 
Join Date: Feb 2009
Location: Bottrop, Germany, born Varna, Bulgaria.
Posts: 1,414
Default

Those cashes may be exactly buries chests. I can assure you, this tool is extremely accurate, as it scans the save game itself, and if the data in the save game is not accurate... What will be, is a good question to ask oneself It will give you info about artifact, unit, and whatnot in a nutshell (or sort of).

For example, when I scanned my last game just before finishing it, I discovered I missed out on several hidden chests (some containing valuable items)...
__________________
Reply With Quote
  #7  
Old 12-14-2009, 01:28 AM
Saridu Saridu is offline
Member
 
Join Date: Sep 2008
Location: Perth
Posts: 91
Default

Very useful, one of my saved games has the red dragon amulet but I was too scared to start it in case I couldn't find Red Dragons (outside the dragon lair of course)
Reply With Quote
  #8  
Old 12-14-2009, 06:25 AM
mnorbi75 mnorbi75 is offline
Junior Member
 
Join Date: Nov 2009
Posts: 8
Default

maybe my fault , but savegame editor is bugged at me , i just see ???????
I think it is russian version or charachters, can you tell me how can i use english version ?
Reply With Quote
  #9  
Old 12-14-2009, 06:39 AM
marc marc is offline
Junior Member
 
Join Date: Nov 2008
Posts: 29
Default

Well, that confirms it, not a single demonologist to be had in my game
Reply With Quote
  #10  
Old 12-14-2009, 08:33 AM
DGDobrev DGDobrev is offline
Approved Member
 
Join Date: Feb 2009
Location: Bottrop, Germany, born Varna, Bulgaria.
Posts: 1,414
Default

Quote:
Originally Posted by mnorbi75 View Post
maybe my fault , but savegame editor is bugged at me , i just see ???????
I think it is russian version or charachters, can you tell me how can i use english version ?
The editor is russian. There is no english version as far as I know. Try to get the windows to show Cyrillic chars (through language settings or additional programs) and use google translate afterwards.
__________________
Reply With Quote
Reply

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 05:32 AM.

Based on a design by: Miner Skinz.com

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