I am trying to use the windower with "Rayman 2: The Great Escape" for the PC. My first issue is that even with the aero fix enabled, it still turns the theme to Windows 7 basic. My second issue is that clicking anywhere outside the game (including the window border), causes the window to minimize, and upon restoring the window, I can still hear the music, but it seems the game has frozen, and needs to be killed from either the task manager, or DxWnd. An earlier version of DxWnd (can't remember which) had the same bugs, but the game did not freeze when restoring the window. (Also, time stretch doesn't work).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think Rayman 2 turns the theme to Windows 7 Basic regardless of anything, because it runs in a 16BPP mode. Even if it's fullscreen, it still does that, you just don't notice that. I doubt there is a fix for this. However, as for the second thing, modify the settings for Rayman 2 and check "Do not notify on task switch". It's not a perfect solution, but the game itself is stable and doesn't crash due to minimizing. Ray2 just crashes whenever minimised or alt-tabbed, I remember having that problem on fullscreen - the game just wouldn't restore. Even if you check that box, the game will still crash if you click on the border, though. I haven't really tested the time stretch, so no idea there.
Still, the framerate on windowed Ray2 is kind of unsatisfying. In fullscreen it's constant 60fps, but with DXwnd I can get only to 30. I'd appreciate any help with getting my framerate up :)
Last edit: Łukasz 2013-08-29
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okay, after applying the latest DXWnd update, Rayman 2 simply doesn't want to launch. I tried changing a few opitons, but since it worked previously on the very same settings, I can't really understand why would this not be the case now. I'd appreciate any help :)
EDIT: The problem lies somewhere in the DirectX simulation setting. If I set the version to 1-6, it crashes at start. Anything higher, and the game starts in full screen.
Last edit: Łukasz 2013-09-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
First af all, let me apologize for the late intervention, but I was in the middle of a big code rewriting, and I was quite busy.
Let me say first of all that I got big troubles to find a working copy of Rayman 2 on Win7: the installer is awful and keeps getting stuck. In the end, I decided to utilize the Rayman 2 demo program that works much better, but some results could be different from the full game.
The reason of the current crash is explained in the release notes of the changelog forum topic, where I said to forgive me for the likely regression bugs. This is one.
Another possible bug is that now the "automatic" directx version seems to work not always: I'll check this as well.
About the desktop theme, I'm sorry but dxwnd can do much, but not all (so far, at least):
while in emulation mode it's reasonable to say that the game is compatible with aero themes since emulation preserves the current desktop settings, that doesn't hold for direct windowed mode, where the color depth setting is changed and dxwnd preserves just the screen resolution.
So, the only way to avoid effecting aero would be to set the surface emulation on, but unfortunately the game relies on a 3D and COMPLEX primary surface with an attached BACKBUFFER and a ZBUFFER attached to the BACKBUFFER. While the BACKBUFFER attach to PRIMARY can be emulated, so far I still don't know whether it's possible or not to emulate the ZBUFFER attach (it seems not unreasonable that it wouldn't!).
About other problems: the lower framerate is puzzling - in direct mode the overhead should be very limited. How do you measure both the values?
Time stretching doesn't seem to work. But this is an exciting news: there might be a lot of ways to control the game speed, and very likely Rayman uses a different one. Let me investigate and, with some patience and luck, understand and fix.
Setting the "Do not notify on task switch" fixes a lot of problems, but not all. Iàll try to see if it's possible to make the program deaf to other annoying events as well.
There's a lot of stuff, so in the meantime accept a temporary fix for the game: just replace the dxwnd.dll of the latest v2.02.24 release and the game should be playable again.
When windowed, I measure the framerate with DXWnd's tools - either the FPS Overlay or the option to show the FPS count on title. There are moments when the game jumps to 60 fps - it's usually whenever a new location loads and it's noticeably smoother during these first few seconds, however it goes down to 30 after that. The smoothness is constant in fullscreen.
If you have a problem with finding a working version, I think it would be fine if I sent you somehow my version from GOG, which is DRM free. I assume you wouldn't want to spend 6 bucks on it there. But it works in Win7 just fine. I had similar problems with my physical copy of Ray2, but the GOG version works pretty much perfectly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
oh! You'd better say that first.
The problem with GOG releases is that they hired some programming/hacker staff that sometimes makes the games playable using code hooking like dxwnd does. When this happens, it's very likely that the two things interfere each other and the game doesn't work correctly.
But if you tried the game and it worked fine, maybe this is not the case.
I remember that I worked on both GOG and gold DKII (dungeon keeper 2) releases, but in the end using dxwnd the original game performed better and with less troubles respect the GOG release.
I'll see if I can borrow (uhm!) a copy of the GOG release somewhere....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Damn, I really wish I won't have to look for a physical copy of the game for everything to work fine. You yourself experienced problems with the installator, and the X360 gamepad probably won't work with it, so it'd be almost pointless to play it. Anyway, I'm curious to see what you'll come up with. Thanks for looking into it ^^
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I bet you won't have to...
Head to the download section and try the just uploaded v2.02.35: I discovered that eliminating a few offending commands from the window message loop you fix the problems you described.
The only drawback is that some of the commands are related to the window border handling / creation (the WM_NC* messages) so that the border is no longer built and the window appears in modal style.
Well, you have to accept some compromise, isn't it? ;)
Try the new version using the suggested configuration (or set both the "do not notify.." and the new "filter offending messages" flags) with the GOG Rayman 2 release and let me know....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded the new version and it works, as it used to :) I tried messing around in settings and the "filter offending messages" flag seems to change nothing. I also tried both your and mine settings, both gave almost identical result. I don't quite understand how the border works, because sometimes it is visible and sometimes it's not, but honestly I don't really care about it that much, it just seems weird. But the framerate is still 30 fps, have you thought about what could be causing it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I uploaded a v2.02.36 release that seems to handle Rayman2 pretty well.
Find attached the exported configuration file.
Once set the "filter offending messages" flag, I noticed that you needn't set the "do not notify on task switch": if you alt-tab the game seems to minimize itself in pause, but it's able to recover. You can play with these settings and chose what's best...
I'm now out of home and without a Win7 PC. Let me summarize the situation on my XP, so that you may tell me how's on your part:
1) AERO theme can't work until I find a way to run the game in surface emulation mode, so this is still a problem. Of course, on XP it's not.
2) clicking outside the window minimizes the game (the caption says: "paused") unless you turn the "do not notify on task switch". Setting the "filter offending messages" seems to let you click safely on the borders and (maybe) resume from pause.
3) time stretching doesn't work. Still under investigation.
4) framerate is slow (30FPS), but I can't tell if the game gets slower of the framerate is wrong: the game in an case seems speedy enough to be perfectly playable. I have to check this as well.
Is that all? Does the situation match what you see on your side?
thanks
GHO
Last edit: gho 2013-09-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
2) setting the "filter offending messages" turns off the borders. Even if it and "do not notify on task switch" are selected, you can still minimize the game and you're unable to bring it back then (the game pretty much softlocks, or it just takes an eternity for it to come back).
The Aero theme and resuming from pause problems are both present while running the game fullscreen as well, though.
Everything else is true. The framerate is perfectly playable at 30FPS and there are no drops below that, however it'd be useful if constant 60FPS was possible.
There's actually one more problem. One person who wants to play Ray2 as well told me that DXWnd isn't working properly for it on Win8. He tried another game and it ran just fine, but for some reason Rayman launched regularly, like DXWnd wasn't present at all. I wonder if you could do something about that as well...
Last edit: Łukasz 2013-09-22
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
About the "filter offending messages", I kind of turned them all off, but I have to make some experiment to see if it's possible to let the window build its frame border while not being "offended" by mouse clicks or whatever. Let's see....
For the aero theme, since the fullscreen mode is "fake", I'm afraid that the window manager doesn't care whether it occupy the whole screen or not. Anyway, I'm trying to see if it's possible to run Rayman 2 (and other games, of course!) in emulation mode at 32 BPP. But it's not easy.
For the framerate and the speed I didn't have time to make any progress: it seems interesting to me to understand mainly why the time stretching is not working.
About the Win8 problem, that is a real problem, since I currently have no Win8 platform anywhere to test it. But I noticed that, maybe after some recent change, dxwnd lost the capacity to detect the directdraw version automatically. Maybe you could suggest him to set directdraw version to 1-6 instead of auto, if he didn't do that already. Another possibility is that in Win8 dxwnd need to be activated with administrator's rights....
Update: the experiment was positive! Commenting the WM_NCHITTEST filtering only, the window builds its border, though it's completely useless since however you click on the borders/title bar the program doesn't notice. But it's better than crashing anyway.
Here comes the debug dll to test: let me know if you thing it's better. For sure, there is one improvement: this way the client area of the window is exactly the size you specify, while before it was growin a little causing some possible aliasing.
Just as you described: though it doesn't respond to any aciton, the frame is indeed created. Also, we did try switchind the DX version to 1-6 and even 7 on Win8, but it doesn't seem to work. I'm not sure about the admin thing, though he said his account has admin rights.
EDIT: I've also noticed that the game runs incredibly slow (20fps), when I put it in the 1280x960 res and launch through DXWnd. Works fine in fullscreen though, just as it does in higher resolutions. Just this one specifically, apparently.
Last edit: Łukasz 2013-09-26
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, Łukasz, I wanted to tell you about the Rayman2 work-in-progress:
the main problem now (that is, the one I'm concentrating on) is to understand how the game determines its own speed. This is puzzling, because there are references of all sort of timing APIs, but no matter how you intercept and alter them, the game speed is always the same.
My suspect is that the game is relying somehow on the video refresh rate (60Hz or whatever) but I can't figure out where it detects it and how to change it, provided that 60Hz is not a game constant. For sure, I think it would be a gret thing to be able to play Rayman2 (as any other hard platformer) in slow motion!
If you have any suggestion, please be welcome!...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
It's awesome to know you keep working on Ray2 :)
Unfortunately, though, I've no idea how to help you. I think that if the game was relying on the refresh rate, it'd keep a constant 60fps framerate, which is usually not the case, though maybe framerate and refresh rate are are unrealted and I'm mixing stuff up. Maybe it all connects somehow with the game running in 16BPP mode? I really have no idea.
I've noticed another minor thing recently, however - after playing a few stages, the background music gets more and more quiet. The sound effects remain unaffected, though. Just a strange thing I wanted to point out.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have some issues with dxwnd and rayman 2.
Everytime i start up rayman 2 with dxwnd its showing the dxwnd logo and then crashes.
Im using Windows 8.1 (64-bit) and a adminestrator account.
I made a video to show you my setup and my settings:
I hope you take your time to watch this 5:11 minutes long video...
i just want to know if im doing something wrong and to help you to get dxwnd working on windows 8.
if dxwnd is just not ready for windows 8 please tell me.
thanks for the support and help,
purify64
PS: the crashmessage from windows gave me these details:
I checked on my Win7 PC and the game crashes as well.
I saw your video, and it is very clear: by the way, english is not my mothertongue either.
I have no Win8 platform to verify what I'm saying, but I'd rather bet that I stumbled into some regression bug: as a matter of fact, Rayman2 with dxwnd release 2.2.25 works fine, and from 2.2.39 up it is crashing.
So, a temporary workaround could be to download from the sourceforge release list an older release (I didn't try the ones from 2.2.26 to 2.2.38) and use it, at least until I release a patched dxwnd version (what I hope to be able to do quite soon!).
P.s. to move a game config from one release to another the best thing could be exporting the game config to a file and reimporting it.
Sorry for the inconvenience
GHO
UPDATE: my mistake, I forgot to set the DxWnd surface emulation to "none". Did you do it too? If this doesn't handle the problem, please try to run the game and send the logfile to me: set the log flags according to the second screenshot.
I tried it twice one time with DxWnd surface emulation setted to none and one time with Primary Surface activated. Both times it crashed. I didnt try the old releases, maybe this will be the next step. By the way in your settings you have set the DirectX version to 7, if i do this my whole DxWnd crashed. I think im only able to run it in the DirectX version 1~6.
For some reason i was not able to upload them as attachments ( maybe they are to big, both around 92MB ?! ), i always lost the connection to sourceforge. And i cant copy and paste them into google documents or pastebin.com. The whole document is mostly all the time full with the same line:
' timeGetTime: time=5b9fd2 '.
I uploaded them in a .txt format to my share-online account, i hope this wont bother you. If you have a easier page where i can post such stuff, please let me know !
I downloaded wit some difficulty one logfile, but it isn't actually saying that much....
A couple of suggestions:
1) unsetting the time stretching flags should eliminate the time log messages
2) compressing the log files with so many repeated lines should reduce the size so that uploading to sourceforge should not be a problem.
But from what you said, I wonder if win8 could be provided without ddraw support for directx version 7! Is the game starting without DxWnd?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm really sorry that my uploads bothered you that way.
Now I have unsetted the time stretching flags and setted DirectX
Version Hook to Automatic. I will upload the new Log files to sourceforge !
The game is starting without DxWnd and runs just fine.
No graphical gliches, sound bugs or performance problems.
As i said its the newest GoodOldGames release of this game with Win8 support.
Actually i tried other games with DxWnd and they are all running.
as always thanks for the great support, keep up the great work
purify64
Uhm... both logs show this line just before the program's termination:
GetDisplayMode: ERROR res=80004005(DDERR_GENERIC) at 556
The same line doesn't show in my logs. I wonder if that could depend on Win8 or maybe on GOG's hacks. I was reported the same error on some other game, so probably GetDisplayMode is one of the legacy API that are not supported any more...
I downloaded the Rayman 2 Beta.
Without DxWnd its working fine like Rayman 2 GoG...
But with DxWnd ( normal Rayman 2 Demo settings, DirectX Version
Automatic and None Surface Emulation) the game just crashes like
my Rayman 2 GoG release. I even tried to reinstall DirectX 6 and 7...
Nothing is working for me...
I am trying to use the windower with "Rayman 2: The Great Escape" for the PC. My first issue is that even with the aero fix enabled, it still turns the theme to Windows 7 basic. My second issue is that clicking anywhere outside the game (including the window border), causes the window to minimize, and upon restoring the window, I can still hear the music, but it seems the game has frozen, and needs to be killed from either the task manager, or DxWnd. An earlier version of DxWnd (can't remember which) had the same bugs, but the game did not freeze when restoring the window. (Also, time stretch doesn't work).
I'm on vacation with limited internet connection, games and PC platforms.
From september I'll be back with a better support.
Please, be patient!
GHO
I think Rayman 2 turns the theme to Windows 7 Basic regardless of anything, because it runs in a 16BPP mode. Even if it's fullscreen, it still does that, you just don't notice that. I doubt there is a fix for this. However, as for the second thing, modify the settings for Rayman 2 and check "Do not notify on task switch". It's not a perfect solution, but the game itself is stable and doesn't crash due to minimizing. Ray2 just crashes whenever minimised or alt-tabbed, I remember having that problem on fullscreen - the game just wouldn't restore. Even if you check that box, the game will still crash if you click on the border, though. I haven't really tested the time stretch, so no idea there.
Still, the framerate on windowed Ray2 is kind of unsatisfying. In fullscreen it's constant 60fps, but with DXwnd I can get only to 30. I'd appreciate any help with getting my framerate up :)
Last edit: Łukasz 2013-08-29
Okay, after applying the latest DXWnd update, Rayman 2 simply doesn't want to launch. I tried changing a few opitons, but since it worked previously on the very same settings, I can't really understand why would this not be the case now. I'd appreciate any help :)
EDIT: The problem lies somewhere in the DirectX simulation setting. If I set the version to 1-6, it crashes at start. Anything higher, and the game starts in full screen.
Last edit: Łukasz 2013-09-17
Ok, your turn now....
First af all, let me apologize for the late intervention, but I was in the middle of a big code rewriting, and I was quite busy.
Let me say first of all that I got big troubles to find a working copy of Rayman 2 on Win7: the installer is awful and keeps getting stuck. In the end, I decided to utilize the Rayman 2 demo program that works much better, but some results could be different from the full game.
The reason of the current crash is explained in the release notes of the changelog forum topic, where I said to forgive me for the likely regression bugs. This is one.
Another possible bug is that now the "automatic" directx version seems to work not always: I'll check this as well.
About the desktop theme, I'm sorry but dxwnd can do much, but not all (so far, at least):
while in emulation mode it's reasonable to say that the game is compatible with aero themes since emulation preserves the current desktop settings, that doesn't hold for direct windowed mode, where the color depth setting is changed and dxwnd preserves just the screen resolution.
So, the only way to avoid effecting aero would be to set the surface emulation on, but unfortunately the game relies on a 3D and COMPLEX primary surface with an attached BACKBUFFER and a ZBUFFER attached to the BACKBUFFER. While the BACKBUFFER attach to PRIMARY can be emulated, so far I still don't know whether it's possible or not to emulate the ZBUFFER attach (it seems not unreasonable that it wouldn't!).
About other problems: the lower framerate is puzzling - in direct mode the overhead should be very limited. How do you measure both the values?
Time stretching doesn't seem to work. But this is an exciting news: there might be a lot of ways to control the game speed, and very likely Rayman uses a different one. Let me investigate and, with some patience and luck, understand and fix.
Setting the "Do not notify on task switch" fixes a lot of problems, but not all. Iàll try to see if it's possible to make the program deaf to other annoying events as well.
There's a lot of stuff, so in the meantime accept a temporary fix for the game: just replace the dxwnd.dll of the latest v2.02.24 release and the game should be playable again.
regards, GHO
Last edit: gho 2013-09-17
When windowed, I measure the framerate with DXWnd's tools - either the FPS Overlay or the option to show the FPS count on title. There are moments when the game jumps to 60 fps - it's usually whenever a new location loads and it's noticeably smoother during these first few seconds, however it goes down to 30 after that. The smoothness is constant in fullscreen.
If you have a problem with finding a working version, I think it would be fine if I sent you somehow my version from GOG, which is DRM free. I assume you wouldn't want to spend 6 bucks on it there. But it works in Win7 just fine. I had similar problems with my physical copy of Ray2, but the GOG version works pretty much perfectly.
oh! You'd better say that first.
The problem with GOG releases is that they hired some programming/hacker staff that sometimes makes the games playable using code hooking like dxwnd does. When this happens, it's very likely that the two things interfere each other and the game doesn't work correctly.
But if you tried the game and it worked fine, maybe this is not the case.
I remember that I worked on both GOG and gold DKII (dungeon keeper 2) releases, but in the end using dxwnd the original game performed better and with less troubles respect the GOG release.
I'll see if I can borrow (uhm!) a copy of the GOG release somewhere....
Damn, I really wish I won't have to look for a physical copy of the game for everything to work fine. You yourself experienced problems with the installator, and the X360 gamepad probably won't work with it, so it'd be almost pointless to play it. Anyway, I'm curious to see what you'll come up with. Thanks for looking into it ^^
I bet you won't have to...
Head to the download section and try the just uploaded v2.02.35: I discovered that eliminating a few offending commands from the window message loop you fix the problems you described.
The only drawback is that some of the commands are related to the window border handling / creation (the WM_NC* messages) so that the border is no longer built and the window appears in modal style.
Well, you have to accept some compromise, isn't it? ;)
Try the new version using the suggested configuration (or set both the "do not notify.." and the new "filter offending messages" flags) with the GOG Rayman 2 release and let me know....
I downloaded the new version and it works, as it used to :) I tried messing around in settings and the "filter offending messages" flag seems to change nothing. I also tried both your and mine settings, both gave almost identical result. I don't quite understand how the border works, because sometimes it is visible and sometimes it's not, but honestly I don't really care about it that much, it just seems weird. But the framerate is still 30 fps, have you thought about what could be causing it?
Hi.
I uploaded a v2.02.36 release that seems to handle Rayman2 pretty well.
Find attached the exported configuration file.
Once set the "filter offending messages" flag, I noticed that you needn't set the "do not notify on task switch": if you alt-tab the game seems to minimize itself in pause, but it's able to recover. You can play with these settings and chose what's best...
Last edit: gho 2013-09-22
It runs just as it ran previously. I noticed that "filter offending messages" get rids of the border, which actually might be preferable at times.
I'm now out of home and without a Win7 PC. Let me summarize the situation on my XP, so that you may tell me how's on your part:
1) AERO theme can't work until I find a way to run the game in surface emulation mode, so this is still a problem. Of course, on XP it's not.
2) clicking outside the window minimizes the game (the caption says: "paused") unless you turn the "do not notify on task switch". Setting the "filter offending messages" seems to let you click safely on the borders and (maybe) resume from pause.
3) time stretching doesn't work. Still under investigation.
4) framerate is slow (30FPS), but I can't tell if the game gets slower of the framerate is wrong: the game in an case seems speedy enough to be perfectly playable. I have to check this as well.
Is that all? Does the situation match what you see on your side?
thanks
GHO
Last edit: gho 2013-09-22
2) setting the "filter offending messages" turns off the borders. Even if it and "do not notify on task switch" are selected, you can still minimize the game and you're unable to bring it back then (the game pretty much softlocks, or it just takes an eternity for it to come back).
The Aero theme and resuming from pause problems are both present while running the game fullscreen as well, though.
Everything else is true. The framerate is perfectly playable at 30FPS and there are no drops below that, however it'd be useful if constant 60FPS was possible.
There's actually one more problem. One person who wants to play Ray2 as well told me that DXWnd isn't working properly for it on Win8. He tried another game and it ran just fine, but for some reason Rayman launched regularly, like DXWnd wasn't present at all. I wonder if you could do something about that as well...
Last edit: Łukasz 2013-09-22
About the "filter offending messages", I kind of turned them all off, but I have to make some experiment to see if it's possible to let the window build its frame border while not being "offended" by mouse clicks or whatever. Let's see....
For the aero theme, since the fullscreen mode is "fake", I'm afraid that the window manager doesn't care whether it occupy the whole screen or not. Anyway, I'm trying to see if it's possible to run Rayman 2 (and other games, of course!) in emulation mode at 32 BPP. But it's not easy.
For the framerate and the speed I didn't have time to make any progress: it seems interesting to me to understand mainly why the time stretching is not working.
About the Win8 problem, that is a real problem, since I currently have no Win8 platform anywhere to test it. But I noticed that, maybe after some recent change, dxwnd lost the capacity to detect the directdraw version automatically. Maybe you could suggest him to set directdraw version to 1-6 instead of auto, if he didn't do that already. Another possibility is that in Win8 dxwnd need to be activated with administrator's rights....
Update: the experiment was positive! Commenting the WM_NCHITTEST filtering only, the window builds its border, though it's completely useless since however you click on the borders/title bar the program doesn't notice. But it's better than crashing anyway.
Here comes the debug dll to test: let me know if you thing it's better. For sure, there is one improvement: this way the client area of the window is exactly the size you specify, while before it was growin a little causing some possible aliasing.
Last edit: gho 2013-09-22
Just as you described: though it doesn't respond to any aciton, the frame is indeed created. Also, we did try switchind the DX version to 1-6 and even 7 on Win8, but it doesn't seem to work. I'm not sure about the admin thing, though he said his account has admin rights.
EDIT: I've also noticed that the game runs incredibly slow (20fps), when I put it in the 1280x960 res and launch through DXWnd. Works fine in fullscreen though, just as it does in higher resolutions. Just this one specifically, apparently.
Last edit: Łukasz 2013-09-26
Hi, Łukasz, I wanted to tell you about the Rayman2 work-in-progress:
the main problem now (that is, the one I'm concentrating on) is to understand how the game determines its own speed. This is puzzling, because there are references of all sort of timing APIs, but no matter how you intercept and alter them, the game speed is always the same.
My suspect is that the game is relying somehow on the video refresh rate (60Hz or whatever) but I can't figure out where it detects it and how to change it, provided that 60Hz is not a game constant. For sure, I think it would be a gret thing to be able to play Rayman2 (as any other hard platformer) in slow motion!
If you have any suggestion, please be welcome!...
Hi,
It's awesome to know you keep working on Ray2 :)
Unfortunately, though, I've no idea how to help you. I think that if the game was relying on the refresh rate, it'd keep a constant 60fps framerate, which is usually not the case, though maybe framerate and refresh rate are are unrealted and I'm mixing stuff up. Maybe it all connects somehow with the game running in 16BPP mode? I really have no idea.
I've noticed another minor thing recently, however - after playing a few stages, the background music gets more and more quiet. The sound effects remain unaffected, though. Just a strange thing I wanted to point out.
Hi,
I have some issues with dxwnd and rayman 2.
Everytime i start up rayman 2 with dxwnd its showing the dxwnd logo and then crashes.
Im using Windows 8.1 (64-bit) and a adminestrator account.
I made a video to show you my setup and my settings:
http://www.youtube.com/watch?v=P2YTB6JdMsA&feature=youtu.be
I hope you take your time to watch this 5:11 minutes long video...
i just want to know if im doing something wrong and to help you to get dxwnd working on windows 8.
if dxwnd is just not ready for windows 8 please tell me.
thanks for the support and help,
purify64
PS: the crashmessage from windows gave me these details:
Problemereignisname: APPCRASH
Anwendungsname: Rayman2.exe
Anwendungsversion: 0.0.0.0
Anwendungszeitstempel: 3807b68b
Fehlermodulname: GliDX6vf.dll
Fehlermodulversion: 0.0.0.0
Fehlermodulzeitstempel: 38076f85
Ausnahmecode: c0000005
Ausnahmeoffset: 00007e26
Betriebsystemversion: 6.3.9600.2.0.0.768.101
Gebietsschema-ID: 1031
Zusatzinformation 1: 5861
Zusatzinformation 2: 5861822e1919d7c014bbb064c64908b2
Zusatzinformation 3: 01d7
Zusatzinformation 4: 01d7340064827245f2249cd1f1a7c264
seems to be a problem with the "GliDX6vf.dll" dll ?
Last edit: purify64 2013-11-10
I checked on my Win7 PC and the game crashes as well.
I saw your video, and it is very clear: by the way, english is not my mothertongue either.
I have no Win8 platform to verify what I'm saying, but I'd rather bet that I stumbled into some regression bug: as a matter of fact, Rayman2 with dxwnd release 2.2.25 works fine, and from 2.2.39 up it is crashing.
So, a temporary workaround could be to download from the sourceforge release list an older release (I didn't try the ones from 2.2.26 to 2.2.38) and use it, at least until I release a patched dxwnd version (what I hope to be able to do quite soon!).
P.s. to move a game config from one release to another the best thing could be exporting the game config to a file and reimporting it.
Sorry for the inconvenience
GHO
UPDATE: my mistake, I forgot to set the DxWnd surface emulation to "none". Did you do it too? If this doesn't handle the problem, please try to run the game and send the logfile to me: set the log flags according to the second screenshot.
Last edit: gho 2013-11-10
I tried it twice one time with DxWnd surface emulation setted to none and one time with Primary Surface activated. Both times it crashed. I didnt try the old releases, maybe this will be the next step. By the way in your settings you have set the DirectX version to 7, if i do this my whole DxWnd crashed. I think im only able to run it in the DirectX version 1~6.
For some reason i was not able to upload them as attachments ( maybe they are to big, both around 92MB ?! ), i always lost the connection to sourceforge. And i cant copy and paste them into google documents or pastebin.com. The whole document is mostly all the time full with the same line:
' timeGetTime: time=5b9fd2 '.
I uploaded them in a .txt format to my share-online account, i hope this wont bother you. If you have a easier page where i can post such stuff, please let me know !
None Surface Log: http://www.share-online.biz/dl/XV35V3WME4V
Primary Surface Log: http://www.share-online.biz/dl/ORJ9V3WM7I
thanks for the fast reply and the support,
purify64
Last edit: purify64 2013-11-11
I downloaded wit some difficulty one logfile, but it isn't actually saying that much....
A couple of suggestions:
1) unsetting the time stretching flags should eliminate the time log messages
2) compressing the log files with so many repeated lines should reduce the size so that uploading to sourceforge should not be a problem.
But from what you said, I wonder if win8 could be provided without ddraw support for directx version 7! Is the game starting without DxWnd?
I'm really sorry that my uploads bothered you that way.
Now I have unsetted the time stretching flags and setted DirectX
Version Hook to Automatic. I will upload the new Log files to sourceforge !
The game is starting without DxWnd and runs just fine.
No graphical gliches, sound bugs or performance problems.
As i said its the newest GoodOldGames release of this game with Win8 support.
Actually i tried other games with DxWnd and they are all running.
as always thanks for the great support, keep up the great work
purify64
Uhm... both logs show this line just before the program's termination:
GetDisplayMode: ERROR res=80004005(DDERR_GENERIC) at 556
The same line doesn't show in my logs. I wonder if that could depend on Win8 or maybe on GOG's hacks. I was reported the same error on some other game, so probably GetDisplayMode is one of the legacy API that are not supported any more...
One interesting experiment could be trying to apply DxWnd on the rayman 2 demo (available on fileplatet here: http://www.fileplanet.com/23184/download/Rayman-2-Demo ) and see if it works.
I downloaded the Rayman 2 Beta.
Without DxWnd its working fine like Rayman 2 GoG...
But with DxWnd ( normal Rayman 2 Demo settings, DirectX Version
Automatic and None Surface Emulation) the game just crashes like
my Rayman 2 GoG release. I even tried to reinstall DirectX 6 and 7...
Nothing is working for me...
thanks for the fast reply,
purify64