Submission Text Full Submission Page
This is a TAS of Ultima IV for Sega Master System.

Game objectives

  • Emulator used: BizHawk 2.4
  • Fastest RTA viable movement
  • Menuing is allowed to be inhumanly fast
  • NTSC timing

Comments

I wanted to know how quickly the game can be beaten without heavy luck manipulation but flawless execution in menus, perfect movement, minimal waiting for stat advancement to be possible, etc. Each port of Ultima IV is very different and has its own leaderboard due to these differences.

Stage by stage comments

Character selection

The exact questions the fortune teller asks are random. Answering yes to a particular virtue gets you +5 to your starting value. Valor is the slowest virtue to grind, but maxing valor would create a fighter with no mana. We want to use a lot of spells early to speed things up so we create a mage by maxing honesty.

Moonglow and Town of Britannia

As a mage we spawn near Moonglow. Grabbing the rune of honesty now gives us a bit more early XP. Same with the black stone. The first portal brings us to Castle Brittania.

First virtue grind

The biggest hurdle we face is maxing our virtues efficiently and hitting the level cap. We can max compassion by giving money to beggars. We can get very close to the level cap by picking up quest items. So our first visit to Town Britannia lets us grab a ranged weapon but also serves as a chance to raise compassion and grab a quest item (rune of compassion). The game won't give us virtue increases if we do the action on back to back turns for most virtues. This is why we talk to the beggar, move away or bonk the wall, and then talk to the beggar again.
Leaving town we head to Castle Brittania where we can max more virtues. Here we can work on spirituality by talking to Hawkwind, Sacrifice by giving blood to the healer, and Humility by talking to the shepherd by the fountain. We also need enough money to buy a better weapon and reagents. The wand, our goal weapon, is 5000 gold. The chests give us money but also have traps. I avoided luck manipulation here to meet my goal of RTA-viability.
Talking to Lord British during this time achieves several goals, a) Leveling our character so we have more mana for spells, b) healing us if the traps in the chest prove too much.
The primary goal of this phase is the money. We'll be revisiting the castle so we can finish maxing our virtues later.

Spell reagents

Our next objective is to get all the spell reagents we need for the rest of the game. Along the way we check off a few other quest objectives by grabbing quest items and fighting battles. Each battle we win has a chance to increase our valor. Due to how much money we borrowed from Lord British, our honesty, justice, and honor are at the lowest possible values. Because of this there is little point in paying full value for the reagents we need. So we pay the shopkeeper 1 gold for each stack of reagents. We end up with more spells than we need to cast because the most efficient way to buy and mix reagents is 99 at a time. Some planning was done to figure out what order to buy reagents to minimize trips into the menu, but it's not really possible to split things up further plus the number of inputs to input a 99 is less than most other numbers as it's just down, right, down.
Once all the spells have been mixed, we can buy a bunch more of a reagent, one per transaction, to raise our honesty, justice, and honor back up from 3 to 99. Interestingly, the first time we rip off the shop keeper our honesty/justice/honor goes from 1 to 3. I believe there is a bug where the game thinks the lowest possible virtue for cheating the shop keeper is higher than the lowest possible virtue for stealing.
After the spell/virtue grind, we buy a horse as that will make travel much faster. From this point on we can also use spells to speed things up.

Partial avatarhood and dungeons

