Jump to content
The Dark Mod Forums

[question] Shortcut launch options: TDM - full screen and windowed.


Bikerdude
 Share

Recommended Posts

Evening

 

Atm I have a bunch of shortcuts for my various mission in my quicklanch and a main shortcut on my desktop. The mission shortcuts are as follows -

 

E:\Darkmod\TheDarkMod.exe +set com_allowConsole 1 +set r_fullscreen 0 +set fs_currentfm campaign

 

I would like to force the short on my desk(which i use to play a mission rather than test it) to full screen and use a specified resolution (1680*1050),I can force to full screen but not at the correct res.

 

So my question is can I edit the shortcut to suit or perhaps run a custome config file..?

Link to comment
Share on other sites

Evening, Bikerdude.

 

This seems to do the trick:

 

D:\Games\darkmod\TheDarkMod.exe +set com_allowConsole 1 +set r_fullscreen 1 +set r_customWidth 1024 +set r_customHeight 768 +set r_aspectRatio 0 +set r_mode -1

 

In case your default TDM aspect ratio does not match the desired resolution, you need to specify the r_aspectRatio.

Otherwise you can omit it.

The values for r_aspectRatio are:

 

0 : 4:3

1 : 16:9

2 : 16:10

3 : 5:4

4 : TV 16:9

 

Unfortunately this will permanently change your resolution, so you will need to specify alternative settings to all other shortcuts as well.

Edited by gnartsch
Link to comment
Share on other sites

Just in case that does not work either, here a note:

indeed setting the resolution does not work quite as smooth as a I described.

While TDM accepts the resolution that you specify in the shortcut, it actually still requires a Restart in order to actually apply it.

So, if you do not bother all that much about that detail, it would at least give you the desired resolution without having to manually configure it in the UI.

 

EDIT:

Hmm...ok. Not sure what

r_mode -1
does, but obviously it enforces a refresh of the display settings without requiring a restart.

I updated my post. With that the desired resolution takes effect immediately.

Edited by gnartsch
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recent Status Updates

    • jaxa

      Alder Lake has arrived:
      https://forums.thedarkmod.com/index.php?/topic/18055-2016-cpugpu-news/page/15/&tab=comments#comment-466190
       
      · 0 replies
    • irg

      Watching warmly for The Black Parade, The Broken Goddess and Blood Death Wish Ep.4. Sometimes the best things in life actually are free.
      · 1 reply
    • STiFU

      We are taking our son on his very first holiday trip to see the sea for the first time. 🙂 Will be back in a week.
      · 2 replies
    • Gilkar

      When I was a young man my father was so ignorant I could hardly stand to have him around. As I grew older I was amazed at how much the old man had learned in such a short time.
      · 2 replies
    • jaxa

      RTX 3090 Super, RTX 3070 Ti 16 GB, RTX 2060 12 GB
      https://wccftech.com/nvidia-launching-rtx-3090-super-rtx-3070-ti-16gb-and-rtx-2060-12gb-by-january-2022/
      · 0 replies
×
×
  • Create New...