WINDOWS 8 AND RM2K3

Some tips to try to get your RM2k3 games running smooth in windows 8

  • Ramza
  • 10/28/2013 03:29 AM
  • 25930 views
Windows 8 and RM2K3
...and You!
--------------------------------------------------------------------------------------------------

First off, hello all, I'm Ramza, and I'm not nearly active enough in this community to be instantly recognizable to everyone. I was the webmaster of a rather large, and quite active rm2k3 website back in the day, and I'm a bit of an oldschool rpg maker 2k/2k3 "programmer" of sorts.

I have recently purchased a brand new laptop, whose system specs are nothing to balk at, which is running Windows 8. After many months of tweaking my OS so that it is bearable, I have discovered a few issues with it that translate into poor rm2k(3) performance.

For reference, I am not sure if the true cause of these issues is actually windows 8, as I only have the one laptop running it, it could also be my particular video card setup.

Now, to the good stuff:
I have noticed a couple of video related issues with rm2k(3) while running on windows 8

  • Fullscreen does not work


Running the RPG_RT.exe in compatibility mode allows the game to play, but that leads me to the second problem:

  • The frame rate in fullscreen mode is horrible, even when nothing is happening on screen in a brand new project with no common events running.


I ran a screen capture program to verify, the game would run at a consistent 15-17fps in fullscreen, while running fine at 60fps windowed (as an aside, I'm sure rm2k3 runs at 30fps normally). I'm sure that most people probably run their rm games in windowed mode anyway, so this isn't such a big deal to most of you. But for some of us, this is a pretty solid problem. I want to be immersed in the rm games I play - it brings me back to a simpler time - of early console games, where the entire TV was filled with the game. It's all part of the experience for me.

So what can we do about it? Well that's what I'm here for.

When I first discovered the no fullscreen problem, I scoured the forums looking for resolutions, I discovered Cherry's another fullscreen Mod. This shell application hides the original window, and draws a duplicate of the window using OpenGL, which can support fullscreen. This worked for making the game play at fullscreen, but my monitor is widescreen, and has no way to make the aspect ratio stay fixed (or at least no way that I could find). Despite this, if you're not using a widescreen monitor, this program should pretty much fix this issue for you, and the additional filters can make the game look a lot better than it normally would. The main downside to this workaround, is the need to run the separate Game Starter exe for it to function.

I managed to find an alternate method of essentially doing the same thing as Cherry's Mod, however. DXGL. A directdraw wrapper that translates DD calls into OpenGL calls. Obviously, for this to work, your graphics card needs to support OpenGL. After downloading and installing the program, a settings window is used to specify what program you want to intercept directdraw calls from. As this is not an rm specific program, you do need to specify the location of your RPG_RT.exe file. This program supports maintained aspect ratio scaling, however, it doesn't support minimizing, or windowed mode (attempts to minimize the window result in it still being up on top of everything, setting it to windowed mode causes it to crash entirely).

This program causes the specified application to run scaled in a window that is the same size as your desktop resolution, bypassing any issues your OS or GPU have with running something below 800x600 resolution. It has a number of filters that can be applied to make the application appear more fancy, although I just prefer the setting which simply upscales the graphics without a filter.

An issue that I found with it, however, is that if you've previously set windows compatibility settings on the rpg_rt.exe file, these settings are incompatible with the DXGL wrapper. If you run the setup exe as administrator on your computer, it will warn you if this is the case, and automatically remove any such compatibility settings from the registry for you. Alternatively, you can manually remove them, but I didn't have much luck attempting that.

While I was messing with settings on the DXGL, I did manage to have the overlay program detect that rm2k3 was running at 60fps, I am sure that was incorrect, however. After nailing down the exact settings I was looking for, I was able to get rm2k3 to run at a solid 30fps according to the overlay program, which was a lot nicer looking and less jumpy than the 15-17fps I was getting with the windows compatibility mode method.

A slight issue I've noticed is that screenshots taken while running this way are at my full desktop resolution, and need to be cropped and resized back to 640x480, but that's not a big deal.

The windowed mode/alt-tabbing problem is pretty serious, but the programmer of DXGL is still working on many compatibility problems with newer versions hopefully ironing out this bug. On the other hand, not being able to tab out, or go into windowed mode isn't that big an issue to me, as I said above, it's all about immersion.

As I said above, I am not entirely sure if this problem happens on all windows 8 computers, or only the ones with the type of GPU I have (a dual switching intel HD/nvidia geforce GTX 675MX). I have seen it said that having videocards in a crossfire, or SLI configuration can cause the fullscreen crash problem as well, and that using only one video card can resolve it without any of this DirectDraw trickery - I'm not sure.

Either way, it's better to have this information available somewhere if someone should need it, than sit on it myself and never tell anyone.

Cheers,


-Ramza

Posts

Pages: first 12 next last
Well, this may be a bit late, but Windows 10 just had the latest version of Yume Nikki running flawlessly. None of the frame rate problems I had are persisting.

If anyone runs Win 10 on a machine, I would suggest testing games you had an issue with.
I remember API calls that handled movie playing for you and a demo that came with an old version of DirectX that showed off playing a movie file as a texture to a cylinder. You generally don't ever want to decode movie files yourself.
Actually I built it in the new RPG_RT so the movie stretches the same way the game does... This is weird. But the whole movie business is a bit obscure to me, because everything in the game is painted by the engine, except for movies, which are somehow overlaid and painted by DirectX.

Please wait for v1.11 and try it again there, we made some additional modifications to the fullscreen there.
This is good way, for me better than afm by cherry.

But I have a little problem, this program have error if I want play movie in RM. New version DXGL can play only a few short movie (only in 320x240 pixel and in left top), but another movie is error.

AFM by cherry not play movie (only sound, black screen) but not error game.

New version RM2k3 is good, but movie is play 640x480, so is 2x smaller than my full screen. This is bad for RM2k and RM2k3 (advanced and patch) games, which can't use new RPG_RT.

Can play fullscreen with movie in RM?
Ran into this problem right prior to a demo release. I'd always tested the game in testplay mode and wasn't even aware this was a problem. Your fix worked like a charm cherry, thanks!
BTW, I finally have a fix for the fullscreen problem. Use a hex editor on RPG_RT.exe to search for 6A 00 6A 3C 6A 10. Replace the 10 by 20. In the following bytes, you will find 6A 10 three more times (always followed by a 68), replace them as well.
Huh. I didn't have that problem, but yea, I had extreme resolution lag (it's noticeable on bigger screens or those with lots of events. And no, you ask, it's not parallel events. It ran fine on XP, it ran (well windows 7 sucks) ok on Windows 7 except for practically stalling on a snow screen, and it ran great on Vista. If you simply advance the map of a screen, animation is choppy and skips.

The second (AFM game starter fails because I have some sort of glitch with "subscript out of range (-1)" if I start minimized. So I have to basically start, then load the AFM.
I have very little experience with Windows 8 so far (7 4 lyfe), and last weekend I tried running my game on my friend's Win 8 laptop. It looked and played fine as far as I could tell, but the laptop keyboard didn't work at all. So you basically couldn't do anything. Anyone have this problem?
Is there a way to turn this into an IPS instead? It's kinda weird to have to open this after starting, versus having it open automatically.
I am going to develop a new, more performant and less buggy version of AnotherFullscreenMode soon, and I'm glad I found thread as I didn't know about DXGL before ;) So my goal needs to be being better than DXGL for RM2k(3).

Anyway, I just wanted to point out that the RPG Maker is running at 60 FPS normally, not 30.
author=kentona
Saw this on a microsoft KB discussion:

It is possible to accelerate and also fix fullscreen DirectDraw applications in Windows 8. However you will not get the speed you were used to like in Windows 7 or before.

Save this as a *.reg file and modify the path to your game executable:


Windows Registry Editor Version 5.00


[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Program Files (x86)\\YourGame\\GameExecutable.exe"="$ DWM8And16BitMitigation Layer_ForceDirectDrawEmulation"


Then run the registry script.


I don't have windows 8 so I can't tell you if this works or not...


I'll give this a shot next time I'm on nightshifts with my laptop. It'll give me lots of time to mess with it and compare the results to the other options we've got.
I just want to thank those that have stayed with this topic and have offered some solutions. It's good to see the community preserving some of the older games/software.
Layer_ForceDirectDrawEmulation is not Acceleration, it's the opposite. It's emulation. It's a HEL method for DirectDraw.

This is why

However you will not get the speed you were used to like in Windows 7 or before.

It should, however, fix this problem even if it occurs on other versions of Windows. The way you're doing it, there should be a way to do this from a .bat script that you can package with your game (that starts the EXE with these settings, not edit the registry!). Then you can give it to people and they don't have to edit their registry.
Saw this on a microsoft KB discussion:

It is possible to accelerate and also fix fullscreen DirectDraw applications in Windows 8. However you will not get the speed you were used to like in Windows 7 or before.

Save this as a *.reg file and modify the path to your game executable:


Windows Registry Editor Version 5.00


[HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers]
"C:\\Program Files (x86)\\YourGame\\GameExecutable.exe"="$ DWM8And16BitMitigation Layer_ForceDirectDrawEmulation"


Then run the registry script.


I don't have windows 8 so I can't tell you if this works or not...
author=Sailerius
author=Wonsungi
Sailerius
Which games have been crashing for you? I would like to test them on my machine and perhaps the other.
All of them.

I've found that running an rm game in fullscreen by running the RPG_RT.exe file (no testplay mode) causes it to lockup and crash 100% of the time on my machine. Try setting some compatibility options. I've had luck with windows XP SP3, but as mentioned in the article, the framerate tanks in fullscreen mode like that.

Edit:
It appears that my machine is picky about what works and what doesn't. I tried messing with some compatibility options to check framerates, and they all appear to be around 24-25fps now. Since it's not consistent, the video appears choppy, though.

I'm kind of annoyed TBH. I'm considering installing a windows XP partition on this computer so I don't have to deal with RMs crummy performance. Even the DXGL wrapper isn't perfect. I noticed lately that it seems to having missing pixels, or shows a checkered line in between the boundaries of different elements on the screen (like between the bar color and the bar graphic in the DBS) which is distracting.

It is still a work in progress, however.
This is because 2K/2K3 has a bizarre rendering engine built on top of what appears to be DirectDraw. XP and VX instead use Direct3D and render flat graphics- same as all my 2D engines- this lets them run on just about anything since it's easy for modern systems to understand (and it makes rotation, scaling, etc. very easy to do and very fast performance wise).

What you need is something that specifically works with DirectDraw applications.

A quick Google search shows that Windows 8 has lots of trouble running DirectDraw applications well.

The error "RPG Advocates is Awesome" appears if you attempt to modify specific locations of the .exe (I think its looking to see if their name is intact in the dialog boxes or standard VERSION information in the .exe resources).
Sailerius
did someone say angels
3214
author=Wonsungi
Sailerius
Which games have been crashing for you? I would like to test them on my machine and perhaps the other.

All of them.
Sailerius
Which games have been crashing for you? I would like to test them on my machine and perhaps the other.

Link_2112
Watched a few videos, but it's hard to tell with some of them if gameplay is perfectly smooth, since youtube is not reliable for such things. Really the only measure would be exact frame rate. It sounds and looks like nothing really noticeable anyway. Your drivers are probably as generic as mine, since we both have the Vision series from AMD.
Most of the RM games I play, I record and upload to Youtube https://www.youtube.com/my_videos?o=U&pi=2

I never measure frame rate but I don't recall any major problems with slowdowns.

If it's a video card thing, then maybe my driver version and video card type are compatible with these games. I don't update things, so it's maybe even a slightly outdated driver. I really have no clue why I'm so lucky :/
I don't remember having issues with RM2k3 when I had a Windows 8 laptop, but it wasn't very long before Windows 8 bricked my laptop by overworking the fan and killing it.
Pages: first 12 next last