Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
Oh, yeah! As long as FCEUX works like its supposed to and not lag/crash on me, I'll be glad to put that to use. :] BTW, did you hear that I found a glitch in this game? I won't hesitate to abuse it because it does help. Haha... In my recent submission that I later turned down:
Inaccuracy of MP: If for any reason that Willow acquires a large amount of MP (80 for example) within a small number of movie frames, the game has to sit there and count every single digit (31, 32, 33, 34, etc.) until it finally gets where it needs to be. If a large amount of MP is in queue which I am sure that's exactly how their system works, then it does take a certain amount of time to count them all up. Now, if the game is still counting a large amount of MP and not being aware of Willow using any magic spell during that point, then it is strict that this is a nicely known glitch. When the game finally gets done counting MP back where it needs to be, then it regains its accuracy and will keep track of magic spells that was used again. If for any reason that Willow leaves the screen while MP is still counting up, that means the game has to halt counting MP for a moment and focus on taking Willow to the next screen - then it gets back into counting MP.
Abusing "inaccuracy of MP glitch": This was effectively used during a level-grind toward Nockmaar. This is done by making sure all red ghosts are gathered in one pile as quick as possible and as close to one side of the screen that it can get to without touching Willow. From that point, the goal was to kill them all with the Devil Eye sword BUT making sure Willow does NOT touch MP balls during the course of killing them all. Once all red ghosts are killed and there are several MP balls piled up, it's easy for Willow to get several or all of them in one shot, put the MP in queue, and immediately use the nearest side of the screen to manipulate red ghosts' appearance nearby. This glitch technique allows Willow to use his Thunder spell about 5 to 7 times, instead of 4, before having to score more MP from red ghosts.
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
theaxeman wrote:
--Simple Willow script by TheAxeMan

lastx = 0
lasty = 0
relx = 0
rely = 0

function showWillowCoords()
  relx = memory.readbyte(0x00cb)
  rely = memory.readbyte(0x00ca)
  gui.text(relx-20,rely,relx..","..rely)

  xmove = math.abs(relx-lastx)
  ymove = math.abs(rely-lasty)
  gui.text(relx-20,rely-10,xmove..","..ymove)
end;

gui.register(showWillowCoords)

while (true) do
  lastx = relx
  lasty = rely
  FCEU.frameadvance()
end;
I had problems with the script. Everytime Willow leaves a screen from the left, I kept getting a "willow.lua:11: bad coordinates" error pop-up. I tried to see if there was a possibility to act like Zelda and use more precise pixel positioning where you leave one screen and then find yourself on the other side - I can't exploit that unless I have a LUA script (as long as this is not in the form of cheating). If I can even get a LUA script that would allow me to glitch my way through certain walls, maybe I might get around that treasure chest one screen north of the Thunder house and go straight to Nockmaar because it is linked together.
Ambassador, Experienced player (709)
Joined: 7/17/2004
Posts: 985
Location: The FLOATING CASTLE
To prevent the error you need to add checks so it doesn't use gui.text with bad coords. Also, lua can't magically generate glitches. Unless you know something about how the glitches work, it's unlikely that a lua script would help you glitch through walls. Add this code to the script and change the gui.text lines to call this function:
function safeText(x,y,text)
  if x > 0 and x < 255 and y > 0 and y < 240 then
    gui.text(x,y,text)
  end;
