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 Wed Apr 29, 2026 2:40 pm
All times are UTC + 0
Editing Gamemd.exe
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [45 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Javier
My Rank Will Never Change


Joined: 24 Oct 2008
Location: Wars World!!! Posts: -99999999

PostPosted: Fri Nov 14, 2008 11:01 pm    Post subject:  Editing Gamemd.exe Reply with quote  Mark this post and the followings unread

So guys, I've been editing codes and translating some hex in gamemd.ini. Does anyone here knows what hex codes I can change/replace to make some impossible things possible like the Aircraft can attack AA.

_________________
Awesome banner made by m-.. I mean AltomareXD!

MY MOOOOOOOOD!!!!!!11!!1!!1111!!!11!!!1

Back to top
View user's profile Send private message
Team SomeGuy
General


Joined: 18 Aug 2006

PostPosted: Fri Nov 14, 2008 11:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

exe hacking is what you are thinking of.

pd (now "officially" retired) and VK are waaaaaaay ahead of you.

NPatch and/or Ares (if Ares doesn't follow the road of Duke Nuke'em Forever) will do much of what you may be thinking of.

Back to top
View user's profile Send private message
Javier
My Rank Will Never Change


Joined: 24 Oct 2008
Location: Wars World!!! Posts: -99999999

PostPosted: Sat Nov 15, 2008 4:14 am    Post subject: Reply with quote  Mark this post and the followings unread

It's so sad for Pd. I also heard he retired from modding.

_________________
Awesome banner made by m-.. I mean AltomareXD!

MY MOOOOOOOOD!!!!!!11!!1!!1111!!!11!!!1

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


Joined: 01 Aug 2003
Location: Galt's Gulch

PostPosted: Sat Nov 15, 2008 7:56 am    Post subject: Reply with quote  Mark this post and the followings unread

lol

Hex code changing became unnecessary when Ares was created. It's all fancy C++ now. You don't sound like you actually know what you're doing, but let's hear what you have done so far.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Javier
My Rank Will Never Change


Joined: 24 Oct 2008
Location: Wars World!!! Posts: -99999999

PostPosted: Sat Nov 15, 2008 9:18 am    Post subject: Reply with quote  Mark this post and the followings unread

Um, actually I haven't done anything yet. Except making a backup for my gamemd. I am still a beginner and still learning.

_________________
Awesome banner made by m-.. I mean AltomareXD!

MY MOOOOOOOOD!!!!!!11!!1!!1111!!!11!!!1

Back to top
View user's profile Send private message
Aro
Alcohol Fueled


Joined: 10 Sep 2006

PostPosted: Sat Nov 15, 2008 10:00 am    Post subject: Reply with quote  Mark this post and the followings unread

I Would never recommend HEX editing until you've actually learned about it, it's not as easy as it may seem to you, it takes years of learning and practice, may I recommend some other form of modding? Maybe something easier?

Back to top
View user's profile Send private message
Javier
My Rank Will Never Change


Joined: 24 Oct 2008
Location: Wars World!!! Posts: -99999999

PostPosted: Sat Nov 15, 2008 10:29 am    Post subject: Reply with quote  Mark this post and the followings unread

Well the rulesmd kinda bores me a lot.

_________________
Awesome banner made by m-.. I mean AltomareXD!

MY MOOOOOOOOD!!!!!!11!!1!!1111!!!11!!!1

Back to top
View user's profile Send private message
Aro
Alcohol Fueled


Joined: 10 Sep 2006

PostPosted: Sat Nov 15, 2008 10:37 am    Post subject: Reply with quote  Mark this post and the followings unread


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


Joined: 23 Jun 2008
Location: Wandering Time

PostPosted: Sat Nov 15, 2008 7:05 pm    Post subject: Reply with quote  Mark this post and the followings unread

Javier wrote:
Well the rulesmd kinda bores me a lot.


Editing the EXE just gives you more to do in the rulesmd #Tongue

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


Joined: 07 Apr 2005

PostPosted: Mon Nov 17, 2008 10:46 am    Post subject: Reply with quote  Mark this post and the followings unread

I lol'd

Back to top
View user's profile Send private message
Javier
My Rank Will Never Change


Joined: 24 Oct 2008
Location: Wars World!!! Posts: -99999999

PostPosted: Mon Nov 17, 2008 11:40 am    Post subject: Reply with quote  Mark this post and the followings unread

Ok guys. I'm searching for tutorials on gamemd hacking. Smile

_________________
Awesome banner made by m-.. I mean AltomareXD!

MY MOOOOOOOOD!!!!!!11!!1!!1111!!!11!!!1

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


Joined: 07 Apr 2005

PostPosted: Mon Nov 17, 2008 2:17 pm    Post subject: Reply with quote  Mark this post and the followings unread

Are, you, ztyping, kidding, me?...

Some of you guys really dont get it do you? You can just edit bytes without knowing what they do. Arf, why do i ztyping bother...

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


Joined: 23 Jun 2008
Location: Wandering Time

PostPosted: Mon Nov 17, 2008 4:42 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hyper wrote:
You can just edit bytes without knowing what they do.


you mean can't #Tongue

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


Joined: 01 Aug 2003
Location: Galt's Gulch

PostPosted: Mon Nov 17, 2008 5:13 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hyper, learn to give them enough rope to hang themselves. Even if he does learn asm, the biggest obstacle will be lack of all the symbols we've figured out already.

Back to top
View user's profile Send private message Visit poster's website Skype Account
CCHyper
Defense Minister


Joined: 07 Apr 2005

PostPosted: Mon Nov 17, 2008 5:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

>_________>

Back to top
View user's profile Send private message
pd
Laser Commando


Joined: 19 Jun 2005
Location: Gone

PostPosted: Thu Nov 20, 2008 10:15 pm    Post subject: Reply with quote  Mark this post and the followings unread

Javier wrote:
I'm searching for tutorials on gamemd hacking.

Good luck. I heard this site has compiled a good collection.

Back to top
View user's profile Send private message
Joshy
Schwing!


Joined: 13 Aug 2006

PostPosted: Thu Nov 20, 2008 10:20 pm    Post subject: Reply with quote  Mark this post and the followings unread

I go there all the time for my gamemd.exe hacking needz..

_________________
Please, read the signature rules of the forum.

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


Joined: 07 Nov 2006

PostPosted: Thu Nov 20, 2008 10:34 pm    Post subject: Reply with quote  Mark this post and the followings unread

I made my "Hello World!" program. Am I leet enough to hack naow?

_________________
Please, read the signature rules of the forum.

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


Joined: 23 Jun 2008
Location: Wandering Time

PostPosted: Thu Nov 20, 2008 11:03 pm    Post subject: Reply with quote  Mark this post and the followings unread

DaFool wrote:
I made my "Hello World!" program.


Oh please, tell how! Laughing

Back to top
View user's profile Send private message
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Fri Nov 21, 2008 12:42 am    Post subject: Reply with quote  Mark this post and the followings unread

Quote:
program HelloWorld;
begin
writeln('Hello World!');
end.

Back to top
View user's profile Send private message Visit poster's website Skype Account
DaFool
Defense Minister


Joined: 07 Nov 2006

PostPosted: Fri Nov 21, 2008 1:35 am    Post subject: Reply with quote  Mark this post and the followings unread

for java, it's actually

public class HelloApp
{
public static void main ( string [] args)
{
System.out.println ( "Hello, World!" ) ;
}
}

none of that super simple stuff you just wrote.

_________________
Please, read the signature rules of the forum.

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


Joined: 01 Aug 2003
Location: Galt's Gulch

PostPosted: Fri Nov 21, 2008 5:20 am    Post subject: Reply with quote  Mark this post and the followings unread

pffft, get off my lawn, you kids.

#!/bin/perl -w
print "Hello World!";

Back to top
View user's profile Send private message Visit poster's website Skype Account
CCHyper
Defense Minister


Joined: 07 Apr 2005

PostPosted: Fri Nov 21, 2008 9:33 am    Post subject: Reply with quote  Mark this post and the followings unread

Wut, whar iz teh ASM? x_X

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


Joined: 11 Aug 2008
Location: Somewhere up high.

PostPosted: Fri Nov 21, 2008 9:59 am    Post subject: Reply with quote  Mark this post and the followings unread

ICanMakeStuffUp=yes?

Back to top
View user's profile Send private message
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Fri Nov 21, 2008 10:56 am    Post subject: Reply with quote  Mark this post and the followings unread

Nah... it's more like


IsChuckNorrisCode=yes

Back to top
View user's profile Send private message Visit poster's website Skype Account
Ixonoclast
General


Joined: 11 Aug 2008
Location: Somewhere up high.

PostPosted: Fri Nov 21, 2008 11:05 am    Post subject: Reply with quote  Mark this post and the followings unread

That tag is already in the game... IsInvincible=yes.

Come to think of it. I thought about a tech tree system with invincible units, so you would have to use web shooter units and EMP units to keep the invincible units occupied...

Might use it in the BTS campaign.
It could give a very special timer on certain missions...

Back to top
View user's profile Send private message
Javier
My Rank Will Never Change


Joined: 24 Oct 2008
Location: Wars World!!! Posts: -99999999

PostPosted: Fri Nov 21, 2008 11:10 am    Post subject: Reply with quote  Mark this post and the followings unread

Um, guys, my Gamemd broke up. I need to start from the beginning again. >.<

_________________
Awesome banner made by m-.. I mean AltomareXD!

MY MOOOOOOOOD!!!!!!11!!1!!1111!!!11!!!1

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


Joined: 23 Jun 2008
Location: Wandering Time

PostPosted: Fri Nov 21, 2008 2:22 pm    Post subject: Reply with quote  Mark this post and the followings unread

Of course it broke up.

What were you excepting? New superweapons, AA for aircraft, Fourthside logic and all?

Back to top
View user's profile Send private message
Javier
My Rank Will Never Change


Joined: 24 Oct 2008
Location: Wars World!!! Posts: -99999999

PostPosted: Fri Nov 21, 2008 2:57 pm    Post subject: Reply with quote  Mark this post and the followings unread

MT wrote:
Of course it broke up.

What were you excepting? New superweapons, AA for aircraft, Fourthside logic and all?


Um, yeah. I'm still learning how to edit those. #Tongue

_________________
Awesome banner made by m-.. I mean AltomareXD!

MY MOOOOOOOOD!!!!!!11!!1!!1111!!!11!!!1

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


Joined: 07 Apr 2005

PostPosted: Fri Nov 21, 2008 2:59 pm    Post subject: Reply with quote  Mark this post and the followings unread


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


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Wed Nov 26, 2008 5:58 pm    Post subject: Reply with quote  Mark this post and the followings unread

*facepalm*

So tell me Javier, do you have any idea how to even start looking for specific data in the exe file?

_________________

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL
DaFool
Defense Minister


Joined: 07 Nov 2006

PostPosted: Wed Nov 26, 2008 7:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

use an axe on the exe.

I'm just curious (i don't plan on doing anything with the exe) but what language is it written in?

