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 / [STICKY] DBPro 9Ex

Author
Message
mr_d
9
Years of Service
User Offline
Joined: 26th Mar 2007
Location: Somewhere In Australia
Posted: 21st Feb 2017 18:30
Just wanted to tag in to this thread for updates and to give my thanks to Rudolpho for the work he's putting into DBPro 9Ex.
Rudolpho
11
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 26th Feb 2017 22:24
Green Gandalf wrote: "On the Advanced Terrain Memory Failure error message, I think you get that error in DBPU77RC7 when the heightmap is missing. Could that be a clue to the source of your error? For example, an incorrect file name or something?"

It's possible if it attempts to do some managed texture stuff that I have missed to cover in my wrappers. I think WickedX was kind enough to provide the source for the Advanced Terrain plugin somewhere around here so hopefully it should be relatively easy to find out if I just get the time to sit down and have a look. Then again I thought that changing the display mode without recreating the device would also be easy until I sat down to do just that the other day - lots of cross references and dependencies between the various dll's making up the core DBPro engine to sort out there (for anyone interested it is more or less functional by now, it just doesn't properly swap between fullscreen exclusive and windowed mode yet, so I'll hold up on posting a new version until I've sorted that out).

Green Gandalf wrote: "It's really encouraging to see you working on this. "

mr_d wrote: "Just wanted to tag in to this thread for updates and to give my thanks to Rudolpho for the work he's putting into DBPro 9Ex. "

Thanks

Green Gandalf wrote: "I appreciate what you say about DBPro really needing a rewrite, however, I'll dig out my old top ten most annoying bugs and see how annoying they are before bothering you with them."

I'm looking forward to it! Enjoy your trip

CumQuaT
AGK Master
6
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Brisbane, Australia
Posted: 8th Mar 2017 14:30 Edited at: 8th Mar 2017 15:10
Hi Rudolpho! Apparently my shader code causes this error:



The message is actually cut off... Do you know what it says and what I need to do to get my shaders working?

Also, my BlitzTerrain generation is now causing this error:



Any light you might be able to shed on that one would be greatly appreciated, also!

Other than that, I'm loving this. My compiles used to take around 17 minutes. Now they're under 90 seconds!
I work full-time making games in AGK2 and DBpro. Living the dream!
Rudolpho
11
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 12th Mar 2017 16:15
CumQuaT wrote: "The message is actually cut off... Do you know what it says and what I need to do to get my shaders working?"

Shader model 1 is no longer supported by the HLSL compiler used by DBPro9Ex.
Odds are the solution is as simple as opening your _modified.fx file and change the technique declaration from ps_1_x to ps_2_0 and everything should work. If it does not you'll get further shader error messages describing what else will have to be changed when trying to run your program after making said changes to the effect file.

CumQuaT wrote: "Also, my BlitzTerrain generation is now causing this error:
"

That happens because BlitzTerrain attempts to create 3D meshes directly using DirectX rather than going through DBPro. As such it assumes to run on D3D9.0c and basically supplies some parameters to a function that are no longer valid in D3D9Ex. This is the same problem as was being had with images earlier ("cannot lock pixel data" etc.) and has been solved by manually patching the offending DX functions to emulate the desired behaviour in the latest v1.0.0.8 release (see my next post below). Thanks for pointing this ou as well as your e-mail correspondencet; it helped to pinpoint that particular issue which it is quite possible would cause incompatibilities with other as-of-yet undiscovered third party plugins as well

CumQuaT wrote: "Other than that, I'm loving this. My compiles used to take around 17 minutes. Now they're under 90 seconds!"

Wow, that is quite the upgrade indeed! Great to hear
Rudolpho
11
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 12th Mar 2017 16:16 Edited at: 12th Mar 2017 16:17
Version 1.0.0.8 is now available.
Click here to download it.


This version fixes compatibility issues with third party plugins that create meshes or load/create/update textures directly through DirectX, such as BlitzTerrain and AdvancedTerrain, allows changing the display mode at runtime without having to reload media and fixes a couple of bugs present in the previous version.

The display mode can now be changed at runtime without the need to reload any media using the new CHANGE DISPLAY MODE command. SET DISPLAY MODE will continue to work as before (ie. purging all VRAM data) for backwards compatibility with projects depending on this behaviour. Take note that you can also tab in and out of fullscreen exclusive mode without any issues.
Fixed compatibility with plugins that create meshes directly through DirectX such as BlitzTerrain.
Extended texture management emulation to also include the various D3DX utility functions, which means plugins using these (such as AdvancedTerrain) will no longer fail with DBPro9Ex.
Fixed a bug where pixel data would not be properly read back from a locked image in certain situations.
Fixed a memory leak in DBProSetupDebug.dll.


As always, thanks for the feedback guys
CumQuaT
AGK Master
6
Years of Service
User Offline
Joined: 28th Apr 2010
Location: Brisbane, Australia
Posted: 13th Mar 2017 01:07 Edited at: 13th Mar 2017 01:08
I work full-time making games in AGK2 and DBpro. Living the dream!
Kuper
9
Years of Service
User Offline
Joined: 25th Feb 2008
Playing: Planescape:Torment
Posted: 13th Mar 2017 16:33 Edited at: 13th Mar 2017 16:33
8 updates in row? Kidding?
A year ago I thought that DBPro is dead for sure.
You bring new breath of life to our community.
Thanks!
Chris Tate
8
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 16th Mar 2017 12:41
Gratz. Keep up the good work; this will soon require a new forum section to help raise awareness and attract support.

I still have not implemented this into my project, at least not yet; but am looking forward to doing it.
Bored of the Rings
12
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 17th Mar 2017 09:12
amazing updates/fixes so far, thanks Rudolpho
Professional Programmer, languages: SAS, C++, SQL, PL-SQL, DBPro, Purebasic, JavaScript, others
Rudolpho
11
Years of Service
User Offline
Joined: 28th Dec 2005
Location: Sweden
Posted: 18th Mar 2017 09:21 Edited at: 18th Mar 2017 09:24
Thanks guys and lol CumQuaT

Kuper wrote: "8 updates in row? Kidding?"

Well, it's been nearly 6 months since the first release and it's mostly just bugfix updates but thanks

Chris Tate wrote: "this will soon require a new forum section to help raise awareness and attract support."

I suppose it might raise awareness but considering how diluted the DB-parts of these forums have become lately it might just as well have the opposite effect with people not finding it in the first place. I'm not sure, would be quite the honour though

Chris Tate wrote: "I still have not implemented this into my project, at least not yet; but am looking forward to doing it."

I can understand that given its scope haha. On the other hand I'm sure you would uncover tonnes of new bugs if you did, so I'm looking forward to hearing of the results of such an undertaking too


Edit: Well look at that, thanks for the Valued Member badge, whomever nominated me for that!
Chris Ritchie
11
Years of Service
User Offline
Joined: 7th Jan 2006
Location: Norn Iron
Posted: 20th Mar 2017 01:09
Just chiming in to say thanks for all your hard work on this Rudolpho, its great to see DB getting updated, I hope to be using it for many years to come.

Lead programmer ULIDIA

Login to post a reply

Server time is: 2017-03-25 17:31:51
Your offset time is: 2017-03-25 17:31:51