Tool-assisted game movies
When human skills are just not enough

Submission #6318: Soig's DS Contra 4 "all levels" in 1:01:15.52

Console: Nintendo DS
Game name: Contra 4
Game version: USA
ROM filename: 1662 - Contra 4 (U)(XenoPhobia).nds
Branch: all levels
Emulator: DeSmuME 0.9.9
Movie length: 1:01:15.52
FrameCount: 219892
Re-record count: 38874
Author's real name: 陈立杰
Author's nickname: Soig
Submitter: Soig
Submitted at: 2019-03-29 16:05:16
Text last edited at: 2019-07-13 16:17:19
Text last edited by: fsvgm777
Download: Download (48401 bytes)
Status: published
Click to view the actual publication
Submission instructions
Discuss this submission (also rating / voting)
List all submissions by this submitter
List pages on this site that refer to this submission
View submission text history
Back to the submission list
Author's comments and explanations:
Hello everyone. I complete the TAS movie for Contra 4, this time. Which is a project beginning from 2011. But RNG is too hard to manipulate in 3D stages. So I gave up for several times. And do it again for several times. But after finishing Contra "pacifist" TAS, I feel that I could improve it this time. And I did it!

Game info

Contra 4 (魂斗羅 Dual Spirits, lit. "Contra Dual Spirits") is a 2D action game for the Nintendo DS and the eleventh original installment in the Contra series. The game was released in North America on November 13, 2007. Contra 4 was produced by Konami Digital Entertainment in America and developed by WayForward Technologies, making it the first Contra game developed by them, as well as the first original Contra game for a portable platform since the 1991 Game Boy game Operation C. Contra 4 was designed to be a direct sequel to the Contra games for the Nintendo Entertainment System and Super NES (Contra, Super C, and Contra III: The Alien Wars), with a gameplay model similar to those games, and was also in celebration of the 20th anniversary of the original Contra.

Emulator settings

Bus level timing is ON this time. ON is faster than OFF in this game. Don't ask why. Because I don't know that, either.


  • Aims for fastest time
  • Includes arcade mode (story mode) and challenge mode = 9+50 stages
  • Uses death as a shortcut/Takes damage to save time
  • Plays at hardest level for arcade mode
  • Luck manipulation

Important details

  • x speed:

walking = 24.
climing = 21.
on a carrier = 32.

  • y speed:

an=-55+2(n-1) , when y speed<0;
an=0+5(n-1) , when y speed >=0.

So jumping is faster than climbing the hills. And using 8 frames to do a single jump is fastest. (=(0-55-53-51-49-47-45-43)/8)


The difference between 0.9.2 and 0.9.9 expresses only the number of lags. To compare with these two movies, decrease the frames cost by lags firstly.I meant to say that words. But after stage 3, I saved much more lags... So it becomes hard to compare the emulators' difference...
  • stage 1: 3 frames saved.
I fall down directly instead of jumping at that short ground.
  • stage 2: 28 frames saved.
Use C gun better.
  • stage 3: 41 frames saved.
Several frames saved from each room.
23 frames saved from boss room. I found 3 RAM addresses for that room. Boss can work if that 3 timers go to 0. So manipulating those RAMs is important.
  • Due to lags saved by me. There is no accurate comparison for later stages.
  • stage 4:
I climb instead of jumping to save several frames. (Because the old one stop moving for several frames to grasp the platform.)
Boss (ship) fighting saved 6 frames. Player's speed is faster than ship's speed. So using fewer bullets to beat it would be faster. And I use one fewer bullet to beat it.
Boss (green one on rocket) fighting saved 22 frames. C gun takes 4 damage for each time after boss stop moving. C=4/12, M=2/5. So using M gun is the best.
And saved 8 frames after boss fighting.
Final boss fignting:
Arm 1 improves 42 frames. Arm 2 improves 6 frames. Head improves 9 frames. (Includes 1 fewer lag.)
  • stage 5:
Saved from lags.
  • stage 6:
  • stage 7:
There is a 96-frame rule for final boss. After boss HP becomes 0, stage ends by every 96-frame check.
  • stage 8:
  • stage 9:
Better movements.

Useful RAMs

part 1; part 2; part 3

Maybe too many movies are done in these months. I need to have a rest.

Memory: Claiming for judging

Memory: The arcade mode segment of the movie appears to be an improvement over the currently published run, and optimization appeared to be on par with arcade mode for the rest of the gameplay.

Given that this branch contains arcade mode in its entirety with no deviations in content from a standalone movie, this branch would supersede the solo arcade mode branch.

The arcade mode segment of the run was very entertaining, however the additional challenge mode levels get a bit repetitive. Some of the restrictions are fairly neat, and there's some nice playarounds in timed segments, but overall it gets very samey and the audience largely agreed.

The challenge mode missions are tracked in game so this completes all unique one time achievements and qualifies as full completion in accordance with the rules.

Accepting to Vault to obsolete [1326] DS Contra 4 (USA) by cpadolf & zggzdydp in 22:31.42.

fsvgm777: Processing.

Note: This will (probably) take a fair amount of time.

Similar submissions (by title and categories where applicable):