Mercurial > spc_convert
view convert.pl @ 4:87e64f302234
added conversion script
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Fri, 21 Oct 2011 06:54:14 -0700 |
parents | |
children | b6e64e348e47 |
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.wavAA.spc);141 @sources = qw(142 AB.spc143 AC.spc144 AD.spc145 AE.spc146 AF.spc147 AG.spc148 AH.spc149 AI.spc150 AJ.spc151 AK.spc152 AL.spc153 AM.spc154 AN.spc155 AO.spc156 AP.spc157 AQ.spc158 AR.spc159 AS.spc160 AT.spc161 AU.spc162 AV.spc163 AW.spc164 AX.spc165 AY.spc166 AZ.spc167 BA.spc168 BB.spc169 BC.spc170 BD.spc171 BE.spc172 BF.spc173 BG.spc174 BH.spc175 BI.spc176 BJ.spc177 BK.spc178 BL.spc179 BM.spc180 BN.spc181 BO.spc182 BP.spc183 BQ.spc184 BR.spc185 BS.spc186 BT.spc187 BU.spc188 BV.spc189 BW.spc190 BX.spc191 BY.spc192 BZ.spc193 CA.spc194 CB.spc195 CC.spc196 CD.spc197 CE.spc198 CF.spc199 CG.spc200 CH.spc201 CI.spc202 CJ.spc203 CK.spc204 CL.spc205 CM.spc206 CN.spc207 CO.spc208 CP.spc209 CQ.spc210 CR.spc211 CS.spc212 CT.spc213 CU.spc214 CV.spc215 CW.spc216 CX.spc217 CY.spc218 CZ.spc219 DA.spc220 DB.spc221 DC.spc222 DD.spc223 DE.spc224 DF.spc225 DG.spc226 DH.spc227 DI.spc228 DJ.spc229 DK.spc230 DL.spc231 DM.spc232 DN.spc233 DO.spc234 DP.spc235 DQ.spc236 DR.spc237 DS.spc238 DT.spc239 DU.spc240 DV.spc241 DW.spc242 DX.spc243 DY.spc244 DZ.spc245 EA.spc246 EB.spc247 EC.spc248 ED.spc249 EE.spc250 EF.spc251 EG.spc252 EH.spc253 EI.spc254 EJ.spc255 EK.spc256 EL.spc257 EM.spc258 EN.spc259 EO.spc260 EP.spc261 EQ.spc262 ER.spc263 ES.spc264 ET.spc265 EU.spc266 EV.spc267 EW.spc268 EX.spc269 EY.spc270 EZ.spc271 FA.spc272 FB.spc273 FC.spc274 FD.spc275 FE.spc276 FF.spc);279 for (0..$#targets){281 $command = "./build/spc_convert -s 1" . " -i ./test-files/" . $source[$_] .282 " -o ./output/" . $target[$_];283 print "$command\n";285 }