view convert.pl @ 9:477c36226481 tip

added old scripts for historical interest.
author Robert McIntyre <rlm@mit.edu>
date Fri, 21 Oct 2011 07:46:18 -0700
parents a012d31df380
children
line wrap: on
line source
1 #!/usr/bin/perl
3 @targets =qw(
4 AnnoyingKnock1.wav
5 AnnoyingKnock2.wav
6 AppleOfEnlightenment.wav
7 Arcade.wav
8 Battle01.wav
9 Battle02.wav
10 Battle03.wav
11 Battle04.wav
12 Battle05.wav
13 Battle06.wav
14 Battle07.wav
15 Battle08.wav
16 Battle09.wav
17 Battle10.wav
18 Bicycle.wav
19 BossIntro.wav
20 BrickRoad.wav
21 Bus.wav
22 Cave1.wav
23 Cave2.wav
24 Cave3.wav
25 CaveOfThePast.wav
26 ChaosTheater.wav
27 CoffeeBreak.wav
28 Dalaam.wav
29 DalaamIntro.wav
30 DeepDarkness.wav
31 Defeated.wav
32 Delivery.wav
33 DrAndonuts.wav
34 DrugStore.wav
35 DungeonMan.wav
36 DustyDunesDesert.wav
37 EightMelodies.wav
38 Ending1.wav
39 Ending2.wav
40 Ending3.wav
41 FileSelect.wav
42 FireSpring.wav
43 FlyingMan.wav
44 Fourside.wav
45 Giygas1.wav
46 Giygas2.wav
47 Giygas3.wav
48 Giygas4.wav
49 Giygas5.wav
50 GiygasDeath.wav
51 GiygasIntro.wav
52 GiygasPath.wav
53 GiygasStatic.wav
54 GrapefruitFalls.wav
55 HappyHappy.wav
56 HiddenTrack.wav
57 Home.wav
58 Hospital.wav
59 Hotel1.wav
60 Hotel2.wav
61 Hotel3.wav
62 Hotel4.wav
63 HotelScaraba.wav
64 House1.wav
65 House2.wav
66 House3.wav
67 Intro1.wav
68 Intro2.wav
69 IntroDemo.wav
70 IntroTitle.wav
71 JackiesCafe.wav
72 LevelUp.wav
73 LostUnderworld.wav
74 Magicant1.wav
75 Magicant2.wav
76 MagicantDepart.wav
77 MagicantEnter.wav
78 MagicCake.wav
79 MasterBelchBase.wav
80 MonkeyCave.wav
81 Moonside.wav
82 Mu.wav
83 NewGame.wav
84 Night.wav
85 Onett1.wav
86 Onett2.wav
87 OnettBuzz1.wav
88 OnettBuzz2.wav
89 OnettBuzz3.wav
90 OnettNight1.wav
91 OnettNight2.wav
92 OnettNight3.wav
93 Paula.wav
94 PeacefulRest.wav
95 Photographer.wav
96 PinkCloud.wav
97 Pokey.wav
98 PokeyIntro.wav
99 PokeysHouse.wav
100 PokeysHouseBuzz.wav
101 PowerUp.wav
102 Pray.wav
103 Pyramid.wav
104 Return1.wav
105 Return2.wav
106 RideSub.wav
107 RideUFO.wav
108 Robots.wav
109 Runaway5Bus1.wav
110 Runaway5Bus2.wav
111 Runaway5Bus3.wav
112 Runaway5Song1.wav
113 Runaway5Song2.wav
114 Sailing1.wav
115 Sailing2.wav
116 SaturnValley.wav
117 SaturnValley2.wav
118 Scaraba.wav
119 ScarabaDesert.wav
120 SeaOfEden.wav
121 SnowWood.wav
122 SnowWood2.wav
123 SoundStone.wav
124 SoundStone2.wav
125 Summers.wav
126 TendaVillage.wav
127 Tent.wav
128 Tessie1.wav
129 Tessie2.wav
130 Threed.wav
131 Topolla.wav
132 Twoson.wav
133 Venus.wav
134 Win1.wav
135 Win2.wav
136 Winters.wav
137 YourSanctuary1.wav
138 YourSanctuary2.wav
139 Zombies.wav);
141 @sources = qw(
142 AA.spc
143 AB.spc
144 AC.spc
145 AD.spc
146 AE.spc
147 AF.spc
148 AG.spc
149 AH.spc
150 AI.spc
151 AJ.spc
152 AK.spc
153 AL.spc
154 AM.spc
155 AN.spc
156 AO.spc
157 AP.spc
158 AQ.spc
159 AR.spc
160 AS.spc
161 AT.spc
162 AU.spc
163 AV.spc
164 AW.spc
165 AX.spc
166 AY.spc
167 AZ.spc
168 BA.spc
169 BB.spc
170 BC.spc
171 BD.spc
172 BE.spc
173 BF.spc
174 BG.spc
175 BH.spc
176 BI.spc
177 BJ.spc
178 BK.spc
179 BL.spc
180 BM.spc
181 BN.spc
182 BO.spc
183 BP.spc
184 BQ.spc
185 BR.spc
186 BS.spc
187 BT.spc
188 BU.spc
189 BV.spc
190 BW.spc
191 BX.spc
192 BY.spc
193 BZ.spc
194 CA.spc
195 CB.spc
196 CC.spc
197 CD.spc
198 CE.spc
199 CF.spc
200 CG.spc
201 CH.spc
202 CI.spc
203 CJ.spc
204 CK.spc
205 CL.spc
206 CM.spc
207 CN.spc
208 CO.spc
209 CP.spc
210 CQ.spc
211 CR.spc
212 CS.spc
213 CT.spc
214 CU.spc
215 CV.spc
216 CW.spc
217 CX.spc
218 CY.spc
219 CZ.spc
220 DA.spc
221 DB.spc
222 DC.spc
223 DD.spc
224 DE.spc
225 DF.spc
226 DG.spc
227 DH.spc
228 DI.spc
229 DJ.spc
230 DK.spc
231 DL.spc
232 DM.spc
233 DN.spc
234 DO.spc
235 DP.spc
236 DQ.spc
237 DR.spc
238 DS.spc
239 DT.spc
240 DU.spc
241 DV.spc
242 DW.spc
243 DX.spc
244 DY.spc
245 DZ.spc
246 EA.spc
247 EB.spc
248 EC.spc
249 ED.spc
250 EE.spc
251 EF.spc
252 EG.spc
253 EH.spc
254 EI.spc
255 EJ.spc
256 EK.spc
257 EL.spc
258 EM.spc
259 EN.spc
260 EO.spc
261 EP.spc
262 EQ.spc
263 ER.spc
264 ES.spc
265 ET.spc
266 EU.spc
267 EV.spc
268 EW.spc
269 EX.spc
270 EY.spc
271 EZ.spc
272 FA.spc
273 FB.spc
274 FC.spc
275 FD.spc
276 FE.spc
277 FF.spc);
280 `mkdir ./output`;
282 for (0..$#targets){
284 my $pid = fork();
286 if ($pid == 0) {
288 $command = "./build/spc_convert -s 100" . " -i ./test-files/" .
289 $sources[$_] . " -o ./output/" . $targets[$_];
290 print "$command\n";
292 `$command`;
293 exit(0);
294 }
295 }