Wizardry 1 TAS by TaoTao

Wizardry is very interesting game. Of course, it is also true for TASers!

Essentials

  • Emulator used: FCEU 0.98.28
  • Aims for fastest time.
  • Manipulates luck.
Note: The enormous re-record count mainly comes from my bots' trial and error. I think the count of re-records made by me (not my bots) is about 1000 at most.

About the game

Wizardry, a good old RPG-style game, is so popular that it won't need many explanation. The goal of the game is to recover an amulet from an evil wizard, Werdna. You create various characters, choosing a race, an alignment, a job, etc. And you organize a party. The party will explore Werdna's maze many times, and they will gain more skills, and more powerful items. Finally, they will beat Werdna and be rewarded for recovering the amulet. But be careful, as there are evil monsters and traps in the maze.

About the run

For TASers, this game is *extreme* luck-manipulating game. It is indeed a fight against random numbers and lags.

Run overview

  • I reset the game to skip a logo. And I start the game.
  • I create a Thief who has 18 Strength.
  • I pick up the Thief and the Cleric who exists from the start of the game. and organize a party.
  • I go to an elevator on B1F, and go down to B4F.
  • I go to a room and beat a monster, and open a chest to trigger a Teleporter trap. The Teleporter brings me to the second elevator. I go down to B9F with the elevator.
  • I encounter a group of monsters, because I was obliged to raise an alarm on B4F. But they are friendly, so I just leave without fighting.
  • I go to a room and beat a monster by Cleric's dispell, and open a chest. A trap is Mage's Misery and it doesn't affect my party at all. I find a Epee of Excellence, a Ring of Movement, a Dagger of Thieves from the chest.
  • The Thief equips the Epee of Excellence, and invokes the special power of Dagger of Thieves. Now, the Thief is a Ninja.
  • The Cleric equips the Ring of Movement.
  • I turn to south and encounter a group of monsters. I use Ring of Movement and teleport my party to the front of Werdna's room.
  • I break into Werdna's room and surprise Werdna and his guests. The Ninja attacks Werdna and decapitates him. The Cleric dispells a Vampire Lord. And, at the next turn, the Cleric dispells a Vampire. Now, Werdna and his guests are beaten. I find the amulet!
  • I use the amulet and teleport up 10 floors, and return to the castle. The Ninja is honored for recovering the amulet. The Cleric... oh, he is drowned in the castle moat :)

Run detail

Of course, luck manipulation is mandatory to achieve a fast run in this game. The 16-bit random number $40 controls over the luck. The random number increases every frame, and it is affected a little by the player's input. So, I made a number of bots with Lua scripting to find optimal solutions. And I analyzed some assembly codes to understand the game.
Basically, I manipulate luck by trial-and-error method. I let my bots generate random inputs, and bots continue the trials until they find the optimal solutions.
Lags often occur in this game because the random number affects the flow of codes. For example, when you go up/down to another floor, some lags can occur (probably, they are caused by the code initializing floor data). I tried avoiding lag as possible as I can, using bots.
In NES version, we can't create a Ninja/Lord at the start of the game. When we create a new character, we can get at most 29 extra points.
Teleporter never changes the floor. So I need a Ring of Movement to teleport to B10F.
The Ninja needs Epee of Excellence to hit Werdna. There is roughly a 2% chance that he decapitates Werdna with the weapon.
There is roughly a 5% chance that the Cleric dispells Vampire Lord or Vampire.
The Thief who exists from the start of the game is useless. To hit Werdna, the Ninja (changed from the Thief) must have 17 or 18 Strength and Epee of Excellence.
I don't touch the game switches. I think the wire-frame display would not be familiar to the users of NES version. And disabling music or sound would make the run tasteless.

luck manipulation

