VcTweaks 1.4.1 for Vietcong 1.60
by -eC^Anickaa

Fixes and extras for Vietcong multiplayer and the level editor.


INSTALL

1. Close the game.
2. Copy everything from this zip into your Vietcong folder, the one with
   vietcong.exe in it.
3. Start the game the way you normally do.

To change settings, run VcTweaksConfig.exe. Changes apply the next time the
game starts.

For the editor features, also copy dinput8.dll into dev\engine.


NEW IN 1.4.1

- Fixed: in the borderless window with two monitors of different sizes or
  different Windows scaling, part of the picture could go missing on the
  right (a quarter of it, with the game at 2560x1440 on a 1920x1080
  monitor). Now the picture always fills the window, whatever resolution
  the game is set to, nothing can move the window off its monitor, and it
  uses each monitor's real pixels. If it still happens to you, send us
  VcTweaks.log from your Vietcong folder - it now lists your monitors.

NEW IN 1.4

- Editor: Fix Z-fighting. Surfaces close together (a sign on a wall, a decal,
  two floors) no longer flicker or show through each other in the editor
  when they look fine in the game. The editor now draws with a 24-bit depth
  buffer, as the game does, instead of its own 16-bit one. On by default;
  it is in the Editor box of VcTweaksConfig.exe. See Editor below.

NEW IN 1.3

- Switch your keyboard layout from inside the game with a key (Scroll Lock
  by default). The game gets stuck on whichever layout was active when it
  launched; now you can switch between the layouts you have installed in
  Windows while you play - for chat, the server name/password fields and the
  console. See Keyboard layout below.
- Console window: a new option to close it together with the game (off by
  default, so it still stays open otherwise). See Console window below.

NEW IN 1.2.2

- Fixed: on a Windows not set to Czech, the launcher showed "Zru?it" and
  other Czech words with wrong letters. See Czech letters in the launcher
  below.
- Fixed: in the multiplayer Escape menu, the Czech "Navrat do hlavniho
  menu" ran into its key number. The menu is now as wide as its longest
  line.

NEW IN 1.2.1

- Fixed: the game or the editor could crash when a player ended up inside
  a detailed model, for example flying through one with noclip in the
  editor. See Collision guard below.

NEW IN 1.2

- Editor: the graphics card now does the 3D work instead of the processor.
  Big maps run much faster in the editor, especially when testing them.

NEW IN 1.1.1

- Fixed: with faster map loading on and the borderless window off (or
  without VCStarter), the screen stayed black after a map loaded.

NEW IN 1.1

- Speech volume (the voices) on the Options page in the Escape menu.
- Frame cap for the editor.

To update from an earlier version, close the game and the editor and copy the
new files over the old ones. Your settings in VcTweaks.ini are kept. If you
use the editor features, copy the new dinput8.dll into dev\engine again too.


UNINSTALL

Delete dinput8.dll, VcTweaksConfig.exe, VcTweaksConsole.exe, VcTweaks.ini,
VcTweaks.log, VcTweaks-autopick.txt, and the VcTweaks and console folders. If you copied dinput8.dll
into dev\engine, delete that one too.


REQUIREMENTS

Vietcong 1.60. VCStarter is needed for gamma in the window, frame sync, DXVK
and the loading bar part of faster map loading.

Each feature checks the game's files first. If something doesn't match, that
feature turns itself off and VcTweaks.log says why.


FEATURES

No jump limit
    Removes the out of breath limit on jumping.

Chat editing
    A proper text cursor in the chat line, with selection, copy and paste, and
    your last 8 messages on the up and down keys.

Borderless window
    Runs the game in a window with no border that fills the screen, so alt-tab
    is instant. Your monitor's own resolution looks best; any other is
    stretched over the whole screen. It comes with:
    - Gamma: the game's brightness setting works in the window.
    - Frame sync: smoother turning.
    - Direct3D 9: where the game's Direct3D 9 comes from. Windows' own (the
      default), DXVK (smoother still, if your graphics card has Vulkan), or
      D3D9On12 (as smooth, Windows' own Direct3D 12 - try it if DXVK makes
      the game slow down or lose its textures after an hour or so).
    - Keep drawing: in multiplayer the picture keeps moving while you are in
      another program. The game gets no keyboard or mouse input then.

