-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathindex.html
More file actions
149 lines (139 loc) · 6.41 KB
/
index.html
File metadata and controls
149 lines (139 loc) · 6.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="shortcut icon" href="src/yinyang.ico" type="image/x-icon">
<link rel="icon" href="src/yinyang.ico" type="image/x-icon">
<meta name="author" content="kasha">
<meta name="description" content="Sorter for Touhou songs. Pick your sources, and hit the Start button.">
<meta name="keywords" content="touhou song sorting">
<meta name="generator" content="notepad">
<meta property="og:title" content="Touhou Song Sorting">
<meta property="og:type" content="website">
<meta property="og:image" content="https://kasha.dev/song/images/FI9IsdC.jpg">
<meta property="og:url" content="https://kasha.dev/song/">
<meta property="og:description" content="Sorter for Touhou songs. Pick your sources, and hit the Start button.">
<title>Touhou Song Sorter</title>
<noscript></noscript>
<script src="https://cdnjs.cloudflare.com/ajax/libs/json2/20110223/json2.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
<script src="src/jstorage.js"></script>
<script> /* $.jStorage is now available */ </script>
<script src="src/helpers.js"></script>
<script src="src/fnc_data_song.js"></script>
<script src="src/fnc_main_song.js"></script>
<script src="src/op.js"></script>
<link rel="stylesheet" type="text/css" href="src/tcs_style_song.css">
</head>
<body onload="startup()">
<div class="center">
<table id="mainTable">
<thead>
<tr>
<td colspan="5" class="tb_header">Battle No. <span id="lblCount">-</span><br>
<div id="GaGprog"><div id="progressText"><span id="lblProgress">0</span>% sorted.</div></div>
</td>
</tr>
</thead>
<tbody>
<tr>
<td id="fldLeft" onclick="fnc_Sort(-1);" rowspan="2"><img src="images/Kw2uOqV.jpg" title="Left"></td>
<td style="border: 0; width: 7px;"></td>
<td id="fldMiddleT" onclick="fnc_Sort(0);"><p>Touhou</p><p>Song Sort</p></td>
<td style="border: 0; width: 7px;"></td>
<td id="fldRight" onclick="fnc_Sort(1);" rowspan="2"><img src="images/FI9IsdC.jpg" title="Right"></td>
</tr>
<tr>
<td style="border: 0; width: 7px;"></td>
<td id="fldMiddleB" onclick="fnc_Undo();">Click to start!</td>
<td style="border: 0; width: 7px;"></td>
</tr>
<tr>
<td id="texLeft" onclick="fnc_Sort(-1);" rowspan="2"><span id="nameLeft">Song here!</span><br><span id="gameLeft">This song's game!</span><br><br><span id="detailLeft">This song's description!</span></td>
<td style="border: 0; width: 7px;"></td>
<td id="fldMiddleS" class="inactive" onclick="fnc_Save(false);">Save Progress</td>
<td style="border: 0; width: 7px;"></td>
<td id="texRight" onclick="fnc_Sort(1);" rowspan="2"><span id="nameRight">Another song here!</span><br><span id="gameRight">The other song's game!</span><br><br><span id="detailRight">The other song's description!</span></td>
</tr>
<tr>
<td style="border: 0; width: 7px;"></td>
<td id="fldMiddleL" class="inactive" onclick="fnc_Load(false);">Load Progress</td>
<td style="border: 0; width: 7px;"></td>
</tr>
<tr>
<td id="youLeft"><span></span></td>
<td id="youMiddle" colspan="3"></td>
<td id="youRight"><span></span></td>
</tr>
</tbody>
<tfoot>
<tr>
<td colspan="5"><div class="center">
<input id="optImage" checked="checked" type="checkbox">
<span class="tb_lower"><label for="optImage">Embed videos while sorting</label> (warning: may be slow on some computers!)</span></div></td>
</tr>
<tr>
<td colspan="5"><div class="center">
<input id="optArrange" checked="checked" type="checkbox">
<span class="tb_lower"><label for="optArrange">Include arranges</label> (uncheck to only include original songs).</span></div></td>
</tr>
<tr>
<td colspan="5">
<div class="center">
<label class="tb_lower" for="optSortType">Sort:</label>
<select name="optSortType" id="optSortType">
<option value="0" selected>Everything</option>
<option value="1">Only Boss themes and Stage themes</option>
<option value="2">Only Boss themes</option>
<option value="3">Only Stage themes</option>
</select>
</div>
</td>
</tr>
</tfoot>
</table>
</div>
<br>
<div id="optSelectList"></div>
<br>
<div id="saveTable" style="display:inline;">
<hr>
<form>
<p>The Save and Load buttons will use your device's storage.
<br>If you need to transfer progress between devices, use the following buttons to get a text version of the save data that you can copy and paste instead.
<br>Note that dumping progress to text will not save the data to this device's storage. It will only create the text version for you to copy.
</p>
<input id="dump" value="Dump Progress to Text" disabled="true" onclick="fnc_Save(true)" type="button">
<script>getID("dump").toggleAttribute("disabled", true)</script>
<input value="Load Progress from Text" onclick="fnc_Load(true)" type="button">
</form>
</div>
<div id="ranTable" class="tb" style="display:none;">
<hr>
<form>
<input value="Raw Text Results" onclick="OpenWnd()" type="button">
<input value="Switch Display Type" onclick="fnc_ShowData()" type="button">
<p class="screenshot-info">Full screenshot: Firefox: Press Shift+F2, type in "screenshot --fullpage filename.png".
<br>Chrome: Use the Screen Capture extension from the Chrome extensions webstore.</p>
</form>
</div>
<hr>
<div class="bottom-text" id="resultField">
<p>
If any albums/games are missing, please press CTRL+F5 first before reporting!<br>
The latest update was 13th September 2025 (Fixed videos, added a method to transfer progress between devices, added Fossilized Wonders, and added almost all the remaining missing ZUN/Touhou works)<br>
<br>
This is a sorter for ZUN's Touhou (and other) songs. Pick your sources, and hit the Start button.<br>
Click on the song you like better from the two, or tie them if you like them equally or don't know them.<br>
<br>
If you pick a lot of sources expect to spend many hours, especially if you don't use many ties.<br>
<br>
If there are any issues, such as missing videos, you can:<br>
- check out the <a href="https://github.com/relick/touhou-song-sorter" target="_blank">github</a><br>
- contact me by Discord (@kasha.dev)<br>
<br>
- <a href="https://kasha.dev/" target="_blank">kasha</a>
</p>
</div>
</body>
</html>