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 / What plug-ins are left to do ?

Author
Message
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 28th Jan 2003 00:37
Ie.. what plug-ins would people like/think they like ?
Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
darkCorridor
22
Years of Service
User Offline
Joined: 27th Jan 2003
Location:
Posted: 28th Jan 2003 17:50


Vulcan Omega
22
Years of Service
User Offline
Joined: 17th Dec 2002
Location: United Kingdom
Posted: 28th Jan 2003 18:00
How about some nice 3D effects maybe ???????????????????

Can't really think of anything else, (at the moment)
Rob K
Retired Moderator
22
Years of Service
User Offline
Joined: 10th Sep 2002
Location: Surrey, United Kingdom
Posted: 28th Jan 2003 19:06
Surely YOU haven't run out of ideas Toady

NOBODY has a forum name as stupid as Darth Shader. I do.
Kenzenray
22
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: India
Posted: 28th Jan 2003 19:15
You can make plugins for the following ,

[1] Text Effects
[2] Special Effects
[3] Transition Effects (eg:- Fading between one screen to another)
[4] Database : MSACCESS or FILESYSTEM
[5] Others

Anything will be helpful.
Thankyou
Arrow
22
Years of Service
User Offline
Joined: 1st Jan 2003
Location: United States
Posted: 28th Jan 2003 19:43
I think maybe text boxes would be nice. You could choose the size and font and then you type what you want in it.




Maybe even an advanced one that'ld show a character pic in the box like Lunar or Xenogears.

This is Truth!
This is my Belief!
...at least for now.
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 28th Jan 2003 19:50
Yes, I have Darth Shader... Terrible isn't it ??

Database access is availiable via SQL

I've got a similiar system to text boxes on my web site - its for buttons though...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 28th Jan 2003 20:01
i'd help give you ideas, buht ya know - i don't want you to take everything away from what i wanna make

Anata aru kowagaru no watashi!
Chenak
22
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 28th Jan 2003 22:22
How about Volumetric effects? (like smoke, cloulds etc)

Once you start down the Dark Path, forever will it dominate your destiny...
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 28th Jan 2003 22:31
HEY HEY... keep him to the non-Direct3D things

Anata aru kowagaru no watashi!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 28th Jan 2003 23:04
Yes, cant do any 3D things, besides thats not my job...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 28th Jan 2003 23:15
and nothing to do with sound either...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Kangaroo2
22
Years of Service
User Offline
Joined: 26th Sep 2002
Location: United Kingdom
Posted: 28th Jan 2003 23:28
Ok Toad here's a challenge that should be easy for you, but would help me alot

Could u make a plugin that would tell how many HDD drives are on the users PC, what drive letters they are, how much remaining space is left on them, and how much of that is reserved for swap / temp files etc ?

If you could make something like this in the next 2 months, I'd include it in my new project, and add a thanks to you in the credits and the readme and help files

Thanks

MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 28th Jan 2003 23:38
I'll see what I can do...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 29th Jan 2003 00:03
LMFAO ... Nothing to do with Sound or 3D
what was that someone wants him to do some DirectPlay options? :: runs ::

Anata aru kowagaru no watashi!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 29th Jan 2003 00:04
Okay - I've got the list of current drives and the free space running...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 29th Jan 2003 01:00
Never tried using DirectPlay...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 29th Jan 2003 01:09
Personally, I'm quite tempted to do an UNRAR set of commands...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Kangaroo2
22
Years of Service
User Offline
Joined: 26th Sep 2002
Location: United Kingdom
Posted: 29th Jan 2003 11:47
Cool Toad, let me knwo when you're done and I shall instantly bestow you with praise lol

MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 29th Jan 2003 14:11
Tried the file I sent you yet ?

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
n3t3r453r
22
Years of Service
User Offline
Joined: 8th Nov 2002
Location: Russia
Posted: 29th Jan 2003 16:23
Really WIN32 API GUI (Graphic User Interface)!!!!!!

