Page 1 of 1
DirectX overlay
Posted: Sat Jul 16, 2011 1:17 am
by sprenio
Hi!
I am not very new to programing i have learnd c++ for some months, but nothing complex. ( only in the win32 console..)
So my question is simple: is purebasic worth to buy it?
1.): Here comes what i want to use it for: imagine a game that supports directX 8.0. So the question is can i create an extension for it with purebasic, that would improve it to directX 9.0, and add some new effects? or would it be too much playing with it's engine?
2.): I guess purebasic than has full access of API's and writeProcessMemory(), because to do the above i will need that.
So question is there: can i use it or not what i want it for?
Re: DirectX overlay
Posted: Sat Jul 16, 2011 4:41 am
by MachineCode
Try the demo.
Re: DirectX overlay
Posted: Sat Jul 16, 2011 8:54 am
by djes
No, demo has limited api access. You could do all of that, but DirectX overlay will need some more efforts, and maybe it would be easier in C language.
Re: DirectX overlay
Posted: Sat Jul 16, 2011 11:22 am
by sprenio
Yeah, but basic is a much less complex language thus easier to learn. Am i right? I wouldn't want to do that in c++... I have 1 and a half month to study purebasic, can i develop the skills to do what i mentioned?
Edit: The question is better, if i have 1 and a half month to study one of the languages purebasic or c++, which one should i learn for my directX overlay thing. Like i mentioned above i have some skills in c++ (console applications and some basic stuff like pointers and classes, inheritance ect.) but nothing serious. So which one.
(PS oh and im going to let alone the highrollers try the demo reply. Thanks for a countable answer djes.)
Re: DirectX overlay
Posted: Sat Jul 16, 2011 11:46 am
by djes
If you're able to understand the DirectX parts of this page (warning, the code would have to be adapted a bit as it hacks some pb internal structures, but pb team and forums members can help), you know what you can achieve :
http://www.purearea.net/pb/CodeArchiv/English.html#7
Maybe you can also add an overlay over an existing program ; I saw kind of this code some times ago on the forum.
However, I think that the time you allowed is too short to apprehend all this stuff.
Re: DirectX overlay
Posted: Sat Jul 16, 2011 12:24 pm
by sprenio
Oh, i think i should stick to c++. Purebasic has lots and lots of tutorials in german, and im only a normal speaker of german so like B2 level. C++ has more english documentation, mainly only english, it will be easier i think.
Re: DirectX overlay
Posted: Sat Jul 16, 2011 12:27 pm
by djes
The same in german :
http://www.purearea.net/pb/CodeArchiv/German.html
The german pb forum is very active, and great coders are there. Did you took a look?
Re: DirectX overlay
Posted: Sat Jul 16, 2011 12:57 pm
by sprenio
Ah im not so good at german. But things in c++ are so much more complicated that i would better choose purebasic...
Re: DirectX overlay
Posted: Sat Jul 16, 2011 4:04 pm
by sprenio
Final decision i think i will use purebasic because i can develop skills faster there. I will try out the demo now.
Re: DirectX overlay
Posted: Sun Jul 17, 2011 5:26 am
by PureLeo
This short period of time is such a short period of time to learn all the stuff you intend to learn regardless of any language.
But anyways, I guess MOST of programming stuff are easier and faster to do with Purebasic.
Re: DirectX overlay
Posted: Mon Jul 18, 2011 5:13 pm
by Nituvious
You can use GDI functions if you don't mind flickering.
Detours(you'll need to compile this) would probably be the next easiest thing, though.
Re: DirectX overlay
Posted: Mon Jul 18, 2011 11:02 pm
by sprenio
What is detours? What is it used for?
Re: DirectX overlay
Posted: Tue Jul 19, 2011 12:17 am
by sprenio
Not needed