工具: Hyper Iria Autosplitter!
资源
/
Hyper Iria Autosplitter!
更新时间 9 months ago Hateandhatred

I have set up an autosplitter for Hyper Iria. It works with both emulators and real consoles, though minor tweaks may be necessary. It was tested and calibrated using EmuHawk (BizHawk) direct footage.

What you'll need:

  • OBS
  • Toufool's autosplitter (the program is included in the zip, but if it doesn't run, you can find the latest version here).
  • Livesplit

Here's a quick rundown on how to set it up. Unzip the attached file and place the folder wherever you want on your computer.

You'll need to run OBS and the Autosplitter software. Run the game so that it shows through OBS, then right click on the source and click on "Windowed Projector (Source)". A small window will pop up. Do not resize it.

In the Autosplitter software, you have an option to browse to the split image folder. Direct it to the folder I've included in the zip, called "split images".

In the top menu of the Autosplitter software, pick "File" then "Settings" in the drop-down list. Click on the "Image Settings" tab, and change the Default Comparison Method to "Histograms" and reduce the Default Pause Time to 1,00. Click on the Hotkeys tab, and set in the keys you use in Livesplit.

Close the Settings window and return to the Autosplitter software. Bring up the "Windowed Projector (Source)" you previously opened and in the Autosplitter software, click on "Select Window". Then, click on that OBS window to select it inside the software. The software will now compare the game with the images in the split folder to automatically do splits for you.

In the top menu of the Autosplitter software, click on "File" then "Save Profile".

Navigate to your main Livesplit folder. You'll find the "Components" folder. Inside the zip file I've uploaded here, there is a .dll file you need to place in the "Components" folder. Once this is done, open Livesplit. Right click on your splits, then pick "Edit Layout...". In the Layout Editor, click on the +, then in "Control", pick "AutoSplit Integration". Double-Click on it in the list to change the settings. For "AutoSplit Path", browse to the Autosplitter executable. For "Settings Path", navigate to the "Settings.toml" in the Autosplit folder. Save your layout.

You are now set up. The autosplitter will run whenever you start livesplits, and it will split and reset for you. To actually run the autosplitter at the start of your game, in the Autosplitter software, simply click on the "Start Auto Splitter" button on the main panel. Don't forget to keep "Windowed Projector (Source)" open from OBS. It doesn't need to be at the foreground, but the autosplitter needs to view it.

If you encounter issues with early splits or splits not happening, you'll need to adjust the sensitivity. If you navigate to the split images folder, you'll find that the files are named like this: "001_A_SplitImage_(0.85)[2]{d}". Each part serves a function:

  • "001_A": Indicates the order of the splits. The A part is not necessary, but it's useful to have in general if we eventually need to add new splits in between current splits without having to rename them all, i.e 001_B for a secondary objective between splits.
  • SplitImage: The default reference name for the software. Do not change it.
  • (0.85): This is the accuracy the Autosplitter demands in its image recognition. This is the important part for troubleshooting. If you split early, this is likely too low. If you don't split, this is likely too high. It is likely consistent, but if it doesn't work for you, this is likely where you need to look at, especially if you're not using EmuHawk (BizHawk). If you need to adjust this, you can see values in the Autosplitter software, and then you can simply rename the split images to reflect those values.
  • [2]: The number of seconds to cooldown between splits. If not present, it defaults to what you set earlier in the Autosplitter software.
  • {d}: A dummy split. It tells the Autosplitter software not to split before it has seen a specific image. Dummy splits are necessary for some of the splits to work without splitting early. If {d} is not present, the software will consider this a real split and press your split hotkey.

The split image named "Reset" will simply reset your current run upon detection. It shouldn't randomly be detected, but if your test run resets, it's due to this.

The final split is extremely sensitive. If people are having issues with it, I'll try to improve it.

If ajdusting is impossible (maybe due to using a real console or a different emulator), you unfortunately might need to make new split images. You'll need to take new screenshots using the Screenshot feature of the Autosplitter, then trim it so it contains less information. I recommend using the free program paint.net to do so.

The split order is the natural game route. If you'd like to do Stage 4 before Stage 3 instead, simply rename the 005 and 006 images, swapping them for one another.

Make sure to test the setup before doing runs to make sure everything works as it should.