funute
Level 30 Chipist
 
bytez 
2nd Σ5.531

 
beatz 
4th Σ5.590

 
codingz 
1st Σ6.177

 
crunchez 
5th Σ5.151

 
t in pantz 
4th Σ5.045

 
vgm engine
 
  2nd/14   Σ27.494   Nov 1st 2020 12:00am
 
 
will explain later
216
16
98
12
14
 


previous entry
argarak - pcm.modshape.wv


nextious entry
Baron Knoxburry - stumble-a-thon
 
129714
Level 30 Chipist
funute
 
 
 
post #129714 :: 2020.11.01 12:29am :: edit 2020.11.01 1:26am
  
  AArt1256 liēkd this
Just wanted to squeeze my entry within submission period, so here's the real description:

Literally no one:
Me: wouldn't it be funny if I made a bytebeat engine that played VGM files

So yeah, this is basically a crude SN76489 emulator (-ish?) on top of a converted VGM dump. In true bytebeat fashion, it *is* still purely a function of t if you look at the code, just...with a lot of data behind it. And it's still a bit rough around the edges for reasons I didn't have time to look into. I took a bunch of dumb shortcuts to save time at the expensive of using more space and didn't even come close to the 10mb limit. But don't worry I'll probably have something for bytebeat1k whenever that comes around :)

Also I rushed out the actual track in like 30 min so it's sloppy, whatever :D

If you wanna play around with this here's the magic behind it: https://pastebin.com/sXJewAya (Old version had a bug that was missing the loop on line 99, oops. That's why the timing's off on my entry. Oh well.)
And the .snm from which the .vgm came from: https://drive.google.com/file/d/1n0n1cO0gBp0uJil6xO7YoNS7CpI4fRtW/view?usp=sharing

Also s/o to SMS Power, referenced https://www.smspower.org/Development/SN76489 heavily during development.
 
 
129717
Level 23 Mixist
Minerscale
 
 
 
post #129717 :: 2020.11.01 1:39am
Haha, nice, that's pretty sick, and the JS code is so simple too! I envy the simplicity :{
 
 
129719
Level 14 Signalist
AArt1256
 
 
post #129719 :: 2020.11.01 1:47am :: edit 2020.11.01 1:07am
WOW HOW DID YOU DO THIS WOW IM AMAZED


also I get this error when I run my own vgm:
Syntax Error: "" literal is not terminated before end of script
 
 
129782
Level 30 Chipist
funute
 
 
 
post #129782 :: 2020.11.01 1:04pm
Fixed it up to work with greggman's html5bytebeat: https://tinyurl.com/y3aya2sz

Something about slashes tripped up the parser on greggman's tool so I changed the encoding to a different range that avoids slashes. Also it seemed to run slow with the VGM data in a super long string literal so it's an array of strings now. Seems to run slightly better at the expense of using slightly more space.

New version of the converter script: https://pastebin.com/PzNDCeHH

Instructions: Grab the new engine from the greggman link above, take the Python script above (uses Python 3), run the converter on your .vgm to generate the VGM data, replace the data in VGM=[] with the generated VGM data, then play with whatever tool. Should work with any 60Hz/NTSC track, it will warn you if your VGM uses PAL rate or some other custom rate.
 
 
129788
Level 31 Chipist
kleeder
 
 
 
post #129788 :: 2020.11.01 1:51pm
  
  mirageofher liēkd this
IT EVEN PLAYS PERFECTLY FINE IN GREGGMANS TOOL AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
 
 
129793
Level 28 Mixist
argarak
 
 
 
post #129793 :: 2020.11.01 2:51pm :: edit 2020.11.02 11:13am
pretty cool, the sn7 doesn't seem too hard to emulate but the converter is pretty solid and I had fun converting some of my vgms to work with it. nice work!
 
 
129874
Level 14 Signalist
AArt1256
 
 
post #129874 :: 2020.11.03 12:45am
While converting Zophar's vgms i got this error

Traceback (most recent call last):
File "D:\bytebeat-vgm.py", line 25, in <module>
raise Exception('Not VGM file?')
Exception: Not VGM file?
 
 
129918
Level 30 Chipist
funute
 
 
 
post #129918 :: 2020.11.03 5:44pm
It's what it says, whatever you gave it doesn't look like a VGM file (missing magic number). I'm guessing you might have given it a .vgz file which you'll want to convert back into .vgm.
 
 
129929
Level 14 Signalist
AArt1256
 
 
post #129929 :: 2020.11.04 9:38am
yea
 
 
129961
Level 22 Chipist
birdrun
 
 
 
post #129961 :: 2020.11.05 5:23am
  
  mirageofher and AArt1256 liēkd this
Points for sheer audacity and demoscene style hackery, I'm impressed!
 
 
130186
Level 14 Signalist
AArt1256
 
 
post #130186 :: 2020.11.08 9:21am :: edit 2020.11.08 9:42am
also to make the lfsr more compact use this instead of the old text

1111111111111110000000011111111 but it only really works well on stuff that doesnt use white noise

or for practical use use this

00000000000001100001010110001000010100011110010110101101110000101110101110001010100010111110000011001011000111111000100001000011111111100011000010000110011111010100110110111010001100111110111010010100101001000100010011101110001101011111101001100100010011011100000000010110001001100010100101000001100011001111111011001011101111110011110000101010101010100000011100010100000110011010111100101101011111010100000000110011110000100011011000010001010011101110111100010000111010001101001101011001011110110011000011101001101001010110110100110001101011010101010100100010101110101101011000000110100001101100010101001011110000100011101100111101111001100110110000010101010110101010100101100010101111101111011111110100110000010110011011110101100101101001100001110101010111011110101000100100011111000011110111001101111111010100000000010100010100000010100011110000101011111000000001001011111001111101010011010011101110000011011010001110000011011001100001011101011111000000010111001110111011011110111001110011100011011100001000111111111101101100010010010101000110011000001001101000101110000100011100000100011000100100001001000001111100011100100110100100010010100000110100000000001101011111011111011010100110011101101100000000110111011001000101000010111010000111001100111101100011010101111101101001010100101000000111101011110011001100110010011100011011011010101001111010010000111011001000111100100000101101110010011111110000010100101101110101010100000001111011100000001001100110000111101011010000010010010000010100101110000010001011100101000100111000110110001010110011101100011010010110100111110001110011110100110100100100111001110100111000100111100101001011100101101111011010110110111000010110111011100101011001001111101001111100001000100011110001011000110000101010111001110101101011100000101100111110110100110110110100
 
 
199916
Level 12 Chipist
Ludvig Almquist
 
 
 
post #199916 :: 2024.10.28 8:56am
minified: https://dollchan.net/bytebeat/#v3b647ZzbbtzIEYafZcVTs8mxydZho4FH1oLY5GIcG9hZhBeyEUiW7DUgj3aliXIR591Tp65qSrpLjHgT2rD8icNqVv9d/bNdBvSPvfc3l1d7y72729XBQd917eXRwcq9b7f16sTdr94/e//L+e0A9/ywc9u6vV+4+5Pj8HL/aLl/WNftx6vdxcpt27tde0Uh29L1L17c7epFv3CIcHnR1/XJydW2vb9Z3Z+vTu7PX/SHL4/2n/9683fXPwuH7f15/aVbdu3dbyt3e/Wx3eFQt7vV7vndbXv96fMqeLjs+6P2/Xa3ut35/cPvjw8PDvHbAj4/gT/PA6RzDdlcf4A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