I need help with using the program Ray2Get.

Discuss tools to aid in the modification and running of Rayman games.

Moderator: Modding and utilities team

Forum rules
Please keep the forum rules and guidelines in mind when creating or replying to a topic.
Post Reply
Garo
Golden Teensy
Posts: 91
Joined: Sun Aug 08, 2021 1:37 pm
Location: Vegetables' HQ
Contact:
Tings: 970

I need help with using the program Ray2Get.

Post 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: Image
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.
PluMGMK
Annetta Fish
Posts: 40517
Joined: Fri Jul 31, 2009 9:00 pm
Location: https://www.youtube.com/watch?v=cErgMJSgpv0
Contact:
Tings: 136651

Re: I need help with using the program Ray2Get.

Post 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)
Garo
Golden Teensy
Posts: 91
Joined: Sun Aug 08, 2021 1:37 pm
Location: Vegetables' HQ
Contact:
Tings: 970

Re: I need help with using the program Ray2Get.

Post 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: Image
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?
Last edited by PluMGMK on Thu Jun 16, 2022 11:50 pm, edited 1 time in total.
Reason: Posts merged
PluMGMK
Annetta Fish
Posts: 40517
Joined: Fri Jul 31, 2009 9:00 pm
Location: https://www.youtube.com/watch?v=cErgMJSgpv0
Contact:
Tings: 136651

Re: I need help with using the program Ray2Get.

Post by PluMGMK »

The backslashes aren't the issue, you need to add the ".py" to the end.
Garo
Golden Teensy
Posts: 91
Joined: Sun Aug 08, 2021 1:37 pm
Location: Vegetables' HQ
Contact:
Tings: 970

Re: I need help with using the program Ray2Get.

Post 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.
Garo
Golden Teensy
Posts: 91
Joined: Sun Aug 08, 2021 1:37 pm
Location: Vegetables' HQ
Contact:
Tings: 970

Re: I need help with using the program Ray2Get.

Post 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.
Hunchman801
Bad Rayman
Posts: 87676
Joined: Thu Aug 07, 2003 6:50 pm
Location: Paris, France
Contact:
Tings: 640492

Re: I need help with using the program Ray2Get.

Post by Hunchman801 »

Good news, let us know if he replies. :)
Garo
Golden Teensy
Posts: 91
Joined: Sun Aug 08, 2021 1:37 pm
Location: Vegetables' HQ
Contact:
Tings: 970

Re: I need help with using the program Ray2Get.

Post 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.
Hunchman801
Bad Rayman
Posts: 87676
Joined: Thu Aug 07, 2003 6:50 pm
Location: Paris, France
Contact:
Tings: 640492

Re: I need help with using the program Ray2Get.

Post by Hunchman801 »

Sorry to hear that, hope it's the first explanation.
Post Reply