FunkyFr3sh / cnc-ddraw

GDI, OpenGL and Direct3D 9 re-implementation of the DirectDraw API for classic 2D games for better compatibility with Windows 2000, XP, Vista, 7, 8, 10, 11, Wine (Linux/macOS/Android) and Virtual Machines
https://discord.gg/afWXJNDDF5
MIT License
2.21k stars 142 forks source link

cnc-ddraw 6.6 & DDrawcompat 0.5.3 for Cs_gctt & Scooby Bugman on 8+ Only. Supports 98% from the Learning Company except Not using fullscreen exclusive Games. (Use Windows ME) #316

Closed MicahMoo11 closed 3 months ago

MicahMoo11 commented 3 months ago

Update Jun 14th, 2024, this post was originally made to fix Reader rabbit personalized reading ages 4-6. Version 3.0 original build even, clue finder's original 4th-6th grade editions. although works with pal-ddraw, more info here https://github.com/ayuanx/pal-ddraw/issues/3

As of 6.8, it now fully works with 98% from the learning Company games. except 14 games.

  1. reader rabbit toddler with RRTW32.exe (Due Note This Does Not Work with The XP Build of cnc-ddraw)

  2. DDrawcompat 0.5.4 fully works with Scooby-doo case file#1 the glowing bug man & carmen Sandiego great chase through time only on 7+ (DirectDraw (Software) renderer only). This means it will not work with Direct3d. go to dxwrapper instead. Windows Vista, Due to WDDM and GDI issues mostly on Virtualization hypervisor even on Real hardware at times. for windows vista just use (just use Dxwnd) as for Cs_gctt no solution at this time Sorry.

Not using Fullscreen exclusive (these 12 games Link Below) are not compatible sense windows 2000 exception is Dr Seuss toddler and Carmen Sandiego Think Challenge even than fails under windows 8+ and don't advised Vista or 7 Due to extreme stabilitys & compatibility issues. At this time, they are no wrappers or emulators that has support except maybe DxWnd. Even than fails 80% of the time with 35 people testing with varies configurations, even imposable on 8+

Just use Windows ME for all Not using Fullscreen exclusive unless something changes. https://drive.google.com/drive/folders/1AY-Z5Pqj86KyB-LjHoLuMKJpS-9Ty5tb?usp=drive_link

those are Learning-Creative (Vista-11-Bonus) Ver. 4 (Debug) https://drive.google.com/drive/folders/1nax1XTAhQvYlurWbSma0kZ8aqFfdz8as?usp=sharing

FunkyFr3sh commented 3 months ago

Checked the two scooby doo games, they're both not using ddraw.dll and there is no way to enable it either

MicahMoo11 commented 3 months ago

We trade many Wrapper’s

dgVoodoo2/, WineD3D, DxWnd, nGlide, DxWrapper, DdrawCompat, DXGL, Glidos, dgVoodoo, OpenGlide, psVoodoo, glrage, RReady (Rendition Verite wrapper), Xoutput, DxWrapper, DSOAL,

Out of everyone your code is by far the most stable, only other one is pal-ddraw. Which does not work properly under windows 95-98. which your products work on them

however, I do not test 95-98 se or our other programmers. Or do we know Thay are running extended kernel. However, we got 10 users told as they are seeing greet resorts with ddraw3.zip. All I know it works with windows me mostly without extended kernel. Except for a few instances.

That was the reason why I and others did GitHub you, by Far think you.

Sadly, we know nobody at this time with direct3d games that has windows xp support. Likely those 2 scooby doo has no known issues unlike scooby-doo case file 1, that we get emails on a common basis.

At this time, we can only tell users DdrawCompat, sadly it does not work properly under Windows Vista & 7 based systems on VMware even NVidia 400 & 500 that one of our programmers own.

Once again think you for attempting to fix. unlike we are getting we can't help you.

MicahMoo11 commented 3 months ago

is it passable to add support for this game. Direct3DCreate8 d3d8.dll DirectDrawCreate DirectDrawCreateEx ddraw.dll

