DirectX overlay

Advanced game related topics
sprenio
User
User
Posts: 25
Joined: Sat Jul 16, 2011 1:06 am

DirectX overlay

Post 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?
MachineCode
Addict
Addict
Posts: 1482
Joined: Tue Feb 22, 2011 1:16 pm

Re: DirectX overlay

Post by MachineCode »

Try the demo.
Microsoft Visual Basic only lasted 7 short years: 1991 to 1998.
PureBasic: Born in 1998 and still going strong to this very day!
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: DirectX overlay

Post 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.
sprenio
User
User
Posts: 25
Joined: Sat Jul 16, 2011 1:06 am

Re: DirectX overlay

Post 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.)
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: DirectX overlay

Post 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.
sprenio
User
User
Posts: 25
Joined: Sat Jul 16, 2011 1:06 am

Re: DirectX overlay

Post 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.
User avatar
djes
Addict
Addict
Posts: 1806
Joined: Sat Feb 19, 2005 2:46 pm
Location: Pas-de-Calais, France

Re: DirectX overlay

Post 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?
sprenio
User
User
Posts: 25
Joined: Sat Jul 16, 2011 1:06 am

Re: DirectX overlay

Post by sprenio »

Ah im not so good at german. But things in c++ are so much more complicated that i would better choose purebasic...
sprenio
User
User
Posts: 25
Joined: Sat Jul 16, 2011 1:06 am

Re: DirectX overlay

Post by sprenio »

Final decision i think i will use purebasic because i can develop skills faster there. I will try out the demo now.
User avatar
PureLeo
Enthusiast
Enthusiast
Posts: 221
Joined: Fri Jan 29, 2010 1:05 pm
Location: Brazil

Re: DirectX overlay

Post 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.
Nituvious
Addict
Addict
Posts: 1030
Joined: Sat Jul 11, 2009 4:57 am
Location: United States

Re: DirectX overlay

Post 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.
▓▓▓▓▓▒▒▒▒▒░░░░░
sprenio
User
User
Posts: 25
Joined: Sat Jul 16, 2011 1:06 am

Re: DirectX overlay

Post by sprenio »

What is detours? What is it used for?
sprenio
User
User
Posts: 25
Joined: Sat Jul 16, 2011 1:06 am

Re: DirectX overlay

Post by sprenio »

Not needed
Post Reply