Jump to content


Photo

Commandos 2 resolution modding


  • Please log in to reply
2 replies to this topic

#1 zachasme

zachasme
  • Members
  • 7 posts

Posted 24 May 2013 - 01:02 AM

I've been messing around with resolutions in the Commandos 2 binary, and have so far managed to figure out where to change window size, the viewport (the actual gameworld inside the window) size as well as the menu resolution.

 

Unfortunately, setting the horizontal resolution to anything above 1440px results in some weird glitches: glitche.jpg

 

Does anyone have a solution for this yet?

Furthermore, there are still a some hexadecimal strings which are obviously resolution values, yet I don't know what they are used for.

I've marked them in the following picture (red are values for overriding 640x480, orange is 800x600, blue is 1024x768 and purple is 1280x1024). I've written in green in the gutter, what three of the sections are for, but as you can see, there are seven sections I don't know what are for. Do you guys know?TB5uPwi.png

 

EDIT: It appears that zooming while the glitch is visible crashes the game, regardless of what the 7 sections above are changed to. If zoomed in while inside a house, you can go outside and still be zoomed in, but when you zoom out so far that the glitch appears, the game instantly crashes.

 

Best regards.


Edited by zachasme, 24 May 2013 - 01:37 AM.


#2 wyel2000

wyel2000
  • Members
  • 218 posts

Posted 24 May 2013 - 04:50 AM

http://commandoshq.n...olution_Mod.zip

 

 

List of 4:3 Monitor Resolutions
Resolution - Aspect ratio
640x480-----4:3
800x600-----4:3
1024x768-----4:3
1152x864-----4:3
1280x960-----4:3
1400x1050-----4:3
1600x1200-----4:3
2048x1536-----4:3
3200x2400-----4:3
4000x3000-----4:3
6400x4800-----4:3
 
List of 16:9 Widescreen Resolutions
Resolution - Aspect ratio
852x480-----16:9
1280x720-----16:9
1365x768-----16:9
1600x900-----16:9
1920x1080-----16:9
 
List of 16:10 Widescreen Resolutions
Resolution - Aspect ratio
1440x900-----16:10
1680x1050-----16:10
1920x1200-----16:10
2560x1600-----16:10
3840x2400-----16:10
7680x4800-----16:10 

 

————————————————————————————————————————

and if the +or- view the map. need to edit Y64 file. 

100%

70%

50%

35%

25%

15%  try add new

5%  try add new

 

tools: http://www.cnblogs.c...31/1211298.html



#3 zachasme

zachasme
  • Members
  • 7 posts

Posted 24 May 2013 - 11:04 AM

Thanks for the links :-) But looking at the .ini file for the widescreen mod you linked to, it patches the exact same strings as I did (except for the menu resolution) and as such, results in the same graphical error as seen above. So noone has found a way to increase horizontal resolution above 1440px without smearing?

The Y64 files contain part of the mission data, correct? Does it store one image for each zoom level?






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users