end;
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
I'll give it another shot. Then I can always go back to 0.98.28 to do the entire 4th draft but still submit as an FM2.
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
Not to bump or anything, but I think I just found something out. As I seek to get back in the game, I think the Muzh battle strategy that AxeMan demonstrated allowed me to throw one more red flag, kinda like football where a head coach challenges a play. Here, I'm challenging that I can defeat Muzh not only without a shield, but also without the need to level-grind toward 2000 ex. As I seek to get a 4th draft, my new Muzh strategy will involve getting in a safe position, dodging rapid needle shots, moving closer toward Muzh, taking a couple of swings (as it would be against Bogarda where one swing is three hits), and getting back into a safe position before a Muzh needle hits me. This will indeed involve manipulation, positioning, very strict HP management, and sword control. Since Bogarda gives 700 ex. while a dumb enemy gives away 10, I can settle for 710 ex. at level 4 to ensure this Muzh strategy is decent. Besides, why be at 700 ex. on level 3 when you're 10 ex. closer to the next level anyway?!
Player (36)
Joined: 9/11/2004
Posts: 2630
Besides, why be at 700 ex. on level 3 when you're 10 ex. closer to the next level anyway?!
Is it faster to be at level 4? If it's faster then ok, but if not just hold off.
Build a man a fire, warm him for a day, Set a man on fire, warm him for the rest of his life.
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
everything increases. strength, agility, and defense (if Willow was holding a shield). it's how it was programmed! ^_^
Player (36)
Joined: 9/11/2004
Posts: 2630
As in, how many frames does it take to kill 1 monster vs. how many frames do you lose at the boss battle as a result of being level 3 versus level 4?
Build a man a fire, warm him for a day, Set a man on fire, warm him for the rest of his life.
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
I don't think the player should lose an overwhelming number of frames based on exp. adjustment, killing enemies, and defeating bosses. It's basically the way that it was planned in the best way possible. Let me explain: For the way I been constantly putting up runs, it can be about the number of frames lost as long as it is not too many. But it has been about the number of frames sacrificed between the point of reaching 710 ex. and the end of the Muzh battle - which I believe would make a huge difference of a lot of frames saved afterwards. I already planned it out! And overall, I could save about 20 to 45 seconds just by not level-grinding toward 2000 ex. (before the Muzh battle) and not obtaining the Gold Shield. My only concern for this strategy is that it can take a little bit longer to defeat Muzh - as a result of avoiding a shield and reaching a higher level. But if it comes out with a lot of frames saved, then I figured it shouldn't be a big deal. For the way that I have that part of the game planned out, along with a better way to abuse the "inaccuracy of MP" glitch more, this means I think the run can be once again improved.
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
Okay, this is a preview of what will be in store for my 4th draft: http://dehacked.2y.net/microstorage.php/info/1814631/willow-P0rtal0fRain-new-strategy-preview.fcm For my 3rd draft, Muzh was defeated at 89563. On this new strategy I planned, it was 86617. I saved at least 49.1 seconds (2946 frames) as a result of this new strategy. The movie is indeed an unofficial WIP because I have to shape up the exp. adjustment a little. Again, this will involve:
  • AxeMan's needle-dodging technique
  • no shield (more challenging)
  • no need to level-grind to 2000 ex. but can settle for 710
  • improved exp. adjustments, and
  • a better abuse of the "inaccuracy of MP" glitch I recently discovered!
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
Okay, starting the 4th draft the other day. Plenty of time to get things done. I took a lot of time and re-records to get to this point. I am already at the end of the Muzh battle. At this point, consider Willow "the next Rockman!" If Rockman can die after defeating a boss and still advance in the game, here, Willow is able to do the same after defeating Muzh! Throughout the draft and carefully planning ahead, I chose to phase out unscheduled sword-poking and use stop-and-go, instead, to manipulate random enemy encounters. Also, I said that I was going to be on level 4 with 710 ex. and ignoring the Gold shield pickup, and I kept it as a promise. These new strategies I planned along with the optimizations have saved me over a minute so far! I can't wait until this is done.
http://dehacked.2y.net/microstorage.php/info/820131848/NES.willow.P0RTAL.0ƒ.RAIN.[draft.4].fcm
Edit: What a weird glitch. It is game-over after scrolling through the Muzh event. I'll have to fix that. Hopefully, it's just a minor. Edit: Yeah, a minor fix! I had to give up a few frames to make sure Willow wasn't even dead.
http://dehacked.2y.net/microstorage.php/info/783631037/NES.willow.P0RTAL.0ƒ.RAIN.[draft.4].fcm
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
Update: I have reached Nockmaar again. It's almost complete. So far, no requests for a WIP, so I'll have this finished by hopefully tonight! ^_^
Player (36)
Joined: 9/11/2004
Posts: 2630
request for a WIP plz
Build a man a fire, warm him for a day, Set a man on fire, warm him for the rest of his life.
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
I came up with an optional experiment, knowing that this game can also be just like "Crystalis" based on a wild-warp cheat:
Level Select To begin, enter the password "oBH jq2 xgI 5ve iNw g5f" When the game begins, pres SELECT to display the level number as two white blocks. To change it, hold B and press UP or DOWN to change the first number. Hold A and press UP or DOWN to change the second number. Press SELECT to warp to the desired location. Location Coordinates Gates of Nockmaar 0, 18 Tavern of the Travelers A, 9 Tir Asleen F, 19 Dew 13, F Newlyn 1A, E Po's house 13, 3 Twins Tower 8, 3 Thunder Cabin C, 10 Abang's room 18, 1B Bavmorda's guard 0, 13 Bavmorda 11, 1B
I did try that one time. It was pretty cool based on weird designs and I was able to jump almost anywhere without calling Po. If it's against submission rules here, which I am sure it is, I'm not even going to try this. And last time I did check, Willow was also on maximum level while carrying the entire collection of swords, shields, magic, and items - I could be wrong on that, though.
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
According to gameplay, when Willow reaches the top of the mountain located East of Tir Asleen castle, he has to talk with the old woman sitting up there. Ya know where she tells you to "wait and believe in a prophecy." After talking with her, Willow is able to enter Tir Asleen castle where Eborsisk awaits. Though leaving the top of that mountain, I clearly discovered that I don't need to call Ocarina back to Tir Asleen or even get the MP to do it. I am able to use death as a shortcut back to Tir Asleen and still get in to the castle that way! As far as Tir Asleen's prison trap goes, I wanted to see if it was possible to skip talking to Madmartigan and go straight to the southeast part of the cell to open the hole. Unfortunately, the game forces me to listen to Madmartigan first. A 5th draft will consist of tweaking the Tir Asleen event, and also I noticed a couple of flaws I needed to fix as well. I also noticed certain positioning and attacking patterns on the road to Nockmaar where I was able to use the Thunder spell 8 times (in the process of abusing 'inaccuracy of MP glitch') before acquiring more MP. So this upcoming draft will also focus on tweaking that level-grind process as well. Now, I don't have to adjust Willow's MP quite a bit when going into Tir Asleen and when preparing for Eborsisk. And of course I also aim for stronger abuse of that MP glitch. I predict at least 15 seconds of improvement altogether. I am throwing the red flag and challenging this game again!
Ambassador, Experienced player (709)
Joined: 7/17/2004
Posts: 985
Location: The FLOATING CASTLE
Awesome! Have you considered trying to levelup all the way before entering Nockmaar castle and then going straight to Bavmorda after beating Kael? If you can grind even more efficiently then it could be faster.
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
Yeah, I'm also planning to do comparisons in this 5th draft. I been getting a few responses saying:
  • grind to 39,340 ex. (all the way to level 13), enter Nockmaar, talk to Abang, call Ocarina to Tir Asleen, get the key to Nockmaar, call Ocarina to the Tavern, change Fin Raziel, call Ocarina to Nockmaar, get through the Madmartigan/Sorsha scene, defeat Gen. Kael, taking ~47,000 ex. to Bavmorda (hopefully, TheAxeMan, I said it right ^_^ )
