Rayman Control Panel (Rayman PC tools & utilities)

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.
RayCarrot
Carmen
Posts: 2476
Joined: Sat Jan 11, 2014 5:46 pm
Tings: 40322

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by RayCarrot »

I think I just never looked into this specific release when finding the offsets. If they removed the disc protection here then the binary would have shifted multiple addresses as a result. It's annoying there seems to be so many different versions of 1.12. Makes it hard to keep track of...
PluMGMK
Annetta Fish
Posts: 40508
Joined: Fri Jul 31, 2009 9:00 pm
Location: https://www.youtube.com/watch?v=cErgMJSgpv0
Contact:
Tings: 136606

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by PluMGMK »

Ah, fair enough! I somehow never realized it wasn't supported by TPLS in Dosbox even though I have that version :oops2: I can check them out tomorrow (or maybe later this evening)…
emkay
Electoon
Posts: 4
Joined: Sun Mar 19, 2023 8:45 pm
Tings: 20

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by emkay »

RayCarrot wrote: Fri Mar 24, 2023 8:15 am
emkay wrote: Wed Mar 22, 2023 7:57 pm Ah, okay, thanks. DX+ uses version 1.12. Setting that as the version in RCP seems to almost-but-not-quite work - the stdout.txt file in the TPLS folder records a "Activating custom Rayman soundtrack" whereas it didn't do that when the RCP version was set to auto... but it still seems to be stuck using the PC soundtrack rather than the PS1 soundtrack.
Just to double check, did you try all three 1.12 versions in RCP? When I was going through the known versions of the game for this I found 3 different versions of 1.12, so it can be any of them used here.
Yeah, I should've said before, I tried all three - version 3 is the one that gets "recognised" (but still doesn't work), whereas versions 1 and 2 didn't seem to get recognised at all (at least, no messages about activating the custom soundtrack in the stdout.txt file).
PluMGMK
Annetta Fish
Posts: 40508
Joined: Fri Jul 31, 2009 9:00 pm
Location: https://www.youtube.com/watch?v=cErgMJSgpv0
Contact:
Tings: 136606

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by PluMGMK »

dr_st wrote: Fri Mar 24, 2023 7:55 pm Rayman Forever DX+ uses Rayman US 1.12 (the unprotected one, with no CD checks)
RayCarrot wrote: Fri Mar 24, 2023 9:01 pm I think I just never looked into this specific release when finding the offsets. If they removed the disc protection here then the binary would have shifted multiple addresses as a result. It's annoying there seems to be so many different versions of 1.12. Makes it hard to keep track of...
Btw, the CD checks aren't the only difference. Most versions of Rayman 1 include code to detect if a debugger has inserted any kind of breakpoint, and (depending on the version) either crash the game unceremoniously, or silently return (i.e. hang), except in two very specific places (one is in load_world, I forget the other) where the game has a built-in breakpoint. The "unprotected" version also omits these checks, so it can run under a debugger with no problems.

Interestingly, the same code used to crash/hang on a breakpoint is also used for handling exceptions (divide by zero, NMI, overflow or bound-check failure), for which the desired behaviour would be a graceful exit. But those exceptions never seem to arise in the game anyway, thankfully, so I guess that codepath never got tested!
LiGHTNiNG
Antitoon
Posts: 2
Joined: Sat May 06, 2023 9:17 pm
Tings: 10

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by LiGHTNiNG »

how do i unlock jungle run dlc with this?
RayCarrot
Carmen
Posts: 2476
Joined: Sat Jan 11, 2014 5:46 pm
Tings: 40322

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by RayCarrot »

The first Anniversary Update (14.0) beta is now available :) It can either be downloaded through the app if you have beta updates enabled or directly from GitHub.

This is a major update spanning 8 months of development where the entire games infrastructure of the app was rewritten. With this you can now finally add multiple installations of the same game and there is support for emulated console games (starting with GBA games - more to come soon!).

