Widescreen Gaming Forum

[-noun] Web community dedicated to ensuring PC games run properly on your tablet, netbook, personal computer, HDTV and multi-monitor gaming rig.
It is currently 26 Nov 2024, 08:16

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: KKND 2 Krossfire ?
PostPosted: 08 May 2011, 14:27 
Offline

Joined: 28 Apr 2011, 19:41
Posts: 12
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


Top
 Profile  
 


PostPosted: 27 Apr 2012, 23:03 
Offline

Joined: 27 Apr 2012, 22:57
Posts: 1
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


Top
 Profile  
 
 Post subject: Re: KKND 2 Krossfire ?
PostPosted: 19 Jun 2014, 00:00 
Offline

Joined: 28 Apr 2011, 19:41
Posts: 12
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Yandex [Bot] and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  




Powered by phpBB® Forum Software © phpBB Group