Submission Text Full Submission Page
  • Emulator: antidesync mupen
  • Aims for fastest time (primarily the ingame times)
  • Plays at hardest difficulty
  • Abuses programming errors
  • Takes damage to save time
  • Manipulates luck

About the game

Perfect Dark is the second most popular first-person shooter for N64, developed by the same company that made Goldeneye. The story takes place in the future and involves grey and reptilian aliens.

About TASing the game

Wyster started this TAS a couple of years ago, but he lost motivation after Crash Site because of desyncs, so two years later I finished the last 5 levels.
One thing that is better in Perfect Dark TASing is that you don't have to look at the floor all the time like in Goldeneye, because it doesn't save any significant amount of time.
Like many N64 games, the game has a pretty low and variable framerate, which makes it difficult to TAS because it only accepts input at specific random frames. This is why the game also has major desync issues, desyncing every 10-15 second or so (depending on the framerate), so I used the same tactic as in Turok 3; TAS for 10-15 seconds, then replay my whole progress from the beginning. That way I avoided having to redo parts over and over. There's also a bug which sometimes prevents you from proceeding to the next level, so Wyster had to occasionally use reset to advance to the next level.
This TAS has desync issues, or at least it desyncs for me and Wyster after the first reset (after second level), and apparently for others too who have tried it, but bkDJ got it to sync by capturing an avi: Forum/Posts/165367
I'm not sure if he could get the whole thing to sync now, but perhaps there's a small chance that someone can get it to sync and make an avi. But regardless if this can get published, it can at least be a source for information if someone ever does a full PD TAS again, maybe with mupenplus in the year 2023.

General tricks:

Straferunning: Like in Goldeneye and many N64 FPS games, running forward and holding left or right at the same time makes you run 1.4 times faster.
Waiting at cinemas: Used for timing events like elevators so that they arrive at optimal time, so that you get a better ingame time.
Speech skip: By pausing at a specific time before a speech starts, you can skip some speeches.
Weapon switch warp: By switching to another weapon, it creates some lag (framedrops) and allows you to go through openings which would be too small otherwise (eg. CI Defense at 1:18)
Re-selecting weapon: By pausing at a specific time and re-selecting a weapon, it comes up a few tenths earlier.

Summary and comparison with WRs
Level TimeWRImprovement%
Defection 1:151:205 6.25
Investigation 2:322:364 2.56
Extraction 1:071:3124 26.37
Villa 1:161:2913 16.45
Chicago 0:270:270 0
G5 Building 0:460:526 11.53
Infiltration 1:341:428 7.84
Rescue 2:192:4122 13.66
Escape 2:513:1827 13.63
Air Base 1:542:0511 8.8
Air Force One 1:391:26-13 -15.11
Crash Site 1:391:5213 11.6
Pelagic II 1:391:5718 15.38
Deep Sea 2:463:0721 11.22
CI Defense 1:311:376 6.18
Attack Ship 2:573:1215 7.81
Skedar Ruins 1:081:3022 24.44
Total improvement: 3:35
The final ingame time at the file after the credits is 29:20. More exact times (decimals) can be seen on my Perfect Dark TAS times page on my signature.

Comments by Wyster:

Defection 1:14

This mission consists of 5 objectives and the strategy used is pretty much impossible to follow for a newcomer to PD speedrunning. Therefor i'll explain in better detail.
For two of those you need to place ECM mines on 2 consoles, one at the top of the building and one at the bottom floor. Another objective is to pick up Cassandras necklace. To end the level you also need to reach an elevator on the bottom floor. The only objective that truly determines your end time in this level though is that you need to hack a computer. In order to do this, a programmer has to enter the password to allow you access. So in the beginning of the level i simply rush towards the programmers room to get him going ASAP. This is done by utilizing a glitch which allows you to travel through the void and even outside of the building. The seemingly strange pausing after reaching the corridor is to skip some lines the programmer says before he starts walking(saves ingame-time only). This is also the reason for the long cinema watching, the programmer needs to enter an elevator which has to be timed so it closes just as he gets in. Again this saves only ingame-time. While waiting for programmer i do the necklace and first ECM mine objective. Then i again utilize the "out-of-building" glitch to get into a good position to hack the computer. Being in this position allows me to fall down to bottom floor immediately after programmer is done hacking saving a ton of time over using the elevator. To finish i simply throw the final ECM mine and enter elevator.
The time of 1:14 is very good, beating the console wr by 6 seconds. I think i got a pretty optimal programmer speed in this run. Possible improvements in a future would be to use a double ducking technique in the start to do the glitch instead of landing on the door. This allows you to get through slightly faster. Overall i'm very happy with this stage.