_________________
Please, read the signature rules of the forum.

Back to top
View user's profile Send private message
Beowulf
Laser Commando


Joined: 12 May 2003
Location: Furry Heaven

PostPosted: Wed Nov 26, 2008 7:27 pm    Post subject: Reply with quote  Mark this post and the followings unread

The output is Assembly but it was written in C++. >_>

_________________

Back to top
View user's profile Send private message Visit poster's website Skype Account AIM Address
John Galt
Commander


Joined: 01 Aug 2003
Location: Galt's Gulch

PostPosted: Wed Nov 26, 2008 7:37 pm    Post subject: Reply with quote  Mark this post and the followings unread

Yes, it was written in C++.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Allied General
General


Joined: 19 Mar 2004
Location: United Kingdom

PostPosted: Wed Nov 26, 2008 7:41 pm    Post subject: Reply with quote  Mark this post and the followings unread

Do you even know C++ Javier? most of the people here can't even spend 5 mins properly modding, let alone exe hack and oh your avatar or whatever you call it is no longer funny.

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
MT
General


Joined: 23 Jun 2008
Location: Wandering Time

PostPosted: Wed Nov 26, 2008 10:02 pm    Post subject: Reply with quote  Mark this post and the followings unread

Allied General wrote:
Do you even know C++ Javier? most of the people here can't even spend 5 mins properly modding, let alone exe hack

