| |
theWizard Account closed
Registered: Jul 2007 Posts: 109 |
HVSC tool to save a playlist using only the year of the tune.
like the title says.
a tool to filter songs from the hvsc by year then save the list ( in text with path to file ) not gibberish like a certain other tool does.
if there isnt one i will make one. |
|
| |
Conrad
Registered: Nov 2006 Posts: 849 |
I don't think there's a tool out there for such purpose. So, go ahead and write your own. :)
For .sid files (PSID formatted), always check at file index position $56 (HEX)... that's where the copyright year is stored as a string.
From what I've seen as HVSC-standard, the year string are represented in the following ways:
YYYY
YYYY-YY (e.g. 1995-96)
YYYY-YYYY (e.g. 1999-2000)
YY?? (e.g. 19??)
YYY? (e.g. 199?)
/0 (null string)
This would be the accurate way, but obviously not the fastest as it will require opening each file.
A quicker way would be to read the modification date/time and extract the year from that... but this would never work for sid files that were compiled at a time long after the actual song was released, or if it had a bug fix some years later. ;) |
| |
theWizard Account closed
Registered: Jul 2007 Posts: 109 |
I made a prog to do it for me,
example output for year 1982
/DEMOS/A-F/American_Flag_BASIC.sid
/DEMOS/Commodore/C_PRG_ex_01_BASIC.sid
/DEMOS/Commodore/C_PRG_ex_02_BASIC.sid
/DEMOS/Commodore/C_PRG_ex_03_BASIC.sid
/DEMOS/Commodore/C_PRG_ex_04_BASIC.sid
/DEMOS/Commodore/C_PRG_ex_05_BASIC.sid
/DEMOS/Commodore/C_PRG_ex_07_BASIC.sid
/DEMOS/Commodore/C_PRG_ex_08_BASIC.sid
/DEMOS/Commodore/C_PRG_ex_09_BASIC.sid
/DEMOS/Commodore/C_PRG_ex_10_BASIC.sid
/DEMOS/Commodore/C_Users_Guide_NTSC_BASIC.sid
/DEMOS/Commodore/C_Users_Guide_PAL_BASIC.sid
/DEMOS/Commodore/M1_Musik_BASIC.sid
/DEMOS/Commodore/M2_Synthesizer_BASIC.sid
/DEMOS/Commodore/M5_Gong_BASIC.sid
/DEMOS/Commodore/M6_Bomb_BASIC.sid
/DEMOS/Commodore/M7_Shot_BASIC.sid
/DEMOS/Commodore/M8_Sound_BASIC.sid
/DEMOS/S-Z/Stars_and_Stripes_Forever_BASIC.sid
/GAMES/A-F/Ape_Craze.sid
/GAMES/G-L/Hustler.sid
/GAMES/G-L/Jupiter_Lander.sid
/GAMES/M-R/Radar_Rat_Race.sid
/GAMES/S-Z/Tooth_Invaders.sid
/GAMES/S-Z/Trail_West_BASIC.sid
/MUSICIANS/B/Butterfield_Jim/M3_Dixie_BASIC.sid
/MUSICIANS/B/Butterfield_Jim/M4_Yankee_BASIC.sid
/MUSICIANS/C/Colin_Andrew/Arrival_of_the_Queen_Sheba.sid
/MUSICIANS/C/Colin_Andrew/Testcard.sid
/MUSICIANS/Y/Yewchuk_Bob/Morning_has_Broken_BASIC.sid
/MUSICIANS/Y/Yewchuk_Bob/Somewhere_over_the_Rainbow_BASIC.sid |
| |
theWizard Account closed
Registered: Jul 2007 Posts: 109 |
it's quite interesting actually , you can hear how the sound of the c64 evolved over the years by listening to the years consecutively from 82 bleeps to 2013 booms and probably beyond. |
| |
theWizard Account closed
Registered: Jul 2007 Posts: 109 |
Quote: I don't think there's a tool out there for such purpose. So, go ahead and write your own. :)
For .sid files (PSID formatted), always check at file index position $56 (HEX)... that's where the copyright year is stored as a string.
From what I've seen as HVSC-standard, the year string are represented in the following ways:
YYYY
YYYY-YY (e.g. 1995-96)
YYYY-YYYY (e.g. 1999-2000)
YY?? (e.g. 19??)
YYY? (e.g. 199?)
/0 (null string)
This would be the accurate way, but obviously not the fastest as it will require opening each file.
A quicker way would be to read the modification date/time and extract the year from that... but this would never work for sid files that were compiled at a time long after the actual song was released, or if it had a bug fix some years later. ;)
thanks for the info conrad , i allready knew though but thanks anyway. |