Investigation 2:32

This level mostly consists of waiting for a bot to take down some lasers for you. So in the beginning i rush to activate the bot(cinema watching is used to allow a diffrent bot to open a wall segment for me, allowing access to the important bots activation consoles). and after that i just shut down some experiments and other objectives while waiting for the bot. Some obvious manipulation is done in one of the experiments room to get optimal speed on the bot. After the lasers it's just a matter of finishing an objective an running to the end.
This level also turned out very well and end time is very solid(beats console wr by 4 seconds). Can't really think of any improvments at all here.

Extraction 1:07

One of the better levels of the run for sure. High speed action and really no luck manipulation to be done. When exiting the first long elevator ride i open a door through the wall(it's locked if you try to open from the front of it but can be opened from the back). And by doing this floor really fast i manage to get back before the door closes, skipping another elevator ride. Rest of the level is straightforward. End time is excellent beating console wr by 24 seconds. Again no real improvements to be made.

Villa 1:16

This level can be a bit complex to follow. Basicly you need to kill a bunch of rooftop snipers and i do this by throwing a sentry gun at a very precise spot where it can kill all but 2(those ones i take out manually in beginning) snipers. Apart from this the structure of the level is such that you need to go to basement, activate a wind-generator, this causes some hackers to appear which needs to be killed. Finally i need to punch out a data-dyne guard and kill all guards by end of level to aquire a keycard for final door.
Pretty solid level overall but i loose some time with the sentry gun throw, as i mentioned it needs to be very precide and i had to sacrifice my speed to do that. An improvement would of course be to manage this in full speed. One thing that was mentioned to me after this level was done was that the final keycard could be manipulated to drop slightly closer to my path. Only minor time would be gained though. Otherwise very good. Beats console wr by 13 seconds.

Chicago 0:27

This may sound wierd but this level has actually been done faster on console. Reason? The emulator creates more lag making it impossible to go as fast as console(this is also used as an advantage in later levels...).
The level itself is pretty simple, get a bombspy, kill some guards with it to clear an exit path(requires an explosion) and throw a tracer bug and a remote mine. A recently discovered very minor improvement is to access the bombspy twice, first to deploy it and second to manouver it while falling, saving some tenths. Solid level. Ties console wr.

G5 Building 0:46

Easy level. Guards in first few rooms drop keycards once you kill them all. Then i need to turn off some lasers and a computer. Important part in the level is also to avoid alarm going off which is obviously easy for TAS. A major trick is used to save time while waiting for vault to open, i launch a camspy to start off a cutscene which stops the ingame-timer. Another solid level and there's really not much to improve. Beats console by 6 seconds.

Area 51 - Infiltration 1:34

In this level everything depends on how much cinema you watch. Because the final elevator has to be open when you get there and a lift key guy has to be in a very specific spot. This had been well tested for console purposes but for TAS i basicly had to make an educated guess on how to time it. As it turned out i was slightly off. Final elevator was fine but the lift key guard could've been in a better position. Also as i later realized the part where i throw grenades at some robot interceptors could be improved by throwing a grenade much earlier instead of killing off guards. This would cause some other problems with drone/guards though but would still save some seconds. A double-unduck trick is used to throw a bug higher than Joanna normally can, hitting an antenna when Joanna specificly says "But i can't throw it that high"...i guess you can after all.
End time beats console wr by 8 seconds but several seconds more is possible. Not so solid.

Area 51 - Rescue 2:19

Get dressed up, save the alien dude. I use a guard to open a normally closed door for me saving massive time on an objective. Also use another guard to open the door to the locker rooms.
Some improvements are possible here too, first of all the locker room guard open door much faster using some diffrent angles as was discovered later. Also i overlooked the fact that the disguises placement could be in a better position. This requires that you start level on a diffrent frame though. Apart from this, very good level. Beats console by 22(!) seconds.

Area 51 - Escape 2:51

Here i introduce the concept of pushing. Jonathan and Elvis tends to be pretty slow on their own so why not use the power of TAS to push them around? This level is basicly either talking or pushing. A well placed remote mine opens up a crack in a wall for me before it's "supposed" to happen and at the same time boosts me. A trick is used by the very end by double tapping B, the game works that it takes the first B press and displays whatever "console not active message" and waits to process the second press until that first message is about to dissapear. By this time i'm long gone and the console has become active during this time.
End time is probably pretty good. There's not alot to improve here. It's probably possible to be closer to elvis when the alien medpack activates but otherwise there's nothing major. Beats console by 27(!!) seconds.

Air Base 1:54

This went perfect pretty much. Nothing to improve really. Somewhat straightforward level. Beats console by 11 seconds.

Air Force One 1:39

Depending on how you exit the last level, you can start this level in 2 diffrent positions. Overall the way i did it is the fastest but this level gets a slower time. I was however able to reduce the time lost here by finding a completely new strat. Remember the extra lag on emulators? By unducking into the presidents room from underneath it, i can use this lag to unstuck myself by using a gun-switch. This puts me in a state of "halfway-through-floor" walking. As long as i stay close to the walls or doors i can remain in this state and fall outside of the level and even fall to the lower deck of the plane. It may seem wierd that a TAS uses a combat boost but that's because of the extra lag, i needed it to make it into the little food lift which normally shouldn't be a problem. Finally i utilize the pushing powers of TAS to do the level in a completely diffrent order than how you'd do it on console.
End time is 13 seconds slower than console but this is as i said, a tradeoff from using better ending of Air Base which overall turns out to be faster. Good level. A minor improvement would be to switch to cyclone slightly earlier during first gun-switch-warp. An other thing could be to throw the timed mine later in order to use a slightly closer route when pushing president(i had to avoid the president getting killed by the explosion in this run).

Crash Site 1:39

Again the pushing powers of TAS make an appearence and i use this to invent a completely new TAS-only strat. Because i didn't have the golden magnum yet i had to use remote mines to destroy the alien ship. Overall good level, minor improvement can be done by not taking as tight turns with the hoverbike, turns out that this slows it down slightly.
End time is very good due to the strategy-improvement. Beats console wr by 13 seconds.

FINAL THOUGHTS:

I had hoped for this run to be similar to the one made for Goldeneye 007. However, the emulator glitch causing levels to not always proceed to the next kinda ruined that hope for me. As it turns out now, several years later, this might be possible to avoid by doing manipulation during end of last level but i never realized this myself. Instead i resorted to resets which quickly turned out to cause major desynch issues and eventually i wasn't able to make run synch from beginning. Instead i changed my goals to perhaps make some .avi-compilation of all levels. Therefor i do not expect this run to be accepted.
The run itself is in my owns eyes varying from very good to not so good. Back when i was working on this run i was still a fairly lazy taser and when it came to levels that were completely untested for TAS the only choice i would've had was to do entire level twice which i simply didn't have the motivation to do. My best guesses wasn't too far off though and really is only a problem for those with a trained eye and good knowledge of PD speedrunning. As i mentioned earlier, this game lags ALOT, making desynchs common and very difficult to TAS compared to it's counterpart Goldeneye. This contributed alot to my lack of motivation for major redos.
To conclude, i'm glad that Perfect Dark finally has a full run. This just like Goldeneye hadn't been TAS'ed before and as so neither are perfect. However they were necessary for any future perfect TAS to be made. The state of mind of this first TAS was simply "What does a TAS of this game look like", while in a future TAS the question will be, "How can we improve the last run". So in the end i'm very happy that this long overdue run is finally complete and we can now see where the limits are. Huge thanks go to Miika(nfq) for finishing this run from where i left off.
Enjoy.

Pelagic II 1:39

I let the guards put on the alarm so that they might open some doors for me. Normally it would be too risky on PA, but in TAS it's no problem. I had a slightly different scientist strategy at 0:32. It saves some time to just open the door and let him see me so that I can take him later. I like the laptop gun, it's one of the few guns in PD that is made of metal instead of plastic.

Deep Sea 2:46

14 seconds was saved because of faster Elvis. I used a little different strat in the room with the 5 green exploding tanks, shooting two of them with one shot instead of one. It looks like it would be easy to do, but it requires a lot of precision (and drains your health) unless you use the rail gun effect.

CI Defense 1:31

This is only 6 seconds faster than WR because you have to wait for Carrington's speeches before you can complete the level. I could have gotten 1:30 if I had used the out of bounds glitch at the beginning (saves 0.6 seconds), but I didn't know about it back then. Also, timing the elevator would save a few tenths.

Attack Ship 2:57

If I had waited 8 seconds more at the intro, the slow-ass elevator should have arrived when I'm there, and I could have saved some time, but it's hard to know how fast you'll be, the first time around. Other than that, it was a good run, still beating WR by 15 seconds.

Skedar Ruins 1:08

I was happy about this time, especially the ending was good, I discovered that you could shoot all those parts at the same time, and with TAS like precision you could shoot through both of the upper parts at the same time, saving a bunch of time. Warping at the slow doors was useful, saves more than a half second per door. Fast bug throws too.
Save state for the last 6 levels (this at least has no problems syncing): https://docs.google.com/leaf?id=0B_gO0ruJePdbNGQwMGExZTQtZDQzYy00NGM3LTg2MjQtNzA4MzYzYWE3ODkz&hl=en

Memory addresses that I found useful:

Ingame timer: 00AD4CAC: the game has it's own visible timer, but it's not always visible, and it's somewhat inaccurate
Headshots: 00966AC8: useful to make sure you hit someone on the head, especially if they are behind something where you can't see
Hostage deaths: 00966D00 (CI defense): to know in advance that too many hostages don't die, and that they get released fast enough
Elvis health: 00E3C06A (Attack Ship)

FractalFusion: Judging. Hopefully someone is able to sync it soon.
FractalFusion: Placing on delayed due to sync problems.
FractalFusion: Since the problem still hasn't been solved and there's hardly any hope left, I will set this to cancelled.
If the problem is solved, someone can uncancel this submission.


Skilled player (1327)
Joined: 9/7/2007
Posts: 1354
Location: U.S.
Any progress on getting this synched?
Publisher
Joined: 4/23/2009
Posts: 1283
Not much. Trying to get the savestates.
Skilled player (1245)
Joined: 12/30/2007
Posts: 486
Location: Hubei,China
If the savestates did not exist,the synched one might be impossible to show. Need author's support,this one delayed almost 2 months for the sync problem.
Do the work.
nfq
Player (94)
Joined: 5/10/2005
Posts: 1204
X2poet wrote:
If the savestates did not exist,the synched one might be impossible to show.
I'm not sure what save states you mean, but I think Wyster has save states for some of the levels he did.
Skilled player (1245)
Joined: 12/30/2007
Posts: 486
Location: Hubei,China
That's enough,I know loading a savestate can avoid the FBA desync by randomness. The savestate due to sync it before the desynched place is important.All the synched way is after the savestate. If the savestate is after the desync happening,that would be no use. So for N64 PSX FBA,copying some savestates for every stages may be made use of.
Do the work.
Skilled player (1652)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
This has now been sitting on the bench for nearly two months, without any luck getting sync'd. It is unfortunate, because it is a well done run... I'd like to see this either resolved, or sent to the grue.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
Publisher
Joined: 4/23/2009
Posts: 1283
I don't think I can get it to sync without the use of savestates. Is creating the video with savestates allowed?
TASVideosGrue
They/Them
Joined: 10/1/2008
Posts: 2792
Location: The dark corners of the TASVideos server
om, nom, nom
Publisher
Joined: 4/23/2009
Posts: 1283
I forgot to mention that I talked to bkDJ and he couldn't get it to sync either. The first reset already desyncs for him.
nfq
Player (94)
Joined: 5/10/2005
Posts: 1204
Ah, I see. A little strange he got it to sync before. Oh well, I didn't expect anyone to get this to sync.
Active player (407)
Joined: 3/22/2006
Posts: 708
I'm really sorry to see this get cancelled. It was thoroughly entertaining.
nfq
Player (94)
Joined: 5/10/2005
Posts: 1204
I got Wyster's save states so I was able to make a HD video of the whole run, the way it would look if it would sync: http://www.youtube.com/watch?v=18jZHOwdYME
Skilled player (1652)
Joined: 11/15/2004
Posts: 2202
Location: Killjoy
nfq wrote:
I got Wyster's save states so I was able to make a HD video of the whole run, the way it would look if it would sync: http://www.youtube.com/watch?v=18jZHOwdYME
Did it take more than the first savestate to make it sync? If it just takes a single one... that could be acceptable.
Sage advice from a friend of Jim: So put your tinfoil hat back in the closet, open your eyes to the truth, and realize that the government is in fact causing austismal cancer with it's 9/11 fluoride vaccinations of your water supply.
nfq
Player (94)
Joined: 5/10/2005
Posts: 1204
Well, I didn't get it to sync, I just got each level to sync. That is, one save state for each level. I made videos for each level and then merged together all the video files.
Publisher
Joined: 4/23/2009
Posts: 1283
Looks good! Just curious, what GFX plugin did you use?
nfq
Player (94)
Joined: 5/10/2005
Posts: 1204
Aktan wrote:
Looks good! Just curious, what GFX plugin did you use?
Thanks, I actually made all the editing in movie maker, heh. It's much easier than the methods in the encoder guidelines. I used Jabo's 1.6. It didn't sync with better plugins like Napalm.
Experienced player (691)
Joined: 11/23/2013
Posts: 2239
Location: Guatemala
Wow never saw this one here. Does N64 emulation has better syncing now? did someone has solved this problem yet?
Here, my YouTube channel: http://www.youtube.com/user/dekutony
Publisher
Joined: 4/23/2009
Posts: 1283
Kurabupengin wrote:
Wow never saw this one here. Does N64 emulation has better syncing now? did someone has solved this problem yet?
Unfortunately there has not been any development in N64 emulation (that I know of).
Spikestuff
They/Them
Editor, Publisher, Expert player (2656)
Joined: 10/12/2011
Posts: 6449
Location: The land down under.
What am I supposed to do? It's syncing! Edit: 6 minutes in, can't view past this screen: Most likely an issue on my end and not the emulator's. Edit 2: The stuff that makes it tick (Minus the ROM)
WebNations/Sabih wrote:
+fsvgm777 never censoring anything.
Disables Comments and Ratings for the YouTube account. Something better for yourself and also others.
Site Admin, Skilled player (1255)
Joined: 4/17/2010
Posts: 11495
Location: Lake Char­gogg­a­gogg­man­chaugg­a­gogg­chau­bun­a­gung­a­maugg
Movie file name kind of tells you what emulator build to use to get past resets. http://rghost.ru/6SLxvdc9K However it desyncs right after reset, just as the author reported. EDIT: It was said that bkDJ got it to sync by dumping, but for me it simply crashes if I dump during reset. Most likely it's a lost case.
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.