I seriously doubt he knows C++...

Allied General wrote:
and oh your avatar or whatever you call it is no longer funny.

It was never funny IMO.



Well Javier, If you actually want to edit the exe, Its gonna take months/years of learning and hard work.

1. Learn how to INI edit well first! Little point trying to expand the EXE if you can't even use it well #Tongue.
2. Learn C++ (Hard! I'm still on this)

And I'm not too sure of these...

3. Learn asm (Needed?)
4. Team up with the present coders, they have much knowledge of Gamemd.exe

Long story short: Its very hard, will take long, and your probably not capable (heh heh... no offense #Tongue).

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


Joined: 07 Apr 2005

PostPosted: Wed Nov 26, 2008 10:11 pm    Post subject: Reply with quote  Mark this post and the followings unread

You need knowledge oif the game itself, not just knowledge of C++.

Thats why ASM comes in handy, i prefer to code raw ASM, where people like DCoder attach C++ library's, of course thats much easier.

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


Joined: 19 Mar 2004
Location: United Kingdom

PostPosted: Thu Nov 27, 2008 12:05 am    Post subject: Reply with quote  Mark this post and the followings unread

Well the stuff we are mentioning here earns you a degree/qualification as well.

I got a rant about exe hacking too, how people think its easy when only two people initially knew how to do it, like a year or 2 ago i.e. pd, vk. Thus I get extremely annoyed by people who demand lots in a new patch, expecting it to be incredibly easy to change when we know that WW coders just used existing code, hack/workaround code making it even more complicated to unwind.

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID
DaFool
Defense Minister


Joined: 07 Nov 2006

PostPosted: Thu Nov 27, 2008 12:18 am    Post subject: Reply with quote  Mark this post and the followings unread

I was reading a Java book, and after 100 pages all I had learned was how to say "Hello, World!" (granted I learned every single piece of information on it), but still. Being able to do somethign complicated as haveing a v3 spawn a missle, and then having the missile follow a certain trajectoring and hit a target must be extremely hard. I looked at the back of the book and the most advanced thing I'd do after 1000 pages is make pong. Thats right, pong. If I used game maker, that would take me all of 7 minutes to make. But learning how to code must will be an accomplishment in itself, even if all I am able to do is catch up with coders from the 70's.

As for .exe hacking, as long as they don't make the game crash, I'm happy.

_________________
Please, read the signature rules of the forum.

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


Joined: 23 Jun 2008
Location: Wandering Time

PostPosted: Thu Nov 27, 2008 1:39 am    Post subject: Reply with quote  Mark this post and the followings unread

DaFool wrote:
I was reading a Java book, and after 100 pages all I had learned was how to say "Hello, World!"


Wow, get a new book I'd say. Or stop reading the foreword #Tongue

With the C++ tutorial I use (online), it has how to make "hello world" on like 2nd page.
Or maybe Java is that much more complicated? Laughing

At any rate, I'd say all this programming is quite lengthy to learn.
By the time I'd learn C++, asm, and about Gamemd.exe (assuming I could), the Ra2 modding community may very well be dead Neutral

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


Joined: 07 Nov 2006

PostPosted: Thu Nov 27, 2008 1:47 am    Post subject: Reply with quote  Mark this post and the followings unread

they had the code on the firs page, but then they explained every little thing you did. They also went into what programs you should use, and how to compile (they probably did the same with you too).

I am exaggeratting a little bit, they did expand on how you can display string files, and by the end of the 50 pages, I knew how to display output after someone entered input (enter an interger: you enter an interger!).

_________________
Please, read the signature rules of the forum.

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


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Thu Nov 27, 2008 9:33 am    Post subject: Reply with quote  Mark this post and the followings unread

Eh, dunno MT, I learned about assembler and the internal workings of C&C95 in just a couple of months. The research is still far from complete, but that hardly matters.

Assembler is pretty easy, if you know DOS batch and have basic insight into programming. pd gave me a tiny help file with all the basic opcodes of the processor commands, and it's really all you need to get started.

Well, a disassembler might also be handy #Tongue

As for C++, the only thing I really needed to know about that was the way its strings are coded. Which is ridiculously easy anyway; it's just a string of characters ended with a byte 00. And you normally figure that out the moment you look up some filenames or ini value names in the exe anyway.

What you REALLY need is a good teacher, imo. I was lucky that 3 people helped me out with this stuff, namely Komfr, who designed the original hi-res hack for C&C95, pd, who gave me some great help when I got started, and Hyper, whose constant support and research into the classes system in C&C95 has been invaluable to me Smile

_________________

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL
CCHyper
Defense Minister


Joined: 07 Apr 2005

PostPosted: Thu Nov 27, 2008 1:10 pm    Post subject: Reply with quote  Mark this post and the followings unread

opcodes.hlp ftw! Very Happy

Bascily what we are saying, if you dont have any past programing experience, then dont even consider it.

I can code ASM pretty well, but i have some basic C++, VB and Java experience, What these taught me was to understand how things work and with patricks help, got a pretty good understanding oh how C++ apps work. I dunno why, but i prefere ASM over any other high level language, with ASM i can see what im doing and picture the code as i write it, with C++ etc i easly get confused.

So, this topic is just gonna drag on, might as well just leave it.

(btw thanks Nyer Smile

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


Joined: 24 May 2004
Location: Flanders (Be) Posts:300000001

PostPosted: Thu Nov 27, 2008 1:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

Hyper wrote:
(btw thanks Nyer Smile)

I could hardly leave this... I know how immature you and DCoder get when it comes to explaining to people that asm is too hard for the average modder #Tongue

(oh, you mean for acknowledging your help? C'mon, I already did that in the C&C95 v1.06 readme anyway Wink )

_________________

Last edited by Nyerguds on Fri Nov 28, 2008 11:14 am; edited 1 time in total

Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL
John Galt
Commander


Joined: 01 Aug 2003
Location: Galt's Gulch

PostPosted: Thu Nov 27, 2008 6:29 pm    Post subject: Reply with quote  Mark this post and the followings unread

lol
Nyer, I think you are overestimating the "average modder". Assembly is not impossible, but it's not that simple. Especially fun pieces like Westwood's "optimizations" resulting in a vector of vectors of hashed strings -_- Seriously, if you're not into programming, stay the hell away from ASM or you will lose your sanity. In my opinion, you need a good grasp of C basics before you start making sense of ASM ... when you have that grasp, I can help you get more familiar with ASM, but even then jumping into a complex application like YR will be a tough job.

Back to top
View user's profile Send private message Visit poster's website Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [45 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.2692s ][ Queries: 11 (0.0086s) ][ Debug on ]