View Single Post
  #4  
Old 08-10-2013, 06:39 PM
Janerl Janerl is offline
Registered Member
 
Join Date: Aug 2013
Posts: 4
Talking

HA I actually managed to fix this! I'll try to be thorough in case anyone else encounters a similar problem by "x"ing to close out of a chat or conversation.

I was on the right track about modifying a trigger - however, not in-game but in my save file. There IS, in fact, a save file scanner which can also be used to parse and then edit the file. Full instructions for that are in the thread linked, though I have attached both necessary files here, as the original post downloads don't work any more. This post in particular was invaluable teaching me how to find what I had to modify in my save file.


I have Windows 7 for those using the same paths for their files. Backup your save file before trying to edit!

1) Parse save file with scanner. Save games are in "C:\Users\***\Documents\My Games\Kings Bounty\$save".
2) Open savedata.exe in the newly created folder.
3) Unzip/extract loc_ses.kfs in "C:\Program Files (x86)\1C Company\King’s Bounty. The Legend\sessions\base" using 7zip/Winzip/Winrar/etc. The *.lng files contain all the text in the game, including chats divided by general response and quest-specific, and can be opened by a text editor (e.g. Notepad).
4) Search inside the *.lng files for the dialogue option you are missing. I use Windows Grep to search for text strings inside files. I searched for "coffee" because I knew that was part of Kitano's non-quest dialogue.
5) Find the chat ID number of the relevant conversation in your save file. I search for 1550108 because an example of Kitano's dialogue is
Code:
chat_system_1550108_start_answer_2=^?^I need to get to the Islands of Freedom.
6a) Remove dialogue from disabled list and change element number. In my save file, I only had one result for 1550108.
Code:
Y}{adisabled}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 1 elements
	{
		{U}{1550108.start.1} = {1}
	}
Note the {adisabled} to say that dialogue option is no longer available for that character. I removed this, noting that I also have to change the # of elements, and since it is now an empty branch, NONAMES is true.
Code:
Y}{adisabled}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{1} // 0 elements 
	{
	}
If you have more on the disabled list, careful reading of the relevant *.lng file should make it obvious which one you want to remove.
7) Remake save file using the save editor as detailed here.

And I was good to go!
Attached Files
File Type: zip KBScanner.zip (664.9 KB, 103 views)
File Type: zip KB_DB_EDIT_0.75_eng.zip (501.7 KB, 322 views)
Reply With Quote