halflife icon indicating copy to clipboard operation
halflife copied to clipboard

[CS 1.6 / Half-Life - bug] .tga screenshots are...broken?

Open ghost opened this issue 13 years ago • 33 comments

Don't know right word for this.

  • Open console
  • Type in screenshot
  • Open saved .tga screenshot

I get this: (saved to jpeg) CS 1.6 main menu: Half-Life main menu: Half-Life, game loaded:

They look nice btw

Windows 7 x64, GeForce 240 GT, OpenGL, fullscreen

ghost avatar Feb 20 '13 06:02 ghost

+1 for nice look.

Wasn't able to reproduce. Tried: 640x480, -nofbo, gl_vsync 0 640x480, gl_vsync 0 1920x1080, -nofbo, gl_vsync 0 1920x1080, -nofbo, gl_vsync 1 1920x1080, gl_vsync 0 1920x1080, gl_vsync 1

Windows 7 x64, GeForce 8400GS, fullscreen.

LevShisterov avatar Feb 20 '13 08:02 LevShisterov

that is weird my screenshot is good maybe you need update you drivers

gtx 560 opengl

L0Bo21 avatar Feb 20 '13 08:02 L0Bo21

Nope. My driver version is 310.90. Image settings in Control Panel is set to Quality, 1366x768, fullscreen, gl_vsync 0, -nomsaa Enabling msaa, vsync, setting Image settings to "Let the 3D application decide" doesn't change anything

ghost avatar Feb 20 '13 09:02 ghost

Found it. If I switch the game resolution to any lower, than my native (1366x768) and check the "Low video quality" checkbox in the game options, everything works fine -nofbo doesn't fix it

ghost avatar Feb 20 '13 09:02 ghost

"maxkorz" the latest driver is 314.07 update pls

http://www.nvidia.com/object/win8-win7-winvista-64bit-314.07-whql-driver.html

L0Bo21 avatar Feb 20 '13 09:02 L0Bo21

I installed the new version, nothing changed

ghost avatar Feb 20 '13 09:02 ghost

@alfred-valve what else "low video quality" changes? https://github.com/ValveSoftware/halflife/issues/343#issuecomment-13749272 you said it changes gl_texturemode to GL_LINEAR_MIPMAP_NEAREST. It's true. But what else? If I set gl_texturemode to GL_LINEAR_MIPMAP_NEAREST in the console and change my resolution to lower than my native, it won't fix the bug, but if I enable this checkbox , the bug fixes

ghost avatar Feb 20 '13 10:02 ghost

I can't take snapshots as well: Windows Photo Viewer can't open this picture because the file appears to be damaged, corrupted, or is too large.. But if I change my resolution to a lower one and turn on "Low video quality", everything works.

ghost avatar Feb 20 '13 11:02 ghost

Could you upload the original tgas somewhere please.

johndrinkwater avatar Feb 20 '13 11:02 johndrinkwater

https://docs.google.com/file/d/0B-oc73ZQFT19RlpBeG9XT1d6WEU/edit?usp=sharing

ghost avatar Feb 20 '13 11:02 ghost

Steam Overlay takes screenshots without problems

ghost avatar Feb 20 '13 11:02 ghost

I have the same problem except for me snapshot also does this: http://imageshack.us/a/img72/4549/snapshot0000dy.png and this is screenshot: http://imageshack.us/a/img687/8161/halflife00n.png

Windows 7 x64, GeForce GT 420M, OpenGL, fullscreen (without -nofbo) both snapshot and screenshot work fine with -nofbo

Glymbol avatar Feb 20 '13 13:02 Glymbol

huh, those screens are cool. -nofbo doesn't fix it for me

ghost avatar Feb 20 '13 13:02 ghost

@alfred-valve Fixed screenshot and snapshot when running in "-nofbo" mode I don't know what you have changed, but it's still doesn't work. .bmp screenshots are damaged/corrupted, .tga screenshots look the same -nofbo doesn't help I mean, it doesn't work in both modes. (nofbo and without nofbo)

But, fast alt-tabbing now works in -nofbo

] version
Protocol version 48
Exe version 1.1.2.7/Stdio (cstrike)
Exe build: 10:34:27 Feb 21 2013 (5964)

ghost avatar Feb 21 '13 20:02 ghost

I cannot reproduce the problem here... So if you run fullscreen @ 1366x768 and do NOT have Low Quality checked when you type "screenshot" this is the tga file that is produced?

alfred-valve avatar Feb 21 '13 23:02 alfred-valve

Yes. If I run fullscreen @ 1366x768 and do NOT have Low Quality checked, when I type "screenshot" I get weird TGA file and when I type "snapshot" I get corrupted/damaged BMP file If I DO have Low Quality checked and run fullscreen @ 1360x768 or any lower, everything works

GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce GT 240/PCIe/SSE2
GL_VERSION: 3.3.0

nvidia driver version: 314.07

ghost avatar Feb 21 '13 23:02 ghost

With -nofbo everything is fine for me.

I tried Low Quality setting and both snapshot and screenshot work OK but only for resolutions below my native resolution. When in game resolution is 1366x768 same as desktop or Low Quality is turned off I have corrupted bmp and tga files. I tried lowering my desktop resolution but that doesn't change anything, still I have corrupted bitmaps for 1366x768 with Low Quality turned on.

Protocol version 48 Exe version 1.1.2.7/Stdio (cstrike) Exe build: 17:09:07 Feb 18 2013 (5961)

nvidia driver version: 285.90

OpenGL Version 4.2.0 Vendor NVIDIA Corporation Renderer GeForce GT 420M/PCI/SSE2

Glymbol avatar Feb 22 '13 11:02 Glymbol

I have the same problem, only that i found out about it using PrintScreen in fullscreen mode(getting black screen instead of an actual picture - see https://github.com/ValveSoftware/halflife/issues/496). Also, PrintScreen is capturing the desktop resolution instead of the game's.

di57inct avatar Feb 22 '13 17:02 di57inct

I've completely reinstalled SteamPipe games: Half-Life, Counter-Strike 1.6, Counter-Strike: Condition Zero. (deleted them via Steam and deleted \common\Half-Life\ folder, then installed the games again), it didn't help

ghost avatar Feb 23 '13 12:02 ghost

Same problem in CS:CZ

ghost avatar Feb 23 '13 13:02 ghost