I'd very much appreciate any feedback people may have for this! There's also a survey linked from the app which you can take during the beta period to leave feedback.
RCP_14.png
L.M. Murphy
Teensy Wizard
Posts: 116
Joined: Fri Nov 03, 2006 7:27 am
Tings: 2446

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by L.M. Murphy »

RayCarrot wrote: Mon Jan 30, 2023 4:09 pm
L.M. Murphy wrote: Wed Jan 11, 2023 9:46 am I have an issue with R1 in RCP. Namely it does not seem to be possible to play it in complete full screen even with aspect ratio correction enabled (that is, with no black borders on the top and bottom, or a large one on the bottom), though it is with Designer.

Output: ddraw
F Resolution: original
W Resolution: original
Scaler: 2xSai

For the record, I am using Forever.
What resolution do you have on your screen? It might help to search for related issues with DOSBox since it's more related to that than how RCP works in this case. It's odd it works for Designer though, are you certain all the settings are identical for both games? For me it displays in fullscreen just fine with the default settings (which includes having aspect ratio correction disabled).
Well, I have looked into it, and have discovered that it has to do with the Per-Level Soundtrack, or rather with the version of DOSBox it uses.
Last edited by PluMGMK on Sat May 20, 2023 12:54 pm, edited 1 time in total.
Reason: Removed irrelevant piece of quoted post
PluMGMK
Annetta Fish
Posts: 40508
Joined: Fri Jul 31, 2009 9:00 pm
Location: https://www.youtube.com/watch?v=cErgMJSgpv0
Contact:
Tings: 136606

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by PluMGMK »

homer-simpson-bush-gif.gif
homer-simpson-bush-gif.gif (364.89 KiB) Viewed 2249 times
This is why I was working on reaching feature parity between the TSR and Dosbox build, since the former would avoid these kinds of issues. But of course I got sidetracked :oops2:

I wonder if it would make sense to start offering the TSR as an option in RCP anyway? It works for all Rayman versions now, even if it doesn't (yet) include the MIDI tracks…
RayCarrot
Carmen
Posts: 2476
Joined: Sat Jan 11, 2014 5:46 pm
Tings: 40322

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by RayCarrot »

PluMGMK wrote: Sat May 20, 2023 1:10 pm I wonder if it would make sense to start offering the TSR as an option in RCP anyway? It works for all Rayman versions now, even if it doesn't (yet) include the MIDI tracks…
I hadn't looked into it much yet, but that might be a good idea yeah! It working with any DOSBox version you have is a big plus. I assume this also auto-detects the game version since there's no config option mentioned for it?
PluMGMK
Annetta Fish
Posts: 40508
Joined: Fri Jul 31, 2009 9:00 pm
Location: https://www.youtube.com/watch?v=cErgMJSgpv0
Contact:
Tings: 136606

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by PluMGMK »

Yeah, it reads the version number that Rayman writes in blue and yellow at the top of the screen, while the initial CD check is going on :)
dr_st
General
Posts: 3008
Joined: Sat Aug 25, 2012 5:52 pm
Tings: 82518

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by dr_st »

I've documented how to change the language in the UbiArt games - full and demo versions.

For Origins demo/full and for Legends demo it's a direct registry setting, although the supported languages differ.

For Legends full version it requires editing uplay_install.state, as the Uplay client reads the value from there and overwrites the registry key every time the game is run.

Full details here:
https://cloakedthargoid.wordpress.com/rayman-ubiart-languages/

@RayCarrot - what do you think about adding this capability to RCP? This will help owners of the retail / Uplay releases which do not provide a native UI for changing the language post-install.
ItzalDrake
Armoured Toad
Posts: 1101
Joined: Tue Nov 01, 2016 6:44 pm
Location: Somewhere in the pizza-pasta country
Contact:
Tings: 16368

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by ItzalDrake »

