Jump to content
The Dark Mod Forums

Recommended Posts

Posted

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..?

bhm_banner.jpg

Posted (edited)

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
Posted (edited)

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
Posted

r_mode -1 just makes sure that the defined custom resolution is actually used. Otherwise, default resolutions like 640x480 are applied.

Posted

r_mode are the predefined resolution modes. If you want to use custom res you need to tell the engine not to use the predefined ones. Hence a value of -1 is needed.

I always assumed I'd taste like boot leather.

 

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.

  • Recent Status Updates

    • JackFarmer

      "The Year of the Rat." 
      😄

      Al Stewart must be proud of you!
      Happy testing!
      @MirceaKitsune
      · 1 reply
    • datiswous

      I posted about it before, but I think the default tdm logo video looks outdated. For a (i.m.o.) better looking version, you can download the pk4 attached to this post and plonk it in your tdm root folder. Every mission that starts with the tdm logo then starts with the better looking one. Try for example mission COS1 Pearls and Swine.
      tdm_logo_video.pk4
      · 2 replies
    • JackFarmer

      Kill the bots! (see the "Who is online" bar)
      · 3 replies
    • STiFU

      I finished DOOM - The Dark Ages the other day. It is a decent shooter, but not as great as its predecessors, especially because of the soundtrack.
      · 5 replies
    • JackFarmer

      What do you know about a 40 degree day?
      @demagogue
      · 4 replies
×
×
  • Create New...