Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > Requests > HVSC tool to save a playlist using only the year of the tune.
2013-11-28 10:07
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.
2013-11-28 11:37
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. ;)
2013-11-28 14:31
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
2013-11-28 17:26
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.
2013-11-29 09:02
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.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
The Syndrom/TIA/Pret..
Peacemaker/CENSOR/Hi..
Fred/Channel 4
DKT/Samar/sidDivers
csabanw
Isildur/Samar
MWR/Visdom
Acidchild/Padua
Guests online: 115
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 Edge of Disgrace  (9.6)
6 What Is The Matrix 2  (9.6)
7 The Demo Coder  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 No Listen  (9.6)
3 Cubic Dream  (9.6)
4 Party Elk 2  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Performers  (9.3)
2 Booze Design  (9.3)
3 Oxyron  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Swappers
1 Derbyshire Ram  (10)
2 Jerry  (9.8)
3 Violator  (9.7)
4 Acidchild  (9.7)
5 Cash  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.033 sec.