Now that we have several quest items, a few maxed virtues, and spells we can begin our adventure. First stop is meditating at honor shrine for partial avatarhood in honor. Normally meditating would give us a big boost to spirituality but that doesn't happen if the meditation leads to gaining partial avartarhood.
In our first dungeon we use a torch because the game prints a message that takes up time whenever it's too dark to see. We use spells to traverse the dungeon. We want the stone and then we're done. The second dungeon is similar except we can manipulate the spell to take us to the correct part of the dungeon by going deeper and then using the up spell to go up instead of the stairs.
Next we want more quest objectives for XP, so we abuse the blink spell to reach the town of Cove. The intended way to reach Cove is using the balloon or the whirlpool. Due to the way the game world is coded, in chunks, the blink spell sometimes allows you to blink to specific locations that it may otherwise not allow. The blink to Cove is one such blink.
After Cove we visit two more towns and a dungeon. One town gives us another rune and the other town gives us magic keys that we will need for other quest objectives. Because we are at a remote part of the map, we take the moongate across the world to Skara Brae so we can get back to Castle Brittania more efficiently. We need to complete the virtue grind Britannia. This is the point where we now have 600 HP which allows us to more efficiently do the blood giving grind to max our sacrifice virtue.
We also use this opportunity to visit Hythloth and get the balloon which we only need for 1 objective: the white stone. However, we still haven't found a boat due to average/poor RNG. So we take this as an opportunity to visit Buccaneer's den where we can buy a wand. This will greatly accelerate our valor grind later by making combat go much faster. The balloon movement is incredibly slow and there doesn't seem to be any glitch (in the SMS version) that allows us to bypass the balloon.
In dungeon despise, we see the first use of poison status to manage combat status. The game makes certain statuses mutually exclusive, for example you can be slept, poisoned, or dead but not any two of them (negate/quick/protect are handled separately). If you're poisoned during combat there are no negative effects during combat but it prevents the sleep status. Outside of combat you take damage each turn. So we poison ourselves right before starting a sequence of combats where the enemies might use status effect spells on us. Then cure the poison after the combats.
Fixed dungeon combats don't change your valor score. So for those we just flee as quickly as possible as there is no opportunity to increase or decrease valor.
Now that we have a wand and most of quest objectives complete, it's time to raise our valor and get mandrake root. We head back towards Minoc. We take advantage of the rate of combat on bridges in this section to get fights faster. The downside is that after each fight we need to clear the chest before another combat can happen. This can also be used to our advantage if we need to regain mana to heal up. During this time we also take advantage of a double full moon to visit the shrine of spirituality. Eventually a double new moon occurs and we can search for mandrake root. Mandrake gives us access to two very important spells, gate travel and tremor.
We leave before valor is completely maxed because there are a few more dungeons to do that have a chance to raise valor. The dungeon deceit has a few orbs that will raise our intelligence. Due to the way leveling works, we don't raise our int high enough to reach 99 mana (very important in the final dungeon) without this step. After the dungeon we pick up another quest item that we couldn't get on our first visit to Moonglow then use our first gate spell to get back to castle Brittania to cash in on our XP although we still don't have enough for the level cap.
At this point, we need to finish our valor grind, get a boat, and hit max level (so we can recruit all party members). We go to the destroyed down of Magincia. This appears to be the fastest place to farm a boat due to all the water enemy spawns. The boat allows us to grab a quest item that can only be reached by boat and it allows us to enter the abyss which also can only be done by boat. We can technically reach the shrine of humility with the balloon or boat. We're going to use the balloon in this case, so we also get the 3 parts key objective completed in the same revisit to Hythloth. The intended way to visit the shrine of humility is to use the horn so you don't have to fight the demons. We didn't get the horn and the demons are a good source of valor. So we fight our way in. At this point we have avatarhood in all virtues except valor. So we return to Brittania for one last virtue grind.

Preparing for the Abyss

Now that we have maxed all virtues, we visit the final shrine. Pickup our first followers and head to Empath Abby. Here we can abuse a mechanic to get max level. We need to hit level 8 so that we can bring a full avatar party to the Abyss, which is a requirement for the final room of the Abyss. The mechanic we abuse is the following: When you get the mystic robes you gain 400xp. If you have any robes in your inventory (equipped robes do not count!) then you will not find more robes if you search. But if you sell the robes from your inventory you can collect them again for 400xp. We execute a tight loop of going to the closest armor shop and searching for the robes. This relies on heavy magic usage and this is the first and last time we rely on party members to accelerate us. The gate spell is crucial to quickly building the avatar party.
Once we're level 8, have the book, candle, and bell, and have partial avatarhood in all 8 virtues, and have all 7 followers, then we have met the requires to complete the game. All that is left is to reach the bottom of the Abyss.

