HydrantDude
1.4 from JD isn't real sorry
updated 5 years ago
basically:
tetris does math funny in order to fit the numbers into a data format that makes it easy to come up with the base 10 representation. there are some bugs in the math which result in losing 6 points when the result crosses a multiple of 10 by more than 6, and losing anything in the ones digit when crossing a multiple of 100.
spreadsheet for your perusal:
docs.google.com/spreadsheets/d/1E_S74ltbWw1kaKPsdIYY8e44BYD-G493bvVeo3Gcc2c/edit?usp=sharing
this video goes over the mechanism of confetti, delayed drawing of lines/level, and interrupted scoring loops.
piece movement in NES Tetris gets processed once a frame in the order move rotate drop, by move I just mean horizontal. Important thing is that movement comes before rotation, which is a problem for most spintucks. They tend to need rotation to happen first, meaning they take 2 frames and can't be done on 29. Out of the common spintucks, LJTI all need rotation first, ST have rotation first but there's a gravity tick before you do the movement so they work on 29, and Z has no preference on order and is the only one that can happen in a single frame. Oh also a JD spin works because it has movement first.
WR History:
9/28/23 - 487,160 - Chillala
9/27/23 - 451,052 - Chillala
9/16/23 - 373,000 - Chillala
8/6/23 - 313,000 - HydrantDude
7/19/23 - 305,524 - HydrantDude
7/15/23 - 293,849 - Tetrian22
7/14/23 - 250,859 - Tetrian22
6/16/23 - 241,735 - HydrantDude
6/16/23 - 199,212 - HydrantDude
5/20/23 - 141,543 - Aptiz712
5/19/23 - 124,003 - triskai_skye
(Hack released 5/19/23)
NES tetris levels up when it shouldn't and doesn't level up when it should. Leveling up doesn't sound hard to get right, but let me
walk through the relevant code and show you what happened.
The code to check for level ups is pretty simple. First, it checks if the lines cleared is a multiple of 10. It adds lines one at a time so it never
misses one - no bugs here. Next, it checks if the line count is more than 10 times the level. This is where everything falls apart.
Here's what the code does. It divides the current line count by 10, and then compares it to the current level. Sounds fine until I show you the
actual numbers it's manipulating; there's a conflict in the data format. I'm going to write out the numbers in hexadecimal as they appear in memory,
and the reason you level up at 100 lines should be quite apparent. The line count truncated to its upper 2 digits is a larger number than the level.
The level, as you can see, is directly stored as its binary representation, but the line count is stored such that when it is read as hexadecimal, it
appears to be in base 10. This is handy for on-screen processing, and they could have easily avoided this error with a bit of extra code, but they did not.
Essentially to see if a level-up should happen, write the current level in hexadecimal, and see if it's smaller than the upper 2 digits of the line count.
If it is, then it will level up. So for example, on a 29 start, we transition at 200 lines, because level 29 written in hex is 1D, which is greater than
19 but less than 20.
Now let me tell you why sometimes there's no level up when there should be one. From an 18 start, level 235 will last for an incredible 800 lines.
Let me show you what that looks like in the calculations. Firstly, the line you would transition to level 236 is 2300. Something I haven't mentioned
yet is that the top digit of the line count is actual normal binary, so in memory that looks like 1700, truncate to 70. The level is stored in memory
as EB. Well, EB is greater than 70 so clearly a levelup is supposed to happen, right? Nope. The way the numbers are compared is by saying, if I were
to subtract one number from the other, would the result be positive or negative? Now because we're working in bytes, positive/negative is distinguished
by 00-7F being positive and 80-FF being negative. So let's do the math. If we rewind to 2290 lines, we get EA-69. This comes out to 81, a negative num.
EB-70 is not negative. It's 7B, a very high positive number. The game won't level up. And this will go on, because if we look at the next time it should
level, we get EB-71. We're subtracting a bigger number, so it's not going to be negative either, it's moving down to 7A. We have to go all the way out to
3100 lines. In memory, that's going to be EB-F0. That's negative 5. Finally, we move forward to level 236.
You might be wondering why it desyncs in the first place, which just comes back to the mixed formats. When you clear 10 lines,
your level and truncated lines both increase by 1. But when you cross any 100 line barrier, the truncated lines increases by 7, because it goes
from 9 to 0. That's skipping over A,B,C,D,E, and F in hexadecimal. The level doesn't do that, so you essentially desync by 6 for every 100 lines. If you
do 128 divided by 6 you'll see the result rounds up to 22, corresponding to the 2200 lines it takes to hit the superlevel from 0. Now because different
start levels result in different line counts corresponding to each level, that means that the exact point you hit the superlevel depends on when you started; a 0
start hits 200 lines and is comparing 20 to 14, whereas an 18 start hits 200 lines and is comparing 20 to 1A. Starting at higher and higher levels pushes
it further and further away, but you should note that the delay before first transition is actually the same thing as the superlevel, you just start midway
through it instead of at the beginning, unless you start on level 127 where you really do experience the full 800 before moving to 128.
Biases are patched and repeats are more severely reduced. This system has been in place since the custom carts were first created in 2015.
The actual piece selection mechanism uses a randomizer to pick a number 1-256 and indexes that number to a rotating set of 7 256-piece banks.
exact numbers:
docs.google.com/spreadsheets/d/1Ccpnxr54Ov8wTTQYPD2bsjHGzwljClpl8nYPdsGW0tQ/edit?usp=sharing
my dumbass recorded my webcam in 240p because I forgot to change obs settings and I wasn't bout to draw all that again
Fun fact, whether or not I had the game genie code in to prevent the rocket screen, none would play.
Thanks to vandweller for allowing me to use the audio from his broadcast. Be sure to catch me playing in the top 4 later this month at twitch.tv/monthlytetris, and watch out for my tetris streams on twitch.tv/HydrantDude8 and occasionally on twitch.tv/Jounce_
Previous record: 1,464,960 by me, 3 days prior. Before that was 1,461,740 by Cheez.
music is youtube.com/watch?v=W9wkN_SxeQ0
I think I turned on a noise suppression filter on my microphone so the rolling and game sound sucks, sorry
-me, 12/26/2019
A tournament which allows players to change DAS however they want.
Join the discord: http://bit.ly/AnyDAStris
Organizer and commentary: me
A tournament which allows players to change DAS however they want.
Join the discord: http://bit.ly/AnyDAStris
Organizer and commentary: me
Co-commentary: kibi_byte
3 voices you can't play it with 2 hands sadly.
here's sheet music and other files: drive.google.com/drive/folders/10g547w6iT1-xReHp_VWRX8d33rIV97nX?usp=sharing
reference: youtube.com/watch?v=Opp9sns9z9Y
T: 0,2,4,6
J: 8,10,10,13
Z: 16,16
O: 19
S: 19,19
L: 19,19,29,29
I: 29,29
yeezyboi beat me
Triple awareness gets me the maxout.
If you are interested in learning this piece, see sheets I've produced here: drive.google.com/drive/folders/1LVkJ6qk00IiE2ibAv47L6U4I3yDVpoYz?usp=sharing
made with objection.lol, from discord messages, with some liberties taken where I skipped irrelevant messages and slightly rearranged the order to make sense.
I could not hear any of the music or conversation while I was playing this game.
0:00 - First strain of Blue Lampshade
1:10 - Rising Star
4:30 - Over the Top
8:15 - The High-Roller
9:45 - I remember the rest of The High-Roller
12:15 - Razor Blades
15:15 - Super Mario World Ending Theme
All composed by Tom Brier, save the Super Mario World Ending. The High-Roller is a collaboration with Neil Blaze.
I apologize for the numerous errors in my playing, I simply never get to the point on any piece where it feels seriously polished.
The visuals were autogenerated by the Dolby recording app I was using.
10 second animation that took me like 10 hours of work, although if I wasn't figuring out how to use software at the same time as making it, that time could've been greatly reduced.
I was actually only playing for a 700 transition rather than a 1.2 lol. If I hadn't gone for that my stack would have been far better at transition, and the score could've been even higher. A whole bunch of mini-chokes throughout but I still managed to hold it together with the help of god RNG.
Transition score: 713,320
Maxout at 193.31 lines
I started with only 2 hands and then it quickly became apparent I needed 4, so that's how it ended up. I make these mostly to set out what the notes are for myself, then reinterpret them as an easier melody I'm physically capable of playing. This is not really meant to be played, but hell, if you've got a friend and a heap of skill, more power to you.
PDF: drive.google.com/file/d/1a8Z_77cNyPwQY0McGC63fByyi7DAjmDx/view?usp=sharing
1.1 is not far away! I'm sure I'll get a few more plain maxes before that though.
I use a custom hacked ROM with 7-digit score and a display of tapping speed. Gameplay is not impacted whatsoever by these mods. Played on Console via Everdrive.
Shoutouts to NubbinsGoody/ Jonas Neubauer for showing this game off on his stream.
Music in the background is just what I had on while playing. The first song is something like a-bit of 80s by Joe Jeremiah and the second is Over The Top by Tom Brier, that video is on Keeper1st channel
Note: The next piece depends entirely on what frame it is generated on, not on what buttons have been pressed. This is why there is a lot of pausing, it's to get the next piece to generate as I want it. The spicy movement is not to manipulate RNG, I just felt that not enough TASes of Tetris take advantage of the fact that they're a TAS. They all use such plain movement, so I made sure not to.
My favorite bit of movement occurs at 3:12; it's a quadruple tuck which involves 3 taps and a spin. Pretty much the farthest you can tuck a piece on lvl 18.
Rerecords: 8113
This took 9 days to TAS, working on it on and off. Probably 12-15 hours of work if I had to estimate.
PDF: drive.google.com/file/d/1jYtWXTczsL6oknbvESb49yRXpc4-RESy/view?usp=sharing
Link to sheet music: drive.google.com/file/d/1w4tXemF4G4Yc1N7vf1kIirnP4PIa0eSz/view?usp=sharing
Link to the sheet music: drive.google.com/file/d/1qOVQHqUYXIELQ5vfhGCS2Wl67ucBON5Q/view?usp=sharing
Feel free to play this if you can, and I would actually recommend making simplifications for yourself, as this is a very complex piece.
Be warned that this music is pitch-shifted and can't be played on a properly tuned piano.
Here is a link to download the sheet music in pdf: drive.google.com/file/d/17KSIEVOfCYExFrPQXcFhhQQPS05nxl2Q/view?usp=sharing
Here are the first two revisions:
revision 1: youtu.be/vm6x4nENQbE
revision 2: youtu.be/TmDFVifp3H4


