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

    • opnode  »  STiFU

      Saw you username pop up, just wanted to say thanks for your recent commits :3
      · 0 replies
    • Petike the Taffer

      I've updated all of the Fan Mission documentation on our TDM wiki. As I've gone to the trouble of documenting every officially known fan mission, we currently have a total of 192 missions (the vast majority of them Single Missions, and a few done in the format of a Campaign). Maybe I should get working on my own again, soon, just to add something to the approaching first two hundred. 
      · 0 replies
    • demagogue

      I saw a let's play video with the indicator that pops up showing the direction for AI barks. This for the record. I hadn't looked into it before and wanted to now, but search terms weren't helping me find info on it in the forum. Could anyone drop a link to a thread or post on it?
      · 2 replies
    • Petike the Taffer

      I think I still have the login details for the Google Account used to log in to The Dark Mod's official YouTube channel. With all the new videos that have been done regarding 2.12 and 2.13, it really feels like it's time for an update. I don't know if logging into another account is going to work, as I've had some issues with it in recent times, but If I manage to do so, I'll do some updating regarding the newer videos.
      · 0 replies
    • The Black Arrow

      New Year Plans:
      Play Thief Gold
      Play Thief 2
      Play Thief 3
      Play Thief Gold...To play "The Black Parade"
      Finally, eat Velvet Cake and...Play The Dark Mod, wooeey!
      · 6 replies
×
×
  • Create New...