Post subject: Sword Master (improvement)
ventuz
He/Him
Player (126)
Joined: 10/4/2004
Posts: 940
I'm working on a new run that's intended to obsolete FunkDOC's run. I have it faster around 88 frames so far, but I have mystery problem with wizard boss at the end of first level. I have embarrassingly lost 11~14 frames in the wizard boss itself, I tried to review FunkDOC's run over and over - I cannot locate what he do to kill wizard very quickly. Here I timed for comparative, when text turn from "XP" to "ENEMY" - the beginning.. and when wizard dies, burst in fire (just like my avatar right now) - the ending. It took FunkDOC 315 frames to complete it and it took me 326 frames to complete it. Anyone know how to contact FunkDOC (or JoshDOC? or Josh the FunkDOC?) Or could anyone help me with this part?
Former player
Joined: 10/1/2006
Posts: 1102
Location: boot_camp
Does FCEU has a "show input" function?
Borg Collective wrote:
Negotiation is irrelevant. Self-determination is irrelevant. You will be assimilated.
ventuz
He/Him
Player (126)
Joined: 10/4/2004
Posts: 940
yes
Joined: 10/3/2005
Posts: 1332
ventuz wrote:
Anyone know how to contact FunkDOC (or JoshDOC? or Josh the FunkDOC?) Or could anyone help me with this part?
Personal Messaging? Find one of his posts and press the "pm" button at the bottom of each post.
ventuz
He/Him
Player (126)
Joined: 10/4/2004
Posts: 940
.. I'm not stupid.. Is there any point to PM to those who hasn't been around this forum for days? Anyway, I have finally found his contact info.
Joined: 10/24/2004
Posts: 60
Location: Quebec
Can you post a WIP?
ventuz
He/Him
Player (126)
Joined: 10/4/2004
Posts: 940
ok here is the WIP.
MESHUGGAH
Other
Skilled player (1919)
Joined: 11/14/2009
Posts: 1353
Location: 𝔐𝔞𝔤𝑦𝔞𝔯
This movie finishes the first level probably 48 frames faster than published [2272] NES Sword Master by ventuz in 05:14.70 I won't continue this on my own (boring jump optimizations), but it's easy with the lua script to see when you lose speed. I'm looking for someone to continue it (co-authors).
    Jumping is 1.5px/f while walking is 1.0px/f When you attack, you will have 0 speed for 1 frame. Attack when you get 1px/f (so you sacrifice the lowest ammount of position) You can jump 3 times in a row Fights are optimized for sure
Simple LUA script: http://pastebin.com/zQ9vxma2
Language: lua

local px, py, pxs, pys local lpx = 0 local lpy = 0 local function Stuff() if (memory.readbyte(0x1b) == 2) then px = memory.readbyte(0x423) + memory.readbyte(0x620) + memory.readbyte(0x621) * 256 else px = memory.readbyte(0x423) + memory.readbyte(0x624) + memory.readbyte(0x625) * 256 end -- for level 1, 624 and 625 py = memory.readbyte(0x425) pxs = px - lpx pys = py - lpy gui.text(120, 24, string.format("X: %3d (%2d)\nY: %3d (%2d)",px, pxs, py, pys)) gui.text(186, 24, string.format("XP: %3d|%3d", memory.readbyte(0x6dc), memory.readbyte(0x6da))) lpx = px lpy = py end emu.registerafter(Stuff)
PhD in TASing 🎓 speedrun enthusiast ❤🚷🔥 white hat hacker ▓ black box tester ░ censorships and rules...
Site Admin, Skilled player (1255)
Joined: 4/17/2010
Posts: 11495
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
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.