This tool-assisted speedrun improves dragonxyk's 2008 TAS by 2513 frames (41.88 seconds), by using 1+1 new glitches. The games offers 11 different levels, but the TAS uses the shortest route of 8 levels. The object is simple: go from point A to point B while avoiding enemies and hazards.

Game objectives

  • 2 players
  • Uses death to save time
  • Heavy luck manipulation (subpixel values, boss' actions)

Comments

General game mechanics

  • The game runs at 60 fps, but the lagging occurs when there are too many moving objects on the screen, let it be enemies or projectiles. When a lag frame occurs, the movement logic is not executed, which means, all creatures and projectile freeze and no compensation is applied.
The TAS uses a glitch which moves the players faster then usual, and that causes a lot of situations when new enemies spawn in and early ones haven't left the screen yet.
  • When you take damage, you:
    • become invincible for 60 frames,
    • enter a pain state, which blocks your movement for 20 frames,
    • are pushed back.
The TAS always turns around before taking damage and tries to keep the chipmunks (players) in the air, so they cover more distance when they can't move.
  • In a 2-players mode, when a chipmunk runs out of lives or falls in a pit, it respawns on a balloon after 145 frames of idle. During this period the chipmunk technically stays on the screen and it cannot be moved by X axis past the point when the chipmunk is left behind. Also, if the other chipmunk dies while its partner isn't respawned yet, the level starts from the beginning.
The TAS tries to maximize the traveled distance while the screen is idle.
  • When a boss is hit, it becomes invincible by 59 frames. Each boss has 5 HP, so that takes 4 seconds from the frame when it takes the first hit to end the battle.
  • Level design follows a 16-pixel grid. Each box is 16x16 pixels. Each platform, not matter transparent or solid, is also placed according to this grid. It's impossible to have a platform or a box that's above or below any other platform (box) by a height other than multiple of 16.

X and Y axis subpixels

Each chipmunk (player) has its own vertical and horizontal positions (X and Y pixels) which determine where on the level it is currently placed. However, there are also X and Y subpixel values, which provide an element of randomness of how chipmunks move. Suppose you move right by holding Right button. If your X subpixel is low, on the next frame you move right by 1 pixel. Then your X subpixel turns high, then on the frame you move right by 2 pixels. The same principle concerns vertical movement.
  • X subpixel changes only when your X pixel changes.
  • Y subpixel changes on every frame and it depends on your current X and Y pixels. The only case when it stays constant is when a chipmunk is being carried by the other one.
As Dacicus described the mechanic of calculation of Y-subpixels:
$0460 is changed by the value at $0550 and $0510 is changed by the value at $0560. The value at $0550 is itself modified by the value at $0099, which seems to be fixed at $0055. Same thing for Dale, but with addresses $0551 and $0561.
  • Subpixel values are never reset, which makes Bonus sections not equal to those found in dragonxyk's TAS. Somewhere X and Y positions are different, at other moments I had to make changes to manipulate appropriate Y subpixels to perform glitches described below.

Glitches for 2-player mode

Zipping
The game features a special mechanic of collision between the chipmunks. When one player walks or jumps into the other player, it tries to separate them by applying a movement force to one of the chipmunks (or both of them). However, it's possible to trick this mechanic to apply the same exact force to both chipmunks, making them slide at the faster speed than their normal walking. It's possible to do so by jumping inside the other player. There are 4 ways to do so:
  • Throw your partner 1-2 frames before you land. Aglar described it in details here. However, the conditions of Y subpixels described there are more like a reference point. You can find several cases in my TAS when Y subpixels don't match it. It was discovered by manual input bruteforcing. I can summarize it like that: when you do all like the guide says and it doesn't work, try doing it with opposite Y subpixels (high Y subpixel for carried chipmunk and low Y subpixel for carrying chipmunk).
    • When a jump after a throw is performed, you jump up by 43 pixels which is enough to jump over 2 stacked boxes or a small enemy.
  • Be inside your partner when it drops its balloon. When the chipmunk on the balloon touches its partner that's not holding its balloon, the "balloonless" chipmunk is pushed away. However, if he moves the opposite direction, he can keep himself close to the "ballooning" chipmunk and gain some boost. To enter the zipping state, both chipmunks must have (nearly) the same position to stay collided. Sometimes, it requires jumping to achieve this.
  • Jump inside your partner. This is done at the beginning of Zone F and J. Like the way of throwing your partner, it requires its own conditions to be satisfied, including the distance between chipmunks (22 pixels).
  • Stun your partner with a box. It's not used in the TAS because you need to wait for the stun state to pass.
Three input patterns are used in the TAS to make zipping chipmunks jump over obstacles while preserving the collided state. Two most common ones let you jump on a platform that's 32 pixels above you. The third one is used for a 64-pixels higher platform and to perform big jumps while gaining some collision boost for one of the chipmunks. However, the pixels condition still has to be satisfied for the jump or drop down to succeed, or else at some spot the chipmunks get separated in mid-air.
Box ascension
The point of this trick is to utilize the quirks in the mechanic of chipmunk states. When the animation of throwing is initiated, a chipmunk cannot be stunned by a box flying at his front perspective. However, the flying box still collides with his hitbox, making him ascend by a small distance.
In order to perform it, you need to have equal Y subpixels for both players and keep a certain distance between them. Under these conditions, the ascension power is much higher than under normal circumstances, and this lets you move up even faster than by rapid jumping.
The only problem is to get equal Y subpixels. Unfortunately, they are recalculated on each frame (except the case when a chipmunk is being carried by the other one), making it very hard to get continuous equality of subpixel values. Even if you achieve it, you cannot do any kind of platforming or else you lose that equality. For this reason, Zone F, section 2 looks the only time-saving spot where that's effectively useful.

The speed of movement

  • While moving right, you speed is 1-2 pixels per a frame.
  • The speed of moving left is 1 pixel higher. That is 2-3 pixels.
  • You cover 2 extra pixels while zipping on the ground, and 1 extra pixel while collided chipmunks are in mid-air.

Authorship

  • Dimon12321 - the main author of this TAS. I passed 7 levels out of 8.
  • Aglar - he passed the first level (Zone O). I tried to find improvements in his TAS, but nothing was found, so I decided to build my TAS upon his movie. He also made a nearly finished test TAS which I was using for reference.
  • dragonxyk - since I'm not very skilled at making entertaining sequences, I borrowed input of some Bonus stages and those one-screen sections when a big mouse steels your cheese. However, the difference between subpixels and the RNG made me adjust the input or redo the sequences completely.

Stage by stage comments

For simplicity, "Zone B, section 1" means Zone B1.

Zone O

This is the most variable section in terms of platforming. Aglar is doing everything possible with chipmunk collision mechanic to win maximum time. Here, the only zipping-preserving 64-pixels jump was performed. I assume, such a jump can only be performed when you scroll left. I couldn't find any improvements there, so I build the rest of the TAS on top of his movie.

Zone O2

There is a moment where chipmunks fall between test tubes. It lacks 1 pixel for Chip to have both chipmunks successfully lend on the floor by doing one long fall.

Zone B1

The top route of the section is slower. The second mouse on your way does an big jump if you zip on the boxes near it.

Zone B2

I had to do a zipping glitch with Chip and not move too far because otherwise you land on the glass and not collide with the thrown chipmunk.
The part when you need to turn off 5 faucets is done manually instead of flying them over on balloons. Each faucet takes 21 frames to be turned off, which is 105 frames of the screen not moving forward. However, the same amount of time is lost using the balloon strategy because of respawning periods. Since a lot of time was previously saved by zipping, there was no point in taking damage to perform the balloon strategy.

Zone B Boss

The spaceship is the most RNG-dependant boss in the game. There are 5 different altitudes it can come from. You can manipulate the needed one by losing time, either by entering the boss section sooner or by pausing the game. So, I spent 4 frames (1 frame on later entering, and 3 frames on pausing) to get the lowest altitude of the spaceship. This let me throw the ball as soon as I grab it.

Zone D2

Here, the part with 5 levels of ascending long platforms and rag-pulling rabbits is extremely laggy because zipping glitch makes it hard for rabbits to run away.

Zone F1

The ending of the section is done slower by 40 frames because I needed to get equal Y subpixel values for both chipmunks in order to perform Box ascension glitch in Zone F2.

Zone F2

I love it! Box ascension glitch save several seconds here. I even managed to have the chipmunks on the very top of the screen by the time I reach the platforms. Since some time is required to load the boxes, I clipped through them and saved some more time.

Zone G2

It requires 2 stacked boxes to be able to jump over a rhino while preserving the collision state.

Zone H2

The last part with a 3-level platforming, you cannot perform a throw while you are on the top platform. So, I had to jump down to a lower platform.

Zone I1

This is the only section in the game where I didn't find any improvements. The stacks of mugs have tightly placed boxes and performing a zipping glitch is not reasonable there. The blowing fans makes you move really slow, so the only good option is bypass it all on balloons.

Zone I2

The pushpin lines work in a weird way. You don't take damage on the frame you lend on them, but on the next frame. Anyway, despite one chipmunk being invincible (thanks to Zipper), I didn't manage to pass the pushpin lines while using Zipping glitch.

Zone J1

Moving platforms boost your movement by 1 extra pixel. If one moves in the direction of the exit, you need to run against it in order to preserve Zipping glitch.

Zone J2

I don't like the sequence from the end of the swinging axes on the 1st floor, up to the last area with a load of boxes on the top. I tried various routes, including the one used in dragonxyk's 2008 TAS, but I didn't find any improvements. But, at least, I got lucky with despawning the weasel near the exit.

Zone J Boss

1 frame was spent to get a lucky RNG. If Fat Cat spams ashes from his cigar too often, it causes a lot of lag frames.

Bonus levels

When a zone is finished, you have to play through a time-based bonus level to collect bonuses. I copied some input from drakonxyk's 2008 TAS.
  1. Zone O - Zone O from 2008 TAS, but with mirrored input to let Chip take a 1UP.
  2. Zone B - Zone F from 2008.
  3. Zone D - Zone B from 2008.
  4. Zone F - Zone D from 2008.
  5. Zone G - It's my own improvisation showing the intrigue who of chipmunk will get a 1UP.
  6. Zone H - from 2008, but I accidentally edited the ending while trying to match subpixels.
  7. Zone I - from 2008, but due to the wrong RNG, the final box doesn't have a 1UP, which doesn't make the sequence that adorable.

Possible improvements

  • In Zone D1, it's possible to save time by doing a throw for a zipping glitch when landing on the stacked boxes right next to two clown boxes. I tried switching characters and meshing the input in every way possible, but the glitch didn't work, so I had to do a much longer jump in order to pull it off.
  • Well, I mentioned D1, then I'd say, this TAS lacks luck. I've spent a lot of time meshing input in various places to get proper subpixel values for zipping glitch. I think, 60% of them is when I had to lose 1+ frames. For example, by delaying my jump.
  • Find more input patterns for safe jumping while preserving the collided state. This especially concerns 48-pixels higher platforms.
  • Lag optimization. I did my best, but I doubt it's perfect.
  • Complete Zone F1 faster. As I mentioned before, 40 frames were spent on input bruteforcing to have equal Y subpixels for F2. I'm sure it's possible to save more time here.
  • Complete Zone I2 faster, if it's possible to pass pushpin lines while using zipping glitch.

Special thanks to:

  • junkyard_dave - he discovered Box ascension glitch and shared the input file with me.
  • sinister1 - he was giving me various useful suggestions and sharing interesting ideas on my way to have this TAS finished.

Suggested screenshot

13537

nymx: Claiming for judging.
nymx: Wow...what a difference that zip makes. Seems to be the mindset of those who responded, in the disucssion. When I first read about the zip, I thought I was going to see something different. This was quite unique, as opposed to the previous run carrying around each other. Well, everything looks good here. Congratulations on the improvements.

EZGames69: Processing...


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15585
Location: 127.0.0.1
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11478
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Mind blowing!
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.
Challenger
He/Him
Skilled player (1689)
Joined: 2/23/2016
Posts: 1062
Finally the zip mechanic was implemented into a new TAS of this game. This is AWESOME, and I didn't expect to see this TAS submitted here so soon!!! Excellent job and Yes vote.
My homepage --Currently not much motived for TASing as before...-- But I'm still working.
CoolHandMike
He/Him
Editor, Judge, Experienced player (896)
Joined: 3/9/2019
Posts: 697
Very nice improvement! Lots of very smooth movement and cool to see this improved with these faster techniques! The final question I have is now when will the masterpiece that is Chip and Dale 3 get the justice it so righteously deserves?
discord: CoolHandMike#0352
Dimon12321
He/Him
Editor, Reviewer, Experienced player (596)
Joined: 4/5/2014
Posts: 1223
Location: Romania
Challenger wrote:
This is AWESOME, and I didn't expect to see this TAS submitted here so soon!!!
Yeah, I've been TASing the game all days long since I submitted my WIP. Now I have to rush my job task because the deadline is close, and I can't tell that excuse to go past it.
CoolHandMike wrote:
The final question I have is now when will the masterpiece that is Chip and Dale 3 get the justice it so righteously deserves?
If Chip and Dale 3 is a sprite replacement hack for Heavy Barrel, then one may TAS Japanese ROM of it and try to playback the input on Chip and Dale 3 ROM, although I don't think it will work
TASing is like making a film: only the best takes are shown in the final movie.
CoolHandMike
He/Him
Editor, Judge, Experienced player (896)
Joined: 3/9/2019
Posts: 697
If Chip and Dale 3 is a sprite replacement hack for Heavy Barrel, then one may TAS Japanese ROM of it and try to playback the input on Chip and Dale 3 ROM, although I don't think it will work
It was just a little joke I put in featuring Chip and Dale 3 with that hilarious fake cover. Simple sprite hacks like that would not be accepted. Anyway, great job!
discord: CoolHandMike#0352
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15585
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. ---- [6036] NES Chip 'n Dale: Rescue Rangers "2 players" by Dimon12321, Aglar & dragonxyk in 08:43.47
XYZ
Former player
Joined: 12/9/2006
Posts: 168
Location: 2bastuz
Why this TAS and even previous taged as "Hardest difficulty"?
Dimon12321
He/Him
Editor, Reviewer, Experienced player (596)
Joined: 4/5/2014
Posts: 1223
Location: Romania
XYZ wrote:
Why this TAS and even previous taged as "Hardest difficulty"?
Nice point, actually. Well, you may consider it the hardest difficulty because speedrunners wait for in-game demo to start, to make RNG pre-defined and, hence, ease the game.
TASing is like making a film: only the best takes are shown in the final movie.