Author Topic: Reverse-engineering the RA2 executable.  (Read 7639 times)

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17536
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Reverse-engineering the RA2 executable.
« Reply #40 on: March 10, 2010, 01:39:57 PM »
Maybe something so that bots like Thyrus' sideways bots can start out normal?

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
Re: Reverse-engineering the RA2 executable.
« Reply #41 on: March 10, 2010, 01:55:55 PM »
Holy sh** that's a lot of ideas. Thanks guys!

Is that a 'trial' version of IDA(pro), Serge?
No, it's a registered, newest available version of IDA. PM me if you want more info.

What's possible: at the beggining, simple mods (7 component limit, classes) which require only modifying code will be possible. Then when I find some nice hooking points, I'll think about a code injection mechanism which will hopefully let me add code into the game.

What's the progress: currently going through WndProc (if anyone here was done WinAPI programming, please let me know) and it's massive switch statement. I am also starting to figure out the main game look and main classes / objects. I am still only at the beggining, though. I need to study DirectX, and especially it's functions. Also, it looks like Havok is just a static library. Hopefully I'll find some documentation on the itnernet, which will hopefully make things easier.
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org

Offline System32

  • *
  • Posts: 4663
  • Rep: 4
  • Reality
    • View Profile
    • Awards
Re: Reverse-engineering the RA2 executable.
« Reply #42 on: March 10, 2010, 06:02:39 PM »
And don't forget about those BW and AW classes!
Put this onto your signature if you were part of this crappy fad in '03.

Offline Jonzu95

  • Giga Heavyweight
  • Posts: 12638
  • Rep: -28
    • View Profile
    • Awards
Re: Reverse-engineering the RA2 executable.
« Reply #43 on: March 11, 2010, 07:52:23 AM »
Okay, Here is the ''RA3'' Vid...

Edit: whoops it's RA1... Sorry guys...  :embarr

Offline Madiaba

Re: Reverse-engineering the RA2 executable.
« Reply #44 on: March 11, 2010, 08:41:40 AM »
Vid name: "Robot Arena - 3 second kill"

Jon, I surmise that the '3' is associated with the 'second kill', not the 'Robot Arena' part of the title. 
If you watch the vid....
 
-----------
I'll probably catch you on MSN, Serge. 
 

 
Input is appreciated. :)
-Arrogance is a quantity devoid of quality...
-As a client once told me "This is my story, and it's sticking to me!"
-Relationships these days are like the 'Arrival' section of the airport: a lot of baggage is being revealed in one place, and not a lot of it is being correlated to its real owners...

Offline JoeBlo

Re: Reverse-engineering the RA2 executable.
« Reply #45 on: March 11, 2010, 09:20:11 AM »
I'll probably catch you on MSN, Serge.


I sense big things brewing :P

Offline Reier

  • Rieir
  • *
  • Posts: 8569
  • Rep: 8
  • I GOT 3RD IN RAW1
    • https://www.youtube.com/c
  • Awards old BOTM Winner
    • View Profile
    • Awards
Re: Reverse-engineering the RA2 executable.
« Reply #46 on: March 11, 2010, 09:23:43 AM »
Okay, Here is the ''RA3'' Vid...

Edit: whoops it's RA1... Sorry guys...  :embarr


*AHEMM*
ALERT- Another WS coming up...
voted best bot builder two times and counting babayy. the best ra2 builder who has never won an actual tournament match
ReiAI pack for Ironforge
My drawings, and my webcomics
Why online PVP will save RA2
The problem with competitive IRL in RA2
I'm fine with hugging reier

Offline Clickbeetle

  • *
  • Posts: 3375
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Re: Reverse-engineering the RA2 executable.
« Reply #47 on: March 13, 2010, 10:28:22 PM »
Oh, Oh! See if you can make a burst motor take CO2 instead of electricity!


Seconded.


So what all can you do by reverse engineering the exe, exactly?  Is it like the door to infinity, or are some of the ideas in here overly optimistic?

To lack feeling is to be dead, but to act on every feeling is to be a child.
-Brandon Sanderson, The Way of Kings

Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: Reverse-engineering the RA2 executable.
« Reply #48 on: March 29, 2010, 12:40:07 PM »
Try to get it so you can designate batteries for specific motors.
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
Re: Reverse-engineering the RA2 executable.
« Reply #49 on: March 29, 2010, 03:58:39 PM »
hai,

I've had to take a break for a week or so due to being kinda busy. I hope I'll have some time to mess around with the executable later on, provided I'm not spending all my day on #iphone-lowlevel @ freenode :P.

By reversing it completely, you can not only change existing behavior (like the "7" in the rule-of-7), but also add your own logic to the code (by "hooking" into the functions).
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org

Offline Somebody

  • *
  • Posts: 7201
  • Rep: 13
  • CP: +2
    • View Profile
    • Awards
Re: Reverse-engineering the RA2 executable.
« Reply #50 on: March 29, 2010, 04:06:56 PM »
Probably the best things you could do would be:
Rule of 7
Fixing havok explosions (if possible)
Making it so parts can get inside robots
I built that big robot on that TV show that time


Offline russian roulette

  • *
  • Posts: 1770
  • Rep: 1
  • What year is it?!?!?
    • View Profile
    • Awards
Re: Reverse-engineering the RA2 executable.
« Reply #51 on: March 29, 2010, 04:09:22 PM »
Do I hear Multi bots in 1 lab?

Offline SKBT

Re: Reverse-engineering the RA2 executable.
« Reply #52 on: March 29, 2010, 04:10:34 PM »
Another idea adding to the insanly long list already is Extenders and armor plates can deform and dent like the chaisis can.

Offline Sparkey98

  • Giga Heavyweight
  • Posts: 5738
  • Rep: -20
    • View Profile
    • Awards
Re: Reverse-engineering the RA2 executable.
« Reply #53 on: March 29, 2010, 04:16:12 PM »
Do I hear Multi bots in 1 lab?
wht I was thinking
 
do I hear components going threw chassis without BFE or AAM?

Offline G.K.

  • *
  • Posts: 12156
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: Reverse-engineering the RA2 executable.
« Reply #54 on: March 29, 2010, 04:19:24 PM »
Simple .txt edit is simple.
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline System32

  • *
  • Posts: 4663
  • Rep: 4
  • Reality
    • View Profile
    • Awards
Re: Reverse-engineering the RA2 executable.
« Reply #55 on: March 29, 2010, 05:20:14 PM »
8 bots in one arena please!
Put this onto your signature if you were part of this crappy fad in '03.

Offline Virus Bomb

Re: Reverse-engineering the RA2 executable.
« Reply #56 on: March 29, 2010, 05:40:23 PM »
Getting rid of AGOD would be nice if it's possible.

Offline Sparkey98

  • Giga Heavyweight
  • Posts: 5738
  • Rep: -20
    • View Profile
    • Awards
Re: Reverse-engineering the RA2 executable.
« Reply #57 on: March 29, 2010, 05:51:42 PM »
Simple .txt edit is simple.

without .txt Editing

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17536
  • Rep: 3
  • Awards BOTM Winner
    • View Profile
    • Awards
Re: Reverse-engineering the RA2 executable.
« Reply #58 on: March 29, 2010, 05:53:42 PM »
Round-chassis? (as in round sides not entire chassis)

Offline russian roulette

  • *
  • Posts: 1770
  • Rep: 1
  • What year is it?!?!?
    • View Profile
    • Awards
Re: Reverse-engineering the RA2 executable.
« Reply #59 on: March 29, 2010, 06:57:05 PM »
Chose the baseplate side for more complex shapes.