City Connection

City Connection is a side view driving game. The game was originally developed for the arcade by Jaleco in 1985, it later received a port on the NES in 1988. The story is fantastic, and oddly specific. You've broken into an exclusive paint store in New York City and are now on the run whilst carrying leaking 10 gallon cans of paint. You must inexplicably drive over every mile of highway in order to make your escape.
Just another day in the city.

Game objectives

  • Emulator used: Bizhawk 2.2.2
  • Complete all 16 unique stages. True to the arcade style, the game loops indefinitely (the stage rolls from 255 back to 0). The stage number is masked so if you keep playing you'd actually repeat stages 9-16 until the counter rolled over and took you back to the first stage. The backgrounds for the 6 cities rotate and are tracked independantly from the stage counter.

Game Mechanics

Controls

  • up - hold up when jumping to jump to a higher platform
  • left - turn left
  • right - turn right
  • down - makes the car fall down faster, doesn't work when jumping
  • B - shoot oil can
  • A - jump
  • select - select 1 or 2 players
  • start - pause

Backgrounds

  • New York
  • London
  • Paris
  • Frankfurt - not seen in this run
  • New Delhi
  • Tokyo

Items

  • Oil cans - You can collect and shoot these at police cars to take them out, but any extra left over are counted for extra points at the end of a stage, costing some time. So we want to end each level with no cans left (only acception is the last stage)
  • Balloons - collecting 3 balloons rewards you with a warp. The warp takes you to the next "stage" (increments the stage counter), but strangely it also tries to increment the background counter by 2. Additionally the memory address that stores the controller inputs is involved in the calculation, so by manipulating with the select button you can get it to increment by 3 instead.
  • Hearts - under certain specific conditions hearts will spawn in Paris. Besides spawn conditions and the sprite the hearts are the same as balloons. I may be missing some criteria, but it seems you need to press B when your speed is 4 or less (while you're turnning around). I'm a little unsure if it requres that you have 0 oil cans.
  • UFO - if certain specific criteria are met a UFO will spawn. Collecting a UFO nets you an extra life. Unfortunately the UFO is not seen in this TAS. It looks like you again need to hit B when you have speed 4 or less (not sure about having 0 oil cans), but your X position must also be greater than 0xE0. Also there is what appears to be a shot or kill counter that must be 10, the counter does seem to get decremented sometimes, but I didn't really quantify when that happens.
  • Rabbit - if you jump over a spike in Tokyo a rabbit can spawn. It uses the same slot as the UFO, but if you collect the rabbit it is treated as a balloon. Also not seen in this TAS.

Enemies

  • Police cars - you lose a life if you hit them, but you can take them out with oil cans
  • Cat - you lose a life if you run into a cat. Cats are impervious to oil cans
  • Spikes - these appear if you spend too long on the same level of platforms, but they're not seen in this run.

Strategies and Tricks

The most difficult part of this TAS is the routing. The route is simple enough that stage by stage details probably aren't necessary, but the high level strategy is to keep turning and changing platform levels to a minimum. It turns out that the best way to achieve this is to work from top down, finishing each layer as you go. The second to last stage in this run is the exception. The stage has platforms so small that you don't have time to jump (unless you do some pause manipulations) because the cooldown animation is still going when you hit the end of the platform.
The other part of the route is the warp route. The warp animation is extremely long. So long that it isn't worth using the normal balloons that spawn when the spawn counter hits 0x700 and 0xE00 (the counter resets after a completed stage). You can manipulate a heart spawn right at the beginning of the stage if you're on the Paris background, and 2nd heart even spawns right after. The early heart spawn makes the warp worth while, even though you're actually only skipping to the next stage (rather than over the next stage). Since we can get the background counter to increment by 3 this means we can warp on the 3rd stage and every 4th stage after that if we want. It turned out to be most efficient to get one balloon in the first two stages and then two hearts on the 3rd stage, but because the spawn counter keeps running across a warp for the rest of the background loops it made more sense to collect two balloons in stages and just one heart in Paris for the next warp. Lastly to end as soon as possible it was much faster to head to New Delhi for once and shift the last warp to the 16th stage so we could end on a warp.
If you hold up and jump, you can jump towards the next layer up, but if there is a platform in your way you'll bonk against the ceiling. It turns out that you gain control to turn around about 5 frames earlier when you bonk into a ceiling, so this is used as much as possible to save time.
You can gain a little extra hang-time during a jump by pausing and unpausing at the right time. This is used to avoid wasting time switching platform levels in a number of places, especially in later levels. Conversely it is possible to us the pause buffering to buy more time on a platform to run out the cool down animation and allow for a jump. Credit to L33Tz0rs (ツ ツ) on youtube who used this strategy in his good, but slightly slower TAS of this game.

Improvements

  • Route testing was by no means exhaustive, so I wouldn't rule out the possibility of saving a few frames with an improved route, but I think what we came up with is pretty good.

Thanks to:

  • EZGames69 for the collaboration and for suggesting this project.
  • Takanawa for his WIP showing how warps could save time and how to manipulate hearts and the UFO.
  • mtvf1 for pointing me to Takanawa's WIP and advocating for a warps route
  • Alyosha for doing more research on finding the difficulty cap.
  • LackAttack24 and other RTA runners for their interest in the project
  • my Twitch chat for the ideas and encouragement
  • The TASMania team

Screenshots:

372, 2600, 4204, 6133, 7389, 29080

Memory: Claiming for judging (and redemption)
Memory: So it turned out last time that there was no real significance to only beating 6 stages and that there are a total of 16 unique stages and the last 8 loop when you beat the 16th. Alyosha confirmed this through disassembly and I've confirmed through cheating the level counter that the game does this. The current publication only beats 6 stages, therefore not actually completing the game.
The optimization of this submission is well done. The warps especially seemed to be well planned.
The audience seems to have received this movie better than the last one, but it's still not great. Aside from the planning of how to use the warps, this movie is just as repetitive as the last one, which received fairly poor ratings.
Accepting to Vault to obsolete the current publication.
Please don't find out this doesn't actually beat the game again, thanks
feos: Pub, after some others.


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15579
Location: 127.0.0.1
EgixBacon
He/Him
Player (184)
Joined: 4/15/2013
Posts: 331
Location: In the attic
I presume this will obsolete the warpless run from last month since it completes more levels? Anyway, I voted Yes.
FanFiction|Youtube Still on Win7! Take that, Microsoft!
EZGames69
He/They
Publisher, Reviewer, Expert player (4461)
Joined: 5/29/2017
Posts: 2761
EgixBacon wrote:
I presume this will obsolete the warpless run from last month since it completes more levels?
that is the plan, unless we do an actual warpless run that completes every stage normally without warps. The current run doesnt even complete all 16 unique stages, this one does.
[14:15] <feos> WinDOES what DOSn't 12:33:44 PM <Mothrayas> "I got an oof with my game!" Mothrayas Today at 12:22: <Colin> thank you for supporting noble causes such as my feet MemoryTAS Today at 11:55 AM: you wouldn't know beauty if it slapped you in the face with a giant fish [Today at 4:51 PM] Mothrayas: although if you like your own tweets that's the online equivalent of sniffing your own farts and probably tells a lot about you as a person MemoryTAS Today at 7:01 PM: But I exert big staff energy honestly lol Samsara Today at 1:20 PM: wouldn't ACE in a real life TAS just stand for Actually Cease Existing
Site Admin, Skilled player (1254)
Joined: 4/17/2010
Posts: 11475
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Nice routing with all the warp tricks this time! Really impressive. Perfect warp spawns depend on the background, and the background can be manipulated to spawn sooner, just awesome abuse of this stupid mismatch between layout and BG/music. Since warpless for this game now means completing as much as the game provides, and it's finally known to be longer than warped, warpless is also a vaultable category for this game. The only thing to check would be whether the layout really repeats after this movie ends.
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.
Memory
She/Her
Site Admin, Skilled player (1556)
Joined: 3/20/2014
Posts: 1765
Location: Dumpster
I did a quick check and so far it looks like it loops, but I would prefer another party (that preferably knows a thing or two about disassembly) to look as well.
[16:36:31] <Mothrayas> I have to say this argument about robot drug usage is a lot more fun than whatever else we have been doing in the past two+ hours
[16:08:10] <BenLubar> a TAS is just the limit of a segmented speedrun as the segment length approaches zero
Experienced player (876)
Joined: 11/15/2010
Posts: 267
Alyosha pointed out the mechanics for the way the stages progress the thread for the previous publication. I confirmed it in the assembly myself when I started this new warps movie
Post subject: Movie published
TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15579
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. ---- [3753] NES City Connection "warps" by link_7777 & EZGames69 in 10:21.99