Random crash [RTKXI, PC, Eng]

Koei’s Romance of the Three Kingdoms game series—discuss it here.

Random crash [RTKXI, PC, Eng]

Unread postby squall leonhart » Mon Jun 29, 2015 9:48 am

Romance of the Three Kingdoms XI is my favorite and number 1 game, but there is an annoying bug in it which cause the game crash randomly. I couldn't stand it anymore so I dig the internet to find out if there is any solution for it or not.
I found some related topics which shows this problem is common :

How to solve frequent crashes in RTK XI (english pc version)

Romance of the Three Kingdoms XI problem

But there is no solution for the problem!
Then I found this comment in a pirate torrent website :

Urthurian at 2011-09-29 08:42 CET:
I've downloaded this exact torrent from AiTB twice over past two years or so. This is indeed an amazing game and files are clean and beautiful. HOWEVER, there still is an issue about Deng clan flag crash that was never patched by KOEI.
Whenever a character with a name that starts with "Deng" appears on screen upon marching in an army, convoy, navy, etc., there's chance of game crashing in both XP and Vista mode. If it has not, move the screen the hell away from that Deng Sumthin' character when you are about to save. Loading a game while one of "Deng" unit on the screen will literally FAWCK you up unless you are a prudent player who uses more than one Save location. It is mine, and quiet a few others' Theory this is due to "Deng" clans' flag being graphically bugged. Zoom in on one of them units and see the blur yourself.
Also, game itself will randomly crash at totally unexpected times. There is clearly graphic card issue against newer Graphic Cards with this official version yet KOEI has decided not to create a patch for this. Lastly, Save Files rarely becomes corrupted, causing Deja Vu all over again unless you save quiet often. ... there is yet another problem, but just a simple minor glitch regarding Sovereign's picture. It becomes a blur for no apparent reason in the hours into the game then goes away after a while only to return.
I bloody wish someone could create a patch/fix for above issues that has not only occurred to me but others as well(google it when in doubt), for KOEI has become lame and won't update the game over three years.
Even with all these hassles, i give this game 9 out of 10 for being so L33t.


So the problem is with Deng officers!
Any idea how to omit them from the game completely? (for example by doing some hex editor)
User avatar
squall leonhart
Initiate
 
Posts: 51
Joined: Tue Jun 15, 2010 2:13 pm

Re: Random crash [RTKXI, PC, Eng]

Unread postby squall leonhart » Mon Jul 13, 2015 9:10 am

Finally I found out how to omit Deng officers from the game so that they will not be able to mess up the game!
I found my answer in this great tutorial : Scenario_Creation_Guide_ROTK11.pdf
Scenario_Creation_Guide_ROTK11.zip
(219.72 KiB) Downloaded 128 times

Here is an example on how to omit Deng Zhi from Rise of Heroes scenario :
1. Open SCEN007.S11 (C:\Program Files\Koei\RTKXI\Media\scenario) with HxD
2. Search for Deng
3. Deng Zhi info starts from 18DF3
4. after 64 bytes (18DF3 + 64 = 18E57) there is only one byte which is related to the "Officer status"
5. Change the value of 18E57 from whatever (here it is 03) to FF, then save it
6. Run the game in Rise of Heroes scenario and you will see that there is no Deng Zhi in the game at all!

By the way :
There are only 4 Deng officer in the game :
Deng Ai
Deng Mao
Deng Zhi
Deng Zhong

And there are only 8 scenarios (SCEN000.S11 ~ SCEN007.S11)
So making a patch to omit them isn't that hard.
If anyone want to help please find the offset address for all of these officers in all the scenarios
Thanks
Attachments
DengFix.PNG
DengFix.PNG (50.1 KiB) Viewed 1473 times
User avatar
squall leonhart
Initiate
 
Posts: 51
Joined: Tue Jun 15, 2010 2:13 pm

Re: Random crash [RTKXI, PC, Eng]

Unread postby Zyzyfer » Tue Jul 14, 2015 1:11 am

Hmm...having experience with the Deng bug as well, I have my own workaround.

Copy the full officer data for each officer, and then paste that data onto the "Historical XX" slots that show up a little later in the scenario file. They will not be exact replicas, as they will have new bios and will not have that officer data that comes hard-coded with the slots (which is probably only relevant to Deng Ai anyway), but they will be fully useable.

Some other things I noticed:

- Those slots that the Deng officers originally appear in will glitch any officer placed in them, no matter the name.
- Any created officer* with the Deng surname would glitch my game as well, so I avoid giving created officers the Deng surname.
- Ning Sui is also affected by the glitch, although he appears late.

