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 Thu Mar 28, 2024 10:40 am
All times are UTC + 0
Problem with Ares and Yuri's Revenge...
Moderators: Ares Support Team at PPM, Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [13 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Punk2000
Civilian


Joined: 10 Jul 2019

PostPosted: Thu Jul 11, 2019 7:37 pm    Post subject:  Problem with Ares and Yuri's Revenge... Reply with quote  Mark this post and the followings unread

Hello people, new here...

Sorry if this is not the right place to post my problem, so if the moderators need to do it... move it to the right place...

I got a problem... every time i try to use/run the Ares with the launcher or the bat file this errors appears:

"This version of Yuri's Revenge only supports online play using CnCNet 5 (cncnet.org)"

I dont know why this happening, i got the CnCnet Yuri's Client but nothing, what im doing wrong?

Back to top
View user's profile Send private message
XxpeddyxX
Commander


Joined: 03 Sep 2004

PostPosted: Thu Jul 11, 2019 11:39 pm    Post subject: Reply with quote  Mark this post and the followings unread

Can you go into your Resources folder and open the ClientDefinitions file and add the following under [Settings]:

GameExecutableNames=Syringe.exe
ExtraCommandLineParams= "gamemd.exe" -spawn -cd -log

Run the client instead of YR through the exe or bat.

EDIT: any issues with running make sure syringe.exe, gamemd.exe and the cncnet client have run as admin ticked.

_________________

ayylmao on Discord

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


Joined: 10 Jul 2019

PostPosted: Fri Jul 12, 2019 2:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

The problem still persist and i did a fresh client install, maybe ares doesnt work with every computer...

Back to top
View user's profile Send private message
MRMIdAS
Energy Commando


Joined: 17 Jul 2008

PostPosted: Sat Jul 13, 2019 6:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

Punk2000 wrote:
The problem still persist and i did a fresh client install, maybe ares doesnt work with every computer...


You need to check your antivirus too, some AV's block ARES because of code injection.

_________________
MIdAS - Turning wages into beer since 2002

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


Joined: 10 Jul 2019

PostPosted: Sat Jul 13, 2019 8:08 pm    Post subject: Reply with quote  Mark this post and the followings unread

MRMIdAS wrote:
You need to check your antivirus too, some AV's block ARES because of code injection.


I dont have an AV...

Back to top
View user's profile Send private message
mevitar
Missile Trooper


Joined: 31 Dec 2010

PostPosted: Sat Jul 13, 2019 11:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

Ares doesn't work with the CnCNet launcher, it needs a special Syringe.exe and a modified launcher to run.

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


Joined: 28 May 2013

PostPosted: Sun Jul 14, 2019 12:36 am    Post subject: Reply with quote  Mark this post and the followings unread


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


Joined: 03 Jun 2013

PostPosted: Thu Sep 19, 2019 5:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

sorry for bumping a 2 month thread.

but ares does not work with the CnCNet

GameExecutableNames=Syringe.exe
ExtraCommandLineParams= "gamemd.exe" -cd -log

syringe output as below

[01:50:28] Syringe 0.7.2.0
[01:50:28] ===============

[01:50:28] WinMain: arguments = "-SPAWN "gamemd.exe" -cd -log"
[01:50:30] WinMain: No or invalid command line arguments given, exiting...
[01:50:30] WinMain: Exiting on failure.

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


Joined: 28 May 2013

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

That -SPAWN parameter is for the game not for Syringe, so it should come after the gamemd.exe not before. You could try adding -SPAWN to ExtraCommandLineParams at the end.

I haven't updated my CnCNet, so don't know where the client now adds the spawn parameter.

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


Joined: 03 Jun 2013

PostPosted: Sat Sep 21, 2019 3:17 am    Post subject: Reply with quote  Mark this post and the followings unread

put back the following

GameExecutableNames=Syringe.exe
ExtraCommandLineParams= "gamemd.exe" -spawn -cd -log


and it outputs this

[11:12:36] Syringe 0.7.2.0
[11:12:36] ===============

[11:12:36] WinMain: arguments = "-SPAWN "gamemd.exe" -spawn -cd -log"
[11:12:37] WinMain: No or invalid command line arguments given, exiting...
[11:12:37] WinMain: Exiting on failure.

EDIT:

without using CnCNet

the output from Syringe log

[16:50:09] Syringe 0.7.2.0
[16:50:09] ===============

[16:50:09] WinMain: arguments = ""gamemd.exe" -log"
[16:50:09] WinMain: Trying to load executable file "gamemd.exe"...

[16:50:09] SyringeDebugger::RetrieveInfo: Retrieving info from the executable file...
[16:50:09] SyringeDebugger::RetrieveInfo: Executable information successfully retrieved.
[16:50:09] exe = gamemd.exe
[16:50:09] pImLoadLibrary = 0x007E1220
[16:50:09] pImGetProcAddress = 0x007E1250
[16:50:09] pcEntryPoint = 0x007CD80F
[16:50:09] dwExeSize = 0x00497FE0
[16:50:09] dwExeCRC = 0x1B499086
[16:50:09] dwTimestamp = 0x3BDF544E

[16:50:09] SyringeDebugger::RetrieveInfo: Opening gamemd.exe to determine imports.
[16:50:09] WinMain: SyringeDebugger::FindDLLs();

[16:50:09] SyringeDebugger::FindDLLs: Recognized DLL: "Ares.dll"
[16:50:09] SyringeDebugger::Handshake: Calling "Ares.dll" ...
[16:50:09] SyringeDebugger::Handshake: Answers "Found Yuri's Revenge 1.001 (UC). Applying Ares 2.0p1." (0)
[16:50:09] SyringeDebugger::FindDLLs: Recognized DLL: "cncnet5.dll"
[16:50:10] SyringeDebugger::FindDLLs: Done (1358 hooks added).

[16:50:10] WinMain: SyringeDebugger::Run("-log");

[16:50:10] SyringeDebugger::Run: Running process to debug. cmd = "gamemd.exe -log"
[16:50:10] SyringeDebugger::Run: Allocating 0x584 bytes...
[16:50:10] SyringeDebugger::Run: pAlloc = 0x001B0000
[16:50:10] SyringeDebugger::Run: Writing DLL loader & caller code...
[16:50:10] SyringeDebugger::Run: pcLoadLibrary = 0x001B0000
[16:50:10] SyringeDebugger::Run: Entering debug loop...
[16:50:10] SyringeDebugger::HandleException: Could not retrieve ProcAddress for: cncnet5.dll - MZ
[16:50:10] SyringeDebugger::HandleException: Could not retrieve ProcAddress for: Ares.dll - TechnoTypeClass_UpdatesPalettes
[16:50:10] SyringeDebugger::HandleException: Finished retrieving proc addresses.
[16:50:10] SyringeDebugger::HandleException: Creating code hooks.
[16:50:12] SyringeDebugger::Run: Done with exit code 1 (1).

[16:50:12] WinMain: SyringeDebugger::Run finished.
[16:50:12] WinMain: Exiting on success.

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


Joined: 28 May 2013

PostPosted: Sun Sep 22, 2019 3:59 am    Post subject: Reply with quote  Mark this post and the followings unread

I tried with the updated CnCNet, client*.exe in Resources folder are of v2.2.1 and it works fine for me. There have been source code changes in the XNA CnCNet client, but those haven't seems to be updated yet.

The -SPAWN parameter shouldn't be passed to Syringe.exe as it expects the EXE filename.

Are you on Unix or use windowed mode or there is some case check for qres dll in the latest source code.

Or you could try fresh and follow the steps that I gave in that thread.

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


Joined: 03 Jun 2013

PostPosted: Sun Sep 22, 2019 7:08 am    Post subject: Reply with quote  Mark this post and the followings unread

E1 Elite wrote:
I tried with the updated CnCNet, client*.exe in Resources folder are of v2.2.1 and it works fine for me. There have been source code changes in the XNA CnCNet client, but those haven't seems to be updated yet.

The -SPAWN parameter shouldn't be passed to Syringe.exe as it expects the EXE filename.

Are you on Unix or use windowed mode or there is some case check for qres dll in the latest source code.

Or you could try fresh and follow the steps that I gave in that thread.


my client version is now 5.4 running Windows 8.1 (6.3.9600)

it is the CnCNet client but not the XNA version

Back to top
View user's profile Send private message
Starkku
Cyborg Commando


Joined: 28 Dec 2007
Location: Finland

PostPosted: Sun Sep 22, 2019 8:07 am    Post subject: Reply with quote  Mark this post and the followings unread

Starting from client file version 2.5.0.3 (not the CnCNet YR version number - this one is instead shown in the file properties of client*.exe, details & product version to be specific, or in the first message shown when trying to connect to CnCNet), the trick with setting Syringe as game executable and rest in ExtraCommandLineParams does not work anymore. Instead, you use something akin to following:

Code:
GameExecutableNames=gamemd.exe
GameLauncherExecutableName=syringe.exe
ExtraCommandLineParams=-log -cd


Reason for this change was the previous method leaving the cheater warning notification system compromised. The reason for no backwards compatibility is due to cncnet5.dll expecting -SPAWN as first argument and not accepting it otherwise - if it did, it would have been possible and preferrable to keep both approaches functional.

_________________

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID Twitter Channel URL
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.1546s ][ Queries: 11 (0.0086s) ][ Debug on ]