123
-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|560|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
Socoder -> Blitz -> Blitz3D: Disable direct play with simple hex edit!

Thu, 24 Aug 2017, 06:44
Skullbox

Blitz3D: Disable direct play with simple hex edit!


Hi, everyone!
Since blitzbasic.com has been layed to rest I'll post this here.

Ok here's what you do, open runtime.dll in the blitz3d\bin folder into a hex editor (I used HxD for this but any hex editor will do). search for DPLAYX.dll and replace it with DINPUT.dll then save it. Simple!

Voila! You can now run your code without direct play and when you create an executable it runs without direct play too! \o/
I tried this with BlitzPlus but no luck, maybe someone with more experience will have better luck.
Thu, 24 Aug 2017, 06:58
Jayenkai
That's a handy tip.
Any odd side-effects from this?

And, Welcome aboard!

-=-=-
''Load, Next List!''
Thu, 24 Aug 2017, 07:08
Skullbox
Thanks Jayenkai!
I haven't come across any side-effects yet seems to work fine. I only have windows 8.1 so I don't know if it works ok other versions of windows.
Thu, 24 Aug 2017, 08:35
Pakz
Afaik blitz3d is now broken. It wont run anymore with a fresh install. It gives me a runtime.dll error.
I reported this on itch but there was no response yet.
Thu, 24 Aug 2017, 10:54
Skullbox
@Pakz thats strange what version of Blitz3D are you using I'm using V1.108c. There's only one reference to dplayx.dll in the runtime.dll file so you couldn't have change the wrong one,
Thu, 24 Aug 2017, 10:56
Pakz
I had not modified anything. I only downloaded and installed b3d from itch and it does not work.
Thu, 24 Aug 2017, 11:09
Skullbox
Did you rename runtime.dll to dinput.dll because thats probably whats giving you the runtime error, if the dinput.dll is still the blitz3d\bin folder delete it and Blitz3d should work again.
Sat, 02 Sep 2017, 13:02
Dan
@Pakz: Here is the blitz3d 1108c setup from blitzbasic.com : removed expired url
Sat, 02 Sep 2017, 14:12
Jayenkai
Yuck.
Why do people insist on using such horrible ad-riddled download sites like that?
And it has a 4-week removal, too?!

Why!?
Just WHY!?!

On the itch.io page's download page is the following information.



-=-=-
''Load, Next List!''
Sat, 02 Sep 2017, 17:54
Pakz
I have a dutch version of windows 10 and the search bar shows nothing usefull or related(can find nothing like legacy). I also tried installing the old bb site blitz 3d but it now gives a error and I need to press ingnore once for it to continue and it gives the same runtime error message.

If I run a b3d game it also gives a error (0xc0000022) It seems blitz 3d is completely broken now. I worry that new casual windows users might never figure out how to fix this. I can not even figure this out,

On my +/- one month older laptop I also just checked and there it does pop up a window where you can install direct play when you run a b3d program. I just was able to play the community alien breed game.

What are you doing microsoft!!
Sun, 03 Sep 2017, 03:37
GfK
It's probably time to stop using abandonware. In a few years Blitz3D will be 20 years old. Thats like someone now refusing to change from Windows 98 but complaining that nothing works any more.
Mon, 18 May 2020, 05:11
spinal
Works perfectly performing this hack on the compiled .exe also

-=-=-
Check out my excellent homepage!