Jump to content


Photo

[REL] Commandos 3 Windowed Mode (R3)

commandos 3 windowed

  • Please log in to reply
13 replies to this topic

#1 Nightingale1

Nightingale1
  • Members
  • 38 posts

Posted 30 March 2016 - 09:15 AM

Hey guys,

I made a windowed version of Commandos 3 GOG executable. I tested it on Windows 10 x64.

I liked it to be clean just like Commandos 2, with movable/minimizable window and without using any third-party apps.

 

Make sure the executable is named "Commandos3.exe" and set the Compatibility settings like in the picture:

c3.windowed.jpg

 

Parameters

You can set the parameters in "DATA\VAR.DAT" file:

INT        SCREEN_WIDTH      1024 # In-game Screen Width
INT        SCREEN_HEIGHT     768  # In-game Screen Height

Changes in R3:

Can change resolution by modifying VAR.DAT.

NOTE: The executable file size is increased by almost 200KB to allow adding new code and data.

 

Changes in R2:

The window is no longer top-most.

Attached Files


Edited by Nightingale1, 05 April 2016 - 12:31 PM.


#2 SirRH

SirRH

    title available

  • Members
  • 604 posts
  • Location:Uranus

Posted 31 March 2016 - 12:05 PM

Nice worked on Windows 7 too although had to change desktop to 16-bit otherwise would crash


Edited by robb, 31 March 2016 - 12:10 PM.


#3 Nightingale1

Nightingale1
  • Members
  • 38 posts

Posted 31 March 2016 - 12:55 PM

Nice worked on Windows 7 too although had to change desktop to 16-bit otherwise would crash

 

Glad to hear it worked!

 

Didn't the 16-bit compatibility option work?

 

Actually I tried to change the game visual mode to 32-bit, but then some textures would be messed up. I gave up as there were many changes to be made in the executable and might make it unstable (more than it already is).


Edited by Nightingale1, 31 March 2016 - 04:17 PM.


#4 SirRH

SirRH

    title available

  • Members
  • 604 posts
  • Location:Uranus

Posted 31 March 2016 - 07:54 PM

 

Nice worked on Windows 7 too although had to change desktop to 16-bit otherwise would crash

 

Glad to hear it worked!

 

Didn't the 16-bit compatibility option work?

 

Actually I tried to change the game visual mode to 32-bit, but then some textures would be messed up. I gave up as there were many changes to be made in the executable and might make it unstable (more than it already is).

 

 

In windows 7 there is no 16-bit option in compatibility you have to do it in display settings, and yeah c2 is a little buggy in 32-bit window too it makes the rest of my programs flicker



#5 Nightingale1

Nightingale1
  • Members
  • 38 posts

Posted 31 March 2016 - 10:16 PM

 

In windows 7 there is no 16-bit option in compatibility you have to do it in display settings

 

Ah, sorry didn't know that.

 

 

c2 is a little buggy in 32-bit window too it makes the rest of my programs flicker

 

I had problems with c2 in windowed mode too like black cursor and crashes, but copying ddraw.dll from DDrawCompat fixed them for me. Maybe it fixes your problem too?



#6 SirRH

SirRH

    title available

  • Members
  • 604 posts
  • Location:Uranus

Posted 31 March 2016 - 10:51 PM

Yes that made windowed mode much better and stopped the flickering stuff, thanks!



#7 stankan

stankan
  • Members
  • 111 posts
  • Location:Italy

Posted 02 April 2016 - 02:06 PM

Where is the file?



#8 Nightingale1

Nightingale1
  • Members
  • 38 posts

Posted 02 April 2016 - 05:07 PM

Where is the file?

 

Oops, I forgot to attach the R3 version. I just attached it.



#9 stankan

stankan
  • Members
  • 111 posts
  • Location:Italy

Posted 03 April 2016 - 08:29 PM

Ok, but resolution don't change with VAR.DAT modifications. How do it?



#10 Nightingale1

Nightingale1
  • Members
  • 38 posts

Posted 05 April 2016 - 10:46 AM

Ok, but resolution don't change with VAR.DAT modifications. How do it?

 

Have you set the variables like the example in the first post?

 

Menu resolution is still 800x600. The parameters only change the in-game resolution.



#11 DynamoDucky

DynamoDucky
  • New Members
  • 2 posts

Posted 28 April 2016 - 07:46 AM

Hey guys,

I made a windowed version of Commandos 3 GOG executable. I tested it on Windows 10 x64.

I liked it to be clean just like Commandos 2, with movable/minimizable window and without using any third-party apps.

 

Make sure the executable is named "Commandos3.exe" and set the Compatibility settings like in the picture:

attachicon.gifc3.windowed.jpg

 

Parameters

You can set the parameters in "DATA\VAR.DAT" file:

INT        SCREEN_WIDTH      1024 # In-game Screen Width
INT        SCREEN_HEIGHT     768  # In-game Screen Height

Changes in R3:

Can change resolution by modifying VAR.DAT.

NOTE: The executable file size is increased by almost 200KB to allow adding new code and data.

 

Changes in R2:

The window is no longer top-most.

 

Hi,

Thanks for that work.

Your fix works but the window is tiny. How can I change the resolution if I have no VAR.DAT file in my folder (actually, there's no such file on my computer at all)?

Maybe with a command line?

 

Ducky



#12 SirRH

SirRH

    title available

  • Members
  • 604 posts
  • Location:Uranus

Posted 28 April 2016 - 08:16 PM

 

Hey guys,

I made a windowed version of Commandos 3 GOG executable. I tested it on Windows 10 x64.

I liked it to be clean just like Commandos 2, with movable/minimizable window and without using any third-party apps.

 

Make sure the executable is named "Commandos3.exe" and set the Compatibility settings like in the picture:

attachicon.gifc3.windowed.jpg

 

Parameters

You can set the parameters in "DATA\VAR.DAT" file:

INT        SCREEN_WIDTH      1024 # In-game Screen Width
INT        SCREEN_HEIGHT     768  # In-game Screen Height

Changes in R3:

Can change resolution by modifying VAR.DAT.

NOTE: The executable file size is increased by almost 200KB to allow adding new code and data.

 

Changes in R2:

The window is no longer top-most.

 

Hi,

Thanks for that work.

Your fix works but the window is tiny. How can I change the resolution if I have no VAR.DAT file in my folder (actually, there's no such file on my computer at all)?

Maybe with a command line?

 

Ducky

 

Need to create your own, make a empty text file in the Commandos 3\Data folder, and copy the parametres he listed inside it, and change the resolution numbers to what you want (can make the game crash or have issues if resolution is too high, I usually use 1280x720), then save it as VAR.DAT


Edited by robb, 28 April 2016 - 08:18 PM.


#13 DynamoDucky

DynamoDucky
  • New Members
  • 2 posts

Posted 29 April 2016 - 11:52 AM

Thank you, I expected the file was missing because the Steam version was different from other available releases.



#14 Salvadorc17

Salvadorc17

    title available

  • Members
  • 507 posts
  • Location:Colombia
  • Projects:Destination Norway

Posted 12 May 2016 - 12:33 AM

Have you set the variables like the example in the first post?
 
Menu resolution is still 800x600. The parameters only change the in-game resolution.


Just tested this version, but it does crash upon start, using Windows 7 64 bits..




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users