for those having the read only problem uninstall 7-Zip and the install the 2016 version of 7-zip. it doesn't have the write protections on that version. for some reason the newer versions do. hope it helps
Hi, I have the problem that people keep telling me that the Scripts PAK file is write-protected and I can't take down the write protection either. Due to this problem I can delete the q_pribBattel.xml or insert the changed one. I would be grateful for any help.
Hello, I am experiencing this problem. Your reddit post has seemingly been removed. Ive just been trying to figure out how to manually fix this issue. Ive found exactly what is needed to be changed, but i could not save the file as it is "read only". Ive looked everywhere and could not find a fix. What else ive attempted was unzipping the file, and replacing the q_pribBattle.xml file with one that has the removed lines of code. I then used winrar and re-packed it correctly into a .pak file like it was before then replaced the scripts.pak file in the games files with the new one. After attempting to launch the game it would not load. However after replacing the scripts.pak with the old one the game launched perfectly again. Im not sure of any other ideas on how to make it work, or how to fix the "read only" issue.
When I press save it tells me that the file is read-only and when I go to remove the game folder it is read-only, when I remove it it becomes alone, solution please?
Issues i've encountered: 1. I could find NO "java" reference in the file - q_PriBattle.xml. 2. I DID find a matching section of the text, which was the closest to the described area which was to be deleted manually, & looked like this: <IfCondition failOnCondition=""false"" condition=""$questObjectiveUpdate.ObjectiveName == 'battleLost' & $questObjectiveUpdate.State == $enum:ObjectiveState.Started""> <SetQuestObjective quest="""" objective=""battleLost"" function=""CompleteObjective"" /> </IfCondition> <IfCondition failOnCondition=""false"" condition=""$questObjectiveUpdate.ObjectiveName == 'gameOver' & $questObjectiveUpdate.State == $enum:ObjectiveState.Completed""> <Sequence> <QuestObjectiveCondition quest="""" objective=""playerFled"" function=""IsObjectiveCompleted"" failSubtMissing=""false"" saveVersion="2"> <Then canSkip="1"> <GameOver Reason=""Q_IR_FledBattle"" /> </Then> </QuestObjectiveCondition> <QuestObjectiveCondition quest="""" objective=""battleLost"" function=""IsObjectiveCompleted"" failSubtMissing=""false"" saveVersion="2"> <Then canSkip="1"> <GameOver Reason=""TooManyCausalties"" /> </Then> </QuestObjectiveCondition> <QuestObjectiveCondition quest="""" objective=""killPlayer"" function=""IsObjectiveCompleted"" failSubtMissing=""false"" saveVersion="2"> <Then canSkip="1"> <GameOver Reason=""LostABattle"" /> </Then> </QuestObjectiveCondition> </Sequence> </IfCondition>
3. I could NOT save the edited version in 7Zip, as the error of "read" only was occurring. 4. Even after navigating to the folder in which the edited file is supposed to be saved by 7Zip, and altering the properties of the folder to no longer be "read only," 7Zip would still return the error of "...can't save...read only." 5. I even tried dropping the edited version which was saved to my pc, into the correct location, as someone else described doing, but again I was met with an error preventing me from doing so.
I don't want to play someone else's saved game, so I opted to attempt the manual editing as described on the "Description" page for this mod. Anyone have any suggestions? I've come back to this buggy, almost broken at times, game after a long time away from it, to actually try to finish it, and if I can't get past this ridiculous (should have been fixed, and the fact they left so many bugs in the game makes me want to avoid anything else they ever make) bug then I might as well uninstall, and move on. Any help would be appreciated. Thanks...
Pressing F4 does nothing for me, cannot edit the file in 7-zip or rar. Can't I just download the whole pak file that is fixed and replace the one I have? Also tried download your save file but the game didn't even find it even though I put it in the right place.
I can edit it (eventually) but game won't let me save the changes as its a read only (in my G drive) and no matter what I do it won't let me change it to disable the read only - so no clue what to try now
WOO HOO GOT IT TO WORK I Looked at the file path on the pop up where it said it couldn't save as was read only. Which was in app data local etc etc. Copied that which was the altered version, Then went back to the 7zip archive and deleted the one in there and dropped in the altered one - worked perfectly straight away on a save just outside that encampment and went through the entire battle with no problems, thank you for the list of stuff to be deleted :)
Just wanted to verify this quickfix still works for me thank you so much for the hard work and effort on this was so sad i could not continue due to this bug. U r da best! Thank you again!
hi and thank you depending on if you use my save i pretty much complted the baptism of fire battle
but i gave the option in the description on how i got my own save to work insted of useing someone eles was a bit trickey to do as i try one i saw on here but he had relly bad reption so i thort i try upload my save i got to work with the code change i explane in the descripton
thank you for your response, in fact what kills me in this mission is "too many deaths" which forces you to start over, the ideal would be to arrive in front of runt, fight him and be able to resume our own quests as well as the continuation of the game, it should not be easy I know ...
16 comments
I have the problem that people keep telling me that the Scripts PAK file is write-protected and I can't take down the write protection either.
Due to this problem I can delete the q_pribBattel.xml or insert the changed one.
I would be grateful for any help.
Link to my post on redit:
https://www.reddit.com/r/kingdomcome/comments/10xwfsw/final_working_fix_for_everybody_with_babtism_of/
1. I could find NO "java" reference in the file - q_PriBattle.xml.
2. I DID find a matching section of the text, which was the closest to the described area which was to be deleted manually, & looked like this:
<IfCondition failOnCondition=""false"" condition=""$questObjectiveUpdate.ObjectiveName == 'battleLost' & $questObjectiveUpdate.State == $enum:ObjectiveState.Started"">
<SetQuestObjective quest="""" objective=""battleLost"" function=""CompleteObjective"" />
</IfCondition>
<IfCondition failOnCondition=""false"" condition=""$questObjectiveUpdate.ObjectiveName == 'gameOver' & $questObjectiveUpdate.State == $enum:ObjectiveState.Completed"">
<Sequence>
<QuestObjectiveCondition quest="""" objective=""playerFled"" function=""IsObjectiveCompleted"" failSubtMissing=""false"" saveVersion="2">
<Then canSkip="1">
<GameOver Reason=""Q_IR_FledBattle"" />
</Then>
</QuestObjectiveCondition>
<QuestObjectiveCondition quest="""" objective=""battleLost"" function=""IsObjectiveCompleted"" failSubtMissing=""false"" saveVersion="2">
<Then canSkip="1">
<GameOver Reason=""TooManyCausalties"" />
</Then>
</QuestObjectiveCondition>
<QuestObjectiveCondition quest="""" objective=""killPlayer"" function=""IsObjectiveCompleted"" failSubtMissing=""false"" saveVersion="2">
<Then canSkip="1">
<GameOver Reason=""LostABattle"" />
</Then>
</QuestObjectiveCondition>
</Sequence>
</IfCondition>
3. I could NOT save the edited version in 7Zip, as the error of "read" only was occurring.
4. Even after navigating to the folder in which the edited file is supposed to be saved by 7Zip, and altering the properties of the folder to no longer be "read only," 7Zip would still return the error of "...can't save...read only."
5. I even tried dropping the edited version which was saved to my pc, into the correct location, as someone else described doing, but again I was met with an error preventing me from doing so.
I don't want to play someone else's saved game, so I opted to attempt the manual editing as described on the "Description" page for this mod.
Anyone have any suggestions? I've come back to this buggy, almost broken at times, game after a long time away from it, to actually try to finish it, and if I can't get past this ridiculous (should have been fixed, and the fact they left so many bugs in the game makes me want to avoid anything else they ever make) bug then I might as well uninstall, and move on.
Any help would be appreciated.
Thanks...
WOO HOO GOT IT TO WORK
I Looked at the file path on the pop up where it said it couldn't save as was read only. Which was in app data local etc etc. Copied that which was the altered version, Then went back to the 7zip archive and deleted the one in there and dropped in the altered one - worked perfectly straight away on a save just outside that encampment and went through the entire battle with no problems, thank you for the list of stuff to be deleted :)
but i gave the option in the description on how i got my own save to work insted of useing someone eles was a bit trickey to do as i try one i saw on here but he had relly bad reption so i thort i try upload my save i got to work with the code change i explane in the descripton