logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,537
Total Threads: 8,627
Posts: 94,210

Administrators:
DeeZire, Redemption

There are currently 137 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Red Alert 2 & Yuri's Revenge Editing Discuss any modding related issues to do with Red Alert 2 and Yuri's Revenge here.

Reply
 
LinkBack Thread Tools
Old 01-14-2005, 09:47 AM   #1 (permalink)
pd
Senior Member
 
Join Date: Sep 2003
Location: Datteln, Germany
Posts: 160
Send a message via ICQ to pd Send a message via MSN to pd
Default gamemd.exe hacked - new country added!

Yep,
exactly what the title says:
I hacked YR's gamemd.exe and managed to add a new country

But unfortunately, you can't play with it (yet).
It's just added to the side list in the Skirmish menu and a flag for it is loaded.

For those who don't believe, a screeni:


And for those who are interested (or for those who still don't believe), a small page I made where you can download the hacked .exe:

http://www.geocities.com/gantaicha/yrhacked.htm

I'm currently trying to find out how I can make it possible to play with this new country, but I didn't find a solution yet
But I'll try...
pd is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-14-2005, 10:05 AM   #2 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,048
Send a message via MSN to DCoder
Default

This is really interesting stuff, dude.

The archive is corrupt :S So I couldn't check out what exactly you modified, but I do know there are more country-related hardcodings in the exe than those you listed (country name, lscreen, flag). Check out this page for more detailed information.
DCoder is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-14-2005, 10:15 AM   #3 (permalink)
pd
Senior Member
 
Join Date: Sep 2003
Location: Datteln, Germany
Posts: 160
Send a message via ICQ to pd Send a message via MSN to pd
Default

Corrupt? Damnit!
Hm...

It works fine for me so that's confusing.
I'll just re-upload it maybe it works.

The loading screen stuff is what I'm trying to do currently.
But the filenames like "ls800ustates.shp" don't appear anywhere in the code, so it seems to be a bit more complex.

The names aren't really hardcoded.
You can change the "Americans" to "Aliens" or something, can't you?
Of course you'd have to do that in the entire ini file.

Their string table entries are hardcoded, but I managed to change them.

As for the ZIP file, I'll re-upload it now.
Should be ready in about 10 minutes (damnit it MUST work).

EDIT: Hm I packed and uploaded it again, but it's exactly the same file as a few minutes ago.
It should work... :scared:
pd is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-14-2005, 10:22 AM   #4 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,048
Send a message via MSN to DCoder
Default

No, but they do appear in the hexeditor. Jump to offset 0x4298DC and see.
DCoder is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-14-2005, 10:29 AM   #5 (permalink)
pd
Senior Member
 
Join Date: Sep 2003
Location: Datteln, Germany
Posts: 160
Send a message via ICQ to pd Send a message via MSN to pd
Default

Actually, a disassembler reads everything what's in the exe file (including strings etc).

If that string's really there, I should reload the file because then it's easy to make the game load a new one.
Thanks very much for the information!
pd is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-14-2005, 11:03 AM   #6 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,048
Send a message via MSN to DCoder
Default

You're welcome. BTW, why don't you upload just a patcher instead of a whole file? Something like 99% of it is unchanged, so why bother u/l&d/ling it?
DCoder is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-14-2005, 11:39 AM   #7 (permalink)
Senior Member
 
AlliedG's Avatar
 
Join Date: Sep 2003
Location: U.K.
Posts: 726
Default

isn't this just graphical display stuff like the renabling of tutorial missions?

i'm sure stuff like baseunit, etc won't allow it.

There picture is of questionable quality too...

also hack isn't really a good name more like modify, it somes less illegal ...
AlliedG is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-15-2005, 10:00 AM   #8 (permalink)
pd
Senior Member
 
Join Date: Sep 2003
Location: Datteln, Germany
Posts: 160
Send a message via ICQ to pd Send a message via MSN to pd
Default

@ DCoder:
A patcher is a good idea.
But I changed lots of stuff and I dunno where what byte is I changed...
comparing should help... I'll see.

And thanks for that hex adress.
I found the procedure which builds the loading screen and I started modifying it.

@ AlliedG:
You may have read that I was only able to make the game list up a new country and to load its flag.
I'm still working on the rest it's not an easy job.

If you don't like the quality gimme your eMail and I'll send the pictures in bmp format if you want.

Stuff like baseunit isn't a problem:
The new country (TestCountry) is on ThirdSide that means base unit is YMCV.
If I was to add a side that would be a problem, yes. But I'm just adding a country.

I think it's a hack because I modified (hacked) the exe file.
If you make a no-CD-crack it's also modifying the exe - it's not a mod, but a hack.
No mod modifies the game's exe file, so this can't be a mod.

And why should it be illegal?
Modders modify the ini files, mix files etc.
Why should it be more bad to modify the exe? It's just a file.
pd is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-15-2005, 10:52 AM   #9 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,048
Send a message via MSN to DCoder
Default

Actually, The Project mod does modify the exe (ResHacker, reenabling a third campaign button).

And, there are automatic patchers, like Clickteam Patch Maker.
(bah, I really need to start using it myself, on my own software.)
DCoder is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 01-15-2005, 08:07 PM   #10 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Hamburg, Germany
Posts: 2,208
Send a message via ICQ to Renegade
Default

@pd:
Quote:
Originally Posted by Westwood Studios, Inc. End User License Agreement
2. COPYRIGHT AND RESTRICTIONS.

[...]

You also may not copy, modify, adapt, translate, create derivative works of, publicly perform, publicly display, distribute, transmit, decompile, disassemble or otherwise reverse engineer or attempt to reverse engineer or derive source code from, all or any portion of the Product or anything incorporated therein, including any screen display, sound or accompanying documentation, or permit or encourage any third party to do so. [...]
...that's why it is illegal.

Not discouraging you from doing it, just thought you should know about this. (And not encouraging you either, as that would be against the license as well )

Note that this, at least for RA2, theoretically also makes mods illegal.

EDIT: POST 1600! WOHOO!

God, I'm a junkie...:lol:
Renegade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
has any one hacked this game doog Red Alert 2 & Yuri's Revenge Editing 159 03-24-2005 11:42 PM
gamemd.exe hacked - thread 2! Marshall7a Red Alert 2 & Yuri's Revenge Editing 8 01-23-2005 06:01 PM
something looks like hacked coolfile Generals & Zero Hour Editing 3 08-17-2004 09:17 PM
how many new Gewneral's AI can be added? juanmanuelsanchez Generals & Zero Hour Editing 9 07-28-2004 06:01 AM
Generals 1,7 hacked The_Blind_One Generals & Zero Hour Editing 16 01-03-2004 01:19 AM


All times are GMT -4. The time now is 12:50 PM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.0 Release Candidate 2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.