This is improvement of 527 frames over the rejected Code Name: Viper in 11:06.48 by ECCO and non-submitted TAS of LiuCong

Game objectives

  • Emulator used: Bizhawk 2.3.1 with TAStudio
  • Takes damage to save time
  • Uses hardest difficulty
  • Heavy luck manipulation
  • Aims for fastest time

ThunderAxe31: Judging.
ThunderAxe31: File replaced with a 101 frames improvement.
ThunderAxe31: File replaced with a 22 frames improvement.
After almost 14 years of attempts, we finally have an enough optimized TAS for this game.
The movie doesn't feature much diversity and is consistently slow-paced, so I'm accepting it for Vault.
feos: Pub.


TASVideoAgent
They/Them
Moderator
Joined: 8/3/2004
Posts: 15576
Location: 127.0.0.1
This topic is for the purpose of discussing #6308: XTREMAL93's NES Code Name: Viper in 10:56.62
Editor, Reviewer, Skilled player (1358)
Joined: 9/12/2016
Posts: 1646
Location: Italy
So... I've found this old TAS and compared it side-by-side with yours. I'm assuming it's from this submission, as it matches the author's real name. Not sure why the timing appears to be 8 seconds faster. Is this because the Japan version was used? In any case, the jump trick used at 6:09 allows to save a bit of time compared to your submission. Link to video
my personal page - my YouTube channel - my GitHub - my Discord: thunderaxe31 <Masterjun> if you look at the "NES" in a weird angle, it actually clearly says "GBA"
XTREMAL93
He/Him
Active player (446)
Joined: 1/6/2012
Posts: 586
Location: Azerbaijan, Baku
ThunderAxe31 wrote:
So... I've found this old TAS and compared it side-by-side with yours. I'm assuming it's from this submission, as it matches the author's real name. Not sure why the timing appears to be 8 seconds faster. Is this because the Japan version was used? In any case, the jump trick used at 6:09 allows to save a bit of time compared to your submission.
In this submission input ends a little early. To get the full ending you need to press 'A' at the last mission clear screen. After submission 1454, ECCO submitted submission 1460 with full input
Editor, Reviewer, Skilled player (1358)
Joined: 9/12/2016
Posts: 1646
Location: Italy
Ok, but what about the jump trick that ECCO used at 6:09? It seems that you missed it while you were trying to improve it. Edit: to be more accurate, the trick can be seen exactly at 6:10.
my personal page - my YouTube channel - my GitHub - my Discord: thunderaxe31 <Masterjun> if you look at the "NES" in a weird angle, it actually clearly says "GBA"
XTREMAL93
He/Him
Active player (446)
Joined: 1/6/2012
Posts: 586
Location: Azerbaijan, Baku
ThunderAxe31 wrote:
Ok, but what about the jump trick that ECCO used at 6:09? It seems that you missed it while you were trying to improve it.
Damm, how did i miss it)) Give me time, i will check it. Hope it will not ruin my run. Btw, how many frames can save this trick?
Editor, Reviewer, Skilled player (1358)
Joined: 9/12/2016
Posts: 1646
Location: Italy
XTREMAL93 wrote:
Btw, how many frames can save this trick?
It would save exactly 21 frames, not taking in account possible RNG changes. By the way, I see that you mashed A button against dialogues. This results in wasting frames there and there, since mashing means that the inputs have 50% changes of being pressed 1 frame later. Instead of mashing, you should make every input manually, by going with trial and error. So I've tried fixing the inputs for all dialogues, and I saved 24 frames until the level 3, where the movie desynced, at frame 10983 specifically. You can get the movie file from there: User movie #54046853712001065 Note that there is no need to cancel this submission, as we can replace the submitted file, after that you're done with the fixes.
my personal page - my YouTube channel - my GitHub - my Discord: thunderaxe31 <Masterjun> if you look at the "NES" in a weird angle, it actually clearly says "GBA"
nymx
He/Him
Editor, Judge, Expert player (2234)
Joined: 11/14/2014
Posts: 932
Location: South Pole, True Land Down Under
Is it me, or does this guy have no pants?
I recently discovered that if you haven't reached a level of frustration with TASing any game, then you haven't done your due diligence. ---- SOYZA: Are you playing a game? NYMX: I'm not playing a game, I'm TASing. SOYZA: Oh...so its not a game...Its for real? ---- Anybody got a Quantum computer I can borrow for 20 minutes? Nevermind...eien's 64 core machine will do. :) ---- BOTing will be the end of all games. --NYMX
XTREMAL93
He/Him
Active player (446)
Joined: 1/6/2012
Posts: 586
Location: Azerbaijan, Baku
ThunderAxe31 wrote:
It would save exactly 21 frames, not taking in account possible RNG changes. By the way, I see that you mashed A button against dialogues. This results in wasting frames there and there, since mashing means that the inputs have 50% changes of being pressed 1 frame later. Instead of mashing, you should make every input manually, by going with trial and error. So I've tried fixing the inputs for all dialogues, and I saved 24 frames until the level 3, where the movie desynced, at frame 10983 specifically. You can get the movie file from there: User movie #54046853712001065 Note that there is no need to cancel this submission, as we can replace the submitted file, after that you're done with the fixes.
Thanks, will fix it too
XTREMAL93
He/Him
Active player (446)
Joined: 1/6/2012
Posts: 586
Location: Azerbaijan, Baku
Here is update. More RNG, more optimization, less frames) Please replace it. http://tasvideos.org/userfiles/info/54078945208671378
Editor, Reviewer, Skilled player (1358)
Joined: 9/12/2016
Posts: 1646
Location: Italy
It seems that you also made the last level slower. Can you please take a look at it and try to fix it? I kept your old movie file on my pc. Do you need me to upload it to userfiles?
my personal page - my YouTube channel - my GitHub - my Discord: thunderaxe31 <Masterjun> if you look at the "NES" in a weird angle, it actually clearly says "GBA"
XTREMAL93
He/Him
Active player (446)
Joined: 1/6/2012
Posts: 586
Location: Azerbaijan, Baku
I tried to fix it too, but unsuccessfully. In any case, gimme file, maybe I need more time
Editor, Reviewer, Skilled player (1358)
Joined: 9/12/2016
Posts: 1646
Location: Italy
my personal page - my YouTube channel - my GitHub - my Discord: thunderaxe31 <Masterjun> if you look at the "NES" in a weird angle, it actually clearly says "GBA"
XTREMAL93
He/Him
Active player (446)
Joined: 1/6/2012
Posts: 586
Location: Azerbaijan, Baku
Can u check it? level ends when timer 237, but it is longer then current submission http://tasvideos.org/userfiles/info/54123712792749600
Editor, Reviewer, Skilled player (1358)
Joined: 9/12/2016
Posts: 1646
Location: Italy
XTREMAL93 wrote:
Can u check it? level ends when timer 237, but it is longer then current submission http://tasvideos.org/userfiles/info/54123712792749600
It seems that when you arrive at the stuatues part, the game slows down. It's basically "invisible lag". Try to change the moments when you jump and when you shoot. Don't look at the game timer, but look at the frame counter of the emulator.
my personal page - my YouTube channel - my GitHub - my Discord: thunderaxe31 <Masterjun> if you look at the "NES" in a weird angle, it actually clearly says "GBA"
XTREMAL93
He/Him
Active player (446)
Joined: 1/6/2012
Posts: 586
Location: Azerbaijan, Baku
OK, I did it again, just need littlle fixes and upload. Can you say more about "invisible lag"? I was surprised that there are no lag frames in this game
Editor, Reviewer, Skilled player (1358)
Joined: 9/12/2016
Posts: 1646
Location: Italy
Indeed. BizHawk detects lag by seeing if the game is reading the joypad inputs during a frame. Most games don't read the joypad inputs when they are going through heavy load on the emulated console processor, however some games (like Code Name Viper) do that in almost all frames, even when they can't make it in time to execute the main game routine in one frame. So the emulator won't report the actual lag frames, despite the fact that the game is actually slowing down. The only solution is to figure out what inputs you need to make different in order to avoid slowing down the game program execution.
my personal page - my YouTube channel - my GitHub - my Discord: thunderaxe31 <Masterjun> if you look at the "NES" in a weird angle, it actually clearly says "GBA"
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
There most certainly is a memory address that works as a lag flag regarding in-game physics. Every time lag occurs and this (to be found) flag is set, you can do this:
Language: lua

