Cacoma Knight is an action/puzzle game where you need to cut the board into pieces. Each cut will paint the smaller section, until enough of the board is painted. In this run, I save lots of time mostly from cutscenes, load time, and lag. However, nearly every level is improved as well thanks to a number of tactical changes.

Major Strategy Differences from existing run:

Version:

I use the Japanese version of the game. For the most part, the games are identical. However there are some differences that are useful for a speedrun. First off: There are three less levels in the J version. Levels 6-1, 6-2, and 6-3 from the USA version are removed, resulting in only 18 levels instead of 21. World 7 is then renamed as world 6.
It makes the most sense to compare (J) level 6 to (USA) level 7. USA level 6 appear to be the added levels.
  • 6-1 (J) requires 75%, compared to 7-1(USA) requires 86%
  • 6-2 (J) requires 80%, compared to 7-2(USA) requires 86%
  • 6-3 (J) requires 90%, compared to 7-3(USA) requires 88%.
Thus the (J) version is shorter, and a bit easier on 6-1/6-2 but a bit harder on 6-3. This is worth roughly 1 minute of savings due to having 3 less levels.
The (J) version also loads levels MUCH MUCH faster. It's about 1 second of saved loading time on every level, for a total of 18 seconds over the run. Both versions are poorly coded and contain a lot of lag/loading frames, but the (J) version seems at least better.
Additionally, as with many games, the (J) version has less frames spent on text. This only effects the villain's speech and is neglible, but it helps.

Characters:

I choose the 2 fast characters, instead of the previous run which used 1 medium and 1 fast. The game is poorly coded, so this actually increases the lag of the game on some levels. Many levels, however, are not effected. Some levels have few enemies, in which case the choice of faster character does not add more lag. Some levels have tons of enemies/bullets, in which case the level would have lagged regardless of the character choice. Therefore we only actually turn out worse on the few levels which fall inbetween those two extremes: The levels that contain a medium number of enemies such that having a fast character is enough to lower the FPS from 60->(30-40). Since picking this character requires entering a new menu, we hope to be able to save at least ~200 frames during the run from level time alone. I succeeded, so the choice is correct.

Mirror Fragments:

The initial reason for this run, is I noticed that the previous run collected mirror fragments, however these are actually a HUGE time waste. Avoiding collecting mirror fragments will skip the cinematic between levels, resulting in a savings of ~10 seconds per world. This nets about ~50 seconds in our run. Additionally, since we care about the treasures we get, it forces us to change our strategy on the levels. Having 2 fast characters makes this run more flexible in terms of strategies as well.

Tactical Improvements:

Avoid Vertical Box Shape:

