Free Dll

Posted By: TripleX

Free Dll - 01/03/05 07:16

Hey together

I've wrote a "small" dll for you
features:


- Set the Window Title
- Open Internet Explorer with a specific adress
- Copy Files. Relative and absolute
- open chm (help) files.
- fill the clippboard with a string (sorry but at the moment i have some problems with the reading of the clipboard data into a string)
- Get Max Texture width/height
- Get Windows Directory (for serveral programms like Notepad)
- Set the Acknex window position
- Minimize the Acknex window.
- Open / Save dialog (updatet version of this plugin: plugin
- Get Vertex/Pixel Shader Version
- Create a Folder
- Delte Files
[Update]
- Downloading Files from the Internet
- Delete Folders
- Open Windows Explorer with a specific path
- Open Notepad with a specific (right word?!) txt file.
[UPDATAE 2]
- Open a Programm in the Windows directory like windows explorer

maybe some updates later

www.hawkgames.de/Fredll.rar

have fun with it.

as always free to use.

TripleX
Posted By: Metal_Thrasher

Re: Free Dll - 01/03/05 07:50

wow, sounds awesome!
Posted By: PrenceOfDarkness

Re: Free Dll - 01/03/05 12:49

sounds amazing.. cant wait 2 try it
Posted By: TripleX

Re: Free Dll - 01/03/05 18:42

thanks, if you have any wishes for other features in the dll, only post it here...

TripleX
Posted By: CrownStem

Re: Free Dll - 01/04/05 00:51

Cool set of functions. Thanks!

>>if you have any wishes for other features in the dll...

Being able to play a Flash .swf would be cool...

I've got something in C# that's called from C++, but it's too slow (.Net VM has to load before playing the swf, which takes forever.)


CrownStem
Posted By: TripleX

Re: Free Dll - 01/04/05 03:54

@CrownStern Sorry but i don't think this is possible. And if it's possible you have to regard the licence agreement.

TripleX
Posted By: Firestorm

Re: Free Dll - 01/04/05 05:48

Seems to work just fine with A5, too Thanks a lot!
Posted By: TripleX

Re: Free Dll - 01/04/05 18:53

yep it's writen with the old dll system. So this dll should work with A4/5/6

TripleX
Posted By: Templar

Re: Free Dll - 01/04/05 19:05

I know that it may sound like a completely unnecessary feature but it would help me a lot. Could the DLL remove read-only flags from files in a selected directory?

thanks.
Posted By: XeXeS

Re: Free Dll - 01/04/05 22:46

Hello,

I wish me an Ingame Serial request.
Posted By: Samb

Re: Free Dll - 01/05/05 23:03

toll wäre es wenn die DLL den ordner der starter EXE rausbekommt
und ein zugriff auf ne mySQL datenbank wäre auch net schlecht aber das wäre wohl schon zuviel

ist das mit den dateien aus dem internet laden noch nicht drin in der aktuellen version? (keine function dafür inner wdl)
weil da wäre es noch praktisch wenn man abfragen könnte wie weit die datei ist
so könnte man dynamisch objekte ausm inet laden oder sogar patches

edit:
und wo wir scho dabei sind
eine function die einen ton abspielt und die momentane position zurückgeben kann wo der ton gerade ist wäre sehr praktisch für lippensynchronität und allgemein zwischensequenzen die auf musik ausgelegt sind
Posted By: TripleX

Re: Free Dll - 01/11/05 05:52

@templar sorry, a bit late I'll implement this feature in the next update.

@Samb yep sorry hab vergessen das da noch reinzukopieren.. beim nächsten update dabei.

TripleX
Posted By: Locoweed

Re: Free Dll - 01/12/05 07:08

This should come in handy. Thanks for releasing it to the public.

Loco
Posted By: Samb

Re: Free Dll - 01/14/05 11:58

hoff mal das mit den dynamisch laden wäre machbar
wäre scho lustig wenn man levels neue items gegner oder bugfixes direkt ausm netz laden könnte
und sone downloadstatus bar wäre natürlich das größte
kann kaum die neue version abwarten selbst bisher ist das plugin verflucht hilfreich
Posted By: Locutus_of_Borg

Re: Free Dll - 01/14/05 20:18

weiß ja net ob das gehen würde,
aber ich hätte da 2 sachen:
a) entpacken einer zip/raw/ace (was auch immer, is mir im prinzip egal) datei in den Temporären Ordner/irgendeinen ordner und da dann die spiel-datein laden... (also dass man hier nen dateipacker draus machen könnte)

