• 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.

TehJumpingJawa

Field Marshal
91 Badges
Feb 26, 2011
2.937
3.128
  • Crusader Kings II: Way of Life
  • Europa Universalis III Complete
  • Teleglitch: Die More Edition
  • The Showdown Effect
  • Warlock: Master of the Arcane
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Magicka: Wizard Wars Founder Wizard
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Hearts of Iron IV: Cadet
  • Imperator: Rome
  • Prison Architect
  • Imperator: Rome Sign Up
  • Europa Universalis IV: Common Sense
  • Age of Wonders: Planetfall Sign Up
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Shadowrun: Hong Kong
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • BATTLETECH - Digital Deluxe Edition
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Apocalypse
  • Europa Universalis IV
  • Stellaris: Humanoids Species Pack
  • Age of Wonders III
  • Europa Universalis III Complete
  • Surviving Mars
  • BATTLETECH
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • Crusader Kings III
  • War of the Roses
  • Warlock 2: The Exiled
  • Warlock 2: Wrath of the Nagas
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Europa Universalis IV: Res Publica
  • Sword of the Stars II
  • Sword of the Stars
  • Semper Fi
  • Victoria: Revolutions
  • Naval War: Arctic Circle
Just finished writing a save file parser and ran into the rather horrible issue of CK2's save file format having imbalanced braces.

It wasn't hard to code around.... but just seems like such a bodge.

Just to be absolutely certain it isn't my code that's buggy:

C:\Users\TehJumpingJawa\Documents\Paradox Interactive\Crusader Kings II\save games>find /c "{" Pisa1137_10_15.ck2

---------- PISA1137_10_15.CK2: 348004

C:\Users\TehJumpingJawa\Documents\Paradox Interactive\Crusader Kings II\save games>find /c "}" Pisa1137_10_15.ck2

---------- PISA1137_10_15.CK2: 348005
 
Upvote 0