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