IPB

Welcome Guest ( Log In | Register )


> How to fix Lan play and play mods via Lan (* to ***)
Revolutionary
post Apr 5 2009, 01:13 PM
Post #1


Hum-vee
Group Icon

Group: Members
Posts: 171
Joined: 15-January 09
From: Scotland, starting a revolution
Member No.: 1,267
Alliance: CABAL
Favorite game: Tiberian Sun



I thought id post this after someone had this problem,
Thanks to hyper for identifying the problem when i was editing my Best of Beta exe.

How to fix play Lan play

Simple visit this site and download the lan patch
http://www.understorm.net/cnc/lan/ts_ra2.phpTHIS DOWNLOAD LINK DOESNT WORK
understrom is down please download the patch from my post further down this topic.
You should now be able to play TS and some TS Mods over Lan but not all Mods will work.

How to play a Mod with a custom exe With the lan fix

You should find the mod dosnt work
There are 3 ways to fix this
1) remove the Lan patch (wsock32.dll) This will fix the problem but stop lan play from working.

2) Rename the mods exe from what it is (eg Dawn.exe or Best of Beta.exe) to gamemd.exe
This allows you to play lan via that mods exe however limits you to 1 mod with a custom exe

3) This is more for the modders/hackers that have made the mod with the custom exe
You can search the wsock32.dll using a hex editor and replace Gamemd with any 6 symbols and
if you call youre mods exe what you renamed the Gamemd.exe it should work.
(there are ways to extend it so you have space for more than 6 symbols but i currently do not know how to do that)

There is a complet turtorial on option 3 by Nyerguds here http://www.ppmsite.com/forum/viewtopic.php?t=18939

Why
The wsock32.dll is set up only to work with a exe file called game (used by RA2 and TS) and one called gamemd (used by RA2:YR) if the exe being run has any other name the dll will not recognise it and the game send out an error.

Originally posted by Revolutionary (me) on Project Perfect Mod then updated and posted on cnc-comm

This post has been edited by Revolutionary: Feb 16 2010, 10:12 PM


--------------------
CnC-Comm.com News poster and Creator of TS:Best of Beta and Revo's Mod's
Go to the top of the page
 
: | +Quote Post
 
Start new topic
Replies
Revolutionary
post Apr 6 2009, 08:13 AM
Post #2


Hum-vee
Group Icon

Group: Members
Posts: 171
Joined: 15-January 09
From: Scotland, starting a revolution
Member No.: 1,267
Alliance: CABAL
Favorite game: Tiberian Sun



no i mean gamemd

the wsock32.dll is set up to recongnise 2 exes 1 called game (for TS and RA2) and 1 called gamemd (for RA2:YR) since gamemd isnt used for TS if you change it TS will still work and youre mods new exe (that you replaced gamemd with) will work.

basicaly its there for RA2 but is unused by TS so it can be used to help us


--------------------
CnC-Comm.com News poster and Creator of TS:Best of Beta and Revo's Mod's
Go to the top of the page
 
: | +Quote Post
Rampastring
post Apr 6 2009, 02:06 PM
Post #3


Tick Tank
Group Icon

Group: Members
Posts: 690
Joined: 4-June 07
From: Finland
Member No.: 957
Alliance: Nod
Favorite game: Tiberian Sun



In fact, if you read Nyerguds' tutorial, you disable the check for gamemd.exe and then replace the "game.exe" check string with your mod's executable's name. Since you can only replace existing bytes, removing the check for gamemd.exe makes it possible to have your mod's executable's name to be longer than 8 characters.

This post has been edited by ^Rampastein: Apr 6 2009, 02:06 PM


--------------------
Go to the top of the page
 
: | +Quote Post



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 3rd May 2025 - 11:27 PM


XGhozt.com