This is the (unreleased) Genesis version of Prince of Persia 2: The Shadow and the Flame. In this sequel, evil Jaffar returns as your doppelganger to steal the princess from you and accuse you of being the impostor. You have 75 minutes (IGT) to fight your way back to the palace to defeat him and save the princess. In this TAS, we use a combination of newly discovered skips and bot-based exploration to find the fastest way to finish the game.

Game objectives

Comments

This is the genesis version of Prince of Persia 2 (1996) that has never been officially released, but instead only recently surfaced/leaked. A patch had to be applied to fix a game-breaking bug that prevents the Kid from jumping on the horse. More information: Forum/Topics/22739.
The motivation for this project was to apply bot-based exploration to the DOS Prince of Persia 2, after the success with the first game (Forum/Topics/22659). However, since there is no open-source DOS version of PoP2, I could not connect my exploration bot directly to it. Instead, I used this game as surrogate since (a) it is very close in dynamics to the DOS version, and (b) I can connect my route generating bot (Jaffar) to an emulator (BlastEm, in this case).
I ran the bot on parallel computers to find the best way to complete the community's established route. The number of states explored (re-record count) by the bot was: 29,387,141,175.
After finishing this TAS, we realized that there are indeed several differences with respect to the DOS version. Most notably, the wide-wall skip used in the DOS TAS is not doable in this version. Also, cutscenes are not skippable, bloating the TAS runtime with end-level music.

Stage by stage comments

Here we describe the notable skips/tricks used in each level:

Level 1: Docks

We use the restart command as soon as the checkpoint is met for a faster fall recovery.

Level 2: Beach

The bot found the fastest route which, incredibly, has the kid blatantly step on the trick tile (!)

Level 3: Caves I

We use a walk-backwards-with-sword skip to teleport the potion room.

Level 4: Caves II

We use a walk-backwards-with-sword skip to teleport a few screens after grabbing the potion.

Level 5: Caves III

Here, the bot discovered a new route to obtain the potion where we climb using the fragile tiles. This route was previously thought as unfeasible. Unfortunately, since wide-wall clips are not possible in this version, we

Level 5: Caves III

Here, the bot discovered a new route to obtain the potion where we climb using the fragile tiles. This route was previously thought as unfeasible.

Level 6: Ruins I

We use the medusa head to clip through a wall to skip a big chunk of the level. After that, the bot found a fast way to avoid the rest of the heads.

Level 7: Ruins II

This is one of the most abused levels, where we use medusa heads repeatedly to clip through walls. The bot found the fastest way to do each of the clips. At the end of the level, a fast intra-wall clip is performed.

Level 8: Ruins III

Here we used the bot to find the fastest way to skip all medusa heads. In the middle, we skip the big gates by using sword sheathing.

Level 8: Ruins IV

Here the bot found the fastest way to get to the horse.

Level 9: Temple I

Here the bot found the fastest way to get to the exit door.

Level 10: Temple II

Here the bot found the fastest way to clip through the thin wall and get the potion. Later on, it performs a back-walking teleport to skip the group birdmen fight. Then it finds the way to solve the rest of the level, using the thin-wall skip again on the exit door opening tile screen.

Level 11: Temple III

Unfortunately, there are no big skips for this level, as opposed to DOS and SNES versions. However, the bot found the fastest ways to skip traps and birdmen. At the end of the level, it uses a thin-wall clip to save a few seconds.

Level 13: Temple IV

Here the bot found the fastest way to get to obtain the flame and exit the level.

Level 14: Jaffar's Labyrinth

Here we use the flame conversion trick to enable flame-mode with fewer potions. In the end, we lure Jaffar to obtain a faster way to kill him.

Other comments

I wish to thank Challenger and GMP whose help made this TAS much better than it would have otherwise been. Also thanks to PoP2 runners and routers: martin_petrvalsky, Samabam, Creditor (and many others who contributed to the current route). My next step is to use the lessons learned from Jaffar2 to achieve a (hopefully) sub-14 minute TAS for the DOS version of the game.

