SyntaxBoom

Languages & Coding => BlitzBasic (Plus/3D variants) => Topic started by: Stevie G on Jul 25, 2025, 05:00 PM

Title: Some B3D q's
Post by: Stevie G on Jul 25, 2025, 05:00 PM
Hello,

Looking for a bit of advice / help here.

I recently started using a newer refurb Win10 PC, 16GB RAM, I7 processor, GT710 graphics.  I was previously using a Win7 PC, 8GB RAM with GT710 graphics.  Yes, I know the GFX card is total gash BUT it's very deliberate.  ;D

So, Blitz3d installed fine and dandy, as did the IDEal IDE. 

When running the latest build of my new game, I got a memory access violation in a certain scenario that I'd never had on the Win7 machine.  Running the code in debug mode was an order of magnitude slower than on the old machine - to the point I had to leave it running for hours until it finally gave me a meaningful error message.  It was an array index out of bounds which was easy enough to fix but on Win7 (whether debug mode or not) no error was ever flagged.

Also, I've noticed on my new machine that displaying text and drawing in 2d is dog slow when compared to my Win7 machine.  I only really do this for debug purposes but it's probably going to slow down development if I can't get it moving faster.

So the questions I have ...

1) I'm curious if anyone has experienced blatant errors being ignored in one O/S over another?

2) Any suggestions to get debug mode running faster?   

3) Any suggestions to get text and 2d drawing running faster?

Any help much appreciated!
Cheers,
Stevie
Title: Re: Some B3D q's
Post by: Baggey on Jul 25, 2025, 06:14 PM
just a stab in the Dark win10 is x64 - win7 is x32.

My guess would be the bios setup and compatibility issues with the UEFI boot mode and GPT with all the Legacy stuff!

Or

its something to do with .NET version your using dosen't like the card!? ie incorrect Drivers for supported modes.

Hope that gets you thinking  :D
Title: Re: Some B3D q's
Post by: RemiD on Jul 25, 2025, 08:51 PM
Quote1) I'm curious if anyone has experienced blatant errors being ignored in one O/S over another?
no. i test on windows 7, windows 10, windows 11...

Quote2) Any suggestions to get debug mode running faster?   
debug mode is slower, yes, avoid using debuglog too often and it should speed things up.

Quote3) Any suggestions to get text and 2d drawing running faster?
2d text can be predrawn on an image / texture.

2d shapes can be predrawn on an image / texture.

maybe draw all static entities on a image / texture, and only redraw moving shapes, not static shapes.
Title: Re: Some B3D q's
Post by: RemiD on Jul 25, 2025, 08:57 PM
and maybe install the last version of directx 7... i remember that some old games required that (directx 9.0c).
maybe your computer uses some kind of emulation if it can't find the appropriate libraries ?
Title: Re: Some B3D q's
Post by: Dabzy on Jul 26, 2025, 06:16 AM
Not sure where you got your Blitz3D installation file from, there are a few places.

But Mark did update it, and yes, Debug mode was a bit of an issue, I had it working for Launchpad in Windows 10, then it broke somewhat when running BlitzCC with the debug flag set on Windows 11, it seems Win10 might of got updates from the Win11 code, because when I tried it on Win10 later on, the same freezing happened, then I had to change it and call it externally using a console for output, which then, it knacked up again after Mark changed something regarding keyboard input.

I just put it down it was a change within Windows that was causing the issue, or maybe Defender was poking it's nose in where it wasn't wanted, because at the time, Blitz3D was getting hammered with false positives.

All in all, yes, debug mode... A little nightmare really.

Dabz
Title: Re: Some B3D q's
Post by: RemiD on Jul 26, 2025, 09:42 PM
have you tried to install another version of blitz3d, to build your executables ?

i still use version 1.108...
Title: Re: Some B3D q's
Post by: Tom on Aug 01, 2025, 01:09 AM
Dude, don't touch anything with a 64bit bus. Get a GT740 at least...