*edit - I got mixed up, and might be wrong about this one. Anyway, I avoid the Deng surname entirely!
Last edited by Zyzyfer on Tue Jul 14, 2015 6:04 am, edited 1 time in total.
Gamefaqs: KongZhou
Steam: heinous_won
User avatar
Zyzyfer
Scholar of Shen Zhou
 
Posts: 3079
Joined: Thu May 08, 2008 1:17 pm
Location: South Korea

Re: Random crash [RTKXI, PC, Eng]

Unread postby squall leonhart » Tue Jul 14, 2015 5:55 am

Thanks about Ning Sui, you are right, it also has the same problem.
Also I created an officer with the name Deng Deng but it works fine (a quick way to test is to save and then load)
So it seems the problem is not with the name, the problem seems to be with the bios or a conflicting data
Japanese version, (even the very initial release) doesn't have this problem at all
I wonder if it is possible to copy the data of the officers from it and paste it in the English version *

* Edit : I tested it and it didn't work, so the problem is with the slot itself not the data of the slot.
User avatar
squall leonhart
Initiate
 
Posts: 51
Joined: Tue Jun 15, 2010 2:13 pm

Re: Random crash [RTKXI, PC, Eng]

Unread postby squall leonhart » Mon May 09, 2016 3:39 pm

Has anyone found out how to fix it?
If there is no solution I want to start making a patch to remove those troublesome officers.
User avatar
squall leonhart
Initiate
 
Posts: 51
Joined: Tue Jun 15, 2010 2:13 pm

Re: Random crash [RTKXI, PC, Eng]

Unread postby squall leonhart » Mon May 09, 2016 6:58 pm

OK, here is the first release of the patch.
I provide the source code as well.
I used Microsoft Visual C++ v6.0 to compile it.
Have fun!
Attachments
RTKXI_patch.zip
(122.25 KiB) Downloaded 97 times
RTKXI_patch.PNG
RTKXI_patch.PNG (23.06 KiB) Viewed 1140 times
User avatar
squall leonhart
Initiate
 
Posts: 51
Joined: Tue Jun 15, 2010 2:13 pm

Re: Random crash [RTKXI, PC, Eng]

Unread postby Lezard Valeth » Tue May 10, 2016 4:18 am

If I understood correctly, you've simply made the officers unavailable. But a better solution would be to put them on the "historical" slots.

I've attached a powershell script that swaps/deletes officers. If you (or anybody) decide to try my old script:
- Put the scenarios you want to fix into the "WorkingFolder" folder
- Double click the batch file (.bat) to run the script
- Select the "Move_v0.txt" when prompted (it's set to swap the troublesome officers you're removing with the empty historical ones)
- Get your fixed files on the "WorkingFolder" with the "_Mover.s11" suffix (there'll also be a log for each file - just delete them)
Attachments
RoTK 11 Scripts.7z
(8.88 KiB) Downloaded 88 times
User avatar
Lezard Valeth
Assistant
 
Posts: 116
Joined: Thu Jun 25, 2015 2:32 pm

Re: Random crash [RTKXI, PC, Eng]

Unread postby squall leonhart » Tue May 10, 2016 5:32 am

Thanks for the new solution.
Can you explain about "historical" slots?
User avatar
squall leonhart
Initiate
 
Posts: 51
Joined: Tue Jun 15, 2010 2:13 pm

Re: Random crash [RTKXI, PC, Eng]

Unread postby Zyzyfer » Tue May 10, 2016 6:45 am

squall leonhart wrote:Thanks for the new solution.
Can you explain about "historical" slots?


They are slots intended for NPCs that ended up not being used.
Gamefaqs: KongZhou
Steam: heinous_won
User avatar
Zyzyfer
Scholar of Shen Zhou
 
Posts: 3079
Joined: Thu May 08, 2008 1:17 pm
Location: South Korea

Re: Random crash [RTKXI, PC, Eng]

Unread postby squall leonhart » Tue May 10, 2016 11:56 am

@ Lezard Valeth
your patch is really awesome!
It really fixes the crash problem!
When did you release this patch?
I wish I saw it before.
But to be honest with you I don't like the way it works.
I had to install Windows Management Framework on my windows xp to use he patch.
User avatar
squall leonhart
Initiate
 
Posts: 51
Joined: Tue Jun 15, 2010 2:13 pm

Next

Return to Romance of the Three Kingdoms

Who is online

Users browsing this forum: Bing [Bot], Yahoo [Bot] and 2 guests

Copyright © 2002–2008 Kongming’s Archives. All Rights Reserved