b) dass man das Acknex Start-Fenster ändern kann (auch wenns nur der hintergrund und die schriftfarbe ist)
Posted By: Bopete

Re: Free Dll - 02/01/05 02:24

This looks like a very useful dll, TripleX - thank you for sharing :-)

One question - I've tried the dll_windowminimize(), and it works great the first time, then when I maximize the window from the taskbar, I have to call it twice for it to work again (press the key once, no responce - press it again, then the window will minimize). Any ideas why?
Posted By: Rigoletto

Re: Free Dll - 02/01/05 04:41

Did you use global memory for the clipboard transaction? I think it is requirerd.
Posted By: Rigoletto

Re: Free Dll - 02/01/05 04:45

If another application make a minimize for another application there can be a problem i think. (If TripleX has done it in this way.)

I think it is a better way to send a message to the applicaton for minimize so that it knows it.
Posted By: TheExpert

Re: Free Dll - 02/01/05 07:04

Thanks , great contribution to 3DGS community.
Posted By: _burnner_

Re: Free Dll - 02/01/05 07:31

Falls du das Downloaden noch nicht eingebaut hast:
http://www.win-api.com/index.php?content=resources&mode=5&ttid=103
Posted By: Bopete

Re: Free Dll - 02/01/05 13:17

Thanks, Rigoletto - if I knew of another way to minimize the A6 game window, I'd do that - so far this is the only method I've found - if I could just figure out why it takes 2 tries to work (for me), or a way to work around it, it'd be perfect
Posted By: Bopete

Re: Free Dll - 02/06/05 09:22

I have a few more questions on this .dll
* Your update mentions that the dll can now delete folders - where can I get a copy of the updated version?
* I tried open_file, and it opened up the windows directory great! but when I actually selected a file, I got an Error E1513 Crash in open_file (yeah, maybe I used it wrong) - but my question is - how is the selected file supposed to be opened? Is it loaded into memory?
* Would it be possible to add a function that would read the files in a folder and returned them ( perhaps comma-delimited?) to the dll_str String?
Posted By: Nagashi

Re: Free Dll - 02/14/05 17:22

This dll looks very great. Has the "Downloading Files from the Internet" feature been added yet? Or is that a work in progress? That is what I’m most interested in.

cheers
Posted By: WHURL

Re: Free Dll - 02/17/05 12:38

Quote:

...if you have any wishes for other features in the dll, only post it here...

TripleX




Thank you for the contribution, TripleX. I held off on playing with this as I have no experience using DLLs but I'm so glad I finally got round to trying it. It's got me thinking about adding features I thought I wouldn't be attempting for a long time.

Seeing as dll_settitle changes the window title nicely, would there be any chance of a function to change the Acknex icon there also? I'm nothing if not optimistic.
Posted By: mk_1

Re: Free Dll - 02/17/05 14:41

Downloading files from the net is possible with the "gshttp" plugin by cellulaer. See wiki for further information.
Posted By: TripleX

Re: Free Dll - 02/17/05 22:13

unfortunatly i've lost the source code for the plugin, but I'll rewrite the code in around 3-4 weeks.

Downloading files, was implemented, but removed again, because i couldn't realise what i wanted to do. The EDIT Time for the 1st post, is expired, so i can not remove this "feature" from the list..

If you want to download files, use GSHTTP, as mk_1 metioned.

I think changing the ACKNEX Logo would possible, BUT I don't know if i'm allowed to remove/change it.

TripleX
Posted By: WHURL

