I need to remove directplay.

Blitz3D Forums/Blitz3D Programming/I need to remove directplay.

Caton(Posted March) [#1]
How can I remove directplay without having to install this feature on windows 8 or 10 so I can run my game on school computer from flash drive.


Matty(Posted March) [#2]
You can't. Not easily anyway.


kfprimm(Posted March) [#3]
It's not terribly difficult if you have the right experience.

Caton, your best bet is to download a precompiled copy of "runtime.dll" with DirectPlay removed. You can try out my project. The only downside is you'll need to distribute fmod.dll with your executables.


Caton(Posted March) [#4]
I get error when use nextfile.


Caton(Posted March) [#5]
Is there a way I can install directplay without admin?


kfprimm(Posted March) [#6]
Sorry to hear that. Would you mind posting an example?


Caton(Posted March) [#7]
Keeps asking to install this feature. If I don't it will say error loading win32 mod.


skidracer(Posted March) [#8]
I suspect it could be quite simple to build a dummy DirectPlay.dll that could be included with Blitz3D apps to sidestep this issue.


Caton(Posted March) [#9]
Could you send me a dummy DirectPlay.dll file? Please?


steve_ancell(Posted March) [#10]
Dummy file is easy to do: Open up Notepad, got to File->Save As, type DirectPlay.dll into the filename box, select Save as type: All files.

Click save and all is done. ;)

Although that would just be a blank file, I take it skid means putting empty functions in that file.


Caton(Posted March) [#11]
still doesn't work. I even tried making a empty compiled vs2015 dll


Floyd(Posted March) [#12]
The idea would be to write a dll that doesn't really do anything. It would still have to load and at least appear to do whatever initialization is necessary.


Caton(Posted March) [#13]
like blitz direct play functions?
someone please tell what necessary stuff to add.


kfprimm(Posted March) [#14]
Looking at the source, it doesn't appear any DirectPlay API functions are called on startup, so as long as you don't make any calls to the Blitz DirectPlay commands, you should be fine.

Also, I think it should be called "dplayx.dll."


Caton(Posted March) [#15]
The ordinal 4 could not be located in the dynamic link library
C:\game.exe


Caton(Posted March) [#16]
I used dummy dll file from here.
http://originaldll.com/file/dummy.dll/39580.html