CasualPokePlayer: Claiming for judgement.
CasualPokePlayer: Replacing movie file with truncated version.
CasualPokePlayer: Nice job, optimization looks spot on and just as one would expect from such a botting effort.
As for the question of whether this prototype is acceptable, this prototype is in fairly finished form and is decent quality. And while the official DOS release was submitted, this prototype is for a separate incompatible console, and there are differences between the two that cause fairly different tricks and routing, so having that release exist is not an issue. The ROM patch is fine too, as it fixes a game breaking bug, which we allow for broken prototypes when needed for game completion.
Accepting.
EZGames69: Processing....


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15585
Location: 127.0.0.1
Challenger
He/Him
Skilled player (1689)
Joined: 2/23/2016
Posts: 1062
The real reason why that horse level is impossible to complete is because the actual room before horse room was deleted for some reason. Too bad that wall clip doesn't work with wide walls this time. Even without that glitch, the technical optimization is great (and it includes some new stuff, like that glitch used on levels 3, 4 & 11, and the new Jaffar battle). Yes vote.
My homepage --Currently not much motived for TASing as before...-- But I'm still working.
Player (26)
Joined: 8/29/2011
Posts: 1206
Location: Amsterdam
Another yes vote for me, and I love seeing these runs side-by-side.
nymx
He/Him
Editor, Judge, Expert player (2235)
Joined: 11/14/2014
Posts: 932
Location: South Pole, True Land Down Under
Excellent. I love seeing these BOTed runs. Yes vote.
I recently discovered that if you haven't reached a level of frustration with TASing any game, then you haven't done your due diligence. ---- SOYZA: Are you playing a game? NYMX: I'm not playing a game, I'm TASing. SOYZA: Oh...so its not a game...Its for real? ---- Anybody got a Quantum computer I can borrow for 20 minutes? Nevermind...eien's 64 core machine will do. :) ---- BOTing will be the end of all games. --NYMX
Spikestuff
They/Them
Editor, Publisher, Expert player (2643)
Joined: 10/12/2011
Posts: 6441
Location: The land down under.
Sorry, dumb question. Why wasn't the equally bad SNES port used?
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
KennyMan666
He/Him
Joined: 8/24/2005
Posts: 375
Location: Göteboj
Spikestuff wrote:
Sorry, dumb question. Why wasn't the equally bad SNES port used?
The SNES port is, from what I recall, considered the worst version of the game, being glitchier, having several missing elements, and most notably completely lacking the Escher-esque final level. Edit: Oh, I forgot this version was never actually released. So I don't know if anything besides the final level that was missing from the SNES version is actually in this one.
Det man inte har i begåvning får man ta ut i energi. "I think I need to get to Snoop Dogg's level of high to be able to research this post." -Samsara Read my fanfic, One Piece: Pure Corruption
eien86
He/Him
Judge, Skilled player (1873)
Joined: 3/21/2021
Posts: 262
Location: Switzerland
KennyMan666 wrote:
Spikestuff wrote:
Sorry, dumb question. Why wasn't the equally bad SNES port used?
The SNES port is, from what I recall, considered the worst version of the game, being glitchier, having several missing elements, and most notably completely lacking the Escher-esque final level. Edit: Oh, I forgot this version was never actually released. So I don't know if anything besides the final level that was missing from the SNES version is actually in this one.
This version was chosen for being very close to the DOS version. Many of the mechanics/tricks that work here, also work on DOS and vice versa (with some notable exceptions mentioned in the description). Memory analysis also confirms that game-specific variables behave largely equally in both versions. Level layout is also equal on both versions. Again, with some exceptions: e.g., the beach level has one tile less in Genesis than in DOS. Also there are no health potions in the last screen of Jaffar's labyrinth. Therefore, this version was the best proxy to the DOS version when applying the bot (applying the bot to the DOS version is just not feasible with the current state of DOS emulation, and we don't have its source code as we did with PoP1).
EZGames69
He/They
Publisher, Reviewer, Expert player (4462)
Joined: 5/29/2017
Posts: 2762
Can I request a download link to the patch that doesnt require an account on RomHacking.net to download? I am not a fan of websites that force you to create an account just to have access to certain files.
[14:15] <feos> WinDOES what DOSn't 12:33:44 PM <Mothrayas> "I got an oof with my game!" Mothrayas Today at 12:22: <Colin> thank you for supporting noble causes such as my feet MemoryTAS Today at 11:55 AM: you wouldn't know beauty if it slapped you in the face with a giant fish [Today at 4:51 PM] Mothrayas: although if you like your own tweets that's the online equivalent of sniffing your own farts and probably tells a lot about you as a person MemoryTAS Today at 7:01 PM: But I exert big staff energy honestly lol Samsara Today at 1:20 PM: wouldn't ACE in a real life TAS just stand for Actually Cease Existing
eien86
He/Him
Judge, Skilled player (1873)
Joined: 3/21/2021
Posts: 262
Location: Switzerland
EZGames69 wrote:
Can I request a download link to the patch that doesnt require an account on RomHacking.net to download? I am not a fan of websites that force you to create an account just to have access to certain files.
https://files.fm/u/c257v6weu
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15585
Location: 127.0.0.1
This movie has been published. The posts before this message apply to the submission, and posts after this message apply to the published movie. ---- [4535] Genesis Prince of Persia 2: The Shadow and the Flame by eien86 in 19:39.18