Page 1 of 1
I need help with using the program Ray2Get.
Posted: Thu Jun 16, 2022 9:52 pm
by Garo
Hello everybody! I recently came across a program called
Ray2Get. I was interested in the program because I wanted to insert custom music into Tonic Trouble, and maybe even Rayman 2. However there is an issue, no matter what I do it seems that this program will not work at all! I have Python 3.10.5 x64 installed to my computer so if the program only works with a specific version of Python then let me know but I don't think that's the issue here. I read on the GitHub page that it's a command line tool so I found deton24's batch script that is supposed to work with Windows but to my surprise it did not work.
Code: Select all
@echo off
echo Starting conversion...
for %%f in (*.apm) do echo "%%f" & ray2get di "%%f"
echo Converted.
@echo on
pause
Above is deton24's batch script that is supposed to convert .apm files (the files that store Rayman 2's music) into .wav files. Upon loading this up in a .bat file I get this:

It seems Windows doesn't recognize Ray2Get as a python script even though it's in the same directory as the .bat file. No matter what changes I make to the batch script nothing fixes it and I'm now at a loss. If anyone knows how to fix this or if I'm just doing this completely wrong please let me know.
Re: I need help with using the program Ray2Get.
Posted: Thu Jun 16, 2022 10:21 pm
by PluMGMK
I didn't think Windows could execute Python scripts from the command line like that. I think you need to replace "ray2get" with "python3 ray2get.py" in that batch file. Or if Python isn't in your PATH, you'll need to specify the full path to Python3 (e.g. something under "C:\Program Files" or whatever)
Re: I need help with using the program Ray2Get.
Posted: Thu Jun 16, 2022 10:34 pm
by Garo
PluMGMK wrote: Thu Jun 16, 2022 10:21 pm
I didn't think Windows could execute Python scripts from the command line like that. I think you need to replace "ray2get" with "python3 ray2get.py" in that batch file. Or if Python isn't in your PATH, you'll need to specify the full path to Python3 (e.g. something under "C:\Program Files" or whatever)
I tried that but now I get this error:

It seems the batch script is putting extra backslashes in the Ray2Get directory which Windows doesn't recognize. I'm not really sure why it's doing that.
–––
Nevermind Python itself is actually adding the extra backslashes to the directory and not the batch script. Any ideas on how to fix that?
Re: I need help with using the program Ray2Get.
Posted: Thu Jun 16, 2022 11:50 pm
by PluMGMK
The backslashes aren't the issue, you need to add the ".py" to the end.
Re: I need help with using the program Ray2Get.
Posted: Fri Jun 17, 2022 12:08 am
by Garo
PluMGMK wrote: Thu Jun 16, 2022 11:50 pm
The backslashes aren't the issue, you need to add the ".py" to the end.
Alright I think that worked but now there's another issue that needs to be solved. Tonic Trouble's music are stored in .bnm files, which I think by default Ray2Get only supports .apm files. There's a YouTuber I found named
Fred Bronze which was able to rip all of Tonic Trouble's music using Ray2Get. I might just contact him and hope he responds back to me.
Edit: Bad news, it seems his Twitter no longer exists which means I'll have to contact him in the YouTube comments section. This could be bad.
Re: I need help with using the program Ray2Get.
Posted: Fri Jun 17, 2022 8:32 pm
by Garo
Good News! I found Fred Bronze's Twitter! Turns out the Twitter link on his YouTube channel linked to his deleted account I guess.
Re: I need help with using the program Ray2Get.
Posted: Tue Jun 21, 2022 3:51 pm
by Hunchman801
Good news, let us know if he replies.

Re: I need help with using the program Ray2Get.
Posted: Tue Jun 21, 2022 5:13 pm
by Garo
Hunchman801 wrote: Tue Jun 21, 2022 3:51 pm
Good news, let us know if he replies.
Unfortunately I dmed him last Friday and he still hasn't responded. Either he's busy with something else or is ignoring me.
Re: I need help with using the program Ray2Get.
Posted: Tue Jun 21, 2022 8:57 pm
by Hunchman801
Sorry to hear that, hope it's the first explanation.