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

ECLoco

First Lieutenant
97 Badges
Sep 11, 2003
233
16
  • Crusader Kings II: Holy Knight (pre-order)
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Ship Simulator Extremes
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Cities: Skylines
  • Europa Universalis: Rome
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Stellaris: Nemesis
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • 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
  • Heir to the Throne
  • Europa Universalis III Complete
  • The Kings Crusade
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
Clydog said:
Thanks for all your help. I've installed yacc (or, rather, byacc), so that bit's fixed, but now I get a different error when I run make:

yacc --verbose --defines --output-file=ck_parser.c --name-prefix=ck_yy ck_parser.y
usage: yacc [-dlrtv] [-b file_prefix] [-p symbol_prefix] filename
make: *** [ck_parser.c] Error 1

Aaargh! What am I doing wrong?

That byacc thing seems to have a different format for its parameters. If mandrake doesn't have the original yacc you can always do what tombom said and use bison:

  1. Install bison (again from the cds or the repository)
  2. Add "YACC = bison -y" (without ") to the top of your Makefile
  3. run make
Maybe it will actually work then. Yaaay :)
 

unmerged(29096)

Second Lieutenant
May 13, 2004
170
0
ElCorruptoLoco said:
That byacc thing seems to have a different format for its parameters. If mandrake doesn't have the original yacc you can always do what tombom said and use bison:

  1. Install bison (again from the cds or the repository)
  2. Add "YACC = bison -y" (without ") to the top of your Makefile
  3. run make
Maybe it will actually work then. Yaaay :)

bison's installed and working, and this time I get a slightly more specific error:

bison -y --verbose --defines --output-file=ck_parser.c --name-prefix=ck_yy ck_parser.y
ck_parser.y:400.12: parse error, unexpected ":", expecting ";" or "|"
ck_parser.y:402.4-403.24: $2 of `traits' has no declared type
make: *** [ck_parser.c] Error 1

I've tried make with the -k flag, but it can't get through the errors...

Maybe I should just give up on doing this in Linux, and use the Windows port instead :(
 

ECLoco

First Lieutenant
97 Badges
Sep 11, 2003
233
16
  • Crusader Kings II: Holy Knight (pre-order)
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Ship Simulator Extremes
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Cities: Skylines
  • Europa Universalis: Rome
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Stellaris: Nemesis
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • 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
  • Heir to the Throne
  • Europa Universalis III Complete
  • The Kings Crusade
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
Clydog said:
bison's installed and working, and this time I get a slightly more specific error:

bison -y --verbose --defines --output-file=ck_parser.c --name-prefix=ck_yy ck_parser.y
ck_parser.y:400.12: parse error, unexpected ":", expecting ";" or "|"
ck_parser.y:402.4-403.24: $2 of `traits' has no declared type
make: *** [ck_parser.c] Error 1

I've tried make with the -k flag, but it can't get through the errors...
Maybe the wrong bison version? I have no idea.
 

unmerged(27839)

Universal
Apr 13, 2004
193
0
ElCorruptoLoco said:
It works for me. And I can use it as often as I like on my savegames.
You can get the windows version from klas_a's site
http://www.lysator.liu.se/~klas/CK/

ok. i donwloaded both cygwin and ck-clean for windows. but im not good at things like this at all ;) . so what should i do to install cygwin at my computer after donwloaded the program? :confused:
 

unmerged(27839)

Universal
Apr 13, 2004
193
0
it said cygwin1.ddl missing so i put it i the same folder as ck-clean and the error message doesnt appear anymore. but now when trying to open the program it just shuts down imeadietly. what should i do to fix this?
 

ECLoco

First Lieutenant
97 Badges
Sep 11, 2003
233
16
  • Crusader Kings II: Holy Knight (pre-order)
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Ship Simulator Extremes
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Cities: Skylines
  • Europa Universalis: Rome
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Stellaris: Nemesis
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • 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
  • Heir to the Throne
  • Europa Universalis III Complete
  • The Kings Crusade
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
universalis said:
it said cygwin1.ddl missing so i put it i the same folder as ck-clean and the error message doesnt appear anymore. but now when trying to open the program it just shuts down imeadietly. what should i do to fix this?

You have to use the command line or dosbox or whatever it is called in windows. Copy the savegame to your ck-clean directory and when you are in the ck-clean folder, type:

ck-clean <oldsavegame.eug> -o <newsavegame.eug>
 

unmerged(27839)

Universal
Apr 13, 2004
193
0
well after mixtureing around i think i finally started the program when i used cygwin.bat. then i wrote ck-clean and... voala! its there!
after trying with everything i can think of to write, like: ck-clean "Kingdom_of_France.eug" etc... im really desperet to get any ifromation of what im doing wrong. coz when i write something like in the example above it says:

