Note that there are some explanatory texts on larger screens.

plurals
  1. POMy batch file isn't using the correct values despite being read
    primarykey
    data
    text
    <p>I`m having issues with a batch file I have written to process a large amount of .wav music files with a tool. The encoded format is to have loop start and end points encoded within it. </p> <pre><code>@echo off @echo -------CONVERSION--------- for /f "tokens=1-5" %%l in (test.txt) do ( @echo %%n.wavを%%ni.fcoへ変換中です @echo %%o %%p set /a endloop1=%%o set /a endloop2=%%p set /a endloop=endloop1+endloop2 @echo %endloop1% %endloop2% %endloop% contool -e -br 144 -loop %endloop1% %endloop% ed%%n.wav ed%%n.fco </code></pre> <p>And the test.txt file I`m reading values from in its entirety is</p> <pre><code>bgmtbl BGM_Title 7552 73664 4997136 bgmtbl BGM_GameOver 7534 22464 4014400 bgmtbl BGM_Midtown 7101 773184 3718720 bgmtbl BGM_Cross_1 7102 112838 5827154 </code></pre> <p>Where the fourth and fifth values are the ones I need - the loop start point and loop length</p> <p>for some reason the endloop values use the numbers from the last line of the text file over and over! e.g</p> <pre><code>7552.wavを7552i.fcoへ変換中です 73664 4997136 112838 5827154 5939992 your parametter doesn't satisfy under the condition 0&lt;= loopstart(112838) &lt;= loopend(5939992) &lt; Total Sample(5118208) element=0/1 7534.wavを7534i.fcoへ変換中です 22464 4014400 112838 5827154 5939992 your parametter doesn't satisfy under the condition 0&lt;= loopstart(112838) &lt;= loopend(5939992) &lt; Total Sample(4125696) element=0/1 </code></pre> <p>etc</p> <p>Please help, this is very perplexing!</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload