Jump to content

Hey guys,

 

So I am not that best when it comes to programming I can do stuff just not everything (always learning) and I've come up with an idea but I would like you, the experts to tell me if it's even possible and if so how I might go about learning how to do it. So I've been playing through some SNES games where you can collect items, accessories, weapons, armours, etc... and I would like to know if it's possible to make another program that runs in the background and when I collect something like an object such as a key, it'll display a graphic in the program with a little green tick simple next to it. So I'm thinking I would need to read from the SNES emulator memory to find where the trigger is located.

 

I've messed about with values during the PS2 era where I could change stuff that happens in game from the memory so I think it's doable.

Link to comment
https://linustechtips.com/topic/626902-is-this-possible/
Share on other sites

Link to post
Share on other sites

1 hour ago, gabrielcarvfer said:

It's possible, but there's no explicit trigger to those things, then you will need to analyze each game that you want to do that and look where it keeps that kind of stuff. 

I know how to do it with a GameShark on a console but how do I do it on a PC?

Link to comment
https://linustechtips.com/topic/626902-is-this-possible/#findComment-8089321
Share on other sites

Link to post
Share on other sites

Your best bet would probably be to use a hex editor to find the specific functions that you need that pop up items and such. Write your dll with the replacement functions and then inject it into the emulator. You will also probably need to create a D3D or OpenGL hook so that you can render your overlay in game or create a desperate GUI for this.

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to comment
https://linustechtips.com/topic/626902-is-this-possible/#findComment-8089331
Share on other sites

Link to post
Share on other sites

2 minutes ago, trag1c said:

Your best bet would probably be to use a hex editor to find the specific functions that you need that pop up items and such. Write your dll with the replacement functions and then inject it into the emulator. You will also probably need to create a D3D or OpenGL hook so that you can render your overlay in game or create a desperate GUI for this.

I guess I have to learn more programming.

Link to comment
https://linustechtips.com/topic/626902-is-this-possible/#findComment-8089335
Share on other sites

Link to post
Share on other sites

1 minute ago, cubies1982 said:

I guess I have to learn more programming.

Once you have a firm grasp on pointers things will become very self explanatory. The only real involved part is writing the graphics hook and using the hex editor can sometimes be somewhat tedious but this becomes very easy with experience. 

CPU: Intel i7 - 5820k @ 4.5GHz, Cooler: Corsair H80i, Motherboard: MSI X99S Gaming 7, RAM: Corsair Vengeance LPX 32GB DDR4 2666MHz CL16,

GPU: ASUS GTX 980 Strix, Case: Corsair 900D, PSU: Corsair AX860i 860W, Keyboard: Logitech G19, Mouse: Corsair M95, Storage: Intel 730 Series 480GB SSD, WD 1.5TB Black

Display: BenQ XL2730Z 2560x1440 144Hz

Link to comment
https://linustechtips.com/topic/626902-is-this-possible/#findComment-8089354
Share on other sites

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×