How to Configure Initial Emulator Input Settings

Before you can start using MacroLua, the first thing you need to do is install and configure a supported emulator. For arcade games, your primary choices are FBA-RR and MAME-RR. Both work fine, so choose whichever one you’re familiar with.

Due to the sheer number of built-in commands, the default control settings tend to have some overlapping key assignments. Sort those out first. For instance, FBA-RR has Load State 2 and Diagnostic both assigned to F2. Likewise, they have Load State 3 and Reset assigned to F3.

My general advice is clear everything that doesn’t look useful at first glance. The less clutter you have to deal with, the better. You can always add more stuff later.

You’ll be using Reset a lot, and you’ll need Diagnostic as well, so either map those to different keys, or remove the Load State assignments. It’s also a good idea to clear whatever hotkey is assigned to Tab, because you’ll be using Alt+Tab frequently to switch back and forth between your emulator and your script file.

Continue reading →

RPS Perspective on Fighting Game Strategy

People have been drawing analogies between rock-paper-scissors and fighting games since the beginning of recorded time – mainly because it’s easy. This has become an increasingly popular trend, whether for describing move priority (throw beats blocking, DP beats throw, blocking beats DP) or matchups (giant beats pixie, pixie beats beam, beam beats giant).

Truthfully, RPS metaphors are only useful for deconstructing fighting games to illustrate the challenges presented by human competition. RPS models are great if you want to entertain people by translating your successes and failures into academic terms.

It’s much harder to go the other direction – from RPS theory fighter to developing a practical gameplan. Converting game specifics to RPS babble and back to game specifics is so much extra work that you’d be better off sticking with game specifics throughout.

However if you’re new to the competitive aspect of fighting games, it is important to grasp exactly what you’re getting into – and RPS comparisons can be useful in that regard. The rest of this article is a look at fighting game strategy from the familiar perspective of RPS tradeoffs.

Continue reading →

How to Find Charge Switch Points

Using MacroLua, you can retain charge while performing crossups. The basic idea is to swap directions on the exact frame your character switches sides with the opponent.

If you’re wondering whether this is a legitimate technique, keep in mind that most fighting games sample inputs 60 times per second. In physical terms, all you’d have to do is flick your wrist or finger from one side to the other in under 1/60th of a second, without getting caught in the middle. Therefore it’s possible to perform this without tool-assistance, but obviously very difficult to avoid detection and partly dependent on sheer luck.

The most obvious scripting method is pure trial and error. Simply hold the starting direction, switch directions at some point, and keep adjusting that wait period frame by frame until it works. Here’s an example from Street Fighter Alpha 2, performed under the Normal Speed setting, with Charlie and Birdie standing at point blank range:

W60,UR.W27,5.W19,2.W60!
# SFA2 Charlie crossup j.MK, s.MP

W60,UR.W2,_L.W10,^L_R.W13,5.W19,2.W5,^R.L1.W60!
# SFA2 Charlie crossup j.MK, s.MP xx failed LP Sonic Boom attempt

W60,UR.W2,_L.W11,^L_R.W12,5.W19,2.W5,^R.L1.W60!
# SFA2 Charlie crossup j.MK, s.MP xx failed LP Sonic Boom attempt

Continue reading →

Native Resolution vs Standard Resolution

Back in the day, arcade and console hardware ran at weird native resolutions like 384×224. When they were hooked up to a standard arcade monitor, the picture was automatically resized to standard 4:3 resolution.

We assume that the game designers intended their sprites to be viewed at 4:3 resolution. There’s no real debate here because Capcom and other companies used to manufacture complete arcade cabinets, so they knew the end result would be displayed at 4:3.

As a result, when you go from standard resolution to native resolution on an emulator, all the characters look short and wide. The whole screen looks stretched because 384×224 is actually 12:7 resolution. That’s a messed up ratio that doesn’t make sense at all.

However, the main advantage to native resolution is that it represents every pixel. So for archival purposes, sometimes it’s better to store screenshots at native resolution because it’s easy to stretch that image to 4:3 later. On the other hand, there’s no way to go back from 4:3 to native resolution because you can’t tell what the original pixels were when you look at a resampled 4:3 image. Resizing aspect ratios is inherely lossy.

But then again, compressed video is lossy too. If you’re going to show a video to a general audience, it’s usually better to go with the intended 4:3 ratio. That’s how everyone played it so that’s what looks natural and familiar to everyone.

Continue reading →

How to Take Screenshots with MacroLua

That’s right, MacroLua isn’t just for making combo videos. You can also utilize scripts to set up and refine elaborate screenshot scenarios. The latest build (1.10) features several settings to facilitate the process. Here’s a brief overview to get you started.

Simply follow the directions provided in the documentation to get MacroLua installed. Once you have it running, the first thing you should do is turn off input display if it’s enabled by default. You probably wouldn’t want those command symbols showing up in your screenshots.

Next, turn on pause after playback. This setting automatically pauses the emulator at the end of the script. Once it’s paused, if you like what you see, you can simply press F12 to save a lossless native resolution screenshot to your screenshots folder. It’s that easy.

Now all you have to do is come up with a good idea and write the script to make it work. Include a W command at the end (like W10!) and use it to control when the emulator pauses. If it’s too soon, then increase that number. If it pauses too late, then decrease the number.

Continue reading →