Stygian Abyss

This is the most combat intensive part of the game. Here we rely on some crucial preparation. We use poison status to manipulate combat so that we cannot be put to sleep. We kill off all party members except the avatar to save time. Their turns will just slow us down. The mystic robes are the best defense we can have. The wand is the highest damage ranged weapon we can use. Tremor and other spells allow us to move efficiently through the forced combat encounters. We use another glitch here which is casting a different field over top of an existing field. Sometimes it's faster or more convenient to change a sleep field to a poison field. This doesn't work for all combinations, but when it works it can save mana.

Other comments

The time on this could be improved significantly with more intentional and carefully planned RNG manipulation. I think before undertaking that task, the community needs to reverse engineer more of the game's logic and RNG routines and build tools for visualizing and predicting outcomes. The current tas is over an hour and a small change to inputs in the first 2 minutes means that inputs for the rest of the run must be redone, including menuing. So it's often not worth it unless you're redoing significant other things. That said, figuring out how to manipulate a boat spawn to happen very early and how to get guaranteed valor increases would save significant time.

Samsara: Judging.
Samsara: File replaced with Spike's spiking. Spikity.
Welcome to the site! It's always great to see RTA runners trying their hand at TASing in some way, even if it's just theory TASing like this, and a solid 42 minute improvement to your WR is... Well, it's solid! The key thing here though is that this is in fact a theory TAS, and by your own admission it could be improved through doing any RNG manipulation. We do require as close to perfection as possible for publication, and especially for hour+ long RPGs, RNG manipulation is a pretty large part of that. Also, there's the issue of not using the proper BIOS for SMS (this submission appears to be using the built-in BIOS for Alex Kidd in Miracle World). The linked post provides the SHA-1 for the recommended BIOS.
My recommendation is to make a thread for this game in this subforum, utilizing the site's userfiles feature to share input files like these. Several of the posts in the submission thread also contain really good advice, including ideas for improvements and a potential way to make the menuing much easier to handle. Gamechanger. For real.
There's interest in this game receiving an optimized TAS, so I do hope you continue working with it! Imagine sub-1:00:00, achieve it, then surpass it! Forget the avatar, this is your quest now!
Oh, and putting this at the end to emphasize it: The submission text is fantastic. I love really detailed submission texts both as a casual viewer and especially as a Judge. Should you make another submission, I'm very much looking forward to reading about it! ...And watching it too, of course!


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15562
Location: 127.0.0.1
This topic is for the purpose of discussing #6936: dagit's SMS Ultima IV: Quest of the Avatar in 1:08:34.86
xxezrabxxx
He/Him
Joined: 7/15/2017
Posts: 199
Location: Kentucky
Why are you using the European ROM? Edit: PAL only release, my bad
I like to comment on submissions and look around the site. You have probably seen me before (if you have been around for a while) either on the site, Discord, or any other social media. I recently took up making temporary encodes for new submissions. Also, I never forget to greet Tompa wherever I find him! "when resyncing stuff sucks it's called Resuccing" - EZGames69 “If an emulator stops being accepted to the site it should be called an emuLAMEr” - EZGames69 "oh no discord, everything I say will now be logged forever, sdfsdf, time to hide" - Masterjun "just had to give therapy to a taxi with daddy issues" - psx Current Projects: Mother 3 (75% complete)
Spikestuff
They/Them
Editor, Publisher, Expert player (2633)
Joined: 10/12/2011
Posts: 6437
Location: The land down under.
Author kinda overshot the input a bit, found their encode and placed it on the submission text. Light Spike to remove the 10 thousand blank frames. Don't worry about resubmitting, the Judge can replace the file around. --- Unfortunately the biggest issue to this TAS besides the admission that this is more of a theory TAS, which I'll congratulate you on... is the BIOS that was used. Unfortunately (SHA-1) 3AF7B66248D34EB26DA40C92BF2FA4C73A46A051 is a built in BIOS for Alex Kidd in Miracle World and not the actual SMS bios (also a Korean BIOS). BizHawk would specifically like the (SHA-1) C315672807D8DDB8D91443729405C766DD95CAE7 BIOS, v1.3 (SMS, US/EU). The other two bioses that EU/US would like are both Prototype bioses, and doesn't change which main bios you need to have. I look forward to an updated run that takes a little more time in manipulation and work.
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
Joined: 11/16/2020
Posts: 1
Spikestuff wrote:
Author kinda overshot the input a bit, found their encode and placed it on the submission text. Light Spike to remove the 10 thousand blank frames. Don't worry about resubmitting, the Judge can replace the file around. --- Unfortunately the biggest issue to this TAS besides the admission that this is more of a theory TAS, which I'll congratulate you on... is the BIOS that was used. Unfortunately (SHA-1) 3AF7B66248D34EB26DA40C92BF2FA4C73A46A051 is a built in BIOS for Alex Kidd in Miracle World and not the actual SMS bios (also a Korean BIOS). BizHawk would specifically like the (SHA-1) C315672807D8DDB8D91443729405C766DD95CAE7 BIOS, v1.3 (SMS, US/EU). The other two bioses that EU/US would like are both Prototype bioses, and doesn't change which main bios you need to have. I look forward to an updated run that takes a little more time in manipulation and work.
Sorry, I'm new to this. What is the light spike to remove blank frames? What do you mean by overshot the input? I wrote too much on the submission? As for the BIOS, sorry about that. I thought I did build it against an EU bios but must have made some configuration mistake. I find this part of bizhawk to be confusing. I understand if this is too much of an RTA-viability theory TAS. I wasn't sure if those are acceptable publications for tasvideos. Unfortunately, until I learn some new way to use tasstudio I'm unlikely to work on this more. There is some weirdness in the game where moving a menu input, which is most of the inputs in this hour+ tas, changes the minimum delay between inputs. So shifting a menu forward or backward by just a few frames can cause multiple button presses to not be recognized. This cascades to every menu that happens after it in the tas. Finding a new minimum delays between these is very time consuming. This definitely feels like the sort of thing that could hypothetically be automated a bit with scripting specific to this game, but I can't figure out how to do that in tasstudio. Thank you for taking the time to review it. If you have any other feedback please let me know.
Spikestuff
They/Them
Editor, Publisher, Expert player (2633)
Joined: 10/12/2011
Posts: 6437
Location: The land down under.
dagit wrote:
Sorry, I'm new to this.
That's alright, everyone was at one point in their life.
dagit wrote:
What is the light spike to remove blank frames?
So to put it in understandable terms, this means your input was truncated. "Spiking" became the name of the term cause I was the only one who did it to new submissions to just help the newer authors with the TAS and then others started calling it that. If you compare your input file to the one I provided and scroll to the bottom there'll be a bit of a clearer image.
dagit wrote:
What do you mean by overshot the input?
It's just as it says, your final input ended 10 thousand frames earlier but you just had quite the bit of blank input which was just all credits.
dagit wrote:
I wrote too much on the submission?
No this is perfect, more detail especially for and RPG the better.
dagit wrote:
As for the BIOS, sorry about that. I thought I did build it against an EU bios but must have made some configuration mistake. I find this part of bizhawk to be confusing.
If you put your bioses into the firmware folder of bizhawk and hit "scan" it'll automatically select the bioses you need to use, if it doesn't find it, it just means one thing. - It's not the recommended bios, so right click and select "info" and just see if yours is listed. -- If it's not listed in that, or the other regions it's not a recommended bios at all. Just be careful of the ones labeled "Proto".
dagit wrote:
I understand if this is too much of an RTA-viability theory TAS. I wasn't sure if those are acceptable publications for tasvideos. Unfortunately, until I learn some new way to use tasstudio I'm unlikely to work on this more. There is some weirdness in the game where moving a menu input, which is most of the inputs in this hour+ tas, changes the minimum delay between inputs. So shifting a menu forward or backward by just a few frames can cause multiple button presses to not be recognized. This cascades to every menu that happens after it in the tas. Finding a new minimum delays between these is very time consuming. This definitely feels like the sort of thing that could hypothetically be automated a bit with scripting specific to this game, but I can't figure out how to do that in tasstudio.
That's what the forums are for. Unfortunately there isn't an (SMS) Ultima IV section in the area it should be in but you can always make a new topic and start there by providing information. And as you mentioned, practice makes perfect. Learning the tools will be a benefit for you and you'll be hopefully able to do more down the line. Just get used to the tools, or reach out by asking questions to the IRC or Discord and hopefully will be able to help. And also use your userfiles to store progress or scripts on what you're working on.
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
Ambassador, Experienced player (709)
Joined: 7/17/2004
Posts: 985
Location: The FLOATING CASTLE
Thanks for submitting! I had seen a bit of dagit's stream as he made this run and encouraged him to submit to get some conversation started on this version of the game. If anyone else things about doing this game, having this sort of info and the input file is really useful to get started, even if it is more of a theory TAS.
Site Admin, Skilled player (1251)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Here's the relevant movie rule about BIOS region: http://tasvideos.org/MovieRules.html#MatchTheBiosRegionToTheGameSRegion
Warning: When making decisions, I try to collect as much data as possible before actually deciding. I try to abstract away and see the principles behind real world events and people's opinions. I try to generalize them and turn into something clear and reusable. I hate depending on unpredictable and having to make lottery guesses. Any problem can be solved by systems thinking and acting.
Joined: 9/12/2014
Posts: 540
Location: Waterford, MI
Good start. Despite being unoptimzed, I'll watch it anyways.
Synahel
She/Her
Former player
Joined: 1/19/2011
Posts: 260
Location: France
You can tell it's very unoptimized, but it's a good start, pretty sure routing can be improved (like getting to humility shrine during the white stone trip? or all around spending less time buying reagents for magic spells which won't be used, etc), i'd have loved to have RAM addresses of the virtue values to keep track while watching the TAS to see which dialogue upgrades each
Samsara
She/They
Senior Judge, Site Admin, Expert player (2109)
Joined: 11/13/2006
Posts: 2822
Location: Northern California
dagit wrote:
Unfortunately, until I learn some new way to use tasstudio I'm unlikely to work on this more. There is some weirdness in the game where moving a menu input, which is most of the inputs in this hour+ tas, changes the minimum delay between inputs. So shifting a menu forward or backward by just a few frames can cause multiple button presses to not be recognized. This cascades to every menu that happens after it in the tas. Finding a new minimum delays between these is very time consuming. This definitely feels like the sort of thing that could hypothetically be automated a bit with scripting specific to this game, but I can't figure out how to do that in tasstudio.
Something that helped me out a lot regarding this was rebinding my TAStudio hotkeys for Insert Frames, Delete Frames and Clone Frames to single keys I could easily reach. It makes finding the first possible frames so much quicker: Put in an input somewhere. If it's recognized, Delete frames before it until it stops being recognized. If it isn't recognized, Insert or Clone frames before it until it is. It gets even faster if you turn off Follow Cursor and let the movie play while you insert/delete frames, since it'll automatically rewind to that point and continue playing to let you instantly see whether or not it works. I'm not kidding when I say it can save days of TASing time in the long run. One of my current (but on hold... because reasons) projects is the same way, randomly deciding to delay when it wants to recognize inputs, and fixing my hotkeys allowed me to knock out entire test route runs over the course of a few hours, when it was taking 2 or 3 days before. It's a gamechanger.
TASvideos Admin and acting Senior Judge 💙 Currently unable to dedicate a lot of time to the site, taking care of family. Now infrequently posting on Bluesky
warmCabin wrote:
You shouldn't need a degree in computer science to get into this hobby.
TASVideosGrue
They/Them
Joined: 10/1/2008
Posts: 2785
Location: The dark corners of the TASVideos server
om, nom, nom... sweet!