Posted: Fri Jan 05, 2024 3:50 am Post subject:
How to install Vinifera with TS Client ?
Subject description: Cannot install Vinifera for TS Client
Try to follow the tutorial on discord, got Failed to find SearchPaths in VINIFERA.INI! with let to Failed to load VINIFERA.INI! when try to star the campaign or skirmish. QUICK_EDIT
2) Download the latest TS Client binary from;
https://github.com/CnCNet/ts-patches/releases/tag/latest
Download ts-patches-TSCLIENT-master-#.zip from this page and extract the GAME.EXE from the vinifera folder and replace the existing file in TSClient.
3. Create a new file called VINIFERA.INI in the INI directory with the following contents;
[General]
ProjectName = Tiberian Sun ; your project name here
IconFile = Resources\tsicon.ico ; your projects icon file here.
CursorFile = Resources\arrow.cur ; your projects cursor file here.
SearchPaths = INI,MIX,SOUNDS,MUSIC,MOVIES,MAPS
4. In Resources\ClientDefinitions.ini, change the following lines;
GameExecutableNames= to LaunchVinifera.dat
ExtraCommandLineParams= to include (before anything others) -CD. (the . after -CD is required).
Developer Mode (if needed):
Vinifera has a developer mode that enables certain features and additional debug logging to aid mod developers and project contributors. The enable this mode, run LaunchVinifera.exe with -DEVELOPER command line argument. You can also explicitly enable the debug console with -CONSOLE. Use -NO_VERSION_STRING for hiding version display in-game.
For Vinifera with TS Client, you can add these to the ExtraCommandLineParams= in Resources\ClientDefinitions.ini
Thank you it now working. Speaking of which, do you have any working documentation of Vinifera without the needlessly install Read the Docs? QUICK_EDIT
Is there any reason when i play the skirmish mode, GDI and Nod switch their UI, announcement voice and cameo of share unit and building to each other? QUICK_EDIT
Yes. To have side improvements in Vinifera itself (which is still in development), the side specific hacks from ts-patches were removed from Vinifera build of game.exe. Those hacks can be enabled again if you know how to compile game.exe with ts-patches. The following lines can be copied/moved to the end of the file after the endif and then compiled:
https://github.com/CnCNet/ts-patches/blob/6d3b8542d7e9b9c9cd7fae7c9700fe3447ab9dda/src/ts_hacks.asm#L52C1-L78C1
Building game.exe with ts-patches - Steps:
1. Go to https://github.com/CnCNet/ts-patches
2. Download and install winbuilds given in the readme under Building on Windows.
3. Download ts-patches package from Download from Code dropdown and unpack it.
4. Makefile contains the list of hacks, edit with a text editor if you want to change any.
5. Source code for hacks in ASM/C language are in SRC folder. Find the file for change and edit it.
6. Use build_tsclient.cmd to patch the game.exe. Option is given to produce release/debug/Vinifera, say Y for Vinifera. Patched game.exe is placed in Build folder. Use the game.exe from Vinifera subfolder. QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum