Search found 47 matches

by Synthesis
Tue Sep 04, 2018 12:59 am
Forum: Rayman
Topic: Ray2Get won't Open?
Replies: 6
Views: 420

Re: Ray2Get won't Open?

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 fro...
by Synthesis
Mon May 14, 2018 7:16 pm
Forum: Modding and utilities
Topic: A new update for Ray2Get
Replies: 9
Views: 1225

Re: A new update for Ray2Get

Alright everyone, small update: I fixed a minor bug or two (incorrect automatic output file name when using the 'ei' option, no .apm format check); and the script should now work with Python 3 as well.
by Synthesis
Sun May 13, 2018 11:17 pm
Forum: Modding and utilities
Topic: A new update for Ray2Get
Replies: 9
Views: 1225

Re: A new update for Ray2Get

@Droolie: Yes, you're right. In fact, I noticed this when I was trying to replace the in-game musics with my own, to see if the game could handle 44100Hz audio. When recording the game's audio, I noticed a DC offset slowly building up on some of my files. I initially thought that it was due to downs...
by Synthesis
Sun May 13, 2018 11:01 pm
Forum: Modding and utilities
Topic: A new update for Ray2Get
Replies: 9
Views: 1225

Re: A new update for Ray2Get

PluMGMK wrote:Python 2? Not 3? :tssk:
Yeah, that sucks, I know. I've been nitpicking over tiny details, but the lazy, quick-n-dirty way. :oops:
by Synthesis
Sun May 13, 2018 8:44 pm
Forum: Modding and utilities
Topic: A new update for Ray2Get
Replies: 9
Views: 1225

A new update for Ray2Get

Ten years later (well... more like, ten years too late, amirite?) I'm back with a major update for Ray2Get. About a month ago, deton24 suggested me to dig around and try to find a way to improve the game's audio engine. Turns out it didn't work; but in the process, I noticed that some stuff in my ol...
by Synthesis
Sun Apr 15, 2018 10:15 pm
Forum: Modding and utilities
Topic: Aureal 3D (A3D) restoration/achieving better (3D) sound quality in Rayman 2 and Tonic Trouble (SE) | UPDATE! 3
Replies: 6
Views: 1555

Re: How to achieve better sound quality in Rayman 2 PC – restoring DirectSound by dsoal, and overwriting other sound DLL

Welp... sounds like bad news. I followed your steps and didn't manage to set the game's sample rate to 44100Hz. Even worse, I noticed that there's no anti-aliasing before downsampling, so any 44100Hz audio file will have the upper half of its spectrum folded back into the lower, audible, half. Here'...
by Synthesis
Sun Apr 08, 2018 7:58 pm
Forum: Modding and utilities
Topic: Aureal 3D (A3D) restoration/achieving better (3D) sound quality in Rayman 2 and Tonic Trouble (SE) | UPDATE! 3
Replies: 6
Views: 1555

Re: How to achieve better sound quality in Rayman 2 PC – restoring DirectSound by dsoal, and overwriting other sound DLL

Alright... I have to admit I didn't start taking the time to experiment what you suggested, because I noticed something wrong with my encoded 44k tracks. Actually, the DC offset that was slowly building up over time was not at all due to the downsampling... in fact it's my compression tool itself. H...
by Synthesis
Mon Aug 01, 2016 11:02 pm
Forum: RayTunes
Topic: Tonic Trouble Soundtrack
Replies: 125
Views: 14224

Re: Tonic Trouble Soundtrack

Neat! You might also check out the [DLL_Adpcm] section in SND_CPA.INI. The only APM drivers that come with R2 are APMmx and APMP5. Unfortunately, I couldn't get a proper 44.1kHz playback with either of those, even with WAVa1 (which, in my opinion, has only an effect on uncompressed .wav files, inclu...
by Synthesis
Mon Aug 01, 2016 3:51 pm
Forum: RayTunes
Topic: Tonic Trouble Soundtrack
Replies: 125
Views: 14224

Re: Tonic Trouble Soundtrack

I tried changing the value at the offset you mentioned from 22 56 (22050 in little-endian hex) to 44 AC (44100), unfortunately it didn't change anything. :( The original in-game files aren't played at twice the speed, and my files are still played with the same spectral folding as the original files...
by Synthesis
Fri Jun 10, 2016 4:18 pm
Forum: RayTunes
Topic: Disney's Donald Duck PK Data.hst
Replies: 4
Views: 1336

Re: Disney's Donald Duck PK Data.hst

Ages ago I started coding a little ripping tool for Rayman 3 SFX and musics (which also use .hxc, .bnh, Data.hos and Data.hst files). I haven't touched it since, so my memories are quite vague, but from what I remember it would scan the .bnh files, find the file names and their locations (in either ...
by Synthesis
Fri May 27, 2016 6:19 pm
Forum: RayTunes
Topic: R3: Music Extraction Discussion Topic
Replies: 53
Views: 15153

