Posted February 18, 2014
So I dug around patch.dll as timeslip mentioned here, and found what looks like a list of the possible config.ini options.
As found in the hex editor (beginning at address 1F158), it's formatted sort of inscrutably:
\.G.O.G.\.D.u.n.g.e.o.n.K.e.e.p.e.r.2.\.C.o.n.f.i.g...i.n.i.....A.n.t.i.a.l.i.a.s...V.i.d.e.o...E.x.t.r.a.A.n. t.i.a.l.i.a.s.....H.i.g.h.R.e.s...A.n.i.s.o.t.r.o.p.y.....V.w.a.i.t...S.c.a.l.e.M.o.d.e...D.i.s.a.b.l.e .F.o.u.r.C.C...B.u.m.p.m.a.p...R.e.a.l.F.u.l.l.s.c.r.e.e.n.....C.p.u.I.d.l.e...M.i.s.c.....S.i.n.g.l.e.C.o.r.e .....D.i.s.a.b.l.e.D.E.P.....R.e.s.t.o.r.e.M.o.d.e...N.o.t.O.n.T.o.p
3 periods and 5 periods are mixed as separators in a way i can't figure out the reason for or meaning behind (aside from video and misc maybe being categories?), but cleaned up a bit I get this:
\GOG\DungeonKeeper2\Config.ini
Antialias
Video
ExtraAntialias
HighRes
Anisotropy
Vwait
ScaleMode
DisableFourCC
Bumpmap
RealFullscreen
CpuIdle
Misc
SingleCore
DisableDEP
RestoreMode
NotOnTop
Now, earlier in that thread timeslip details the possible settings for the Antialias option:
Yes, but you aren't going to get anything better than 12. The other sensible options are 0 (AA off, main menu fps fix off), 2 (AA on, fps fix off), 11 (AA off, fps fix on, the default) and 12 (AA on, fps fix on).
Aside from that I can only speculate how to set the rest. Does anyone have any inside info, is there documentation I missed somewhere, can anyone figure anything out from trial and error?
Devilhood's apparently done some experimenting and released his config.ini with some comments on the different options, so that's a good start, particularly since it appears to confirm that true/false options use 1 and 0. There also appear to be multiple updated versions of patch.dll floating around hosted on timeslip's site, but confusingly there's no mention of dk2 on the actual pages of his site, and [url=http://www.gog.com/forum/dungeon_keeper_series/dungeon_keeper_2_hardware_acceleration_fix_is_now_live/post74]the one i downloaded was just patch.dll with no readme, and i'm not even sure if it's the latest.
Now *ideally* it would be cool if timeslip would wander in here and explain exactly what each setting does and what the possible options are for each one (or if someone could link that if it's already happened somewhere), but he's done a lot of work already and is but one man, so if anyone else can figure it out that would also be nice.
edit: ScaleMode settings, through trial and error:
0 = fullscreen ignore aspect ratio
1 = fullscreen pillarboxed
2 = 1:1 centered
3 = 1:1 upper left corner
There does not seem to be a setting to scale to full with any kind of filtering except the default hideous nearest-neighbour.
As found in the hex editor (beginning at address 1F158), it's formatted sort of inscrutably:
\.G.O.G.\.D.u.n.g.e.o.n.K.e.e.p.e.r.2.\.C.o.n.f.i.g...i.n.i.....A.n.t.i.a.l.i.a.s...V.i.d.e.o...E.x.t.r.a.A.n. t.i.a.l.i.a.s.....H.i.g.h.R.e.s...A.n.i.s.o.t.r.o.p.y.....V.w.a.i.t...S.c.a.l.e.M.o.d.e...D.i.s.a.b.l.e .F.o.u.r.C.C...B.u.m.p.m.a.p...R.e.a.l.F.u.l.l.s.c.r.e.e.n.....C.p.u.I.d.l.e...M.i.s.c.....S.i.n.g.l.e.C.o.r.e .....D.i.s.a.b.l.e.D.E.P.....R.e.s.t.o.r.e.M.o.d.e...N.o.t.O.n.T.o.p
\GOG\DungeonKeeper2\Config.ini
Antialias
Video
ExtraAntialias
HighRes
Anisotropy
Vwait
ScaleMode
DisableFourCC
Bumpmap
RealFullscreen
CpuIdle
Misc
SingleCore
DisableDEP
RestoreMode
NotOnTop
Now, earlier in that thread timeslip details the possible settings for the Antialias option:
Yes, but you aren't going to get anything better than 12. The other sensible options are 0 (AA off, main menu fps fix off), 2 (AA on, fps fix off), 11 (AA off, fps fix on, the default) and 12 (AA on, fps fix on).
Devilhood's apparently done some experimenting and released his config.ini with some comments on the different options, so that's a good start, particularly since it appears to confirm that true/false options use 1 and 0. There also appear to be multiple updated versions of patch.dll floating around hosted on timeslip's site, but confusingly there's no mention of dk2 on the actual pages of his site, and [url=http://www.gog.com/forum/dungeon_keeper_series/dungeon_keeper_2_hardware_acceleration_fix_is_now_live/post74]the one i downloaded was just patch.dll with no readme, and i'm not even sure if it's the latest.
Now *ideally* it would be cool if timeslip would wander in here and explain exactly what each setting does and what the possible options are for each one (or if someone could link that if it's already happened somewhere), but he's done a lot of work already and is but one man, so if anyone else can figure it out that would also be nice.
edit: ScaleMode settings, through trial and error:
0 = fullscreen ignore aspect ratio
1 = fullscreen pillarboxed
2 = 1:1 centered
3 = 1:1 upper left corner
There does not seem to be a setting to scale to full with any kind of filtering except the default hideous nearest-neighbour.
Post edited February 18, 2014 by PsychosesMan
No posts in this topic were marked as the solution yet. If you can help, add your reply