Hi folks.
If you are disappointed of your past records are not visible anymore when playing G&K then there are a few simple steps to fix it.
1) download SQLite shell for your OS from here http://www.sqlite.org/download.html. For Win32/Win64 it is sqlite-shell-win32-x86-NNNNNNN.zip
2) extract sqlite3.exe (from here and forward there will be Windows OS instructions)
to your "Documents\My games\Sid Meier's Civilization 5\Replays\" folder
3) Go to "Documents\My games\Sid Meier's Civilization 5\Replays\" folder
4) Copy HallOfFameDatabase.db to safe place (to allow to restore if something went wrong)
5) execute sqlite3.exe HallOfFameDatabase.db
6) execute (copy/paste/execute all text in bold below as single query)
begin transaction;
create table if not exists MergeInfoDLC (
VictoryRow INTEGER, PackageGUID TEXT, PackageName TEXT, PackageVersion INTEGER
);
insert into MergeInfoDLC(VictoryRow,PackageGUID,PackageName,Pa ckageVersion)
select v.rowid, dlc.PackageGUID, dlc.PackageName, dlc.PackageVersion
from Victories as v
cross join (select distinct PackageGUID,PackageName,PackageVersion from VictoryDLC) dlc
where not exists (
select * from VictoryDLC
where VictoryRow=v.rowid and PackageGUID = dlc.PackageGUID
and PackageName=dlc.PackageName and PackageVersion = dlc.PackageVersion
);
insert into VictoryDLC(VictoryRow,PackageGUID,PackageName,Pack ageVersion)
select VictoryRow,PackageGUID,PackageName,PackageVersion
from MergeInfoDLC m
where not exists (
select * from VictoryDLC v
where m.VictoryRow=v.VictoryRow and m.PackageGUID = v.PackageGUID
and m.PackageName=v.PackageName and m.PackageVersion = v.PackageVersion
);
commit;
7) execute .exit
8) it's all. Run CIV5 and verify hall of fame is ok. If not then restore it from saved copy and ask question of forum ;)
Note 1: All records from Vanilla Hall of Fame will be moved to G&K Hall of Fame.
Note 2: It is safe to merge HoFs as many times as required, e.g. you can merge, then disable G&K, play Vanilla and then merge new vanilla records into G&K using the same steps without any changes.
Note 3: If you want split them back into two HoF then you can do steps above but replace script at 6th step with following:
begin transaction;
delete from VictoryDLC
where exists (
select * from MergeInfoDLC m
where m.VictoryRow=VictoryDLC.VictoryRow and m.PackageGUID = VictoryDLC.PackageGUID
and m.PackageName=VictoryDLC.PackageName and m.PackageVersion = VictoryDLC.PackageVersion
);
delete from MergeInfoDLC;
commit;
Split operation is possible whenever you want to do it. You can do as many split/merge/split/merge operations as required BUT DO NOT FORGET TO MAKE BACKUPS AND VERIFY RESULTS!
Enjoy!
PS
Also, there is my previous post about fixing broken Hall of Fame http://forums.civfanatics.com/showthread.php?t=435916
If you are disappointed of your past records are not visible anymore when playing G&K then there are a few simple steps to fix it.
1) download SQLite shell for your OS from here http://www.sqlite.org/download.html. For Win32/Win64 it is sqlite-shell-win32-x86-NNNNNNN.zip
2) extract sqlite3.exe (from here and forward there will be Windows OS instructions)
to your "Documents\My games\Sid Meier's Civilization 5\Replays\" folder
3) Go to "Documents\My games\Sid Meier's Civilization 5\Replays\" folder
4) Copy HallOfFameDatabase.db to safe place (to allow to restore if something went wrong)
5) execute sqlite3.exe HallOfFameDatabase.db
6) execute (copy/paste/execute all text in bold below as single query)
begin transaction;
create table if not exists MergeInfoDLC (
VictoryRow INTEGER, PackageGUID TEXT, PackageName TEXT, PackageVersion INTEGER
);
insert into MergeInfoDLC(VictoryRow,PackageGUID,PackageName,Pa ckageVersion)
select v.rowid, dlc.PackageGUID, dlc.PackageName, dlc.PackageVersion
from Victories as v
cross join (select distinct PackageGUID,PackageName,PackageVersion from VictoryDLC) dlc
where not exists (
select * from VictoryDLC
where VictoryRow=v.rowid and PackageGUID = dlc.PackageGUID
and PackageName=dlc.PackageName and PackageVersion = dlc.PackageVersion
);
insert into VictoryDLC(VictoryRow,PackageGUID,PackageName,Pack ageVersion)
select VictoryRow,PackageGUID,PackageName,PackageVersion
from MergeInfoDLC m
where not exists (
select * from VictoryDLC v
where m.VictoryRow=v.VictoryRow and m.PackageGUID = v.PackageGUID
and m.PackageName=v.PackageName and m.PackageVersion = v.PackageVersion
);
commit;
7) execute .exit
8) it's all. Run CIV5 and verify hall of fame is ok. If not then restore it from saved copy and ask question of forum ;)
Note 1: All records from Vanilla Hall of Fame will be moved to G&K Hall of Fame.
Note 2: It is safe to merge HoFs as many times as required, e.g. you can merge, then disable G&K, play Vanilla and then merge new vanilla records into G&K using the same steps without any changes.
Note 3: If you want split them back into two HoF then you can do steps above but replace script at 6th step with following:
begin transaction;
delete from VictoryDLC
where exists (
select * from MergeInfoDLC m
where m.VictoryRow=VictoryDLC.VictoryRow and m.PackageGUID = VictoryDLC.PackageGUID
and m.PackageName=VictoryDLC.PackageName and m.PackageVersion = VictoryDLC.PackageVersion
);
delete from MergeInfoDLC;
commit;
Split operation is possible whenever you want to do it. You can do as many split/merge/split/merge operations as required BUT DO NOT FORGET TO MAKE BACKUPS AND VERIFY RESULTS!
Enjoy!
PS
Also, there is my previous post about fixing broken Hall of Fame http://forums.civfanatics.com/showthread.php?t=435916