And then the way I've had my drafts laid out:
  • grind to 31,340 ex., blah-blah, defeat Gen. Kael, call Ocarina to the Tavern, change Fin Raziel, enter Nockmaar for the 3rd time, taking ~39,500 ex. straight to Bavmorda.
So yeah, I'm glad you reminded me. I'll go with the first one, and then hold on to it so I can go back and do a re-run where I compare to the 2nd. If I have to, I'll upload the save state where it will take Willow straight to the frame where he begins to do a brief level-grind, or at least until the point where he reached over 30,000. This could take another month or so due to life and personal reasons, but I'll be glad to get this when I get the time. ^_^
Ambassador, Experienced player (709)
Joined: 7/17/2004
Posts: 985
Location: The FLOATING CASTLE
Cool, sounds like you have it figured out. Don't feel bad about taking your time. The goal is for the run to finish the game as fast as possible, not for you to finish the run as fast as possible. :)
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
And when I do get completely finished, the 5th draft (to be submitted) will be just like the usual. For now I will create an "encore presentation" movie where I aim for level 13 first before I go after Gen. Kael in Nockmaar. The encore presentation will be intended for educational and informational purposes only, and may not be declared my official submission based on comparison. One more thing I am willing to throw in, I will also try to tweak the Muzh battle to see if I can try to defeat him on a level 3. I discovered that you can't go any lower than that because defeating Bogarda with zero ex. promotes Willow two levels and ends up with 700 ex. coming out of Dew. Thanks, guys, and once again wish me luck. ^_^
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
Though it was possible to defeat Muzh on a level 3, Willow did have sword control as weak as he did when battling Bogarda. Basically, one sword swing inflicts three hits to a boss. In addition: Willow was 10 ex. short of the next level, and limited HP made him a ticking time bomb. The reason was that 32 hp was not enough to squeeze in a hit from Muzh to go temporarily invisible. Thus taking damage to try to save some time. In my 4th draft, Willow was able to do such thing and squeeze in a hit to finish Muzh off. But here, I fear that I wasted a number of frames trying to defeat Muzh on a lower level. The route toward Muzh's room, where certain encounters were mandatory and could not be manipulated, might be the problem in this case. 5th draft: http://dehacked.2y.net/microstorage.php/info/1386111720/willow-p0rtal0frain.fcm Save state to Muzh battle: http://rapidshare.com/files/302319540/Willow__U_____.fc5.zip.html I'm using fceu-rerecording-0.98.28. The FC5 goes into the "fcs" directory. Load the movie as read-only and hit F5 to load the save-state, or you can watch the progress. ^_^ Edit #1: As I studied both drafts, on the very frame that Muzh was defeated (right where exp. started changing), I only saved 25 frames! It's frames 85630 on the 4th draft and 85605 on this one. Doesn't look much, but as I said, this is a tweak using everything we know. I think now we're in business! ^_^
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
Update: Okay, I once again reached the part of Thunder mountain straightaway to Nockmaar Castle where I level-grind once again toward 13. I discovered that due to even more precise positioning and movement, I was able to destructively abuse the inaccuracy of MP glitch. This time, Willow was able to use the Thunder spell 9 times before he would hand-fight the red ghosts for more MP again! As far as exp. points goes, Willow gains 2600 in the process. That means 8 ghosts defeated by hand for 800 ex. (800) and using Thunder to defeat 18 ghosts (9 sets of 2) altogether for 1800 ex. more. 800 + ([9 x 2] x 100) = 2600 BUT, in order to be this destructive and ensure Willow was able to pull 9 uses of the Thunder spell every time, he has to be at the right coordinates on the screen at the right time! Also, Willow has to know when to at least sword-poke to push the ghosts back. After several different ways, I finally found a pattern that will put me in the driver's seat of destructively abusing the glitch. Now if I don't understand the exact coordinates to be at, then it can be impossible to score 9 uses of the Thunder spell. So I dug into the toybox and found this LUA script:
--Simple Willow script by TheAxeMan