Re: R3: Music Extraction Discussion Topic

Quality of replaced music played-in game are in worse quality than played from FL at the end. If rendered video sounds the same like when you play the game, then we have some minor technical issue, but I think actually that we have that case which I feared. Engine runs 44 kHz in lower frequency or ...
by Synthesis
Sat Mar 26, 2016 12:25 am
Forum: RayTunes
Topic: R3: Music Extraction Discussion Topic
Replies: 53
Views: 15153

Re: R3: Music Extraction Discussion Topic

For each of the .partXX.rar file, I get an error message "File cannot open as archive" or even "Not a WinRAR type archive" whenever I try to open, either with 7-Zip (Windows) or the Ubuntu archive manager. I don't have WinRAR installed so I haven't tried. Anyway, if these files happen to be the WAV ...
by Synthesis
Fri Mar 25, 2016 8:34 pm
Forum: RayTunes
Topic: R3: Music Extraction Discussion Topic
Replies: 53
Views: 15153

Re: R3: Music Extraction Discussion Topic

I'm sorry, you're gonna need to upload the rest of the files. I can't extract anything. Edit: I would prefer that you upload the separated segments instead of long joined audio files (or otherwise I'm gonna need to split them back anyway). Also, how did you manage to get these separated segments? As...
by Synthesis
Fri Mar 25, 2016 3:44 pm
Forum: RayTunes
Topic: R3: Music Extraction Discussion Topic
Replies: 53
Views: 15153

Re: R3: Music Extraction Discussion Topic

IT WORKS okay everyone check this out: https://www.youtube.com/watch?v=n9iaGQzFArA Sorry it took so long. I wrote two Python scripts (one for encoding wav to apm, the other for decoding apm to wav), which were done around Nov 30, 2015. The musics were the hardest to finish (I got busy with other st...
by Synthesis
Tue Nov 10, 2015 10:03 pm
Forum: RayTunes
Topic: R3: Music Extraction Discussion Topic
Replies: 53
Views: 15153

Re: R3: Music Extraction Discussion Topic

I haven't looked into .bnm files, so that'll only apply to the music. If it does work, of course.
by Synthesis
Tue Nov 10, 2015 3:37 am
Forum: RayTunes
Topic: R3: Music Extraction Discussion Topic
Replies: 53
Views: 15153

Re: R3: Music Extraction Discussion Topic

So here's what I managed to infer so far with a bit of tweaking around (some things might be incorrect): OFFSET SIZE TYPE DESCRIPTION ------ ---- ---- ----------- 0x00 2 ? ? (0x00 0x20) 0x02 2 short number of channels 0x04 4 int sample rate 0x08 4 int byte rate, uncompressed 0x0c 2 short ? (0x0001) ...
by Synthesis
Tue Nov 10, 2015 1:54 am
Forum: RayTunes
Topic: R3: Music Extraction Discussion Topic
Replies: 53
Views: 15153

Re: R3: Music Extraction Discussion Topic

I just dug up my old Ray2Get source code and had a quick look at some of the .apm files: yes, the sample rate is included in the header! Which means it would totally be possible to replace the soundtrack of the game with some custom audio! (Not sure that just any audio would play properly though.) I...
by Synthesis
Tue Nov 10, 2015 1:07 am
Forum: RayTunes
Topic: R3: Music Extraction Discussion Topic
Replies: 53
Views: 15153

Re: R3: Music Extraction Discussion Topic

I made this tool nearly 7 years ago and pretty much haven't touched it since, so I don't remember much about the format of the .apm files. As far as I remember there's a header with the initial values and a bunch of other things that my decoder didn't use. is there any opportunity to copy again into...
by Synthesis
Sun Nov 08, 2015 11:02 pm
Forum: RayTunes
Topic: R3: Music Extraction Discussion Topic
Replies: 53
Views: 15153

Re: R3: Music Extraction Discussion Topic

Hang on for a second, I'm reuploading the file...

Edit: Here it is.

Edit 2: which reminds me, I haven't posted the source code for Zeroid (plus there's a buggy version hanging around somewhere).
by Synthesis
Sun Nov 08, 2015 10:38 pm
Forum: RayTunes
Topic: R3: Music Extraction Discussion Topic
Replies: 53
Views: 15153

Re: R3: Music Extraction Discussion Topic

Nice to see you again Synthesis. Can I ask, finally, according to this topic: http://raymanpc.com/forum/viewtopic.php?f=66&t=5268&p=370643#p366681 Whether is possible to unpack R3 PC music already, or it's still too complicated? I'm lost my self in this whole stuff. Respect. Sure that's possible. D...