Widescreen Gaming Forum
http://www.wsgf.org/phpBB3/

KKND 2 Krossfire ?
http://www.wsgf.org/phpBB3/viewtopic.php?f=64&t=21998
Page 1 of 1

Author:  Saruman [ 08 May 2011, 14:27 ]
Post subject:  KKND 2 Krossfire ?

Hi,

I'm having little problems with adjusting "KKND 2 Krossfire" to higher resolutions.
I manage to hack game to run in 1280x1024 resolution but only with partial success.

Main menu in 1280x1024


Game run fine in higher resolution, everything is almost good, movies runs fine, but when you
start any map you get unhandled exception and game crushes.

PARTIAL SOLUTION
I've found why and when this happends so here everything I know:
- game uses external program "options.exe" to set resolution, you can choose from 640x480, 800x600 and 1024x768
- whey you click "OK" it saves that settings in "options.cfg" file (line "SCREENMODE")
- in this file you will find line "SCREENMODE" it's values can be 0, 1 or 2
(0 - means 640x480 resolution, 1 - 800x600 and 2 - 1024x768)
- when you run "KKND2.exe", game first loads "options.cfg" file and reads all configuration including
resolution ("SCREENMODE"), then depending on value of "SCREENMODE" it uses one of hardcoded resolutions found here (open "KKND2.exe" in your hex editor):



(My hack so far is to replace those values with my own)

- game crushes in routine where it decides whether to display attact or select cursor, this routine trys to read nonexistent memory address which causes exception
- if someone manage to adjust this routine that so it no more trys to read nonexistant memory address game will run perfectly in any resolution

Author:  mohilaka [ 27 Apr 2012, 23:03 ]
Post subject:  can you give more detail, how

can you give more detail, how can I know the value of 1152 x 648 for example, if I replace 0004 0000 0003 0000 with new value the screen resolution will change

Author:  Saruman [ 19 Jun 2014, 00:00 ]
Post subject:  Re: KKND 2 Krossfire ?

Some one else made nice progress with resolution changer for KKND 2 Krossfire. You can download it from here
http://www.moddb.com/downloads/kwip-high-res-patch-for-kknd2

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/