Host
From PlanetsWiki
Contents |
[edit] Overview
Host.EXE is an application that comes with the complete package that you download from www.planets4.com. It is used to process TRN files that the Planets4 application produces. You can launch other applications from this application, such as Master, HConfig, and Planets4. See Changes for the latest Host.
[edit] V4Host.exe
In fact Host.exe is only a front end program for v4host.exe, wich has has no user interface on its own.
- Reads in all the incoming TRN files plus the YIG file.
- Processes the turn.
- Outputs all the players new RST files. It will output new RST files for players that did not turn in a TRN file as well as for the ones that did.
Once host runs and makes a new set of RST files, only these new RSTs can be used by the players to make the next set of TRN files for the host. All TRN files made using older RST files will be rejected. This program does not use any of the Visual Basic run time libraries (It was not written in Visual Basic).
[edit] Command Line
The v4host program can be started from a command line.
v4host.exe yigfile.yig
Example:
v4host c:\planets4\univ\game1\g1.yig
[edit] Notes
- I recently discovered that if you place a text file with the extension .HMS into the Univ\GameX folder then the host program will grab that file and send the text to all players within the game. The file is
removed after. (Magik)
- v4host.exe uses the v4hostx.dll and v4hosty.dll support DLL files as well as compp32.dll, the files in the ships directory and the files in the races directory. It also uses the files v4resx.dat and V4ResY.dat in the vpsys directory.

