Xerxes

Joined 25 November 2014
no edit summary
(→‎TMD scrape script: this should work, yay)
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 14: Line 14:
Then in your terminal run <code>sh ~/Desktop/curl.sh</code> and it'll begin scraping the 850,000 possible IDs.
Then in your terminal run <code>sh ~/Desktop/curl.sh</code> and it'll begin scraping the 850,000 possible IDs.


Make a copy of the ~/TMDs directory to ~/TMDcopy, and make another folder ~/renamedTMD. This is the C program I used to rename them all to Dolphin's 6-character IDs (pls no bully I wrote this, not portable, requires changing all the numbers because I'm garbage):
Make a copy of the ~/TMDs directory to ~/TMDcopy, and make another folder ~/renamedTMD. This is the C program I used to rename them all to Dolphin's 6-character IDs (pls no bully I wrote this, not portable, requires changing all the numbers and the username from "xerxes" to your username because I'm garbage):


<pre>
<pre>
Line 103: Line 103:
fromfilename[36] = hexToChar(o % 16);
fromfilename[36] = hexToChar(o % 16);
//printf("%d\t\t%s\n", count, fromfilename);
++count;
++count;
6,906

edits