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: 833
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
Clown
Alakran_64
wacek/arise
radius75
Luca/FIRE
jmin
The Syndrom/TIA/Pret..
Guests online: 178
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 No Bounds  (9.6)
6 Comaland 100%  (9.6)
7 Uncensored  (9.6)
8 The Ghost  (9.6)
9 No Sprites  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Party Elk 2  (9.7)
2 Cubic Dream  (9.6)
3 Copper Booze  (9.5)
4 Rainbow Connection  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Onscreen 5k  (9.5)
7 Dawnfall V1.1  (9.5)
8 Quadrants  (9.5)
9 Daah, Those Acid Pil..  (9.5)
10 Birth of a Flower  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Nostalgia  (9.3)
3 Oxyron  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top NTSC-Fixers
1 Pudwerx  (10)
2 Booze  (9.7)
3 Stormbringer  (9.7)
4 Fungus  (9.6)
5 Grim Reaper  (9.3)

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