Mercurial > spc_convert
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/perl3 @targets =qw(4 AnnoyingKnock1.wav5 AnnoyingKnock2.wav6 AppleOfEnlightenment.wav7 Arcade.wav8 Battle01.wav9 Battle02.wav10 Battle03.wav11 Battle04.wav12 Battle05.wav13 Battle06.wav14 Battle07.wav15 Battle08.wav16 Battle09.wav17 Battle10.wav18 Bicycle.wav19 BossIntro.wav20 BrickRoad.wav21 Bus.wav22 Cave1.wav23 Cave2.wav24 Cave3.wav25 CaveOfThePast.wav26 ChaosTheater.wav27 CoffeeBreak.wav28 Dalaam.wav29 DalaamIntro.wav30 DeepDarkness.wav31 Defeated.wav32 Delivery.wav33 DrAndonuts.wav34 DrugStore.wav35 DungeonMan.wav36 DustyDunesDesert.wav37 EightMelodies.wav38 Ending1.wav39 Ending2.wav40 Ending3.wav41 FileSelect.wav42 FireSpring.wav43 FlyingMan.wav44 Fourside.wav45 Giygas1.wav46 Giygas2.wav47 Giygas3.wav48 Giygas4.wav49 Giygas5.wav50 GiygasDeath.wav51 GiygasIntro.wav52 GiygasPath.wav53 GiygasStatic.wav54 GrapefruitFalls.wav55 HappyHappy.wav56 HiddenTrack.wav57 Home.wav58 Hospital.wav59 Hotel1.wav60 Hotel2.wav61 Hotel3.wav62 Hotel4.wav63 HotelScaraba.wav64 House1.wav65 House2.wav66 House3.wav67 Intro1.wav68 Intro2.wav69 IntroDemo.wav70 IntroTitle.wav71 JackiesCafe.wav72 LevelUp.wav73 LostUnderworld.wav74 Magicant1.wav75 Magicant2.wav76 MagicantDepart.wav77 MagicantEnter.wav78 MagicCake.wav79 MasterBelchBase.wav80 MonkeyCave.wav81 Moonside.wav82 Mu.wav83 NewGame.wav84 Night.wav85 Onett1.wav86 Onett2.wav87 OnettBuzz1.wav88 OnettBuzz2.wav89 OnettBuzz3.wav90 OnettNight1.wav91 OnettNight2.wav92 OnettNight3.wav93 Paula.wav94 PeacefulRest.wav95 Photographer.wav96 PinkCloud.wav97 Pokey.wav98 PokeyIntro.wav99 PokeysHouse.wav100 PokeysHouseBuzz.wav101 PowerUp.wav102 Pray.wav103 Pyramid.wav104 Return1.wav105 Return2.wav106 RideSub.wav107 RideUFO.wav108 Robots.wav109 Runaway5Bus1.wav110 Runaway5Bus2.wav111 Runaway5Bus3.wav112 Runaway5Song1.wav113 Runaway5Song2.wav114 Sailing1.wav115 Sailing2.wav116 SaturnValley.wav117 SaturnValley2.wav118 Scaraba.wav119 ScarabaDesert.wav120 SeaOfEden.wav121 SnowWood.wav122 SnowWood2.wav123 SoundStone.wav124 SoundStone2.wav125 Summers.wav126 TendaVillage.wav127 Tent.wav128 Tessie1.wav129 Tessie2.wav130 Threed.wav131 Topolla.wav132 Twoson.wav133 Venus.wav134 Win1.wav135 Win2.wav136 Winters.wav137 YourSanctuary1.wav138 YourSanctuary2.wav139 Zombies.wav);141 @sources = qw(142 AA.spc143 AB.spc144 AC.spc145 AD.spc146 AE.spc147 AF.spc148 AG.spc149 AH.spc150 AI.spc151 AJ.spc152 AK.spc153 AL.spc154 AM.spc155 AN.spc156 AO.spc157 AP.spc158 AQ.spc159 AR.spc160 AS.spc161 AT.spc162 AU.spc163 AV.spc164 AW.spc165 AX.spc166 AY.spc167 AZ.spc168 BA.spc169 BB.spc170 BC.spc171 BD.spc172 BE.spc173 BF.spc174 BG.spc175 BH.spc176 BI.spc177 BJ.spc178 BK.spc179 BL.spc180 BM.spc181 BN.spc182 BO.spc183 BP.spc184 BQ.spc185 BR.spc186 BS.spc187 BT.spc188 BU.spc189 BV.spc190 BW.spc191 BX.spc192 BY.spc193 BZ.spc194 CA.spc195 CB.spc196 CC.spc197 CD.spc198 CE.spc199 CF.spc200 CG.spc201 CH.spc202 CI.spc203 CJ.spc204 CK.spc205 CL.spc206 CM.spc207 CN.spc208 CO.spc209 CP.spc210 CQ.spc211 CR.spc212 CS.spc213 CT.spc214 CU.spc215 CV.spc216 CW.spc217 CX.spc218 CY.spc219 CZ.spc220 DA.spc221 DB.spc222 DC.spc223 DD.spc224 DE.spc225 DF.spc226 DG.spc227 DH.spc228 DI.spc229 DJ.spc230 DK.spc231 DL.spc232 DM.spc233 DN.spc234 DO.spc235 DP.spc236 DQ.spc237 DR.spc238 DS.spc239 DT.spc240 DU.spc241 DV.spc242 DW.spc243 DX.spc244 DY.spc245 DZ.spc246 EA.spc247 EB.spc248 EC.spc249 ED.spc250 EE.spc251 EF.spc252 EG.spc253 EH.spc254 EI.spc255 EJ.spc256 EK.spc257 EL.spc258 EM.spc259 EN.spc260 EO.spc261 EP.spc262 EQ.spc263 ER.spc264 ES.spc265 ET.spc266 EU.spc267 EV.spc268 EW.spc269 EX.spc270 EY.spc271 EZ.spc272 FA.spc273 FB.spc274 FC.spc275 FD.spc276 FE.spc277 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 }