• Emulator used: dega-1.16pre1-win32-z80jb MAME core
  • Aims for fastest in-game time
  • Takes damage to save time
  • Aims for 100% collection
  • Plays all levels
  • ROM used: Kenseiden (UE) [!].sms (the (J) ROM desyncs right after the first boss)
About the game
Kenseiden stars Hayato, a samurai that has to fight against warlocks and evil spirits that plague 16th century Japan. The warlocks stole the five secret scrolls and the sword of the Dragon Lord. Hayato, who has dragon blood in his veins, must recover the scrolls and sword and enter the castle and kill Oda Nobunaga.
In the original Japanese version, Hayato is blond. In the Western versions he has black hair.
About the run
I really suggest that you don't read any of this before seeing the TAS itself.. o_o
This run was started when I was paying attention to the 100% Kenseiden run, rewatching it for the second time (that happened when I started voting on videos at the site) and suddenly I remembered that climbing the statue in stage 9 could teleport us 2 floors up, saving exactly 1300 frames on tests, and summing up with the missing of stage 7, which made me lost 1000 frames for being a longer stage comparing to a revisit of stage 10.
Numbers of stages: I learned them because of the instruction manual, it had the names, and the order is the same one you get when using the cheat for choosing a stage to start (never used it to play, because not getting the high jump technique made the game impossible to beat) ... stages 1, 3, 7, 11 and 12 have the same music and no boss, 2 and 9 have a ruined house as theme, and bosses wheel and larva, 4 and 13 have waterfall as theme, and bosses big guy and eyeball, 10 and 15 have japanese theme and bosses two-headed worm and blue skull, stage 16 is that final one with a red castle, and the final bosses. Practice rooms are stage 5, 6, 8 and 14.
Started playing around, managed to get 28 frames better easily on the first 4 stages, and then lost 16 of them in the cave, which made me restart and search for what I did better, and then it lead to...
Tricks and glitches
Hayato moves 1 pixel per frame when walking right, left or jumping right, but on left jumps, we can press left once more and he will be faster than this, around 1,0625 pixels per frame, this saved around 12 frames per screen.
The game only accepts input on half the frames, and that depends on the scene we are in. It's odd or even, can change a lot, but not during the same scene, the game has no lags at all.
There are two types of floor in which Hayato can walk: platform, that recalculates his Y position while keeping the X speed at 1, and ground, that recalculates his Y position but sets X speed to 0.
Landing: when the floor is ground, we can land on good frames, which are the ones that set our Y position to the same one as the floor. Example: we're falling at speed Y 3 and 255 for subpixel, which goes 4 pixels per frame. Y floor being 127, if we're at 123 on the frame that accepts input, he will fall directly on 127, which will make we not lose frames, other values, 126, 125, 124, 122, 121, 120 .. make him lose 2 frames. 2 frames per jump made me gain around 170 frames in the end. 119 makes him lose 1 frame, which leads the game into making us lose the other one on a screen transition.
Attacking in mid-air is preferred, because Hayato keeps going right or left depending on the situation. This attacks had to be made 16 frames before landing, or else he will pose there, with 0 X speed and lose 2 to 14 frames. I only lose 2 on rare times, when it's impossible to make an enemy rise enough to be hit before.
Jumping on ladders: Hayato actually climbs up ladders a little faster and is recalculated for 3 pixels of gaining in one frame when we press up on the ladder at a good situation.
Taking damage: when we can't take an enemy out without losing frames, there is the trick that makes it possible to go through them, we just have to be hit by an enemy that cames from our back. Tests indicate that this is faster than going back for 10 frames or more to gain space to jump over something.
Some enemies walk with us, that being said, I don't need to attack them, they just go with me, walking back. This saved frames on 1 situation or 2.
Snakes are ground enemies that can hit us with their heads or tails, but their bodies are not considered, so we can walk inside them, only when they are striking. This didn't save frames, but it looks really cool.. =P
Luck Manipulation
Random variables have little use in this game, but enough to not being a good idea to hex-edit, these are the moments that can change completely: falling rocks can change direction randomly, blue fiends can jump right or left, flying bubbles are harmful and can change speed, and the final boss' shots change their flights' directions.
Data dump
Every attack costs exactly 16 frames: standing attack, jumping, crouching, "tcheufa", "faish", "kaoshi" but two of them costs only 2: "dancing" berserker, and the "pling"
- "tcheufa" is done with up+1 after defeating the second boss. 16 frames lost, avoided using it too much.
- "faish" is done in air, up+1 after defeating the third boss. 16 frames in air, not a problem.
- "kaoshi" is done while crouching, button 1 after defeating the fourth boss. 16 frames lost + 2 to crouch.
- "dancing" is acquired after the fifth boss. Hold up while walking and the sword balances around.
- "pling" is your frame saving attack in many situation, we just have to start holding 1 after any attack or landing, and then crouch. After a pling, we have to jump front to avoid losing 4 frames, as the game recalculates our crouch position and our standing one.
- Standing and crouching attacks are only used when I have to wait for a pike to move away, or in bosses.
- Taking damage cost 24 frames of non-moving Hayato, with 3/4 of speed, which means only 6 frames lost if you're pushed front.
- Of course I can't take any damage during training stages, getting hit inside those rooms means losing and restarting the whole scene.. =P
Memory Watch on MHS got these good memory positions that made the calculation of good frames to land very easy:
00D44153- X position subpixel, made me realize that sometimes I was losing frames when turning, and it was fixed.
00D44154- X position on screen (stops when it's moving), helped me because it changes on bosses for better positions.
00D44155- Y speed subpixel, that was on the formula, button 2 changes it by summing less Y speed each frame.
00D44156- Y speed, it's negative when we're going up, and positive when we're falling.
00D44157- X speed subpixel, the reason I discovered that left jumps are faster.
00D44158- X speed, it's 1 when going right, 255 when going left, 254 (with subpixel 240) when jumping left.
00D49F4C- Y position, not the only one, but one was enough to make calculations, even if it gets weird numbers when Hayato take damage..
00D44151- This one changes during jumps, but it didn't help at all =P
Round by round comments
1- Higo. the starting level
The new strategy was to not take damage at the end, leading to having to deal with that final enemy differently. Frames saved so far: 8
2- Chikuzen
This is where jumping left shows how weird this game was programmed, I actually think now that the jumps to right are the glitchy ones. Frames saved so far: 38
Boss- Fire Wheel Warlock
Didn't change much, but walking inside two fires looked nice to me, so I went with that. Between 7th and 8th attack it looks like a gap, but the boss has to die closer to the floor, really. Frames saved so far: 40 (2 for having more HP after the boss, actually)
4- Iyo
Most improvements here were on ladders, few left jumps, but the rock avoiding was the best part, aside with the snake walking, of course. Frames saved so far: 66
Boss- Benkei Warlock
Didn't have anything to improve, except that I could fight him without turning left for half of the battle. Frames saved so far: 66 yet
5- Tosa (Training Stage)
Plinging some arrows proved really helpful in this run. Frames saved so far: 308
4- Iyo (revisited)
This is the only stage I could perform a 132-136-140-143 jump... this doesn't look special on the run, but seeing the Y position like that on MHS was nice =P Frames saved so far: 308 yet
3- Nagato
Tried to have all jumps on good frames, and.. I did it \o/ Sadly I couldn't step on the skull for no damage like before because of subpixels.. Frames saved so far: 324
6- Izumo (Training Stage)
This one is the hardest on normal playing. Could play around more because the timing of pikes is terrible.. Frames saved so far: 326
9- Kaga
New path here, it saved almost two floors from being visited. Frames saved so far: 1638
Boss- Larva Fly Warlock
Could hit the boss faster, but that skull in the cave made me lose 2 frames here for HP, it was 2 here or 2 there, chose this one because less jumps equal less time. Frames saved so far: 1642
7- Settsu
Bubbles flying, fishes jumping, longer stage, can't compare the videos.. Rough estimate: 1032 frames slower
8- Yamato (Training Stage)
I only can tell that I could save frames here. Rough estimate: 6 frames faster
10- Iga
Could walk around a little more for almost the same number of jumps, and escaped a beach ball. Rough estimate: 22 frames faster
Boss- Two-Headed Warlock
Hitting both heads on the two first jumps made me lose the achievement of killing the strongest one first.. But managed to glitch the jingle out! =P Frames saved so far: 637
11- Owari
Like the cave, the forest is a big field for better jumping and landing. Frames saved so far: 677
13- Suruga
Second waterfall stage didn't change that much, except for ladders and the scene where I go left. Frames saved so far: 703
Boss- Putrid Eye Warlock
Couldn't do the boss come any lower, it actually starts going back up right after the fight if we stop the movie there. Frames saved so far: 701 (actually lost frames because of HP refilling, but that is because of the fruit, it's not coming on this stage anymore)
12- Etchu
This stage is so random I could get a desync without hex-editing. Nothing to report, all floor is platform here. Frames saved so far: 703
14- Echigo (Training Stage)
Could make the fruit come from an arrow, yay, and not stop for waiting the arrows. Frames saved so far: 755
15- Mito
Better berserking got me to less jumping. Frames saved so far: 759
Boss- Death Head Warlock
Sometimes, stopping for 2 frames is a lucky time saver. Frames saved so far: 773 (all leaving the stage, the boss battle itself has the same number of frames)
16- Edo
All more careful jumping, and actually had to skip one perfect landing here because of 4 enemies in a row, it's right before the final ladder.. Frames saved so far: 785
Boss- Yonensai
Not sure if this one is Yonensai, but, actually got better luck with jumps and X speed managing.. Frames saved so far: 791
Final Boss
This one is a pain in the ass, alright... decided to go crazy and not wait for him to put his weapon back.. more damage, less time waiting equals less time .. Final count: 868 frames faster
Conclusions
Many thanks to AngerFist, and Neofix, Mklip2001, Keirden, Adelikat, Klmz, and whoever else that helped on the TASing work, maybe it didn't get to a really high number of rerecords, but that's mostly because I learned the formulas to land in good frames, and a formula to attack and not lose frames landing too soon, ...
Anyway, I hope people enjoy the work and please don't try to obsolete it by skipping Settsu, it's a nice region to be seen, and has those bubbles that are really random and look nice and escapable on the video, the bubbles on Edo have much less randomness... ._. unless, of course, you discover a different new trick that saves another big amount of frames >_>

