Ray2Get won't Open?

For discussions about the Rayman series.
Forum rules
Please keep the forum rules and guidelines in mind when creating or replying to a topic.
Post Reply
screechy
Nookin
Posts: 22
Joined: Fri Jul 27, 2018 11:51 pm
Tings: 2620

Ray2Get won't Open?

Post by screechy »

When I use ray2get and try to open the ray2get.py file, it opens the python shell for an instant and then immediately closes. I want to use this to import my own custom music, but alas it won't work. Any help?
screechy
Nookin
Posts: 22
Joined: Fri Jul 27, 2018 11:51 pm
Tings: 2620

Re: Ray2Get won't Open?

Post by screechy »

I also switched to a python version that has been tested and was proved to be working, so i have no idea how to fix this.
WizardMinecraft
Electoon
Posts: 502
Joined: Wed Nov 15, 2017 4:53 am
Location: DEATH HILL
Tings: 7

Re: Ray2Get won't Open?

Post by WizardMinecraft »

Try doing a fresh install of Ray2Get
PluMGMK
Annetta Fish
Posts: 40514
Joined: Fri Jul 31, 2009 9:00 pm
Location: https://www.youtube.com/watch?v=cErgMJSgpv0
Contact:
Tings: 136636

Re: Ray2Get won't Open?

Post by PluMGMK »

It's a command-line tool, right? You have to launch it from the console, with the appropriate options. You can't just double-click it.
Steo
Holly Luya
Posts: 36337
Joined: Sun Feb 25, 2018 3:57 pm
Location: Globox Village
Tings: 100560

Re: Ray2Get won't Open?

Post by Steo »

Ah I used to make the same mistake with those command line tools back in the day. I love how MS replace CMD with Powershell which doesn't work :lol:
deton24
Art Rytus
Posts: 1194
Joined: Fri Jan 14, 2011 1:22 am
Location: Poland
Tings: 8932

Re: Ray2Get won't Open?

Post by deton24 »

Put these
https://yadi.sk/d/UZcygfRL3acSCx
into R2 get folder.

Put some WAV.
.....enc will convert any wav placed nearby, into APM

if not, edit the second bat, just by placing correct file name.

Use attached Ray2Get 1.0 to decode APM to WAV in case if 2.0 doesn't work.

__________
edit. 2021

In Windows there is no need to use in batch script "python" before executing Ray2get. The script won't work this way.
Exemplary script for converting all APM files to WAV (go to Rayman 2\Data\World\Sound and save it in notepad as .bat and place Ray2Get nearby):

Code: Select all

@echo off
echo Starting conversion...
for %%f in (*.apm) do echo "%%f" & ray2get di "%%f"
echo Converted.
@echo on
pause
Last edited by deton24 on Tue Dec 07, 2021 10:04 pm, edited 3 times in total.
Synthesis
Barbara
Posts: 47
Joined: Fri Jan 02, 2009 7:48 pm
Location: France
Tings: 10235

Re: Ray2Get won't Open?

Post by Synthesis »

I just fixed a major issue involving the file header; due to a stupid endianness mistake of mine I only discovered slightly too late, ray2get wouldn't even open apm files at all, unless they were generated previously by ray2get. That means a wav->apm->wav process would work, but trying to decode from apm to wav with the original files from the game wouldn't work.
:oops:
I updated the GitHub repository, you might want to try again with the fixed version.
Post Reply