The game is poorly coded, as I mentioned. After enclosing a box, the game must lag while it calculates which side of the line encloses a smaller area. While intuitively, we might think the time should be based on the area alone, it actually is affected by the shape too. A verticle rectangle takes longer than a horizontal one. Therefore, you save frames by getting more horizontal lines whenever possible. This is likely due to an optimization in the flood fill algorithm (go read wikipedia if you're curious).

Avoid Vertical Movement:

Similarly, the game does NOT like when players move vertically, and this causes more lag than moving horizontally. This matters on the "inbetween" levels where we want to carefully control the lag from moving too fast.

Movement on Sidelines:

You can choose to move on the sidelines at a slow speed (without drawing). You can't do this while drawing a line in the field. However, this means that at the beginning of each level, you have a bit more leeway when manipulating lag rather than having a character stand still entirely.

Lag Manipulation:

The game prefers to run at 60, 40, or 30FPS. Sometimes you can manipulate the game that is running at 30 FPS to go up to 40 FPS when the game is actually somewhere between those two values. (Likely the designers didn't want it switching frame-rate too often, so it tries to sit at one of those three levels).

Enemy Removal:

The spiral pig can be stunned when it runs into your line. This reduces lagby a lot. Other large enemies can also be destroyed if they are inside the box when it complete. However, the trade off of making a small box to get rid of the enemy is hard to balance, so I don't do it in this run (though killing an owl was almost worth it).

AI Manipulation:

The AI can be manipulated. The primary thing I manipulate is the pink rings on the last level. They fly towards the player, so by manipulating your position you can cause them to change path, and fail to collide with the line (collision in this game is also badly programmed, if you haven't noticed the pattern).

Items:

The speed boots is a very good item for a speed run. It doubles the speed of even the fastest character. However it's only used on one level, because it needs to be near the edge for it to have usefulness. A future runner should highly consider whether they can manipulate item drops to be near the corners, which would vastly improve the run (if possible).

Previous Techniques:

Aim for Minimum Percent:

This is fairly self explanatory. The flood-fill algorithm is really slow, but it's optimized to end once it determines which side is smaller. So, by aiming for the least percent, you are actually aiming to reduce the lag frames. In my case, I don't worry too much about getting the exact number, as long as it's the fastest variation. This is due to horizontal rectangles being faster, so exact percentages which require irregulare shapes are not any faster.

Level Breakdown:

WarHippy (total) (WH section) Meerkov (total) (section difference)(Net Difference)
begin 0 1286 0 286 286
1.1 1286 449 1572 -28 258
(load)1735 538 1993 -66 192
1.2 2273 449 2465 -25 167
(load) 2722 540 2889 -67 100
1.3 3262 463 3362 3 103
(load) 3725 1123 3828 -651 -548
2.1 4848 465 4300 29 -519
(load) 5313 545 4794 -73 -592
2.2 5858 461 5266 -25 -617
(load) 6319 537 5702 -65 -682
2.3 6856 591 6174 -28 -710
(load) 7447 1122 6737 -649 -1359
3.1 8569 498 7210 -22 -1381
(load) 9067 557 7686 -84 -1465
3.2 9624 492 8159 -20 -1485
(load) 10116 539 8631 -66 -1551
3.3 10655 632 9104 -40 -1591
(load) 11287 1134 9696 -660 -2251
4.1 12421 500 10170 -25 -2276
(load) 12921 556 10645 -82 -2358
4.2 13477 506 11119 15 -2343
(load) 13983 559 11640 -85 -2428
4.3 14542 600 12114 0 -2428
(load) 15142 1128 12714 -655 -3083
5.1 16270 639 13187 -44 -3127
(load) 16909 555 13782 -76 -3203
5.2 17464 558 14261 -50 -3253
(load) 18022 565 14769 -86 -3339
5.3 18587 628 15248 -65 -3404
(load) 19215 1130 15811 -35 -3439
6.1 20345 797 16906 -175 -3614
(load) 21079 526 17528 -47 -3661
6.2 21618 915 18007 -174 -3835
(load) 22400 544 18748 -65 -3900
6.3 22953 834 19227 -73 -3973
(load) 23673 1127 19988 -977 -4950
  • Note: I compared level 6 (USA) against level 6(J) even though they are different. Notice that 6(J) is harder than 6(USA) but I still saved time on each stage in world 6 anyway. I removed the times for world 7 since now there is nothing to compare to.
Final Time: 19988
WarHippy Time: 28416

Total Savings: 8428 frames (2 minutes and 20.5 seconds), 29.6% of total time!


GoddessMaria: Judging...
GoddessMaria: As far as the matter of running on the Japanese version over the US version due to having 3 less levels in comparison, it is still considered valid for submission. That being said, the author has done well in optimizing the previous run where applicable. Audience reception, however, was lukewarm thus disqualifying it from Moons. Despite that, it is still acceptable under Vault rules and it does beat the game in faster time as an Any% run should. Therefore...
Accepting to Vault as improvement to the currently published movie.
feos: Pub.


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15601
Location: 127.0.0.1
This topic is for the purpose of discussing #5848: Meerkov's SNES Cacoma Knight in Bizyland in 05:32.60
Skilled player (1417)
Joined: 10/27/2004
Posts: 1978
Location: Making an escape
No one's going to mention it? Fine, I'll mention it. I'm not entirely keen on switching the region just to skip a few levels. Although no one really cares about this game, so does it matter?
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.
Active player (410)
Joined: 10/4/2015
Posts: 99
Well, the big complaint about the previous one wasn't that it was too long, it was that there was too much loading/cutscenes. When I saw that it would be ~60 seconds faster to cut the mirror cutscenes, and ~20 seconds faster to use the (J) version due to better loading times, it was a no brainer for me to re-run the game with the (J) version. Having 3 less levels was a bonus for speed running purposes, but even without that, playing on the (J) version is still just more exciting due to less lag compared to the US version. I blame the people who imported the US version one year after the japanese release for adding levels that weren't there to begin with. It's widely known that for whatever reason, at this time in history, it was expected that US consumers wanted harder games than their Japanese counterparts, so games that imported to the US tended to have difficulty added for seemingly no reason. In this game, it comes from repeating world 5 again, but with higher percent required. No content is actually new, it's just repeated levels to make the game longer. Given all the factors, I think it's fair to use the (J) version in this case, so I did. It's the US version which increased the length of the game, but I don't think the increased length is more entertaining than the faster loading times and overall quicker playthrough.
Skilled player (1023)
Joined: 1/9/2011
Posts: 231
Ferret Warlord wrote:
I'm not entirely keen on switching the region just to skip a few levels.
I feel ya. It took me a few days to come to terms with it, lol. The fact of the matter is that Meerkov has a better understanding of the game mechanics than I ever did, and the tricks used in this run clearly demonstrate that my time can be beaten even using the US version. I was certainly dismayed at hearing about the flood fill algorithm since I spent so much time figuring out all the optimal, irregular shapes in my run.
Active player (410)
Joined: 10/4/2015
Posts: 99
Hmm this thread has been being judged for a while. Does that mean we're considering Moons tier :)
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15601
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. ---- [3663] SNES Cacoma Knight in Bizyland by Meerkov in 05:32.60