TehJumpingJawa

Field Marshal
90 Badges
Feb 26, 2011
2.882
2.070
  • 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
  • Crusader Kings II: Reapers Due
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • BATTLETECH
  • Shadowrun: Hong Kong
  • Age of Wonders III
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH - Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Surviving Mars
  • 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
  • March of the Eagles
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