Re: Free Dll - 02/17/05 22:29

Quote:

I think changing the ACKNEX Logo would possible, BUT I don't know if i'm allowed to remove/change it.
TripleX




Hmmm.. I didn't think of it from that perspective. I wouldn't want to encourage anything illegal. It just seems pointless for it to be there.

Perhaps if someone from Conitec reads this, they might enlighten us on whether that would be OK. Otherwise I'll post in the Ask Conitec forum next time I come in.
Posted By: A.Russell

Re: Free Dll - 02/17/05 23:40


NOt that I represent Conitec or anything, but they are planning to impliment options to change the icons for the pro edition, and they have stated that they don't mind people making plugins as alternatives for pro edition features. You could ask, but I really don't know why you are worried about it.
Posted By: WHURL

Re: Free Dll - 02/17/05 23:57

Thanks for the info, A.Russell.

I'm not worried about it myself and feel fairly confident that Conitec would have no problem with it. I see TripleX's concern as an expression of his apparently meticulous approach to all things 3DGS and I respect that.

Also, it costs nothing to ask.
Posted By: TripleX

Re: Free Dll - 04/07/05 01:18

there will be a big update in the next 2 days.
I'm searching 2-3 beta testers at the moment..

Maybe you could contact me over icq ( 170911701 ) email ( triple-x(at)hawkgames.de ) or msn ( Triple-X(at)Hawkgames.de )


thanks a lot
TripleX
Posted By: Bopete

Re: Free Dll - 07/26/05 06:58

I've been playing with this .dll, and so far it's awesome! I'm wondering if others that use this experience a pause between loops when looping music with this .dll (it occurs using media_loop as well). Maybe I'm not setting the .dll up right, or is this pause unavoidable?
Posted By: bupaje

Re: Free Dll - 07/26/05 22:40