lastx = 0
lasty = 0
relx = 0
rely = 0

function showWillowCoords()
  relx = memory.readbyte(0x00cb)
  rely = memory.readbyte(0x00ca)
  gui.text(relx-20,rely,relx..","..rely)

  xmove = math.abs(relx-lastx)
  ymove = math.abs(rely-lasty)
  gui.text(relx-20,rely-10,xmove..","..ymove)
end;

function safeText(x,y,text)
  if x > 0 and x <255> 0 and y < 240 then
    gui.text(x,y,text)
  end;
end;
With that LUA script, I will finally consider that a very useful tool during the course of level-grinding. After I found my pattern of movement and positioning, I saved the movie, copied it, and used it in another FCEU window so I can mirror what Willow is doing based on positioning as I record frame-by-frame. Yes, it does work in FCEU 0.98.28 as well. Thanx, AxeMan! This will help me a lot. ^_^
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
Okay, more input: How many of you ever ran two emulators at the same time and what was your purpose? I am doing this to mirror Willow's movement and its coordinates frame-by-frame, as shown here: This is to ensure I follow my new positioning pattern smoothly. It may look like I am seeking to loop this pattern and it may look annoying. But without this pattern, I can't abuse the inaccuracy of MP glitch destructively.
Player (36)
Joined: 9/11/2004
Posts: 2630
Would it be possible to simply create a macro?
Build a man a fire, warm him for a day, Set a man on fire, warm him for the rest of his life.
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
Okay, as much as I used FCEU & X, I never learned how to create macros and I thought it wouldn't help.
Banned User
Joined: 12/5/2007
Posts: 742
Location: Gone
After an all-evening battle, my 5th draft is complete. The encore presentation of my 5th draft is my next thing to do. My new record is now 1:05:56.65 after I did the whole FCM/FM2 conversion. The reason it will take long is simply because I have the encore presentation to take care of and I'm afraid I have a lot to write about my improvement of ~15 seconds. There are several things I have covered in this game, but there are more. Update: I hereby regret to inform that I will postpone the encore movie. I got way too much too my hands to where I have to take a load off. It could take months to complete, but the movie that I already took care of will be posted on the workbench soon.