elmos world bugs food pats https://drive.google.com/file/d/1sl2iYYkR2f0yk-LILCO30wVIEwHryvBn/view?usp=drive_link

FunkyFr3sh commented 3 months ago

Direct3D is not supported by cnc-ddraw, you will need to use a different wrapper for this game

MicahMoo11 commented 3 months ago

i did seen it was direct3d, but the code did say ddraw.dll from the exe, that i looked at. I'm guessing it is not possible as they removed to Mach ddraw.dll

worse case ill just use DXwnd.

MicahMoo11 commented 3 months ago

Elmo's World.zip

here is the exe file that clams it has ddraw.dll . but it may not be passable as it is also direct3d 8

FunkyFr3sh commented 3 months ago

Yes, I checked the game. It is using direct3d 8 for renderer, nothing I can do

MicahMoo11 commented 3 months ago

Thinks for checking it is odd why even have ddraw.dll in the code, was it surpassed to have it originally. I'm going to do one more test. For my suspensions.

MicahMoo11 commented 3 months ago

I got this to work. I will give you logs it has fullback support fir systems that do not support direct3d 8.

MicahMoo11 commented 3 months ago

Use Windows 9x to break.zip

here is the logs

I will try to do this for windows 2000 or xp. they has to be a way to do this.

FunkyFr3sh commented 3 months ago

Yeah, it's not using DirectDraw... It's only checking some things

MicahMoo11 commented 3 months ago

our community of 45 people agreed that d3d8.dll inside of elmos world is doing more harm than good. we have 2 options, 1 the team outside of myself, GitHub all 15 Direct3d emulators for a fix, even if we did want that route, none of them has support for older windows. also, some computers are seeing better performance by forcing the game to software rendering, what i call fake DirectDraw support, in that case why GitHub people for proper direct3d 8 supports.

the question here is it possible to safely remove Direct3DCreate8, d3d8.dll out of the .exe. the game will not like this, but for short team and long team stability, this has to be done for older windows. even newer hardware to fixing headcaps.

if for a chance this can't be done, I and others wall just tell users it is flat out not compatible with windows after XP. unless they computers allows disabling Direct3d to force fullback to fake DirectDraw. iv gathered from what I'm hearing from you and others. they are at times games like Barbie 2 were just not work no mother what you do.

this will be my last time testing the bugged elmos world pets. all 45 even I agreed it's just not worth the hussy. I'm also removing the last 2 older comments as they are no longer relevant in this topic. now the game will be removed and going to sleep.

FunkyFr3sh commented 3 months ago

How did you force software rendering?

MicahMoo11 commented 3 months ago

that is really hard to do, the easiest is thru VMware player, thru windows 7, go to settings, go to display, disappear Accelerate 3D Graphics. once you boot from to windows 7, depending on handwear it might use open gl 3.3. software rendering

best way is to download, or chick is glview6499-setup.net, to found out glview6499-setup.zip

if you have artless open gl 3.0 you're in lack, or on older vmware workstations, do artless 11.3.5 according to other users. https://packages.vmware.com/tools/releases/11.3.5/windows/VMware-tools-windows-11.3.5-18557794.iso some do say 12 depending on hardware.

once that is down use cnc-ddraw config.exe make changes for open gl mode. that will force elmos world pets, to direct3d 9. which does fix it for most users. if you don't say open gl it will force to unstable GDI which is black screen.

Screenshot from 2024-06-12 00-30-49

Screenshot from 2024-06-12 00-19-40

FunkyFr3sh commented 3 months ago

try this one here:

Elmo's World.zip

This is using a hidden setting named "safeFullscreen"

MicahMoo11 commented 3 months ago

yes, think you so Mach "safe Fullscreen" fully fixed it thinks again once more.

just trade this on my real windows 8.1 laptop fully worked with no black screen. what is "safe Fullscreen", how can one code fix issues like this.

MicahMoo11 commented 3 months ago

