Hype: Widescreen & FPS fix | New Version (Direct3D)

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
lk19
Incrediball
Posts: 72
Joined: Thu Feb 11, 2021 8:52 pm
Tings: 360

Hype: Widescreen & FPS fix | New Version (Direct3D)

Post by lk19 »

This patch is now very outdated. Please use the new fix here: https://github.com/lukek19/CPAGameFixes ... HypeV1.2.2

Hi everyone. I have finally managed to finish the new version of the Widescreen & FPS fix for Hype: The Time Quest. Because the old thread (https://raymanpc.com/forum/viewtopic.php?t=31049) was getting quite long and I didn't make the original post, I decided to open a new topic. :D

The new patch now works with the Direct3D version of the game's executable rather than the Glide version and should be much more compatible. I also tried to make it as user-friendly as possible, although it still requires a few steps to go through. So please read the readme very carefully!

Some of the features of the new patch:
  • Patch the game to run at any aspect ratio (e.g. 16:9)
  • Patch the game to run at any framerate (although > 60 FPS is still experimental)
  • Adjust the FOV so it is consistent with the new aspect ratio. I also patched a bug in the original game that would cause the FOV to be wrong after you used one of the sundials to time-travel.

In the readme, I also included some updated instructions how to install the game on modern systems. Most of the existing instructions on the internet seem to be outdated and require you to do a lot of steps that are not really necessary!
I also included some hints how to make the in-game FMV playback work again, although your mileage may vary, and I cannot guarantee that it works for everyone :wink:

Attached, you will find the patch in the form of Python scripts (Hype_Widescreen_FPS_Fix_V5.7z). This is all you need!

For your convenience, I also converted them into windows executables using PyInstaller. Because of the filesize restrictions in this forum, I had to split this up into two parts (just unpack both of them and then use 7zip to combine the two files). Unfortunately, files created with PyInstaller are known to trigger false positives with Microsoft Defender Antivirus (see e.g. https://github.com/pyinstaller/pyinstaller/issues/6754 or https://github.com/pyinstaller/pyinstaller/issues/5848). For this reason, you might have to disable Microsoft Defender temporarily or define an exclusion for the two files. If you want to be extra careful (and you always should be, although I can assure you these files contain no virus), just install Python 3 and run the original Python scripts that are provided with the patch ;)
Attachments
Hype_Widescreen_FPS_Fix_V5.7z
(772.67 KiB) Downloaded 153 times
Hype_Widescreen_FPS_Fix_PyInstaller_part1.7z
(2.86 MiB) Downloaded 76 times
Hype_Widescreen_FPS_Fix_PyInstaller_part2.7z
(1.59 MiB) Downloaded 73 times
Last edited by lk19 on Tue Oct 07, 2025 11:42 am, edited 5 times in total.
funnydog95
Antitoon
Posts: 1
Joined: Sun Sep 15, 2024 5:10 pm
Tings: 5

Re: Hype: Widescreen & FPS fix | New Version (Direct3D)

Post by funnydog95 »

this is pretty neat. works a whole lot better than most other fixes i've tried.

three things i've noticed, though:

none of the given solutions to fix FMV playback work for me. i've gone through all three solutions within the readme file and no matter what i do, the game would pretty much open and then Instantly close again as long as "PlayVideo" was set to 1 in ubi.ini except for one specific instance wherein i had added "ForceVideoMode=DXMedia" to it which would then cause the game to function with FMV playback enabled but without actually Playing the videos and instead still skipping them while showing 2D graphics like the initial loading screen and the main menu screen background as squished down to half of my monitor's width with their colors completely messed up. absolutely no clue why whether the FMV playback will work or not is so wildly sporadic between different computers\windows installs\whatever.

it seems that using alt+tab to get back to the windows desktop while playing the game will cause the game to freeze No Matter What, unless you use compatibility mode settings for windows 95 or 98\ME [which by the way will also make the game incredibly pixelated]. any compatibility setting higher than that will only slightly lower the chances of the game freezing on alt+tab, even after using alt+enter to switch the game to windowed mode and then back to fullscreen mode first as the readme suggests.
interestingly enough, using the windows key yields the best results for alt-tabbing

the fix for the magic bar in the hud and the inventory doesn't seem to function? i'm 100% sure i've applied the fov and fps fixes correctly too.
lk19
Incrediball
Posts: 72
Joined: Thu Feb 11, 2021 8:52 pm
Tings: 360

Re: Hype: Widescreen & FPS fix | New Version (Direct3D)

Post by lk19 »

Hey, thanks for the feedback. And you're absolutely right.. FMV playback and alt+tabbing is really a pain with some of these old games. I guess you could just watch the FMVs in VLC, as they only play at the very start and end of the game.

Not sure, if I messed up the magic bar fix (last time I checked, it worked in-game, but not on the inventory screen). But please note that this patch is quite outdated, now that I've learned a lot more about the game engine by working on Rayman 2 and Alex Builds his Farm. I'm taking a little break from developing patches right now, but after that, I definitely plan to make a new version of the Hype patch. The FOV fix should then work without patching any SNA-files ;) I will also remove the need to place ubi.ini in a sub-folder called "Ubisoft" (just place it in the game folder). And finally, I will also try to fix all the HUD elements, possibly even unstretching them (although from my work on Alex Builds his Farm, I know that this can be quite a lot of effort).
deton24
Art Rytus
Posts: 1194
Joined: Fri Jan 14, 2011 1:22 am
Location: Poland
Tings: 8932

Re: Hype: Widescreen & FPS fix | New Version (Direct3D)

Post by deton24 »

It seems that using alt+tab to get back to the windows desktop while playing the game will cause the game to freeze No Matter What
Does it happen with both dgVoodoo and DDrawCompat wrappers?
Maybe you could try out also DxWrapper version compatible with Rayman 2 (some newer didn't work):
https://www.pcgamingwiki.com/wiki/Rayma ... dowed_mode
(just omit ubi.ini instructions there).

Also, I don't know if that Dege's patch for R2 is compatible with the game and whether it can be helpful anyhow:
https://www.vogons.org/download/file.php?id=83792

I assume that running dgVoodoo in DX12 won't help or cause blurry graphics.
lk19
Incrediball
Posts: 72
Joined: Thu Feb 11, 2021 8:52 pm
Tings: 360

Re: Hype: Widescreen & FPS fix | New Version (Direct3D)

Post by lk19 »

Hi everyone. I have re-implemented the Widescreen & FPS fix as an ASI-patch (works via DLL-injection, similar to Ray2Fix). These are some of the new features:
  • Much easier to install (no more need to use Python).
  • Run the game natively at the desired resolution without messing up the HUD.
  • Option to have the menu backgrounds and HUD centered or stretched (centered might look a bit weird due to some HUD elements having "borders").
  • Includes two versions of the game's EXE (the official English Patch + the original Spanish exe). These two should be compatible with every version of the game (hopefully).
You can find the new fix here:
https://github.com/lukek19/CPAGameFixes ... g/HypeV1.0

To install the fix, please follow the README carefully. There's no need to install the game prior to the fix. The readme will instruct you which files to copy from the CD.
Thunder5torM
Red Lum
Posts: 11
Joined: Tue Aug 23, 2022 9:51 am
Tings: 55

Re: Hype: Widescreen & FPS fix | New Version (Direct3D)

Post by Thunder5torM »

Hi lk19 and thanks for working on this game from long time and for this new release.
This D3D version aren't no-cd patched from SafeDisc... It asks for CD.

Also: will this your new version look for UbiSoft folder from the game directory?
lk19
Incrediball
Posts: 72
Joined: Thu Feb 11, 2021 8:52 pm
Tings: 360

Re: Hype: Widescreen & FPS fix | New Version (Direct3D)

Post by lk19 »

Thunder5torM wrote: Tue Feb 18, 2025 2:41 pm Hi lk19 and thanks for working on this game from long time and for this new release.
This D3D version aren't no-cd patched from SafeDisc... It asks for CD.

Also: will this your new version look for UbiSoft folder from the game directory?
Neither of the provided EXEs has SafeDisc encryption. Version A has it removed and Version B never had SafeDisc in the first place (I just provided the EXE for convenience).
Other than that, the EXEs are completely unchanged, so of course they ask you for the CD (this has nothing to do with SafeDisc, by the way).

Are you sure, you followed the instructions in the README? If the ASI patch works correctly, you should no longer need the CD in the drive. The README also tells you to place ubi.ini directly in the game directory (UbiSoft subfolder is no longer needed).
Thunder5torM
Red Lum
Posts: 11
Joined: Tue Aug 23, 2022 9:51 am
Tings: 55

Re: Hype: Widescreen & FPS fix | New Version (Direct3D)

Post by Thunder5torM »

Ok, I didn't read the readme properly. In the next few days when I have time I'll try and let you know.

Will you do this fix for the Glide version in the future?
lk19
Incrediball
Posts: 72
Joined: Thu Feb 11, 2021 8:52 pm
Tings: 360

Re: Hype: Widescreen & FPS fix | New Version (Direct3D)

Post by lk19 »

Thunder5torM wrote: Sun Feb 23, 2025 11:50 am Will you do this fix for the Glide version in the future?
Hmm... I currently have no plans doing the fix for the Glide version, but if there is high demand I might give it a try at some point.

The problem with the Glide API is that it only supports a very limited set of resolutions, none of which are widescreen. nGlide has a way around this, but then you are limited to one particular glide wrapper (which – if I remember correctly – also crashes this game a lot when used with the DirectX 9 renderer... the Vulkan renderer worked fine for me though). With dgVoodoo you could do something using the "Display ROI" functionality, i.e. let the game render only in a 16:9 sub-rectangle of the 4:3 glide window and then let the wrapper focus only on that sub-rectangle... all quite complicated and it requires separate fixes depending on which glide wrapper you are planning to use.

BTW: Rayman 2 is a lot easier in that regard, as you can simply change the aspect ratio and the game will still fill up the whole 1024x768 glide window with a "squeezed" image. The glide wrapper then only needs to stretch the image to the desired resolution.
Thunder5torM
Red Lum
Posts: 11
Joined: Tue Aug 23, 2022 9:51 am
Tings: 55

Re: Hype: Widescreen & FPS fix | New Version (Direct3D)

Post by Thunder5torM »

lk19 wrote: Wed Feb 26, 2025 10:37 pm
Thunder5torM wrote: Sun Feb 23, 2025 11:50 am Will you do this fix for the Glide version in the future?
Hmm... I currently have no plans doing the fix for the Glide version, but if there is high demand I might give it a try at some point.

The problem with the Glide API is that it only supports a very limited set of resolutions, none of which are widescreen. nGlide has a way around this, but then you are limited to one particular glide wrapper (which – if I remember correctly – also crashes this game a lot when used with the DirectX 9 renderer... the Vulkan renderer worked fine for me though). With dgVoodoo you could do something using the "Display ROI" functionality, i.e. let the game render only in a 16:9 sub-rectangle of the 4:3 glide window and then let the wrapper focus only on that sub-rectangle... all quite complicated and it requires separate fixes depending on which glide wrapper you are planning to use.

BTW: Rayman 2 is a lot easier in that regard, as you can simply change the aspect ratio and the game will still fill up the whole 1024x768 glide window with a "squeezed" image. The glide wrapper then only needs to stretch the image to the desired resolution.
Thanks for your detailed reply, your detailed README and the time you spent working on your game fixes.

I've followed carefully your readme. Now the game starts but it asks for CD with ASI patch applied. I understood that the EXE is unchanged, but you explained that it shouldn't ask for it with the ASI patch applied, right?

Image
lk19
Incrediball
Posts: 72
Joined: Thu Feb 11, 2021 8:52 pm
Tings: 360

Re: Hype: Widescreen & FPS fix | New Version (Direct3D)

Post by lk19 »

Yes, it should not ask you for the CD if the ASI patch works. Please double-check that you have the following files in your game folder:
  • dinput.dll (from the Ultimate ASI loader webpage)
  • Hype.asi
  • Hype.ini -> Also check that you set RemoveCDCheck = true in this.
To see if the ASI patch gets loaded, you can temporarily remove Hype.ini from the folder. I have programmed the patch to pop up an error message ("Hype.ini not found") before the game starts. If you see no error message, then the ASI patch is not working. Which OS are you using? I've only tested it on Windows 10, but it should also work on Windows 11.
Thunder5torM
Red Lum
Posts: 11
Joined: Tue Aug 23, 2022 9:51 am
Tings: 55

Re: Hype: Widescreen & FPS fix | New Version (Direct3D)

Post by Thunder5torM »

lk19 wrote: Fri Feb 28, 2025 10:25 pm Yes, it should not ask you for the CD if the ASI patch works. Please double-check that you have the following files in your game folder:
  • dinput.dll (from the Ultimate ASI loader webpage)
  • Hype.asi
  • Hype.ini -> Also check that you set RemoveCDCheck = true in this.
To see if the ASI patch gets loaded, you can temporarily remove Hype.ini from the folder. I have programmed the patch to pop up an error message ("Hype.ini not found") before the game starts. If you see no error message, then the ASI patch is not working. Which OS are you using? I've only tested it on Windows 10, but it should also work on Windows 11.
Image

I PM you about this.

UPDATE:
I used a light version of windows 10 with missing components.
Tryng the game to another pc the game works correctly without asking for CD. Sorry

Congratulations to lk19 for his hard work on this game.
Last edited by ItzalDrake on Sun Mar 02, 2025 10:33 am, edited 1 time in total.
Reason: Posts merged, please don't double post
lk19
Incrediball
Posts: 72
Joined: Thu Feb 11, 2021 8:52 pm
Tings: 360

Re: Hype: Widescreen & FPS fix | New Version (Direct3D)

Post by lk19 »

Hi everyone. As you might know, there's a bug in the international version of the game (= basically every version other than the English and German release), where the light grey borders around the HUD elements are not displayed. The curious thing is that there are also dark grey / less transparaent borders that DO work in these versions. If you only know the German or English version of the game, just look for a playthrough of any other localized version on YouTube, and you'll know what I mean ;)

Now, I still haven't figured out, why this bug exists. I found that the textures DO exist in Textures.cnt and that the game DOES in fact try to load them. However, they are somehow not visible. My best guess is that some meta data (e.g. transparency) is set to a false value. This most likely happens in the file fix.sna, since this is where the info, which textures are loaded, is stored. Altering this file is currently outside the scope of my fix, since it only patches the EXE file.

However, it occured to me, that removing the HUD borders actually looks a lot better, when the HUD is centered (since the border textures were never meant to be drawn away from the actual screen borders). For this reason, I added the option to remove the borders altogether to my fix. It removes both the dark grey and light grey borders and should work with both versions of the game. To give you an idea what it looks like, here are some screenshots:

CenterHUDAndBackground = false:
Screenshot1.png
CenterHUDAndBackground = true, RemoveHUDBorders = false:
Screenshot2.png
CenterHUDAndBackground = true, RemoveHUDBorders = true:
Screenshot3.png
The new version of the fix can be found here: https://github.com/lukek19/CPAGameFixes ... g/HypeV1.1
Thunder5torM
Red Lum
Posts: 11
Joined: Tue Aug 23, 2022 9:51 am
Tings: 55

Re: Hype: Widescreen & FPS fix | New Version (Direct3D)

Post by Thunder5torM »

Thanks lk19!
Post Reply