CAN ANYBODY M?>>>> F?>>>> GIVE THe documentation for this STUIPID .... ..... win32 api for creating GUI!!! :lol: Sorry, but this F.... ...... ..... MFC doesn't work with DBP!!!!!! Shirt!!! ........
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 29th Jan 2003 16:28
Yes - MFC can be a bit of pain with DBPro - I generally set up a C function which then calls the MFC routines. Works quite well with the speech module (there's an underlying listbox there).

Anyway, you better hop along to Microsoft and get the commands from there - too many to describe properly.

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 29th Jan 2003 18:50
One thing before I get the swap file size - will your programs be run on computers with more than 4GB of main memory ?

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 30th Jan 2003 00:37
probably not Toad
the MFC and DBpro just isn't viable right now without knowing certain aspects of Pro which i doubt will ever be released for public knowlage ... i mean you can get certain functions.

However DarkBasic runs withing a DirectX Render frame, and you can't run MFC within a Frame - you can use it to access the frame and work AROUND it but not in it.

You best option actually is to take the DarkBasic DLLs and use them within a Render window ... but thats your best bet, unless your setup a similar OCX thing that someone made (probably Toad, and he'll get all piss'd for me not remembering that )

i'll post back here when i can remember what i was originally gonna say - but i've kinda forgotten hehee

Anata aru kowagaru no watashi!
Kangaroo2
22
Years of Service
User Offline
Joined: 26th Sep 2002
Location: United Kingdom
Posted: 30th Jan 2003 00:37
Thanks Toad your plugin is saintly Nice 1 my son

Kensupen
22
Years of Service
User Offline
Joined: 19th Sep 2002
Location: United States
Posted: 30th Jan 2003 00:45
SERIAL/COM port communication really dumbed down, like in VB.

-Kensupen
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 30th Jan 2003 01:04
Glad you like it Kangaroo...

About the 4Gb 'limit' (its a limit because various system calls wont over over this size - and you have to use a different version of the same routine), will XP still want to use a swap file !?

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 31st Jan 2003 17:44
i think think the 4Gb limit will be a problem ... unless that is for the swap file limit, perhaps you could combine it with the Windows Checker routine and produce the Disk Size and Ram checker based on whichever is being used.

I still can't find the windows library with these things in - god somedays i wish there was a definitive guide to them, cause i mean i know the commands ... but without the right .h libraries i won't be able to add it and C++ compile

I think some Simple Serial and Parallel communication would be awesome perhaps USB as well, be great to access print and scanner devices direct - or even through an MFC gobetween

Anata aru kowagaru no watashi!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 31st Jan 2003 18:28
Reece - The dialog windows shouldn't be a problem. They will, unfortunately, be moveable though

Raven - What I eventually did was do a bit of self-checking - for 95/98/ME/NT4 it uses the orginal function for getting hard disk spaces/VM size etc. If its W2000/XP its uses a diffent function.
Dont forget the MSDN is on-line at Microsofts web site. I just happen to have the CD's...
You should be able to open LPTx ports to print...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
TheCyborg
22
Years of Service
User Offline
Joined: 6th Oct 2002
Location: Denmark
Posted: 31st Jan 2003 18:40
What about some printer plugins.
Send image to printer port/printer name, image file
send text to printer port/printer name, rtf file

TheCyborg Development.
http://TheCyborg.Amok.dk
The Ultimate Source To DarkBASIC Programming.
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 31st Jan 2003 18:50
Very doubtful...

Normal text - possibly would be okay (using the printing system is a real pain though) - I'll think about it.

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 31st Jan 2003 19:06
ya i know the MSDN CD has alot of the things, but they were too large to fully install and are sitting on the same desk on my DBpro, DM, Microsoft Office XP 2003, JK2, etc, etc...

i hate that little voice that says i've forgotten something, even mroe so when the bugger right
you tried trawling through msdn.microsoft.com before on a 33.6k - not fun

yeah see thats my point, you want it to use the right function - check the windows version within the DLL itself then do a simple if that once you know which version it is.

i mean really all you doing is checking for the NT Platform and if Major version < 4 then you have 2000/XP/.Net

else you do the old function

Anata aru kowagaru no watashi!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 31st Jan 2003 19:44
Its actually simpler than that - all you need to do is check for the presence (or absence) of various commands in Kernel32.DLL

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 31st Jan 2003 22:52
i don't see how much simpler you can get than



i mean surely just adding that and using an IF...ELSE you can then run with Old Space Checker or new

Anata aru kowagaru no watashi!
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 31st Jan 2003 22:53
i always mixx up the greater than and less then symbols but you get what i mean

Anata aru kowagaru no watashi!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 31st Jan 2003 23:01
I actually use :



Its a trifle longer, but saves on a structure...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
SoulMan
22
Years of Service
User Offline
Joined: 22nd Nov 2002
Location: In a house somewhere on the planet earth
Posted: 31st Jan 2003 23:23
Ok,
Here's one for you.
The ability to open a Pak file, get the items inside that pak file and assign the data from an item to say Sound, Models, Maps etc like we do already.
I still haven't figured out how to do this.
Maybe you could do that as a plug in. That would be great for everyone.
SoulMan

I am my own and own my am I
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 31st Jan 2003 23:35
What would you want it to do though?
i mean i kinda understand what you want... but like do you want it to extract the files and assign them within Pro, or what?

I mean i think GuyS added WinZip compression within his Zip tools - and as all a PK3 (which i believe is the pack format that DBS uses is then simply use that ...



thats the Quake2 Pak format
if you change the int to dwords and the char [56] to 56 individual ascii character bytes
you can begin to understand how it works quite simply

file position is the position in bytes to a file, file len is the count of the files ... and the offset, well doesn't take a rocket scientist to figure that out

just read and write dwords of data between them and et voila, you have the files

Toad... you're use is flawed - because some service packed version of the Windows have some features available, its far better to simply use a function to get the actual version and build, that way you're completely certain that it is what you think it is.

I mean for that very reason above is why DirectX9 believes my laptop is still DirectX 8.1 rather than 9.0 - because its searching for features in files which haven't changed because of the Debug, yet the retail version have.
But as it primarily uses the Debug rather than retail thats where it looks.

Its insane but that Microsoft for ya

Anata aru kowagaru no watashi!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 31st Jan 2003 23:35
Sorry - not my area...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Shadow Robert
22
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 1st Feb 2003 04:13
hehee... Paks and Archives are simple Toad
data is compressed into a long string of values, oftenly dword by a compression routine ... basic file information in a header or TOC pre or post the Data which is setup before the data within the format header.

As long as you can find out the encryption routine its oftenly a matter of reverse math to get the decryption

personally i love gzip cause it simply combines all the binary data - very simple, yet effective compression format.
Especially for ASCII/Text Based Documents

Anata aru kowagaru no watashi!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 1st Feb 2003 13:07
No doubt...!

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 1st Feb 2003 21:33
Okay - I've got Dialog boxes for Open/Save, Colour picker and (soon to be) the Font Picker. A windows program over the top I think will be a bit over the top for the time being.

I might do serial/parallel port communication - the beauty of this is that it can be also use with normal files...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
heartbone
22
Years of Service
User Offline
Joined: 9th Nov 2002
Location:
Posted: 2nd Feb 2003 19:53
LPRINT "text: ABCDEFGHIJKLMNOPQRSTUVWXYZ123"+Chr$(10)

The more you see, the more you know.
The more you know, the more you see.
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 2nd Feb 2003 20:56
if you want to print to a LPT port, why not use the current commands ?

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
mimesis
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Norway
Posted: 6th Feb 2003 05:10
Here is a killer DLL suggestion for 2D images.
PROCEDURAL IMAGES !

-- "Besides normal static textures, the Unreal engine provides animated textures and a variety of dynamic or procedural textures. Procedural textures are calculated and re-rendered in real-time and provide realistic-looking, non-repeating smooth texture animations that scale well with the player's framerate." -- http://wiki.beyondunreal.com/wiki/Dynamic_Texture

It may be tought, I hope you can hack it!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 6th Feb 2003 11:00
That'll be done on a scale between "No chance" and "HA HA HA, I dont think so"

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Hubdule
22
Years of Service
User Offline
Joined: 3rd Sep 2002
Location: Gundelsheim
Posted: 6th Feb 2003 12:00
If you are interested in getting the current windows version then you should have a look at this code:

http://www.darkbasicpro.com/apollo/view.php?t=5508&b=6

This doesn't need any "plugin" dlls ... just pure DBPro code

MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 6th Feb 2003 12:11
Not as detailed as my plug-in though...

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
MrTAToad
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 6th Feb 2003 12:16
...and rather complicated for the average Joe.

Good news everyone! I really am THAT good...
http://www.nickk.nildram.co.uk/ for great plug-ins - oh my, yes!
Hubdule
22
Years of Service
User Offline
Joined: 3rd Sep 2002
Location: Gundelsheim
Posted: 6th Feb 2003 12:50
Added a ready made function version of the code which is as detailed as the plugin version. And its so easy that even "average Joe" can use it ... simply call: GetOSVersion$

This could be easily added to all DBPro projects and easily customized to get all needed values ...
(Set the OS Version variables GLOBAL and you can use them everywhere in your progs)

Login to post a reply

Server time is: 2025-05-19 07:15:15
Your offset time is: 2025-05-19 07:15:15