This is a small update reader rabbit toddler with RRTW32.exe. acts like Scooby-Doo cade file 1 scooby-doo case file#1 the glowing bug man.

That we did got it to work. However we can't identify like case file 1. We are seeing these 2 games might be the same.

Which forces windowed mode. Why? How does It do it. Which resolved a lot of issues with Nvidia users even vmware player red discoloration verified ny other people not myself. And tested but unclear how to do it.

FunkyFr3sh commented 3 months ago

With newer cnc-ddraw builds it does force windowed mode for scooby doo, I added that as test code

The toddler game does not load ddraw.dll I think, might not be possible to fix

MicahMoo11 commented 3 months ago

toddler game 6 people got it to work like Scooby-Doo. I need to figure it out why?. Does it really not have ddraw.dll or the learning company bug.

Or is it TLCLauncher.exe. if so why?

FunkyFr3sh commented 3 months ago

I don't have toddler installed anymore, so I don't know.

But here is my scooby doo case 1 test build if you need it: cnc-ddraw-scoobydoo-case1.zip

MicahMoo11 commented 3 months ago

Test build will be needed even verified users can't figure it out why. We will sand cnc-ddraw. Log builds. if any user can produce this bug or secret setting like with sesame street.

MicahMoo11 commented 2 months ago

All 35 people cannot get https://github.com/user-attachments/files/15845633/cnc-ddraw-scoobydoo-case1.zip.

Get it to work although if we change casefile#1 from .ini and application executable it fully worked even toddler thru RRTW32.exe, but unclear why? We are still investigating. Due to error this will only work thru scooby-doo case file#1.

Yes your code worked although not thru scooby-doo

FunkyFr3sh commented 2 months ago

yes, this test build will only work with scooby doo#1, it cannot work with any other game because it got test code in it that detects scooby doo

MicahMoo11 commented 2 months ago

Maybe so but other teams found away how to do it. Yes it works but not case file#1.

MicahMoo11 commented 2 months ago

they is one more thing we forget i say this Scooby 1 might be attempting to work but it shoes this,

Screenshot from 2024-06-20 23-44-34

but if we removed cnc-ddraw-scoobydoo-case1.zip, it works.

you might see 2022, we are testing a report for a compactivity issue with Vista, even with original same thing happens.

FunkyFr3sh commented 2 months ago

hm, i don't know why that happens. Works fine for me

MicahMoo11 commented 2 months ago

can you tell us the vmware tools version. this might be a windows vista issue, as we are using 10.2.5. newer versions break Vista+.

that includes cnc-ddraw, as starting in VMware tools 11.0.0 worse with 11.0.6 until dropped by VMware player completely, they were adding open gl 3.1 and 3.3, which broke it, although cnc-ddraw still works with direct3d 9 works.

FunkyFr3sh commented 2 months ago

I was testing on Win7 only.

But you are right, vmware tools in vista are broken with cnc-ddraw. I had that problem before

MicahMoo11 commented 2 months ago

question is it passable to turn off open gl under windows vista, it appears to mostly work. or to detect 11.0.0 thru 11.0.6. to turn off open gl and always force direct3d 9.

FunkyFr3sh commented 2 months ago

I can prevent it from loading opengl32.dll when direct3d or gdi are enabled, here is a test build:

cnc-ddraw_win2000_i486_mingw.zip

MicahMoo11 commented 2 months ago

that fully fixed it, we tested varies learning company that was requesting OpenGL that fixed it. with newer VMware drivers even some humongous for GDI breakage they are none we can see; it was just OpenGL.

sadly Scooby 1 still does not work. we are now testing https://archive.org/details/Win7EnterpriseERTM

as sp1 never existed because of browserchoice.eu also known as kb976902. as we are getting reports for trying to install internet explorer 4 or 6 onto windows 7. We will test Scooby 1, if we can get it to work.

MicahMoo11 commented 2 months ago

we believe i'v got Scooby 1 to work but not sure, as we or others are not seeing windowed mode, or any evidence, unlike RRTW32.exe.

