Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Tue Oct 15, 2024 12:58 pm
All times are UTC + 0
How to install Vinifera with TS Client ?
Moderators: Global Moderators, Vinifera Moderators, CCHyper
Post new topic   Reply to topic Page 1 of 1 [13 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Havoc100
Civilian


Joined: 24 Nov 2023

PostPosted: Fri Jan 05, 2024 3:50 am    Post subject:  How to install Vinifera with TS Client ?
Subject description: Cannot install Vinifera for TS Client
Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Fri Jan 05, 2024 2:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

Attaching the ones I use.

-------------
Just in case:

Latest TS Client (Current v6.05k):
https://www.moddb.com/mods/tiberian-sun-client/downloads

Steps: Vinifera for latest TS Client:

1) Download the latest Nightly build (with the suffix ts_client), and extract the contents into the main TSClient directory.
https://nightly.link/Vinifera-Developers/Vinifera/blob/develop/.github/workflows/nightly.yml

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).


Latest CNC-DDraw wrapper (if needed):
If you have issues with running the game, you may also need to use the CNC-DDraw replacement (In TSClient - Reources\cnc-ddraw.dll):
https://github.com/FunkyFr3sh/cnc-ddraw/releases/
https://github.com/CnCNet/cnc-ddraw/releases

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



INIChanges.rar
 Description:

Download
 Filename:  INIChanges.rar
 Filesize:  2.95 KB
 Downloaded:  232 Time(s)


Back to top
View user's profile Send private message
Havoc100
Civilian


Joined: 24 Nov 2023

PostPosted: Sat Jan 06, 2024 1:52 am    Post subject: Reply with quote  Mark this post and the followings unread

Thank you it now working. Speaking of which, do you have any working documentation of Vinifera without the needlessly install Read the Docs?

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Sat Jan 06, 2024 3:19 am    Post subject: Reply with quote  Mark this post and the followings unread

I am not aware of any documentation.

You go through the closed pull request comments, one by one to know the fixes and features: Listing is here.

Back to top
View user's profile Send private message
Havoc100
Civilian


Joined: 24 Nov 2023

PostPosted: Mon Jan 08, 2024 12:30 am    Post subject: Reply with quote  Mark this post and the followings unread

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?

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Mon Jan 08, 2024 9:14 am    Post subject: Reply with quote  Mark this post and the followings unread

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

Also TSClient is being updated which would benefit Vinifera compatibility. Link -
https://github.com/CnCNet/cncnet-ts-client-package

Back to top
View user's profile Send private message
Havoc100
Civilian


Joined: 24 Nov 2023

PostPosted: Mon Jan 08, 2024 11:59 am    Post subject: Reply with quote  Mark this post and the followings unread

Can you help?

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Mon Jan 08, 2024 1:19 pm    Post subject: Reply with quote  Mark this post and the followings unread

Try the attached game.exe. Changes are exactly what I mentioned in my previous post.



ViniferaBuildWithSideHacks.rar
 Description:

Download
 Filename:  ViniferaBuildWithSideHacks.rar
 Filesize:  1.54 MB
 Downloaded:  227 Time(s)


Back to top
View user's profile Send private message
Havoc100
Civilian


Joined: 24 Nov 2023

PostPosted: Tue Jan 09, 2024 12:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

What hex tool did you use to change game exe?

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Tue Jan 09, 2024 1:41 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
Havoc100
Civilian


Joined: 24 Nov 2023

PostPosted: Fri Jan 12, 2024 12:20 am    Post subject: Reply with quote  Mark this post and the followings unread

Can you give a guide?

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Fri Jan 12, 2024 3:11 am    Post subject: Reply with quote  Mark this post and the followings unread

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.

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Fri Sep 20, 2024 12:16 am    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [13 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
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


Powered by phpBB © phpBB Group

[ Time: 0.2533s ][ Queries: 13 (0.0405s) ][ Debug on ]