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 Apr 18, 2024 1:30 am
All times are UTC + 0
C&C Executable Modifier Breaks The Game ?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Sat Apr 29, 2023 1:19 pm    Post subject:  C&C Executable Modifier Breaks The Game ? Reply with quote  Mark this post and the followings unread

I tried this tool today and selected Makes the match continue when you win or loose and selected SET MODIFIED.

I started the game and let my MCV get destroyed, and the game ended like it always does so that function in the program doesn't work.

But then I tried it again, and it ruined my RAMD.exe file because now it sez that WINDOWS CANNOT ACCESS THE SPECIFIED DEVICE, so I grabbed another RAMD.exe replaced the broken one and the game starts.

So I tried the program again and it ruins the RAMD.exe again.
So the only function that I found in this program that I really wanted, and the program just renders the .exe unusable Mad  Laughing

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


Joined: 28 May 2013

PostPosted: Sat Apr 29, 2023 2:52 pm    Post subject: Reply with quote  Mark this post and the followings unread

If you don't know what you are doing, you can break the exe. It is not the tool's fault. And most of the hacks are provided by 3rd party, not by the developer.

You are supposed to edit gamemd.exe, not ra2md.exe.

Verify first that the original bytes match before Set Modified. And when reverting check the Modified matches before Set Original.

Back to top
View user's profile Send private message
adamstrange
Tiberian Fiend


Joined: 07 Mar 2013

PostPosted: Mon May 01, 2023 1:33 am    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
If you don't know what you are doing, you can break the EXE. It is not the tool's fault

If I open the EXE file in notepad and added a bunch of numbers then tried playing the game, and it didn't work then it's my fault because of course, I would not know what I'm doing.

But it was my fault that I chose the wrong file to modify to begin with.

But if the developer didn't include accurate instructions on how to use it properly and in the INFO section of the program all it sez is This program allows to modify the executable of C&C and this way apply several different "hacks".
It also gives an overview over the available hacks and which are already implemented in the selected EXE.


I saw a feature I liked in the program and selected it, and it broke the game. It does not tell you to put and run the program in the game in order for it to work, or anything of that nature. The developer tells you what the program does but gives you no instructions on how to do it the proper way and if this was a court case and this was a commercial product, the jury would find the developer at fault for not providing adequate information on the proper use of said product.

I did exactly what you told me, and the game won't start after selecting SET MODIFIED unless I replace the EXE file with an unmodified one.

So if you know how to set the game so that it doesn't end after you're defeated and can keep watching the AI battle itself, then please tell me how because that puts you over the person or persons that made this program but failed on instructing how to go about doing it properly.



2023-04-30_202216.jpg
 Description:
 Filesize:  339.32 KB
 Viewed:  773 Time(s)

2023-04-30_202216.jpg



Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Mon May 01, 2023 4:03 am    Post subject: Reply with quote  Mark this post and the followings unread

Notepad is not a binary editor, it will automatically change the meaning of characters and not save the same as they were.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

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


Joined: 28 May 2013

PostPosted: Mon May 01, 2023 5:05 am    Post subject: Reply with quote  Mark this post and the followings unread

Its obvious that if you are modifying an EXE, you will be using it. With the tool, you load an EXE then you load an INI file that contains the hacks. You are already doing that and applying the hacks. The tool comes with a bunch of hacks provided by the community.

Which EXE file to use and which hack INI file to use falls on your domain. Show courtesy to the developer and don't blame the tool for your mistakes. I just tested by applying that hack and it works fine. I was able to sell my conyard and lose and the game continued.

In your case, the exe file is gamemd.exe for YR 1.001 and the INI file is hacks.yr.ini. And verify that bytes shown in Original and Executable matches before doing Set Modified. It should look like:

Code:

Offset:   0x0fc9e0
Original:   83 EC 10
Modified:   C2 04 00
Executable:   83 EC 10

Offset:   0x0fcbd0
Original:   83 EC 10
Modified:   C2 04 00
Executable:   83 EC 10


There is no more information needed to do this.

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Mon May 01, 2023 6:54 am    Post subject: Reply with quote  Mark this post and the followings unread

Note that with Ares you can make the AI take control over your base while you continue to watch.

Add -AI-CONTROL to the end of the RunAres.bat file & then go to the ingame hotkey menu & add a keyboard button to the AI-CONTROL option. You can then start a game & press the key you chose to let the AI take over, IIRC you can also press it again to regain control when ever you want.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 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.1584s ][ Queries: 14 (0.0096s) ][ Debug on ]