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

Forum Info
Forum Members: 18,576
Total Threads: 8,657
Posts: 94,432

Administrators:
DeeZire, Redemption

There are currently 45 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 07-21-2004, 11:13 AM   #21 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Earth
Posts: 343
Default

DCoder, have you looked into how the game code progresses through using the IsSpotlight tag and how it knows to look at the various spotlight controls? I must say that I'm out in the deep end trying to make sense of the assembly coding and think some idea of how the game actually pulls all the info it needs together would be useful in enabling me to be more productive when analysing the exe.
Blade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-21-2004, 11:48 AM   #22 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,053
Send a message via MSN to DCoder
Default

Yes, I have looked at the code a lot, and I have only one idea: I will make a simple program that reads parameters from a file, disassemble it, and see what code I get. Besides, it's almost implossible to set breakpoints on YR exe, since it's a full screen application and it doesn't minimize properly.
I did post about this at my local computing forum, I think I can get some help there.
DCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-21-2004, 07:11 PM   #23 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: USA
Posts: 157
Default

You may want to make the program a little flexible so you can try this on other codes. Just a suggestion
DJBREIT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-22-2004, 08:46 AM   #24 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Earth
Posts: 343
Default

You can run YR in a window IIRC, DeeZire put a list of all the command line arguments for the exe file some time ago and they are probably in the editing enyclopedia. Might be useful for trying to follow code execution. Without being able to do this is some way it is going to be very difficult to work out how to hack anything useful into the exe.
Blade is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-25-2004, 11:44 PM   #25 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: USA
Posts: 157
Default

Any progress?
DJBREIT is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-26-2004, 05:54 AM   #26 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,053
Send a message via MSN to DCoder
Default

Not really I don't have a slightest idea how the code proceeds over those controls. But SaberHawk pointed me to a .exe to .c translator ( boomerang.sourceforge.net - be warned, I've been running it for like 4 hours and it still hasn't finished translating ). I am hoping it creates something useable, cause I don't really have other ideas - spending 10 or 15 minutes disassembling the executable after each internal error just takes too much patience. It would be very interesting to hear Olaf's comments on this, I'll post at his forum.

Edit: bah, boomerang crashed after 8 hours of work... All it left is a 163 kb txt file with a structured plan of what function calls what, unfinished most probably. I thought my 1700+ XP would be enough for the task :| Damn it.
DCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-26-2004, 06:21 PM   #27 (permalink)
XTF
Member
 
Join Date: Dec 2002
Posts: 90
Send a message via ICQ to XTF
Default

I think this will again result in nothing (unfortunately).
It's quite likely that much more than a simple change is required to (completely) enable the functionality you want.
XTF is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-26-2004, 07:27 PM   #28 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Brazil
Posts: 168
Default

DCoder... this part of the code might be a declaration of an atribute of a class, not including its real implementation. I'm not sure as I'm no expert on assembly, so I dont understand some of the code above. A long time ago, I tried to use a sort of decompiler like boomerang to open the game.exe from TS 2.03 and I could see that the part that includes all the class properties are just the way the compiler used to implement classes.
Banshee is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-27-2004, 05:17 AM   #29 (permalink)
Junior Member
 
Join Date: Jul 2004
Posts: 1
Default

This is going to be fun. When I go back to school in September, I get access to a linux super-cluster that I built last year. I'm the one solely in charge with it and it'll be trying to decompile the YR source code.
shawk is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-28-2004, 09:24 PM   #30 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: Brazil
Posts: 168
Default

When I tried... the operation sorta failed in the middle..... this was one of the attempts... in the other, I just got junk... I dont know if I still have the file here... I'll take a look...
Banshee 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



All times are GMT -4. The time now is 12:13 AM.


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