Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Win7 Issues/Discussion

Author
Message
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 27th Sep 2010 23:41
I did a forum search and it seems they're aren't too many issues with running DBP on Win7, once they get passed the initial install. (which gives a million errors messages at once if you didn't give admin permissions). But I am having an issue with an existing project.

I've attached a photo of my zelda clone. Some of the tiles show incorrect images while most don't even seem to be loaded completely at all. This is how it should look (as run on WinXP):
http://zimnox.com/zelda/zelda_screenshot.jpg

I've compiled the program on XP and ran it on Win7(64-bit), and I've tried compiling on Win7 and running that version, same issue.

I know not showing any source code might limit any help, but are their any currently known issues about DB and Win7 I should know?


"Any sufficiently advanced technology is indistinguishable from magic" ~ Arthur C. Clarke
Neco
18
Years of Service
User Offline
Joined: 13th Jul 2008
Location: Waterloo, Wisconsin USA
Posted: 28th Sep 2010 03:08
The only thing I could think of, is if you are using some third party extensions, like the eXtends pack, etc.. That may be outdated and have problems with Win7 (I know the GUI thing and I think bitmap fonts, had that issue).


Have you tried running in compatibility mode?

Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 28th Sep 2010 03:28
No plugins, all native DBP. I just tried compatibility mode (XP sp3, just as I run on my desktop) and still the same issue. I'll rip the code apart tonight and test each piece.

As a side note, I'm also developing this project in GLB. As I finish each piece in DBP I'm porting it to GLB and that executable doesn't give me any display problems, which I feel could further rule out a code structure issue.


"Any sufficiently advanced technology is indistinguishable from magic" ~ Arthur C. Clarke
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 28th Sep 2010 23:09
After several hours of triple checking my code for loading the tileset graphics, turns out it was a very simple issue. The optional texture flag on the load image command. Not sure why it would throw off the image so much in the memblock, but it did. Added the 1 and all was good.


"Any sufficiently advanced technology is indistinguishable from magic" ~ Arthur C. Clarke
Neco
18
Years of Service
User Offline
Joined: 13th Jul 2008
Location: Waterloo, Wisconsin USA
Posted: 28th Sep 2010 23:16
Cool.

Mind if I ask your opinion of GL Basic? (assuming thats what you meant?) how it compares to something like DBpro, or Freebasic.

Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 28th Sep 2010 23:42
I haven't used FreeBasic, at least I don't remember. But GLB does have some nice things, like arrays in UDTs for one. I found it pretty easy to pick up, and the multi-platform compiler is nice. I've already tested it on Mac. There are a few things however that need further development, like the sound commands are somewhat lacking. No MP3 support on Mac, only OGG. And when you play music, there's only a single command to stop playback which will stop ALL music. The sound command does allow you to specify a number of buffers, so a single sound could be played simultaneously up to 4 times. There are other minor issues that show the language is still much younger than DBP, but I've managed workarounds for those.

I've always had a preference for OpenGL, but if I wasn't interested in writing my games for multiple platforms (mostly Mac), then I'd probably stick solely with DBP.


"Any sufficiently advanced technology is indistinguishable from magic" ~ Arthur C. Clarke
Neco
18
Years of Service
User Offline
Joined: 13th Jul 2008
Location: Waterloo, Wisconsin USA
Posted: 29th Sep 2010 00:05
I've always been interested in cross-platform solutions myself. I think you might like to check out Freebasic though. It uses OPenGL I believe, and is basically QBasic on steroids.. They added some new stuff to it in the more recent versions to make it more OOP I think. But I haven't really had time to site down and find an IDE and play with it.. I think it may be cross-platoform as well (I know there are some other basics that are)

GLBasic does look interesting to me too... But for the price they charge, it does sound a little bit much based on some of the quirks it has to fix.

Thanks for your opinion on that. I appreciated it.

Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 29th Sep 2010 02:32
There's a free version of GLB, you can use the 2D commands without worry. If you use the 3D or networking commands, then the program will run with a timed-trial and quit after like 5min or something.


"Any sufficiently advanced technology is indistinguishable from magic" ~ Arthur C. Clarke

Login to post a reply

Server time is: 2026-07-23 12:44:30
Your offset time is: 2026-07-23 12:44:30