How Do I Change Game Resolution in the Command Line?


Recommended Posts

Sorry, I'm such a newb when it comes to this stuff, but I have apps downloaded from steam that require you to change the resolution in the command line. I can't figure out how to get this to work. Will this not work because they are steam games? Some of the games in question are Hexen 2, Quake Mission packs 1 and 2, etc.

In the options it says Video modes must be set in the command line with -width <width> and -bpp <bits-per-pixel>

So, I've tried putting C:\Program Files\Steam\steamapps\common\hexen 2\glh2.exe -width 1680x1050 -bpp 32 into the command line and that doesn't work.

I've tried just glh2.exe -width 1680x1050 -bpp 32 in the command line with no success

I've tried putting C:\Program Files\Steam\steamapps\common\hexen 2\glh2.exe -width 1680x1050 -bpp in the run prompt and that just opens the app normally.

I've tried putting -width 1680x1050 -bpp 32 in the startup options for the Steam game's properties, that doesn't work.

I'm guessing the solution is easy but I can't figure it out. All the searches I have done have turned up answers that were leaving out pieces of information that is probably pretty basic, but I don't have a clue. :unsure:

Can someone explain what to do, step by step for someone who doesn't know a thing about this command line stuff. Thank you in advance!

  Aq3e said:
if i can remember correctly it goes " -width XXXX -height XXXX " and then after the -bpp for the older quake engine

But it says to do this in the command line.

what else goes in there. Seriously I have no clue about any of this.

"1680x1050" is not a width.

%programfiles%\Steam\steamapps\common\hexen 2\glh2.exe -width 1680 -height 1050 -bbp 16 (or 32, or whatever)

Before you freak out, i didn't feel like typing "c:\program files"... %programfiles% is the variable that represents it.

  • 2 years later...
  On 21/09/2008 at 18:23, Harreh said:

In the Steam games window, right click on the game, select "Properties" then on the "General" tab, hit the "Set launch options..." button. Then follow I8PP's instructions. You weren't following the proper syntax.

Hey all. I just bought Hexen 2 from Steam Games and sometimes it crashes on me. When I first started the game, it gave me an error, which mentioned something about Open GL. Also, the game only seems to run in full-screen mode. I cannot get it to run in windowed mode no matter what I do. Can anyone help me?

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Couldn't a custom power plan help to park the non x3d ccd's? Then that would solve this latency/performance issues people are having with the x3d chips?
    • So is Ubuntu and Fedora (with GNOME). It's a welcome move and those that need X11 can easily install as pointed out in the article it but that won't stop a loud minority from whining of course. Funny but It will actually be easier to install X11 on Ubuntu then enable Flatpak support/Flathub and use them.
    • End of an era? Kubuntu is removing default support for X11 in new installs by David Uzondu X11, the old window system whose days have long felt numbered, just saw another one of its major supporters head for the exit. Kubuntu has decided to follow its parent distro's lead, making its next release, version 25.10, a Wayland-only affair for fresh installs. It seems many Linux developers see Wayland as the future. Just recently, Linux Mint started working to improve support for the protocol in Cinnamon, tackling lingering issues with keyboard layouts and input methods. You can even see the progress in KDE's development, where an upgrade to Wayland PiP is planned for KDE Plasma 6.5. So what's the logic behind dropping a session that, for the most part, still works? According to Kubuntu's Rik Mills, the team wants to "rip off this sticking plaster" now, in an interim release, rather than ###### off a lot of people by doing it in the next Long-Term Support version, 26.04. The developers feel that maintaining code for the aging X11 system holds back progress on security and new features that Wayland can enable more easily. Plus, supporting two separate display servers is a massive undertaking. Of course, this change might have some people worried, but relax; all is not lost if you still need the old session. If you're running hardware that acts up, like some older NVIDIA cards, or who relies on an ancient application that doesn't play nicely with the XWayland compatibility layer, you can still get your familiar session back. Just enter the following command in your terminal: sudo apt install plasma-session-x11 Once that command finishes, the X11 session will appear as an option on the login screen, so you can carry on as before. As OMGUbuntu notes, not everyone in the Ubuntu family is following its lead just yet. Other official flavors like Xubuntu, Ubuntu Budgie, and Ubuntu Cinnamon are expected to keep offering an X11 session on their default installs for this cycle.
    • Mangohud hasn't been built into "Steam Deck", it has been built into SteamOS. I understand that your goal is to try and praise MS for a simple feature that everyone else has, but we are comparing OS vs OS. Hardware does not have anything "built-in". Software does. Like it or not, SteamOS has it "built-in". And it is far superior to XBOX game bar's information.
  • Recent Achievements

    • First Post
      Johnny Mrkvička earned a badge
      First Post
    • Week One Done
      viraltui earned a badge
      Week One Done
    • One Month Later
      serfegyed earned a badge
      One Month Later
    • Dedicated
      firey earned a badge
      Dedicated
    • Dedicated
      fettermanj earned a badge
      Dedicated
  • Popular Contributors

    1. 1
      +primortal
      642
    2. 2
      Michael Scrip
      221
    3. 3
      ATLien_0
      215
    4. 4
      Steven P.
      143
    5. 5
      Xenon
      142
  • Tell a friend

    Love Neowin? Tell a friend!