Options in the Escape menu
    In multiplayer, Escape then 2 opens a page with mouse sensitivity, music,
    effects and speech (voices) volume, gamma, and crosshair shape and colour.
    Volume 0 is now really silent.

Console window
    The game's console in a separate window, with times, chat and full
    history. Commands run without opening the in-game console, and you can chat
    from it. Your name in chat gets highlighted. Each session is saved as a text
    file in the console folder. It opens with the game by default; you can also
    have it close with the game (both in VcTweaksConfig.exe).

Keyboard layout
    Vietcong gets stuck on the keyboard layout that was active when it
    launched, so switching layouts in Windows afterwards does nothing in the
    game. With this on (Scroll Lock by default, changeable in the settings),
    one key cycles through the keyboard layouts you have installed in Windows,
    switching the game to the next one - with two installed it just flips
    between them. It affects what you type in chat, the server name/password
    fields and the console.

Auto-pick
    After you join a server or the map changes, the side, class and weapon you
    last picked by hand are picked again at once, so you skip the three menus
    (and get the chat sooner: the server sends none until you pick a side).
    Hold Left Shift while the map loads to get the menus that time. What you
    pick by hand is remembered for next time, per server, in
    VcTweaks-autopick.txt. A side or class the server doesn't offer is never
    forced; that menu is left to you.


FIXES

Mouse fix
    The mouse sometimes stopped clicking anywhere after alt-tab until you
    pressed Ctrl+Alt+Del. This stops that.

Map limit fix
    The game crashed at startup with more than about 500 maps in the maps
    folder. Now it handles up to 8192.

Collision guard
    The game could crash when a player ended up inside a detailed model
    (in the editor's noclip, for example): the engine's list of surfaces
    touching at once overflowed. Now it stops at its size.

Czech letters in the launcher
    On a Windows that is not set to Czech, the launcher (Ptero-Engine-II
    Setup) showed "Zru?it" and "Upoednostovat" with wrong letters. Now it
    shows the game's letters right, whatever Windows is set to.

Escape menu width
    The multiplayer Escape menu is as wide as its longest line, so the
    Czech "Navrat do hlavniho menu" no longer runs into its key number.

Faster map loading
    Removes waits in the loading process. A big map takes about 5 seconds
    instead of 24. The loading bar moves less smoothly because of it.

    This also sets a DirectPlay registry value for your Windows user, which
    makes other DirectPlay games connect faster too. Turning the option off
    removes it the next time the game starts.


EDITOR

Copy dinput8.dll into dev\engine for these.

- The editor can open while the game is running.
- Frame cap: the editor draws at most so many frames a second (your monitor's
  refresh rate unless you change it) instead of hundreds or thousands.
- The graphics card does the 3D work, so big maps run smoothly. If something
  in the editor looks wrong, untick it in VcTweaksConfig.exe.
- Fix Z-fighting: surfaces close together no longer flicker through each
  other in the editor when they don't in the game (a 24-bit depth buffer, as
  VCStarter's "Fix Z-fighting" gives the game).
- While testing a level with F8 / F9, W and Alt only control the player, so
  they no longer switch the wireframe or open the menu.
- No quick save or quick load while testing.
- No jump limit, noclip (F7) and checkpoints (F3 save, F4 back) while testing.
  These only work in the editor.


ONLINE

VcTweaks changes the game in memory. Servers running HradBa may treat that as
cheating, so turn it off or remove it if you play on one.

No jump limit is an advantage on a normal server. Ask the admin first.


CREDITS

DXVK by Philip Rebohle and contributors. See VcTweaks\dxvk\LICENSE.txt.
