• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Solmyr

Field Marshal
115 Badges
Mar 12, 2001
3.837
23
enothril.awardspace.com
  • Arsenal of Democracy
  • Age of Wonders II
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron 4: Arms Against Tyranny
  • Victoria 3 Sign Up
  • Hearts of Iron IV: By Blood Alone
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • Magicka
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Pre-order
  • Pillars of Eternity
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Stellaris - Path to Destruction bundle
Sometimes, a title which was eliminated still remains in the save file, but is held by a character with type = 33 and id = 33. Such a save file will load normally, but will crash when you try to save (or autosave) it again. In my case, the title TEUT, eliminated in 1094, remained in the titles section of the save game. When I tried to save that game, it wrote everything prior to that buggy title entry before crashing. Manually deleting the buggy entry from the save file will fix the problem. But this is something that should be looked at, I bet something like this is causing the crash-on-saving that people are reporting.
 
Upvote 0
You are definitely on to something here. My current game crashes every time I try to save. I can load the last save game, but trying to save again always leads to a CTD.

The crash-during-save leaves behind a partial save file, so I compared that to the save file I had just loaded. The partial file ends like this:
title = {
tag = FRAC
tier = duchy
liege = GERM
holder = { character = { type = 4712 id = 60267 } startdate = { year = 1133 month = september day = 24 } }
}

title = {
tag = FRIE
tier = duchy
liege = ----
holder = { character = { type = 4712 id = 168999 } startdate = { year = 1135 month = january day = 14 } }
}

in the file I loaded from, the next line is this:
title = {
tag = FRIE
tier = duchy
liege = ----
holder = { character = { type = 4712 id = 168999 } startdate = { year = 1135 month = january day = 14 } }
}

title = {
tag = GALA
tier = duchy
liege = BYZA
holder = { character = { type = 97 id = 33 } startdate = { year = 1104 month = december day = 7 } enddate = { year = 1110 month = august day = 20 } }
}

the character holding this title { type = 97 id = 33 } does not exist anywhere else in the save file

update: after deleting the GALA title from the save file, I can now load and save the game without crashes
 
Last edited:
Yes, these buggy title entries are causing crashes on save. I had two games like this to date, they were fixed by deleting the buggy entry. These titles seem to be ones that were destroyed some time previously (note the enddate) but for some reason are left in with a buggy id = 33 character.

If the source of this bug can be tracked down, I'm betting CTDs on save will be reduced somewhat. :)

PS. It's a good idea to keep two copies of each of your saved games, that way if your game crashes on save you can look in the other copy and see if it has a buggy entry like the above that needs to be removed.
 
how does it go? anything different than type = 4712 is deleted?

EDIT: asking because my saved game isn't working, and I saw several type = 10. I'm not a programmer and haven't really played around with this, so I still don't know how to get my saved game to work properly.
 
hans1001 said:
how does it go? anything different than type = 4712 is deleted?

EDIT: asking because my saved game isn't working, and I saw several type = 10. I'm not a programmer and haven't really played around with this, so I still don't know how to get my saved game to work properly.

In my save game all the characters seem to be either type = 10 or type = 4712, but I'm not sure how this is supposed to work. However, even after the fix mentioned above my game isn't working. After removing these lines I was able to play about another hour without much problem, but after that my game started repeatedly crashing again. I went back to earlier saves and it ended the same way every time. I searched through several save files for any other obvious errors but haven't had any luck. It looks like CK is going back on the shelf while I wait for 1.04.

If your game is crashing when you try to save and you want to try this, you need to look at the file that crashed while saving and see where it cuts off. Compare this to the save file you loaded from and see what the next entry is after the cutoff, that should be the one causing the error.
 
Dumb question maybe but exactly how do I open a saved game file? I've experienced the same problem but when I double click on the save file I get ASCII characters only. What application do I need to open the file with and where can I get hold of it?
 
Rex Angliae said:
Dumb question maybe but exactly how do I open a saved game file? I've experienced the same problem but when I double click on the save file I get ASCII characters only. What application do I need to open the file with and where can I get hold of it?
A text editor. I use UltraEdit myself, but tastes may vary... :)
 
Looked into this a bit more. Apparently the id = 33 characters appear for titles which have been destroyed (i.e. have an enddate) and whose former holders have been cleaned up from the save file (generally people with no family connections, which often includes bishops). When the character is removed, his former title entry gets an id = 33 "character" which causes a CTD. This is why the DMES title is often the cause of it, since it starts ruled by an archbishop and often gets overrun by Muslims early on.

A good solution perhaps would be to simply remove destroyed titles from the save file altogether, instead of keeping them with an enddate.

EDIT: Oh yeah, and this bug only happens to duchy and kingdom titles, because county titles never get destroyed.
 
Ok, for my game, it fries at 1228/1229 depending on the save game. This save game is from 1.00 and was a patched straight to 1.03b. It saved fine for about five years, then this happened. When i searched for "id = 33" it came up with only the country that had that ID. Same thing for id = 0. Im not all that great at this, any ideas?

P.S. Anytime i would try to save, it would crash.
 
Da Biggman said:
Ok, for my game, it fries at 1228/1229 depending on the save game. This save game is from 1.00 and was a patched straight to 1.03b. It saved fine for about five years, then this happened. When i searched for "id = 33" it came up with only the country that had that ID. Same thing for id = 0.

I have a similar problem. Game sometimes CTD when saving or autosaving, but searching the last viable savegame I do not find any of the ids or types mentioned in this thread. I also checked all duchies and kingdoms with an enddate, but the holders were all id = 10 or id = 4712.

The last thing written before CTD was this:

