Live data from Hacker News

Patching MechCommander's "left arm bug" for fun and profit

mhloppy.com

21–30 of 37 posts

Re: Patching MechCommander's "left arm bug" for fun and profit

#21

Great writeup! Vividly remember this being a thing especially in multiplayer. What was that janky match matching service, MSN something? Also a really underrated game, the mechanics (line of sight over the horizon stuff) and isometric graphics were pretty cool for the time and it had a well developed story/campaign mode.

[deleted]

Re: Patching MechCommander's "left arm bug" for fun and profit

#23

Dear god I loved this game when it came out. It was hard .

I remember it taking me ages to complete the demo missions. And once I had, there being tons of replay value just in the demo missions.

That damned Vulture in the base in the second demo mission was rough. I hit a serious wall in the campaign in Op1M5 when you had to defend the farm. It’s almost a shame that MC2 is so easy in comparison

Re: Patching MechCommander's "left arm bug" for fun and profit

#24
post #3
post #2

This is cool, maybe "target left arm" implies that it's your left, when targetting them and you're facing each other. So, their right arm.

Btw, I recently did my first patches with ghidra. Is there any way to avoid jumping into a code cave by shifting all the instructions up then updating any statements referring to those memory locations? Seems like it should be simple enoigh in theory, but I didn't find an implementation on a cursory search. Could probably code up a plugin pretty easily.

It's basically re-linking the executable. Way too easy to shoot foot - miss one reference and things break in a spectacular, or, worse, subtle fashion. Which means: you definitely need to know where all the references are and what they point to.

References are under no obligation to be presented in a sensible, decompiler-friendly way.

Which is why "jump out into the patch, jump back in" is such a staple of patching. The other way is the hard way, full of pitfalls and potential issues.

Re: Patching MechCommander's "left arm bug" for fun and profit

#26

Earlier quoted context omitted.

I remember it taking me ages to complete the demo missions. And once I had, there being tons of replay value just in the demo missions.

That damned Vulture in the base in the second demo mission was rough. I hit a serious wall in the campaign in Op1M5 when you had to defend the farm. It’s almost a shame that MC2 is so easy in comparison

Op1M5 was scarring the first (dozen) time around! Thank you minelayers

Re: Patching MechCommander's "left arm bug" for fun and profit

#27
post #26

Earlier quoted context omitted.

That damned Vulture in the base in the second demo mission was rough. I hit a serious wall in the campaign in Op1M5 when you had to defend the farm. It’s almost a shame that MC2 is so easy in comparison

Op1M5 was scarring the first (dozen) time around! Thank you minelayers

Yeah I had to go back to M3 to salvage the madcat before I was able to finally get past it

Re: Patching MechCommander's "left arm bug" for fun and profit

#28

Great writeup! Vividly remember this being a thing especially in multiplayer. What was that janky match matching service, MSN something? Also a really underrated game, the mechanics (line of sight over the horizon stuff) and isometric graphics were pretty cool for the time and it had a well developed story/campaign mode.

Mplayer maybe?

Re: Patching MechCommander's "left arm bug" for fun and profit

#29
I have forever been confused by 'left' and 'right'. It takes me a few seconds of deliberate thinking to get it right.

So in one of my first piece of software that I wrote for real money I had two functions. One called create_scene_left(), the other called create_scene_rght().

I was very pleased with myself for sneaking in creating_a_scene, but the left and right versions did the opposite of what their names indicated. Users of the software had no problems, but I am sure it would confuse any maintainer.

It even took me an year to even realize that the names were wrong.

Re: Patching MechCommander's "left arm bug" for fun and profit

#30

Great writeup! Vividly remember this being a thing especially in multiplayer. What was that janky match matching service, MSN something? Also a really underrated game, the mechanics (line of sight over the horizon stuff) and isometric graphics were pretty cool for the time and it had a well developed story/campaign mode.

gamespy flash backs for me.
Post reply on HN