Skip to content

(solution) Batch script doesn't work [Windows] #1

@deton24

Description

@deton24

Haven't used the tool for a long time, and it simply didn't work for me recently.
I found out in Windows that in batch script "python" shouldn't be put before Ray2get.
The script won't work at all using "& python ray2get.py" but only "ray2get" will work.

Exemplary script for converting all APM files to WAV
(of course for Rayman 2 go to Data\World\Sound and save it in notepad as convert.bat (file type: all files) and place Ray2Get nearby):

@echo off
echo Starting conversion...
for %%f in (*.apm) do echo "%%f" & ray2get.py di "%%f"
echo Converted.
@echo on
pause

Script for converting all WAV files to APM

@echo off
echo Starting conversion...
for %%f in (*.wav) do echo "%%f" & ray2get.py ei "%%f"
echo Converted.
@echo on
pause

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions