Current Full E-Touch Version: 10.2.0
Current Demo E-Touch Version: 10.0.0
Current Beta: 10.2.1 Beta 22 (09/02/23)

Main Menu

HOW TO: Make your own charts for your country

Started by Novalak, July 04, 2011, 07:02:29 AM

Previous topic - Next topic


Countries Supported

New Zealand

Software Needed:
Notepad++ (Recommended Not Essential)

Active Perl (Must Have)
32bit -

64bit -

Create a new txt document - chart.txt and paste the following script in there. Save and then rename to

----Script Starts Here ----
die "Require 1 argument only! $0 <inputfile> > <outputfile>\n" unless (scalar @ARGV == 1);
my $inputfile = $ARGV[0];
my @arr = ();

open F, "<$inputfile" or die "Cannot open file: $inputfile\n";

while (my $line = <F>)
  chomp $line;
  my @fields = split(/\t/, $line);
  if ($line =~ /^\d/)
     push @arr, "\"$fields[3]\"";
     push @arr, ",\"$fields[0]\"";
close F;

open G, ">$inputfile" or die "Cannot write to file: $inputfile\n";
while (my $line = shift(@arr))
  print G $line;
  print G ",.\n" if ($line =~ /^\,/);
close G;
----Script Ends Here ----

Once you have saved the file keep it safe - you will need it every month

Now go to the URL of the country you want to use

Austria -
Australia -
Finland -
France -
Germany -
Italy -
New Zealand -
Norway -
Spain -

Change the week to the week you want in your charts
Typically people do the last week of the month. I personally like doing the first week of the month, so its not empty for 3 out of the 4 weeks. Your choice
Highlight Rows 1-10, Copy and paste into a txt file, lets call it 07.txt
(07.txt means July. 01 for Jan etc)

Save the file in the same directory as your script

Open the cmd prompt and change directory to where your script and txt file is
run the <txt file>

For example

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\neilt>cd ../..

C:\>cd E-Touch

C:\E-Touch> 07.txt


And done!
Now move your 07.txt file to <e-touch directory>/history/<Chart>/<Year>
D:\E-Touch\history\ARIA Chart\2011\07.txt

Let me know if you have any questions