Mukki: Judging...
Mukki: Accepting as an improvement to the currently published run.
sgrunt: Processing.


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15580
Location: 127.0.0.1
This topic is for the purpose of discussing #3289: Jungon's SMS Kenseiden "100%" in 13:02.55
Editor, Experienced player (570)
Joined: 11/8/2010
Posts: 4036
Looks great. I'll wait for an encode before voting.
Joined: 12/22/2009
Posts: 291
Location: Michigan
Never even heard of this game before. I'll encode it.
Current projects: Yoshi's Island Disassembly Yoshi's Island any% TAS with Carl Sagan
NitroGenesis
He/Him
Editor, Experienced player (556)
Joined: 12/24/2009
Posts: 1873
Hi Jungon. Are you going to improve the any%? Or will you do a new revision of Master of Darkness?
DarkMoon wrote:
Never even heard of this game before. I'll encode it.
Good luck with the encode. Dega is hard for some people because it doesn't have a built-in AVI recorder <_<
YoungJ1997lol wrote:
Normally i would say Yes, but thennI thought "its not the same hack" so ill stick with meh.
Jungon
He/Him
Player (50)
Joined: 4/2/2009
Posts: 376
Location: Porto Alegre - Brazil
NitroGenesis wrote:
Hi Jungon. Are you going to improve the any%? Or will you do a new revision of Master of Darkness?
Well, Master of Darkness still needs a complete reformulation of routing, but given time, I'll be working on it.. The any% run sure can be redone with the same strategies, but first I'm more curious about the statue warp, maybe it can define a new route that can be faster ... AngerFist said 35 seconds if I remember well, but "faish" is much more useful on the final bosses than "kaoshi"... well, still deciding what to do next .. =P EDIT: I'm a little more inclined to Mickey Mouse's Land of Illusion next, but I really need to learn this 'dance with the music' technique, how can I perform rhythm moves if frame advance has no music at all? @__@
*Jungon*/*Johnnyz* smilie weirdo =P ^^ o.o @__@ +D
Joined: 12/22/2009
Posts: 291
Location: Michigan
NitroGenesis wrote:
DarkMoon wrote:
Never even heard of this game before. I'll encode it.
Good luck with the encode. Dega is hard for some people because it doesn't have a built-in AVI recorder <_<
What?! That...changes some things. My computer isn't badass enough to handle manual recording.
Current projects: Yoshi's Island Disassembly Yoshi's Island any% TAS with Carl Sagan
mklip2001
He/Him
Editor
Joined: 6/23/2009
Posts: 2227
Location: Georgia, USA
Very nice! You finished this pretty quickly. I approve of including stage #7 in the route, as you mention. The run turned out pretty stylish. The only thing I'd question is that in the stage with the fourth boss (the double-headed guy), you make a lot of stops to kill enemies. I figure you did that to have full health for the boss battle. Is full health necessary to do the jingle skip that you do? All in all, great job, especially in the practice rooms. Those look particularly fluid! Congratulations on your first submitted run, and I vote Yes.
Used to be a frequent submissions commenter. My new computer has had some issues running emulators, so I've been here more sporadically. Still haven't gotten around to actually TASing yet... I was going to improve Kid Dracula for GB. It seems I was beaten to it, though, with a recent awesome run by Hetfield90 and StarvinStruthers. (http://tasvideos.org/2928M.html.) Thanks to goofydylan8 for running Gargoyle's Quest 2 because I mentioned the game! (http://tasvideos.org/2001M.html) Thanks to feos and MESHUGGAH for taking up runs of Duck Tales 2 because of my old signature! Thanks also to Samsara for finishing a Treasure Master run. From the submission comments:
Shoutouts and thanks to mklip2001 for arguably being the nicest and most supportive person on the forums.
Jungon
He/Him
Player (50)
Joined: 4/2/2009
Posts: 376
Location: Porto Alegre - Brazil
mklip2001 wrote:
The only thing I'd question is that in the stage with the fourth boss (the double-headed guy), you make a lot of stops to kill enemies. I figure you did that to have full health for the boss battle. Is full health necessary to do the jingle skip that you do?
Actually, the jingle skip happens rarely when "kaoshi" is performed, depending more on the situation, it can make events not start, but this stage sure is one of the hardest, too much enemies on some parts require more planning, especially the ones coming from behind.. +_+ Strangely I didn't know the jingle was cut out, until rewatching that part with sound, I was already 3 stages ahead ... XD
*Jungon*/*Johnnyz* smilie weirdo =P ^^ o.o @__@ +D
Editor, Emulator Coder, Expert player (2156)
Joined: 5/22/2007
Posts: 1134
Location: Glitchvania
Jungon wrote:
NitroGenesis wrote:
Hi Jungon. Are you going to improve the any%? Or will you do a new revision of Master of Darkness?
Well, Master of Darkness still needs a complete reformulation of routing, but given time, I'll be working on it..
I am still inactively working on this, though I haven't beat Stage 2 yet. What do you think about it?
Jungon wrote:
EDIT: I'm a little more inclined to Mickey Mouse's Land of Illusion next, but I really need to learn this 'dance with the music' technique, how can I perform rhythm moves if frame advance has no music at all? @__@
By trial & error.
<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
Player (210)
Joined: 7/7/2006
Posts: 798
Location: US
Jungon wrote:
but I really need to learn this 'dance with the music' technique, how can I perform rhythm moves if frame advance has no music at all? @__@
Klmz mentioned trial and error, which I assume implies something like picking a beat and playing the movie back to determine if you need to edit the movie to move earlier or later. I usually do it a bit differently though. To eliminate the need for switching between read only and playback, I usually just mash savestates and pause while on normal speed to try to isolate the sound of the beat that I am looking for and determine the exact frame it is on. Then once I've determined this, I really only need to put in the input once. I'm sure both ways have their pros and cons, but it is tedious business for sure.
Patashu
He/Him
Joined: 10/2/2005
Posts: 4043
Another thing you can do is time how fast the music is (and thus calculate frame difference between beats) then you only need to find the exact time location of one beat to know when the rest are.
My Chiptune music, made in Famitracker: http://soundcloud.com/patashu My twitch. I stream mostly shmups & rhythm games http://twitch.tv/patashu My youtube, again shmups and rhythm games and misc stuff: http://youtube.com/user/patashu
Active player (437)
Joined: 4/21/2004
Posts: 3517
Location: Stockholm, Sweden
"Thou has definitely bested this game". Beautiful run mate, congratulations and here is a well-deserved yes vote!
Nitrogenesis wrote:
Guys I come from the DidyKnogRacist communite, and you are all wrong, tihs is the run of the mileniun and everyone who says otherwise dosnt know any bater! I found this run vary ease to masturbate too!!!! Don't fuck with me, I know this game so that mean I'm always right!StupedfackincommunityTASVideoz!!!!!!
Arc wrote:
I enjoyed this movie in which hands firmly gripping a shaft lead to balls deep in multiple holes.
natt wrote:
I don't want to get involved in this discussion, but as a point of fact C# is literally the first goddamn thing on that fucking page you linked did you even fucking read it
Cooljay wrote:
Mayor Haggar and Cody are such nice people for the community. Metro City's hospitals reached an all time new record of incoming patients due to their great efforts :P
Jungon
He/Him
Player (50)
Joined: 4/2/2009
Posts: 376
Location: Porto Alegre - Brazil
klmz wrote:
Jungon wrote:
EDIT: I'm a little more inclined to Mickey Mouse's Land of Illusion next, but I really need to learn this 'dance with the music' technique, how can I perform rhythm moves if frame advance has no music at all? @__@
By trial & error.
Kirkq wrote:
Klmz mentioned trial and error, which I assume implies something like picking a beat and playing the movie back to determine if you need to edit the movie to move earlier or later. I usually do it a bit differently though. To eliminate the need for switching between read only and playback, I usually just mash savestates and pause while on normal speed to try to isolate the sound of the beat that I am looking for and determine the exact frame it is on. Then once I've determined this, I really only need to put in the input once. I'm sure both ways have their pros and cons, but it is tedious business for sure.
Patashu wrote:
Another thing you can do is time how fast the music is (and thus calculate frame difference between beats) then you only need to find the exact time location of one beat to know when the rest are.
One frame, one time, that sounds reasonable, and not too much tedious business.. +D I don't think there will be long moments of pause since the glitches keep appearing more and more... xP
AngerFist wrote:
"Thou has definitely bested this game". Beautiful run mate, congratulations and here is a well-deserved yes vote!
Thanks +D .. ... do we need a recalculation of routes for the any% run? I think the 1-2-3-6-9-12-16 way got a really good shortcut and the 1-2-3-7-10-11-12-16 way didn't..
klmz wrote:
Jungon wrote:
NitroGenesis wrote:
Hi Jungon. Are you going to improve the any%? Or will you do a new revision of Master of Darkness?
Well, Master of Darkness still needs a complete reformulation of routing, but given time, I'll be working on it..
I am still inactively working on this, though I haven't beat Stage 2 yet. What do you think about it?
I was at first shocked for being acknowledged about more speed tricks, but on the second watch, I thought you were getting too many bomb items, .. then I played around with the start of stage 2-1, and the bombs can do a much cleaner path there, so the tricks can really beat all of my WIP's times with complete seconds ahead +_+ maybe we could work together, or maybe, you don't need me at all, I'm more inclined to working together, since there really is no 'expiring deadline for submitting' or something like that.. XD --- I actually can't wait to see the encode, even if I already re-watched the run a 1000 times here... is this normal? XD
*Jungon*/*Johnnyz* smilie weirdo =P ^^ o.o @__@ +D
Joined: 7/20/2010
Posts: 25
Angerfist you've got me curious, now I'll be waiting eagerly for the encode
sgrunt
He/Him
Emulator Coder, Former player
Joined: 10/28/2007
Posts: 1360
Location: The dark horror in the back of your mind
512 up in the submission text; downloadable here.
Editor, Experienced player (570)
Joined: 11/8/2010
Posts: 4036
sgrunt wrote:
512 up in the submission text; downloadable to follow.
Is the 512 supposed to be that glitched up?
sgrunt
He/Him
Emulator Coder, Former player
Joined: 10/28/2007
Posts: 1360
Location: The dark horror in the back of your mind
CoolKirby wrote:
sgrunt wrote:
512 up in the submission text; downloadable to follow.
Is the 512 supposed to be that glitched up?
Define "glitched up" - it looks and plays back fine here.
Editor, Experienced player (570)
Joined: 11/8/2010
Posts: 4036
I'm getting this for 2/3 of the 512kb encode: EDIT: Downloadable encode looks perfect for me though.
Jungon
He/Him
Player (50)
Joined: 4/2/2009
Posts: 376
Location: Porto Alegre - Brazil
It reads just a little less glitched than that here, but it crashes completely when the music tries to change after stage 1 ... O_o
*Jungon*/*Johnnyz* smilie weirdo =P ^^ o.o @__@ +D
Editor, Experienced player (570)
Joined: 11/8/2010
Posts: 4036
Well, I watched the downloadable encode all the way through and it looks fast. Nice job on the improvement! Voting Yes.
Editor, Experienced player (885)
Joined: 1/23/2008
Posts: 529
Location: Finland
This game has a nice setting. And the playing is good, so yes.
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15580
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. ---- [1881] SMS Kenseiden "100%" by Jungon in 13:02.55
Joined: 1/4/2011
Posts: 35
Great job! Is the audio out of sync for anyone else? It's fine in the beginning, but it gets progressively off as it goes on.
Jungon
He/Him
Player (50)
Joined: 4/2/2009
Posts: 376
Location: Porto Alegre - Brazil
The audio progressively desyncs here too.. +_+ didn't see it before to the end, I think it gets to 1 second late at the last level O.o Is this a Dega problem or a encode problem? @__@
*Jungon*/*Johnnyz* smilie weirdo =P ^^ o.o @__@ +D
Publisher
Joined: 4/23/2009
Posts: 1283
It's an encode or playback problem as I have no problems in the encode I've made and about to post in this thread.