province = { 0 1382 2 1221 4 1221 6 7 8 9 10 11 12 13 14 1056 1386 1302 18 19 20 21 22 22 1200 25 26 27 28 29 30 1222 1148 33 34 1386 36 1291 38 1119 40 41 42 14 44 45 46 47 1296 1296 50 51 52 1296 54 55 56 57 58 59 60 61 1148 63 1302 65 66 67 68 1277 70 1090 1090 1296 74 75 98 77 78 79 80 80 80 80 84 85 86 87 1222 89 90 91 92 1011 94 1285 96 97 98 99 1148 101 102 103 1045 105 1045 107 108 1283 110 111 1278 113 114 1285 116 117 1267 119 120 134 134 123 124 458 447 1222 128 129 1278 131 132 133 134 811 136 137 138 139 1057 141 1070 143 144 139 1270 1347 148 1045 150 1347 1145 1145 154 1020 156 157 1043 1055 160 161 1247 1247 1185 1285 1185 167 1010 169 170 1285 172 173 174 1241 1260 177 1026 156 1285 1285 1085 1058 1285 185 1234 187 1043 189 1248 191 1176 1026 194 1026 196 197 1176 199 1248 1145 202 1068 204 205 1068 1195 208 1088 210 211 212 213 1214 148 1070 1088 218 1068 1285 1117 222 1280 224 225 99 227 1285 1085 1088 1169 1280 1088 234 1140 236 237 238 239 240 241 367 0 367 245 246 247 1183 1280 250 251 1280 339 254 1280 256 257 258 259 1291 261 1291 263 264 265 266 267 269 269 270 271 272 1291 1291 1291 1291 1291 1056 279 280 1298 282 283 284 285 286 287 288 1298 1298 1298 1298 293 294 295 296 1298 1298 299 300 301 1298 1275 304 305 306 307 308 309 1044 1280 312 313 314 446 316 1105 318 319 320 1088 1213 1213 1393 1180 1180 327 328 329 330 331 1026 1285 1271 335 336 357 1058 339 1187 1187 342 343 344 345 346 347 348 347 347 351 1347 1285 354 355 346 357 358 359 1242 361 362 363 364 1044 366 367 1267 1291 1360 1360 1178 1347 1347 1347 376 1347 1347 1347 380 1056 382 1382 1382 385 1376 1109 1109 1374 1376 1386 1376 1347 1347 1347 1347 1347 1347 1347 1347 1347 1347 1347 404 1347 1347 1347 1347 1347 1347 1347 1291 1109 1109 1347 1347 1347 1347 1267 1347 1347 1159 1347 424 425 426 1360 428 429 1242 431 1070 1267 434 1267 436 1267 438 439 440 1271 1025 443 444 445 446 447 448 449 443 1070 448 453 454 1197 456 1112 458 459 460 461 1271 463 424 465 466 467 468 469 1072 1072 472 473 474 465 476 1070 478 479 480 481 482 483 1002 1002 486 487 488 493 1271 1114 492 493 1271 495 1271 497 498 499 500 1101 502 503 504 1030 506 507 508 509 510 1271 512 513 737 515 509 517 518 1271 520 522 522 523 524 307 526 527 528 1267 1085 531 532 533 438 535 447 537 538 448 540 541 542 1070 544 545 546 1347 1347 1347 1025 1347 1109 1347 1347 1070 556 557 558 1031 1271 561 1347 563 1347 1347 566 1025 1347 1347 1347 1347 1347 1347 1347 1347 1347 1347 1347 1347 1347 581 1347 1347 1347 1347 1347 1347 1347 1347 1347 1347 1347 1070 1347 1347 1347 1347 1347 1347 710 601 602 1351 1351 602 1347 1347 1347 1347 1347 611 612 1347 1347 1347 616 1347 1347 1347 620 1347 1347 1347 1347 1347 1347 1347 1347 1347 1395 1395 1395 1351 1351 1351 654 1351 638 1351 1351 1351 1351 1317 1351 1351 654 1351 648 1110 650 651 652 650 654 654 657 657 1351 1351 1351 1351 650 650 1326 650 1394 783 1024 669 670 671 602 673 674 675 1351 1351 602 679 680 602 682 1327 1351 1351 687 687 1326 687 687 712 692 1326 687 1351 1351 1351 1351 699 710 701 1139 1215 1215 705 706 707 708 709 710 711 712 713 1351 1351 768 657 1394 1394 720 1394 722 1351 724 725 1351 1271 1285 729 1271 731 732 1271 1347 1012 736 737 1190 1190 740 1271 1146 743 1000 1271 746 747 1118 1118 750 751 1083 1271 1118 755 1271 1064 758 1101 1101 761 1271 1012 1012 1271 766 1349 768 769 770 771 772 773 1285 772 670 777 778 1394 780 1317 1394 783 1394 785 1394 787 788 1394 1394 1394 1394 1394 1394 1394 1394 1394 1394 1354 1394 1394 1394 803 804 1125 354 807 357 809 810 811 812 813 814 1105 816 129 818 819 1068 821 833 823 1057 1057 826 1129 828 829 1187 1057 1050 833 834 834 838 1393 838 839 1078 841 842 1393 1077 1393 1393 1393 848 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1026 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1026 0 1070 0 0 0 0 0 0 }
}
 
UruKaern said:
Why can't we have an answer to this f.....g problem ?!
Why can't we have a clear explanation how to solve this problem manually by ourself ?!
Is there anybody from paradox who help here ?!! :(

Perhaps because there is no way to manually solve this?

For the next cash lots of work has been done to fix all kinds of crashes, hopefully this problem will be solved as well.