FunkyFr3sh commented 2 months ago

if you use cnc-ddraw-scoobydoo-case1.zip it should start in fullscreen, but you can enable windowed mode via cnc-ddraw config.exe

MicahMoo11 commented 2 months ago

in that case i did not have any succuss theu vmware player, however the other 34 testers I'm biting is the same.

cnc-ddraw-scoobydoo-case1.zip, i think what i need to do to try this in real hardware.

FunkyFr3sh commented 2 months ago

works fine for me with vmware

https://github.com/FunkyFr3sh/cnc-ddraw/assets/8355237/3fd52c46-9afd-4481-96ca-cc1ae430557c

MicahMoo11 commented 2 months ago

Now I'm confused how can 35 people not get this. I'll need and others test more tomorrow

MicahMoo11 commented 2 months ago

old comment is gone as this is more up to date.

the group has tested 18 different languages oddly only the European languages work. exception uk english. things like asia areas, like simplified Chinese, or traditional Chinese, Karen even japanase none of them worked with scooby#1 we believe it has been hard coded for German language but does not explain why other European worked.

is this a bug or was this your attention? but yes, scooby#1 worked with all German Windows even Windows 2000 with extended kernel. we had other english users install German windows 7 or 10 with NVidia graphics it was fully playable under windowed mode unlike before.

as for windows vista we know someone with intel hd graphics 4000 had them test on the laptop and worked.

FunkyFr3sh commented 2 months ago

They all get the message to insert the CD?

MicahMoo11 commented 2 months ago

yes, except German and few other European langrage like French.

but we did find a solution to bypass the disc even than it may not work. https://drive.google.com/drive/folders/1cWJ9IIxjinPH0zs8pGL0quZoPeezA9Cz?usp=drive_link

called Scooby 1 Test.zip

FunkyFr3sh commented 2 months ago

The only english windows i have is 10, but the game does not work there so I can't test this bug:

image

MicahMoo11 commented 2 months ago

did you try useing Scooby 1 Test.zip it should bypass the error. although we haven't tested on windows 10 yet.

you can also force reinstall with _setup.exe. also, Scooby-Doo Case Files.msi) is now required on later versions of 10 is that it is using technologies that we can't work around. once it is installed the disc should work.

https://drive.google.com/file/d/1qD_b1B_2O6gWWHCgDouirgPQYacfCPJX/view?usp=drive_link

FunkyFr3sh commented 2 months ago

Scooby 1 Test.zip does not work on windows 10 either. Will try the .msi now

Problem seem to be related to intel indeo (codec for videos)

MicahMoo11 commented 2 months ago

forget this is mostly a windows 11 bug

IndeoCodec.iso https://drive.google.com/file/d/1qDPA1HMxUNFDvSzP56rUSnpWtZrEnhxT/view?usp=drive_link

this may be required for sound support, although you have to install thru developer option. which is bugged under 10+.

FunkyFr3sh commented 2 months ago

That fixed the error, but now the game does not use directdraw anymore to play the videos. so cnc-ddraw will not be loaded and doesn't work with this game

MicahMoo11 commented 2 months ago

in that case im going to clean install windows 10 English and German, some other users got this to work with case file#1. maybe it is not useing ir50_32.dll was is deactivated starting with windows 8. but completely blocked by windows 10+.

i should've tested this on windows 10 sooner

FunkyFr3sh commented 2 months ago

this game is using GDI, it will not work with cnc-ddraw. The only reason why it hooked was because of the videos (which use directdraw/direct3d) - So you probably have to use a different wrapper for it. Dxwnd might be the only wrapper that could work with such a game

MicahMoo11 commented 2 months ago

Mean Points, Dr Seuss is a complete loss to all emulators with unclear workarounds.
scooby#1; just use DXwnd, cnc-ddraw for all Languages Possible, which I succeeded. (somewhat risky) barbie 2; has a very dangerous workaround even I attempted 10 times until I give up.

more details Below

