(24-06-2012 05:52 PM)ISilenceI Wrote: If anyone is having problems starting up the game with multiple monitors, let me know.
I have written some code to allow people with 2 or more monitors to load the game without crashing.
As you haven't posted it, I'll just put this here to help anyone else having issues. (Yes, I remember, you don't want my help or my opinions, but as you're proposing a 'fix' and not giving it, I'm supplying mine here.)
'const' stores variables used by the engine to initialise things. Provided your DirectX context is playing nice (which beyond a single monitor is driver territory), you can setup something like this:
Code:
const.ResolutionMinWidth = 3240
const.ResolutionMinHeight = 1920
This will get replaced later, which is potentially a problem. To fix this, you can open Game.hpk and copy out config.lua from 'Game/core/GameConst.lua'. Make a 'Game' folder, and inside it 'core'. Copy the original GameConst.lua there as _GameConst.lua. Create a 'GameConst.lua' file which contains:
Code:
dofile("Game/core/_GameConst.lua")
-- Restore our 'safemode' values
const.ResolutionMinWidth = 3240
const.ResolutionMinHeight = 1920
Now safemode loads at that resolution.
The catch with this method is that you need to copy out new GameConst files after an update (if they have changed).
You could, of course, do this with Game/config/config.lua, set up a proxy table on const, and watch for changes, but I haven't tried this (it wasn't required in my case).
EDIT: Fixed a couple of mistakes from when I changed from config.lua 'detouring' to GameConst.lua.
(24-06-2012 05:52 PM)ISilenceI Wrote: ..!.. swixel
and ..!.. Timo for closing my thread while I was trying to get useful help.
and just so you know, the problem was EXACTLY what I said it was. GG
Until I see evidence of this I'm going to assume it's not as described, given ATI issues with unpatched Win7 installs.
EDIT: Added quoted segments and sentence before this.