School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,112 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,001 people online right now. Registration is fast and FREE... Join Now!




Hook a game file

 

Hook a game file

James_Alex

18 Oct, 2009 - 11:29 AM
Post #1

D.I.C Head
Group Icon

Joined: 21 Aug, 2009
Posts: 100


Dream Kudos: 50
My Contributions
hi, i want to ask about how to hook a game file
i must hook a game device to draw something on it using DirectX(that's what someone tells me)
the game i want dosen't got "d3d9.dll" so it wasen't created with the DirectX
and is there any way to draw anything on it ?
thx

User is offlineProfile CardPM
+Quote Post


modi123_1

RE: Hook A Game File

19 Oct, 2009 - 07:47 AM
Post #2

Suiter #2
Group Icon

Joined: 12 Jun, 2008
Posts: 1,835



Thanked: 80 times
Dream Kudos: 150
My Contributions
Usually trying to insert your own code.. ie.. hooking into a compiled game.. is a frowned upon activity.

What are you trying to draw on the game?
User is offlineProfile CardPM
+Quote Post

James_Alex

RE: Hook A Game File

19 Oct, 2009 - 10:10 AM
Post #3

D.I.C Head
Group Icon

Joined: 21 Aug, 2009
Posts: 100


Dream Kudos: 50
My Contributions
QUOTE(modi123_1 @ 19 Oct, 2009 - 07:47 AM) *

Usually trying to insert your own code.. ie.. hooking into a compiled game.. is a frowned upon activity.

What are you trying to draw on the game?

i'm trying to draw a normal text like
Welcome or something like that

User is offlineProfile CardPM
+Quote Post

modi123_1

RE: Hook A Game File

19 Oct, 2009 - 10:31 AM
Post #4

Suiter #2
Group Icon

Joined: 12 Jun, 2008
Posts: 1,835



Thanked: 80 times
Dream Kudos: 150
My Contributions
QUOTE(James_Alex @ 19 Oct, 2009 - 12:10 PM) *

QUOTE(modi123_1 @ 19 Oct, 2009 - 07:47 AM) *

Usually trying to insert your own code.. ie.. hooking into a compiled game.. is a frowned upon activity.

What are you trying to draw on the game?

i'm trying to draw a normal text like
Welcome or something like that


Okay.. is this in a game you wrote or bought? If it's the former then what language and SDK are you using? If the later.. well.. different story.
User is offlineProfile CardPM
+Quote Post

Aeternalis

RE: Hook A Game File

19 Oct, 2009 - 10:34 AM
Post #5

D.I.C Regular
***

Joined: 13 Jul, 2009
Posts: 273



Thanked: 25 times
My Contributions
There is a pretty good example of how to do what your asking :

{ Link removed }

it's complicated.. I hope you came prepared.

Aet
User is offlineProfile CardPM
+Quote Post

James_Alex

RE: Hook A Game File

20 Oct, 2009 - 03:41 AM
Post #6

D.I.C Head
Group Icon

Joined: 21 Aug, 2009
Posts: 100


Dream Kudos: 50
My Contributions
QUOTE(modi123_1 @ 19 Oct, 2009 - 10:31 AM) *

QUOTE(James_Alex @ 19 Oct, 2009 - 12:10 PM) *

QUOTE(modi123_1 @ 19 Oct, 2009 - 07:47 AM) *

Usually trying to insert your own code.. ie.. hooking into a compiled game.. is a frowned upon activity.

What are you trying to draw on the game?

i'm trying to draw a normal text like
Welcome or something like that


Okay.. is this in a game you wrote or bought? If it's the former then what language and SDK are you using? If the later.. well.. different story.


a game that i bough

QUOTE(Aeternalis @ 19 Oct, 2009 - 10:34 AM) *

There is a pretty good example of how to do what your asking :

{ Link removed by moderator }

it's complicated.. I hope you came prepared.

Aet


thx i'm trying to understand the source, but there isen't a tutorial that explains not gives an example
if not it's OK
and thx again
User is offlineProfile CardPM
+Quote Post

SixOfEleven

RE: Hook A Game File

21 Oct, 2009 - 06:38 AM
Post #7

lives.ToCode();
Group Icon

Joined: 18 Oct, 2008
Posts: 3,066



Thanked: 170 times
Dream Kudos: 775
Expert In: C, C#, XNA, Game Programming, Programming Concepts

My Contributions
You shouldn't be trying to hook into a game that wasn't written by you. I'm closing this topic.
User is offlineProfile CardPM
+Quote Post

Closed TopicStart new topic

Time is now: 11/21/09 01:19PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month