In file ck_reader.c, in function read-savegame:
CKlib: Couldn´t open the savegame file.

Is the program only for v 1.03b (as i can se after writing "ck-clean -v" or can i use it for 1.04a? Im using the windows version.

Can anyone tell me what i should write/use etc.. to get this working.
Help would be very appritiated.

Thanks in advice!

Universalis
 

ECLoco

First Lieutenant
97 Badges
Sep 11, 2003
233
16
  • Crusader Kings II: Holy Knight (pre-order)
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Ship Simulator Extremes
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Cities: Skylines
  • Europa Universalis: Rome
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Stellaris: Nemesis
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • 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
  • Heir to the Throne
  • Europa Universalis III Complete
  • The Kings Crusade
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
universalis said:
In file ck_reader.c, in function read-savegame:
CKlib: Couldn´t open the savegame file.

Is the program only for v 1.03b (as i can se after writing "ck-clean -v" or can i use it for 1.04a? Im using the windows version.

No. I use 1.04 and it works.
Apparently it cannot find your file. Are you sure you are in the right directory? Also you need to enclose the file in quotes. But I see you have already done this.
Copy ck-clean and the savegame in the same directory and run it. If it is still unable to find the file then ... :confused:
 

unmerged(27839)

Universal
Apr 13, 2004
193
0
ElCorruptoLoco said:
You have to use the command line or dosbox or whatever it is called in windows. Copy the savegame to your ck-clean directory and when you are in the ck-clean folder, type:

ck-clean <oldsavegame.eug> -o <newsavegame.eug>

It WORKS! :D Thank YOU very much! :p This tool is really amazing! Just in some seconds and my savegame file became almost half as big as it was from the beginning. :eek:

Thanks ElCorruptoLoco! ;)
 

ECLoco

First Lieutenant
97 Badges
Sep 11, 2003
233
16
  • Crusader Kings II: Holy Knight (pre-order)
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Ship Simulator Extremes
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Cities: Skylines
  • Europa Universalis: Rome
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Stellaris: Nemesis
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • 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
  • Heir to the Throne
  • Europa Universalis III Complete
  • The Kings Crusade
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
universalis said:
It WORKS! :D Thank YOU very much! :p This tool is really amazing! Just in some seconds and my savegame file became almost half as big as it was from the beginning. :eek:

Thanks ElCorruptoLoco! ;)

Don't thank me. Thank the programmer. :)
 

Captain Frakas

Field Marshal
13 Badges
Apr 10, 2002
7.139
3.770
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Semper Fi
  • Victoria 2
  • 500k Club
  • Hearts of Iron II: Beta
I think "ck-clean" have a big conceptual default : he change the game !
A good tool should only erease dead characters without living or dead childrens.
 

Caranorn

ministerialis
48 Badges
Jun 23, 2002
971
0
  • Stellaris: Apocalypse
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Crusader Kings II: Reapers Due
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Stellaris: Necroids
  • Europa Universalis: Rome
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Crusader Kings II
  • Semper Fi
  • Sword of the Stars II
  • 500k Club
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
No idea how this works, but if it indeeds removes characters who have children it could influence inheritance and probably marriages in general as the game loses track of relationships.

Marc aka Caran...
 

ASAD

First Lieutenant
56 Badges
Apr 19, 2002
231
22
Visit site
  • Cities: Skylines - Mass Transit
  • Victoria 3 Sign Up
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Imperator: Rome Deluxe Edition
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron IV: Expansion Pass
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Battle for Bosporus
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Victoria 2: Heart of Darkness
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Hearts of Iron III
  • Europa Universalis IV: Res Publica
  • Rome Gold
  • Sengoku
  • Victoria 2
  • Victoria 2: A House Divided
  • Crusader Kings II
  • 500k Club
  • Cities: Skylines
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Horse Lords
  • Stellaris
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
I have a question ,how to install cygwin.Which components should be downloaded.I think all of them are unneccesary,Am I wrong?
Help.
 

unmerged(27839)

Universal
Apr 13, 2004
193
0
ASAD said:
I have a question ,how to install cygwin.Which components should be downloaded.I think all of them are unneccesary,Am I wrong?
Help.
You have to download both cygwin and ck-clean.
Which you can get from:

http://www.lysator.liu.se/~klas/CK/

http://www.cygwin.com/ (if you use windows)


Then put your savegame in the ...cygwin\bin folder.
Then open up the commandotolken, commandobox, dos-program or something like that.
Type where you have put your folder with the savegame. Like C:\Program Files\Cygwin\bin ck-clean "oldsavegame.eug" -o "newsavegame.eug"

Hopefully it should have worked for you.


Special thanks to ElCorruptoLoco who help me with this.