VCMP Launcher

Started by habi2, Today at 08:50 PM

Previous topic - Next topic

habi2

Hi guys, this is the program i was working with last one-two months.

You can give your friend an executable like:


And your friend then double click this exe and is on your  server. You can embed store files in this exe. You just zip the server's store files and give to program.

So using this launcher, your friend can join your server even if he has not installed vcmp browser and settings. He just needs to have a gta-vc.

Optional conf file
A configuration file ending with '.conf' and having same name as launcher can be placed in same directory.

The launcher ask for player name on first execution(or fetch it if vcmp official browser or any other browser is installed). This behaviour can be changed and give custom/new nick using .conf file with same name, override player's nick:


Now if ip address of server has changed after the executable is built(the launcher contains an IP), you can also override ip address by using addr= in .conf file.


all configuration parameters
  • addr=  The ip:port or domain:port
    eg. addr=152.33.52.33:8192 or addr=myserver.abc:8192
  • name=  The name of player to be used when connecting to server
  • vcdir= If you have multiple vice city installed, the directory containing vice city to be used.
    eg. vcdir=D:\Grand Theft Auto Vice City
  • skipstorefiles=  1 or 0. To skip copy pasting store files from launcher to AppData folder. Launcher contains vcmp-game dlls(either 0.4.7.1 or 04rel006) and store files. It copies them to appropriate directories in AppData. This option is to prevent copying store files.
  • splash= The path to a png image which will be applied in loading screen.
    eg. splash=D:\the twins.png
  • nosplash= 1 or 0. If 0, then default splash of vice city multiplayer will be used.


The GUI Editor program
The data-in-a-launcher can be changed. For that we have an exclusive gui program.

The inbuilt ip-address and other properties for a launcher can be changed/edited. Note that we are building launcher per server.

In below download, there are two programs:

Freeroam Local Server.exe was a 'local server launcher' and will connect to 127.0.0.1:8192 if opened. You have to use LauncherConfig.exe tool to edit the ip and port. Remember, the conf file we used above was optional only. The launcher can be shipped without .conf file also.


The Website
The launcher can be made from browser too. Go to www.vcmp-launcher.art. Select a 0.4.7.1 or 04rel006 one.






The Splash
You can attach a PNG image into the launcher which it use as splash screen.



Download Links

VCMP Launcher (zip)(12.4 MB)
VCMP Launcher (7z) (9.28 MB)

Source code
You can download all the source code from below:
Source VCMP Launcher (9.17 MB)

Credits
  • ysc3839