Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Is there a way to change the default resolution of saved screenshots?

Standard they're saved in the same resolution as the set screen resolution. But I upload them at a lower resolution to save space, so then I have to resize them first.

Posted
14 hours ago, stgatilov said:

In theory, you can pass resolution to screenshot command: screenshot 1000 1000.

But in practice it is broken now.

Why is it broken?

 

9 hours ago, AluminumHaste said:

You can quickly and easily (for free) batch resize images using IfranView.

Thanks, but I can already do that with Pix (Linux). I know how to do that, but I want to save screenshots directly at a specific resolution.

Posted
37 minutes ago, datiswous said:

I guess maybe I could do:

r_customWidth 1280
r_customHeight 720
screenshot
r_customWidth 1920
r_customHeight 1080

But I don't know if I could put that in a command.

I think it won't work until game restart, and won't work at all in fullscreen/borderless mode.

Yes, it's either we need to fix the old tiled rendered, or we need to allow rendering screenshot frame with different resolution.

  • Like 1
Posted (edited)

Well it works via command vid_restart , but it's very slow..

I guess the best workaround is to make some script that converts all image files in the screenshots folder to the specified resolution. Like:

#! /usr/bin/bash
mogrify -resize 1280x720 ./*.jpg
Edited by datiswous
Posted (edited)

Well since you're a Linux user and already know about scripts, I invite you to learn about the inotifywait command which can monitor the changes made to a directory or file. You could have your mogrify script run whenever the screenshots dir changes (i.e. a screenshot is saved).

Examples - https://www.thegeekdiary.com/inotifywait-command-examples-in-linux/

Edited by Xolvix
  • Thanks 1

A word of warning, Agent Denton. This was a simulated experience; real LAMs will not be so forgiving.

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