A small, single-file launcher for joining Vice City Multiplayer servers. Useful to ship a ready-to-run executable that connects players directly to your server and optionally carries server store files and a splash image.
launcher-0.4.7.1.exe
) connects to 127.0.0.1:8192
. You will usually want to change that.launcher-0.4.7.1.exe
or launcher-04rel006.exe
.launcher-0.4.7.1.exe
to your server name (for example Freeroam Server.exe
).HKEY_CURRENT_USER\Software\MyGameLauncher
..conf
file to override embedded defaults without rebuilding the EXE.Which player name will be used?
.conf
file sets a different name (see below).name=
entry, that name always takes precedence (over embedded and browser names).Create a file named exactly the same as the launcher but with .conf
appended (for example Freeroam Server.conf
if your launcher is Freeroam Server.exe
), and place it next to the executable. Example contents:
addr=204.34.xx.40:8192 name=sheldrake skipstorefiles=0
Options
addr=
— The server address (IP:PORT or domain:PORT).name=
— Player name to use when connecting.vcdir=
— Path to the GTA Vice City installation to use. Example: vcdir=D:\Grand Theft Auto Vice City
skipstorefiles=
— 1
or 0
. Prevent copying embedded store files when set to 1.splash=
— Path to a PNG image to use as a custom splash screen.nosplash=
— 1
or 0
. Disable splash screen if set to 1..conf
file — no rebuild required.
MAGIC = "VCMP_MAGIC" (11 bytes) MAGIC + 11 = ip address (64 characters) MAGIC + 75 = domain name (254 characters) MAGIC + 329 = port (int) MAGIC + 333 = 1 (byte) embedded player name present MAGIC + 334 = player name (25 bytes) MAGIC + 359 = 1 (byte) fetch name from official VCMP browser MAGIC + 360 = 1 (byte) fetch name from Spiller's browser MAGIC + 361 = 1 (byte) fetch name from Megamind's browser MAGIC + 362 = 1 (byte) splash PNG embedded MAGIC + 363 = Store-zip offset in exe (4 bytes) MAGIC + 367 = size of store-zip (uint32_t) MAGIC + 371 = PNG image start offset (4 bytes) MAGIC + 375 = size of png image (4 bytes) -- total block size is 379 --
You can embed store files inside the launcher executable by zipping them and using the GUI tool to attach the archive. By default these are extracted into the user's AppData VCMP folder at runtime.
Use LauncherConfig.exe
(GUI tool) to change embedded data without rebuilding:
There are alternative GUI screens for other languages. These were exported using Resource Hacker and can help Russian and Chinese players. Unfortunately the author was unable to compile these as unicode support needed to rewrite entire code.
You can also create launchers from the browser: vcmp-launcher.art.
Attach a PNG image to use as a custom splash screen during loading.
The launcher chooses gta-vc.exe
using this priority:
.conf
file exists with a valid vcdir=
, use that (overrides all above).gta-vc.exe
and save it to registry.# Example conf file (Freeroam Server.conf) addr=myserver.example:8192 name=Sheldrake vcdir=C:\Games\GTA VC skipstorefiles=0 splash=C:\images\my-splash.png nosplash=0
ysc3839 — VCMP dll injection code for normal and steam versions.
BSD Zero Clause
This program by itself neither downloads nor uploads anything to the internet. It only contains embedded configuration, optional store files and an optional splash image. When run it will connect to the configured VCMP server and (unless disabled) copy store files into the user's AppData VCMP directories.