The random number is changed by the routines which interact with the random number. Furthermore, the random number continues to be incremented while the game are waiting for NMI at every frame. So, the clock cycles needed by the codes executed at every frame affect the random number. (note: The NMI routine doesn't use RTI to return. It returns with RTS, restoring stack pointer from memory)
That's why player's inputs affect the random number. Inputs of direction keys are processed in the NMI routine, and the needed clock cycles depend on whether a player made inputs or not. So the random number changes by player's inputs. But, the random number changes only a little by a input at one frame, so we often need to make inputs for a certain period to manipulate luck.

Possible improvements

Probably, this run could be improved. But more thorough analysis may be needed to achieve it. I used bots to manipulate luck, but the method is still elementary. So, there may be some rooms for a little improvement here and there.
Especially, I wasted about 60 frames when I get items from the chest on B9F. I had to wait for some time to get a Dagger of Thieves. And I wanted the Thief to have a Ring of Movement, but I could not help giving up it to get a Dagger of Thieves without a large loss. So an equipment takes time a bit more. In this scene, luck maniputation is so difficult that more precise planning would be required.
I considered a new strategy that I pick up a Sword of Slicing on B4F and a Scroll of Darkness on B9F. With Scroll of Darkness, there is roughly a 0.05% chance that a Ninja decapitate Werdna even if he has only 15 or fewer Strength. So, with this strategy, we no longer need to create any character. But for now, I can't tell whether this strategy really saves time. Thief can't equip Sword of Slicing, so we have to equip twice and it takes time unexpectedly. And it takes time a bit more to beat Werdna's party.
Enjoy!

mmbossman: I personally don't think this movie is entertaining, but it seems I am in the minority. Accepting for publication.
ShinyDoofy: Processing...

Skilled player (1405)
Joined: 10/27/2004
Posts: 1977
Location: Making an escape
DarkKobold wrote:
...I massively am growing tired of generic ninja walks right for justice movies.
Then be sure not to click here. ;P
A hundred years from now, they will gaze upon my work and marvel at my skills but never know my name. And that will be good enough for me.
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 14909
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. ---- [1227] NES Wizardry: Proving Grounds of the Mad Overlord by TaoTao in 00:45.74
Joined: 2/26/2007
Posts: 1360
Location: Minnesota
I am for changing the publication picture. Although I think the picture is hilarious, I do not feel it is informative enough for the visually oriented movie viewer. I was scrolling through recent publications, downloading ones I thought look interesting, when I came across this gem. I have no clue what the game is about, have never heard of it before in my life. Does it look like DOOM? Is it a 3D labrynth strewn with monsters? I don't know, because "It is dark." Basically, I look for interesting screen that say "download me, for look at my awesome 8 bits of mayhem inspired graphics," not a joke that, all though funny, shows me zilch about the game.
adelikat wrote:
I very much agree with this post.
Bobmario511 wrote:
Forget party hats, Christmas tree hats all the way man.
Experienced player (869)
Joined: 9/18/2008
Posts: 148
Location: Japan
Sticky wrote:
I am for changing the publication picture.
Indeed, the current publication picture might be a bit insufficient to tell the atmosphere of the game. This game is a typical 3D-dungeon-crawling, role-playing game, and it will be desirable that viewers can immediately see it by looking at a picture. I thought about some candidates. First off, I suggest the frame 2405: In this picture, the player is fighting with Werdna, the final boss of the game, and it will tell that this game is a RPG. Moreover, in this picture, the LV1 Ninja is decapitating Werdna, and it is a fairly rare thing. So, it may be also interesting for the people who already know about the game. Or, the frame 2125 may also be good: This picture shows a part of Werdna's message and a part of the view in the dungeon, and it will tell that this game is 3D-dungeon-crawling game.
Joined: 3/14/2008
Posts: 152
Location: United Kingdom
It's my fault that it's that picture. I just thought it was hilarious, so I asked ShinyDoofy to change it to that. Sorry :(
Experienced player (869)
Joined: 9/18/2008
Posts: 148
Location: Japan
duksandfish wrote:
It's my fault that it's that picture. I just thought it was hilarious, so I asked ShinyDoofy to change it to that. Sorry :(
Please never mind, and thank you. I think I should have suggested some pictures when I submitted the run.
Experienced player (699)
Joined: 2/19/2006
Posts: 742
Location: Quincy, MA
werdna ay? Now where have I heard that before? ;)
Super Mario Bros. console speedrunner - Andrew Gardikis
Editor, Emulator Coder, Expert player (2107)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
Do you all really want that screenshot replaced? Then I'll do the job. What screenshot do you like the most?
<klmz> it reminds me of that people used to keep quoting adelikat's IRC statements in the old good days <adelikat> no doubt <adelikat> klmz, they still do
Joined: 8/24/2007
Posts: 23
I'm a bit late... but I enjoyed this movie. When it finished, I basically went "Wha...?" and had to go through the movie at half speed again just to see if I missed anything!
Joined: 3/14/2008
Posts: 152
Location: United Kingdom
I find it funny how nearly 4 years on, the image still hasn't been changed.
Editor, Skilled player (1941)
Joined: 6/15/2005
Posts: 3247
You gotta poke us much sooner than that. (Hint: 24 hours after someone said he would replace it but didn't is a lot.) Oh, and sorry about that. Image replaced.
ShesChardcore
She/Her
Skilled player (1507)
Joined: 2/23/2022
Posts: 131
Location: MN
Hello! Not sure if this will ever be read but a potential time save exists for this run. Turning sound off loads the encounters 1.2s faster and that's around 6 seconds with the 5 battles minus some frames to menu through the options. I know that this would change the luck around and probably take another botting effort to recreate the encounters and such so even though it's low hanging fruit, I fully understand if it's not worth the effort to re-run. Great work either way!