Skip to content

Instantly share code, notes, and snippets.

Mirror's Edge CH9 Fire Skip

Summary

The lethal fire volume only deals dmg on a 1 sec repeating timer that starts when the level loads, not on the exact frame the valve explosion starts. The 1 sec cycle starts about 0.03s after loading into the level, so basically there's no real timer offset to be concerned with here. If a 100 dmg tick lands while Faith is in the get up anim (JumpTurnLandingStand, 1.3333 seconds long), the game clamps it and she survives at 1 HP.

So the skip is mostly about when you use the valve relative to the damage tick, which you can line up with speedrunning timer cues. Timing the moment you use and stop using the valve as close as possible to the tick is ideal. How long you take to reach the valve does not matter.

However, how long you macro the valve changes how fast the fire comes. For a reproducible demo I tap macro so the ~8 second cadence stays stable. If you use-glitch for longer, you will need to test your own timings. Some of my testings at 62 FPS with a 2ms use macr

@FransBouma
FransBouma / AnselAlways.md
Last active June 7, 2023 19:08
How to remove the restrictions put on Ansel enable by a game

How to remove enable restrictions on Ansel in an Ansel-supporting game

How does enabling Ansel work

Ansel is an NVidia technology which enables a photomode with shaders in pre-defined games. A game doesn't support Ansel out of the box, it has to be setup for that, which is usually done by using the Ansel SDK. The Ansel SDK is available to people who register for an account with NVidia, and I don't have such an account, so all I provide here is what I figured out myself from what NVidia provided online and what I've seen in game code.

Ansel works with call-backs, which means the game has to register a function with Ansel which is then called when Ansel needs