Guest Posted October 2, 2013 Share Posted October 2, 2013 hello, i found function for display text on d3d output but i don't know how to use it in autoit. this is what I found : http://www.toymaker.info/Games/html/text.html i want to display text with it.. Is it possible to use it? i don't know how to use outside functions... Link to comment Share on other sites More sharing options...
mrflibblehat Posted October 2, 2013 Share Posted October 2, 2013 Unless its compiled into a DLL I dont beleive you can. .h and .lib are usually associated C/C++ libraries [font="'courier new', courier, monospace;"]Pastebin UDF | Prowl UDF[/font] Link to comment Share on other sites More sharing options...
Guest Posted October 2, 2013 Share Posted October 2, 2013 Unless its compiled into a DLL I dont beleive you can. .h and .lib are usually associated C/C++ libraries the Dll's: d3d9.dll / d3d10.dll / d3d11.dll have such functions? if so then maybe we can use them ..I think that they are in the "windows" folder .. Link to comment Share on other sites More sharing options...
mrflibblehat Posted October 2, 2013 Share Posted October 2, 2013 Look into DLLOpen and DLLCall for opening and accessing DLL Functions [font="'courier new', courier, monospace;"]Pastebin UDF | Prowl UDF[/font] Link to comment Share on other sites More sharing options...
Belini Posted October 2, 2013 Share Posted October 2, 2013 (edited) to display text on d3d output you need to use d3d9.dll and gpcomms.dll Global $dll_dx, $W = 100, $H = 560, $font = 40 Const $color = 0xf0ffffff $dll_dx = DllOpen(@ScriptDir & "\gpcomms.dll") If @error Then MsgBox(4096, "ERROR", "gpcomms.dll not found", 3) Exit EndIf display() While 1 Sleep(500) WEnd Func display() DllCall($dll_dx, "int", "GPSL_SetTextLineData", "int", 1, "long", $H, "long", $W, "str", "HELLO WORLD!", "dword", $color, "int", 0, "int", $font, "int", 1, "int", 0) DllCall($dll_dx, "int", "GPSL_ShowText", "int", 1, "int", 1) EndFunc ;==>display Test-dx.rar Edited October 3, 2013 by Belini My Codes: Virtual Key Code UDF: http://www.autoitscript.com/forum/topic/138246-virtual-key-code-udf/ GuiSplashTextOn.au3: http://www.autoitscript.com/forum/topic/143542-guisplashtexton-udf/ Menu versions of Autoit: http://www.autoitscript.com/forum/topic/137435-menu-versions-of-autoit/#entry962011 Selects first folder of letters: ]http://www.autoitscript.com/forum/topic/144780-select-folders-by-letter/#entry1021708/spoiler] List files and folders with long addresses.: http://www.autoitscript.com/forum/topic/144910-list-files-and-folders-with-long-addresses/#entry102 2926 Program JUKEBOX made in Autoit:some functions:http://www.youtube.com/watch?v=WJ2tC2fD5Qs Navigation to search:http://www.youtube.com/watch?v=lblwOFIbgtQ Link to comment Share on other sites More sharing options...
Guest Posted October 2, 2013 Share Posted October 2, 2013 (edited) Belini, Thank you very much!But I do not see any text ..Can you tell me how to use it? i don't see that you use d3d9.dll in your example code Edited October 2, 2013 by Guest Link to comment Share on other sites More sharing options...
Belini Posted October 2, 2013 Share Posted October 2, 2013 The gpcomms.dll makes a bridge to d3d9.dll, put the files in the same folder as the application that will run the script and then run your application. My Codes: Virtual Key Code UDF: http://www.autoitscript.com/forum/topic/138246-virtual-key-code-udf/ GuiSplashTextOn.au3: http://www.autoitscript.com/forum/topic/143542-guisplashtexton-udf/ Menu versions of Autoit: http://www.autoitscript.com/forum/topic/137435-menu-versions-of-autoit/#entry962011 Selects first folder of letters: ]http://www.autoitscript.com/forum/topic/144780-select-folders-by-letter/#entry1021708/spoiler] List files and folders with long addresses.: http://www.autoitscript.com/forum/topic/144910-list-files-and-folders-with-long-addresses/#entry102 2926 Program JUKEBOX made in Autoit:some functions:http://www.youtube.com/watch?v=WJ2tC2fD5Qs Navigation to search:http://www.youtube.com/watch?v=lblwOFIbgtQ Link to comment Share on other sites More sharing options...
Guest Posted October 2, 2013 Share Posted October 2, 2013 i don't know what i am doing worng. i started your script and then i started some app that using d3d. and i see nothing. i don't see any text on the app window/screan. i also tried to start your script after i started the app but still nothing. Link to comment Share on other sites More sharing options...
Belini Posted October 2, 2013 Share Posted October 2, 2013 you unzipped the files in the same folder where the executable is going to use? My Codes: Virtual Key Code UDF: http://www.autoitscript.com/forum/topic/138246-virtual-key-code-udf/ GuiSplashTextOn.au3: http://www.autoitscript.com/forum/topic/143542-guisplashtexton-udf/ Menu versions of Autoit: http://www.autoitscript.com/forum/topic/137435-menu-versions-of-autoit/#entry962011 Selects first folder of letters: ]http://www.autoitscript.com/forum/topic/144780-select-folders-by-letter/#entry1021708/spoiler] List files and folders with long addresses.: http://www.autoitscript.com/forum/topic/144910-list-files-and-folders-with-long-addresses/#entry102 2926 Program JUKEBOX made in Autoit:some functions:http://www.youtube.com/watch?v=WJ2tC2fD5Qs Navigation to search:http://www.youtube.com/watch?v=lblwOFIbgtQ Link to comment Share on other sites More sharing options...
Belini Posted October 3, 2013 Share Posted October 3, 2013 @gil900 you could display a message on the screen? My Codes: Virtual Key Code UDF: http://www.autoitscript.com/forum/topic/138246-virtual-key-code-udf/ GuiSplashTextOn.au3: http://www.autoitscript.com/forum/topic/143542-guisplashtexton-udf/ Menu versions of Autoit: http://www.autoitscript.com/forum/topic/137435-menu-versions-of-autoit/#entry962011 Selects first folder of letters: ]http://www.autoitscript.com/forum/topic/144780-select-folders-by-letter/#entry1021708/spoiler] List files and folders with long addresses.: http://www.autoitscript.com/forum/topic/144910-list-files-and-folders-with-long-addresses/#entry102 2926 Program JUKEBOX made in Autoit:some functions:http://www.youtube.com/watch?v=WJ2tC2fD5Qs Navigation to search:http://www.youtube.com/watch?v=lblwOFIbgtQ Link to comment Share on other sites More sharing options...
Guest Posted October 4, 2013 Share Posted October 4, 2013 (edited) @gil900 you could display a message on the screen? Thanks for your attempt to help.But I do not need this functionality now because I know it will be too much big story at this time. I'm afraid that what you give me will not work on any application ..Some aps using Oben AL and most use DX11.If your solution works on a small group of "apps" then i prefer to give it up. if not then i will spend my time on your solution. Thank you very much for the help Edited October 4, 2013 by Guest Link to comment Share on other sites More sharing options...
Belini Posted October 4, 2013 Share Posted October 4, 2013 Unfortunately only works with DirectX9 and I would also like to find a way to work in newer versions. My Codes: Virtual Key Code UDF: http://www.autoitscript.com/forum/topic/138246-virtual-key-code-udf/ GuiSplashTextOn.au3: http://www.autoitscript.com/forum/topic/143542-guisplashtexton-udf/ Menu versions of Autoit: http://www.autoitscript.com/forum/topic/137435-menu-versions-of-autoit/#entry962011 Selects first folder of letters: ]http://www.autoitscript.com/forum/topic/144780-select-folders-by-letter/#entry1021708/spoiler] List files and folders with long addresses.: http://www.autoitscript.com/forum/topic/144910-list-files-and-folders-with-long-addresses/#entry102 2926 Program JUKEBOX made in Autoit:some functions:http://www.youtube.com/watch?v=WJ2tC2fD5Qs Navigation to search:http://www.youtube.com/watch?v=lblwOFIbgtQ Link to comment Share on other sites More sharing options...
Guest Posted October 4, 2013 Share Posted October 4, 2013 Unfortunately only works with DirectX9 and I would also like to find a way to work in newer versions. If you find a solution then let me know Link to comment Share on other sites More sharing options...
Belini Posted October 4, 2013 Share Posted October 4, 2013 Certainly talk to you, talk to me if you find out too. My Codes: Virtual Key Code UDF: http://www.autoitscript.com/forum/topic/138246-virtual-key-code-udf/ GuiSplashTextOn.au3: http://www.autoitscript.com/forum/topic/143542-guisplashtexton-udf/ Menu versions of Autoit: http://www.autoitscript.com/forum/topic/137435-menu-versions-of-autoit/#entry962011 Selects first folder of letters: ]http://www.autoitscript.com/forum/topic/144780-select-folders-by-letter/#entry1021708/spoiler] List files and folders with long addresses.: http://www.autoitscript.com/forum/topic/144910-list-files-and-folders-with-long-addresses/#entry102 2926 Program JUKEBOX made in Autoit:some functions:http://www.youtube.com/watch?v=WJ2tC2fD5Qs Navigation to search:http://www.youtube.com/watch?v=lblwOFIbgtQ Link to comment Share on other sites More sharing options...
Belini Posted October 7, 2013 Share Posted October 7, 2013 @gil900 i found a program that puts in fullscreen and accepts messages on the screen just has to stay open all the time: https://gc-modding.googlecode.com/files/WindowedBorderlessGaming_1.1.1.2.zip My Codes: Virtual Key Code UDF: http://www.autoitscript.com/forum/topic/138246-virtual-key-code-udf/ GuiSplashTextOn.au3: http://www.autoitscript.com/forum/topic/143542-guisplashtexton-udf/ Menu versions of Autoit: http://www.autoitscript.com/forum/topic/137435-menu-versions-of-autoit/#entry962011 Selects first folder of letters: ]http://www.autoitscript.com/forum/topic/144780-select-folders-by-letter/#entry1021708/spoiler] List files and folders with long addresses.: http://www.autoitscript.com/forum/topic/144910-list-files-and-folders-with-long-addresses/#entry102 2926 Program JUKEBOX made in Autoit:some functions:http://www.youtube.com/watch?v=WJ2tC2fD5Qs Navigation to search:http://www.youtube.com/watch?v=lblwOFIbgtQ Link to comment Share on other sites More sharing options...
Belini Posted October 12, 2013 Share Posted October 12, 2013 (edited) In windowed mode the message appears on the screen then resize the window to appear fullscreen will work, this program I posted the link works this way. Edited October 12, 2013 by Belini My Codes: Virtual Key Code UDF: http://www.autoitscript.com/forum/topic/138246-virtual-key-code-udf/ GuiSplashTextOn.au3: http://www.autoitscript.com/forum/topic/143542-guisplashtexton-udf/ Menu versions of Autoit: http://www.autoitscript.com/forum/topic/137435-menu-versions-of-autoit/#entry962011 Selects first folder of letters: ]http://www.autoitscript.com/forum/topic/144780-select-folders-by-letter/#entry1021708/spoiler] List files and folders with long addresses.: http://www.autoitscript.com/forum/topic/144910-list-files-and-folders-with-long-addresses/#entry102 2926 Program JUKEBOX made in Autoit:some functions:http://www.youtube.com/watch?v=WJ2tC2fD5Qs Navigation to search:http://www.youtube.com/watch?v=lblwOFIbgtQ Link to comment Share on other sites More sharing options...
Guest Posted October 12, 2013 Share Posted October 12, 2013 (edited) @gil900 i found a program that puts in fullscreen and accepts messages on the screen just has to stay open all the time: https://gc-modding.googlecode.com/files/WindowedBorderlessGaming_1.1.1.2.zip Thank you.I do not know if I need it.It displays text in the the games?If so then I need its source code.I understood his program compiled with AutoIt3.I'm not sure about this .. I just opened the exe file in "notepad++" and I saw that the file ends with "AU3!EA06" so if this software is written in AutoIt3 and this software contains the function I'm looking for in the source code then all we nead to do is to ask him the source code or only this function that can display text on d3d output. this software have a behavior of a AutoIt3 program.. the gui window sometimes responding with delay. I can imagine the "While 1" loop and the sleep($sleep) while i watching the gui delays. Edited October 12, 2013 by Guest Link to comment Share on other sites More sharing options...
Belini Posted October 12, 2013 Share Posted October 12, 2013 (edited) It displays text in the the games? Displays message in any game or program if it is in window mode will be in fullscreen. I also think that this program was made in Autoit. Edited October 12, 2013 by Belini My Codes: Virtual Key Code UDF: http://www.autoitscript.com/forum/topic/138246-virtual-key-code-udf/ GuiSplashTextOn.au3: http://www.autoitscript.com/forum/topic/143542-guisplashtexton-udf/ Menu versions of Autoit: http://www.autoitscript.com/forum/topic/137435-menu-versions-of-autoit/#entry962011 Selects first folder of letters: ]http://www.autoitscript.com/forum/topic/144780-select-folders-by-letter/#entry1021708/spoiler] List files and folders with long addresses.: http://www.autoitscript.com/forum/topic/144910-list-files-and-folders-with-long-addresses/#entry102 2926 Program JUKEBOX made in Autoit:some functions:http://www.youtube.com/watch?v=WJ2tC2fD5Qs Navigation to search:http://www.youtube.com/watch?v=lblwOFIbgtQ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now