event.onframeend(function() emu.setislagged(memory.read_u8(YourAddress) > 0) end)
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.
XTREMAL93
He/Him
Active player (446)
Joined: 1/6/2012
Posts: 586
Location: Azerbaijan, Baku
Editor, Reviewer, Skilled player (1358)
Joined: 9/12/2016
Posts: 1646
Location: Italy
Thank you for your cooperation, XTREMAL93. By the way, it would be nice to have a bit more details in your future submission texts.
my personal page - my YouTube channel - my GitHub - my Discord: thunderaxe31 <Masterjun> if you look at the "NES" in a weird angle, it actually clearly says "GBA"
XTREMAL93
He/Him
Active player (446)
Joined: 1/6/2012
Posts: 586
Location: Azerbaijan, Baku
Thank you for useful advices. I am a bit lazy too write long description and my English is not so good( So feel free to edit the text of my submissions by yourself ;) Some pics Look up Make 'em dance like Michael Jackson
Skilled player (1176)
Joined: 5/11/2011
Posts: 427
Location: China
Do you konw why the ECCO's submission been rejected?
EZGames69
He/They
Publisher, Reviewer, Expert player (4460)
Joined: 5/29/2017
Posts: 2761
I can figure it out by reading the judgement message.
[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
Skilled player (1176)
Joined: 5/11/2011
Posts: 427
Location: China
EZGames69 wrote:
I can figure it out by reading the judgement message.
So you didn't find someting, too, just like others?
EZGames69
He/They
Publisher, Reviewer, Expert player (4460)
Joined: 5/29/2017
Posts: 2761
You mean the broken link to the faster run?
[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
Skilled player (1176)
Joined: 5/11/2011
Posts: 427
Location: China
Yes, of course. And adelikat admit it.