all 35 people tested with various configurations, every ddraw.dll and d3d7.dll wrappers. none of them worked with DR. Seuss games except Dxwnd which fails 80% of the time. even if worked 2nd launch will definitely fail.

I've and others found that ddraw.dll can be replaced thru windows Vista-10, from European Windows oddly we found some success with case file#1. Although it might lead to system breakage. majority of people likes cnc-ddraw better than DXwnd for stability even performance improvements. but for most non-tech users even myself just use DXwnd.

The other 3 users got DDraw.dll from windows me to work with windows 2000 and XP downside guaranteed system breakage on restart. For testing barbie maze level from game, and it worked. they are another downside is that MakeCriticialSectionGlobel, is an undocumented Microsoft source Code Last existed since windows 2000 build 1848 natively. although Windows ME did support it. which is 3 years newer than beta. and 9 mouth after 2000.

the only reason why it worked with windows xp. is 3 of the 35 found a forum post that found another old game was calling MakeCriticialSectionGlobel. so, a fan community found a workaround. that 3 other users just ported back to barbie 2. the process is so complex I can't reproduce it or understand it. but I know one thing ddraw.dll, might be the issue after all.

MicahMoo11 commented 2 months ago

update on Rugrats: Totally Angelica Boredom Buster https://archive.org/details/TotallyAngelica

update on June 27th 9:21 pm,

Feather testing is that QuickTime 6.5.2. was the last for full support. newer versions break features like flash last exist sense 7.2. I do believe, cnc-ddraw is doing something to improve QuickTime computability with windows 7-11. My only guess is that QuickTime 6 or early 7 is not hooking properly on newer Windows. now I'm not sure if it's because you added QuickTime for Cyberchase. that indirectly improved Totally Angelica.

MicahMoo11 commented 2 months ago

New update July 3 5:41 pm Quicktime 2.1.2 windows 7-8.1 x86 and x64 no issues, starting to brake with windows 10. although DDrawCompat fixers the issue even Cs_gctt on Windows 8+ only. sadly, still unstable with Windows Vista & 7, Due to wddm and GDI mostly on Virtualization hypervisor.

quicktime 3 yes only on x86 windows all but 8+ is becoming unstable. x64 windows QuickTime 7 is not backwards compatible. installing QuickTime 3 is problematic but possible thru OTVDM. as QuickTime 3 is native x86.

quicktime 4-6, mostly works with quicklime 7 but hooking issues mostly with 8+.

old comment these 2 games are low priory. as this is just a QuickTime 7 compatibility issue. they are others, I'm assuming you can't do anything as you did say that QuickTime, is not a lot you can do with, but QuickTime 4-6 is really showing its age for 8+.

this game below is quite stable other than bad framework. as this jumpstart has no QuickTime components.

jumpstsrt artist cnc-ddraw-2.zip

this game below needs cnc-ddraw for newer QuickTime to work even than really unstable. although works best with QuickTime Alternative as it has better computability with features and even managed windows 2000 support until about 7.4. 3 versions beyond apple, really, we like original QuickTime 7 software from apple to work.

JumpStart Arts and Crafts Read Me cnc-ddraw-1.zip

MicahMoo11 commented 2 months ago

FunkyFr3sh question iv tested all reader rabbit relaunch thru cross over software https://www.codeweavers.com/crossover#linux, it was so completely unstable at a port i mast force restart Linux. we have 38 people however only 3 like me use Linux, Scooby doo even case file # 1 worked despite not working under English versions of windows thru VMware payer.

does cnc-drew support crossover with wine 9.0. or is it wine only. also even more odd, ; Run in windowed mode rather than going Fullscreen windowed=true is not respected or works. although it does work with mac os x. unlike the other 38 I am not programmer or know the in or outs of visual studio 2022. this bug might be me now knowing any better. but i thought cnc-ddrew did support Linux thru wine. not a big issue as I do have VMware player which meets my prepress.

im not sure if this is a bug or crossover. thinks from Wright Micah.