@TripleX - I hope you will forgive some ideas (since I haven't tried it yet) but you should know how I am by now.

I remember from Visual Basic some very useful objects that read in various values of the program that could be easily accessed. For example create an object that gets (excuse fake programming below)when project loads

AppInfo //3DGS Project Info Object
{
.ProjectName
.Version
.Path
.Size
.Date
.FreeMem
.NexusSize
.NumberObjects
.... Everything Else
}

then maybe people could use these values like in their script easily

i.e.

Def AvailableMemory = AppInfo.FreeMem
Def ProjectName = AppInfo.Projectname
Def ProjectVersion = AppInfo.Version

String$ = "You are using version " + ProjectVersion + " of " + ProjectName + " which requires 236 MB of Ram. You currently have " + AvailableMemory + " available."

i just threw some random properties but if there are enough properties about a project/system that could be collected into one easy to use object then maybe this idea will be useful.
Posted By: Gho5tFac3K1llah

Re: Free Dll - 09/10/05 21:42

Could it be used to modify a file within a wrs file once a level file is downloaded from the internet from within the game?
Posted By: Rhuarc

Re: Free Dll - 09/10/05 21:58

Modifying WRS files isn't anything this DLL, or any other DLL can do. In order to do that, you would have to crack the WRS encryption format, extract the files, edit the one you want, and repack the entire thing. Not even worth the consideration for someone such as you .

-Rhuarc
Posted By: Gho5tFac3K1llah

Re: Free Dll - 09/10/05 22:40

Oh.
Posted By: Grafton

Re: Free Dll - 09/12/05 04:26

It would be nice to be able to hide the startup window. I dont mean minimize it
or customize it like you can with pro. But just make it so it either dosent
appear, or is hidden behind a black (full)screen until the engine starts.
Posted By: Inestical

Re: Free Dll - 09/12/05 07:11

Josiah: this is Pro-version royal.. It's one cause people bu Pro but.. hmm.. you'r idea is cool, and i'd just like to change few colors there, If this would be avalailable, I'd use it
Posted By: Grafton

Re: Free Dll - 09/12/05 18:46

Yes the startup window is an ugly thing, you might use a hex editor / debugger
to find a way do away with it, but that is against the license agreement
(reverse engineering). But I cant find in the license agreement where the
startup window is required to be shown in extra or commercial editions. And
since Conitec has stated they dont mind plugins emulating Pro features, this
would be a nice feature. Even if all it did was mask it with a black screen.
Heck I would buy a cheap dll that did only that!

I have even thought about creating a starter program from another app that
starts the game, and presents a full screen image that has the focus as long as
the startup window handle exists, then exits as the game window takes focus.
Posted By: NL_3DGS_n00b

Re: Free Dll - 09/14/05 00:18

I realy hope there will be a startup-window editing DLL too!
Thats one reason i wanted to buy the pro version, but I have no money for it...
899 dollars is way to much.
Posted By: Asse

Re: Free Dll - 09/14/05 06:56

This would be illegal.
Posted By: Grafton

Re: Free Dll - 09/14/05 11:47

Asse, why do you think this? I disagree, there would be no breach of the user
license I can find.

As long as you dont "modify the distributable runtime module in any way", and
"display the engine logo for one second at game start".

Masking the startup window, or creating your own custom window that masks it,
breaks no license requirements. Neither does minimizing or maximizing the
starter window, or changing its contents in memory. In all cases,
the physical runtime module remains intact.

Besides, as stated a few times in this thread, Conitec has said they dont mind
the emulation of pro features through third party dlls, such as "render to
texture" which is currently available in two third party dlls right now.
Posted By: Asse

Re: Free Dll - 09/14/05 12:58

@ Josiah: The high price of the pro version, among other things, is because you don't have to show this logo. I can't imagine that Conitec is happy about hiding this logo in lower, cheaper versions.

You can't compare this with a new feature or a plugin, it's more a hack or something.
Posted By: TripleX

Re: Free Dll - 09/14/05 15:37

Hmmm if I'm right you ARE allowed to hide/cover the start window but are NOT allowed to hide/cover the logo.

Tough that wouldn't be done with a dll, but with an independent exe, which shows a Bitmap which covers the compiling process window.

Triple-X
Posted By: VampireLord

Re: Free Dll - 09/14/05 16:00

well there have been startup managers, that hide the compiling process window.
So I don't see any reason why this should be "illegal" ...btw. it can't be illegal in any case, just against the license agreement which is nothing but a breach of contract. Which makes it a civil case, not a criminal one.

Greetings

Sven
Posted By: Grafton

Re: Free Dll - 09/15/05 11:21

Quote:


Tough that wouldn't be done with a dll, but with an independent exe, which
shows a Bitmap which covers the compiling process window.




Yes, that is what I ment. The bitmap shown could even be the required A6 logo,
thereby allowing your game to actually start faster (compiling while showing
the logo). The loader app could keep the focus, masking the starter (compiling)
window, until the windows handle for the starter window shows it has closed,
then the loader would exit.

It cant be done by DLL, because it requires action before the game / dll is
loaded?
Posted By: jedilq

Re: Free Dll - 10/12/07 02:39

Wonderful DLL!!!

Can this DLL also set the window position of another application that I launch from my 3DGS game by using the exec() function?

Will be really useful for making 3DGS into a file launcher as well and position the windows in the right place.

Thanks!
Posted By: KMS

Re: Free Dll - 10/27/07 15:26

A lot of Thanks for this great DLL !! That was exactly what I'm searching for.
Posted By: mpdeveloper_B

Re: Free Dll - 10/27/07 15:41

Quote:

Hello,

I wish me an Ingame Serial request.




seconded
Posted By: jemen

Re: Free Dll - 10/27/07 18:54

I must thank u.
Tested and work very well.
Hope to make use of it.
So once again thank U.
Jemen -Out
Posted By: MMike

Re: Free Dll - 11/28/09 21:12

LNKS BROKEN :\
Posted By: nfs42

Re: Free Dll - 11/29/09 14:01

Here is the last version I've downloaded from march 2005.
http://www.gstools.de/index.php?option=c...ory&catid=6
© 2024 lite-C Forums