Oh that would be great!
I wonder what led Ubisoft to make non-Steam releases of Rayman Legends this hard to change the language, even Ubisoft Support says that you have to reinstall the game just to change it.
I did not know what was causing the registry keys to change at the game's launch, so I have always changed the language values in the localization file to force the game to load a certain localization.
RayCarrot
Carmen
Posts: 2476
Joined: Sat Jan 11, 2014 5:46 pm
Tings: 40322

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by RayCarrot »

Thanks for the info! I think this would be nice to add yeah :) Too bad there's no good general solution though, in which case the Steam version could also have a language selection in RCP. As it stands that requires modifying an internal Steam config file and not having it running (which I suppose is similar to this Uplay workaround).
dr_st
General
Posts: 3008
Joined: Sat Aug 25, 2012 5:52 pm
Tings: 82518

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by dr_st »

RayCarrot wrote: Thu Jul 20, 2023 7:54 pm Too bad there's no good general solution though, in which case the Steam version could also have a language selection in RCP. As it stands that requires modifying an internal Steam config file and not having it running (which I suppose is similar to this Uplay workaround).
So, how does it work in the Steam version? Steam Config File --> Uplay Config File --> Registry? Or directly Steam Config File --> Registry?
RayCarrot
Carmen
Posts: 2476
Joined: Sat Jan 11, 2014 5:46 pm
Tings: 40322

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by RayCarrot »

I don't believe the Steam releases use the Registry at all for that. At least I don't have any language values there and the Uplay config file doesn't exist for me. I'm not really sure how the game checks the language. Perhaps through some Steam API.
dr_st
General
Posts: 3008
Joined: Sat Aug 25, 2012 5:52 pm
Tings: 82518

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by dr_st »

RayCarrot wrote: Fri Jul 21, 2023 7:44 am I don't believe the Steam releases use the Registry at all for that. At least I don't have any language values there and the Uplay config file doesn't exist for me. I'm not really sure how the game checks the language. Perhaps through some Steam API.
Really, wow. This means that the Steam release uses a modified version of the main program itself (Rayman Legends.exe).
PluMGMK
Annetta Fish
Posts: 40508
Joined: Fri Jul 31, 2009 9:00 pm
Location: https://www.youtube.com/watch?v=cErgMJSgpv0
Contact:
Tings: 136606

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by PluMGMK »

I'd better look into this :mefiant:
RayCarrot
Carmen
Posts: 2476
Joined: Sat Jan 11, 2014 5:46 pm
Tings: 40322

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by RayCarrot »

dr_st wrote: Fri Jul 21, 2023 9:52 am Really, wow. This means that the Steam release uses a modified version of the main program itself (Rayman Legends.exe).
Yep, it does. There are even some minor differences. For example in the Uplay version you can pass in launch arguments to the game to load a specific map and set some debug flags (RCP has support for this if you want to try it out). This isn't possible in the Steam version.
RayCarrot
Carmen
Posts: 2476
Joined: Sat Jan 11, 2014 5:46 pm
Tings: 40322

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by RayCarrot »

I've been considering doing some rather big changes to how patches work in RCP and would like to hear others feedback ^^

I made a writeup on the proposed changes here: https://github.com/RayCarrot/RayCarrot. ... /issues/21

TLDR:
- Patches will change from proprietary .gp files to .zip files
- Patches will no longer be created through RCP, but rather manually by creating a .zip (but using the .gpz file extension)
- Patches uploaded to GameBanana will show up and be downloadable in RCP, meaning users can have their own patches downloadable through RCP
- Support for partially patching files and supporting multiple game versions
quiogre
Electoon
Posts: 2
Joined: Sat Sep 16, 2023 10:22 am
Tings: 10

Re: Rayman Control Panel (Rayman PC tools & utilities)

Post by quiogre »

Hello, I have a problem with rayman 2. I try to play rayman 2 with an xbox controller in 60fps, widescreen, 4k with the AI texture pack but with no succes. When I use the control panel, the game doesn't load. instant crash. Can you help me ?
Post Reply