r/GraphicsProgramming • • Sep 28 '21

How to do asset ripping/ how RenderDoc works

I’ve read the “how RenderDoc works” page on their website but I am still unsure of some details and (also) curious what’s in the DLL and how it gets injected? I’m a total noob with asset ripping code but I really want to get into it. I think it would help my understanding of a lot of graphics concepts (and I also think it would be cool to write graphics drivers so I think this would probably help)

To me it essentially seems like you inject the DLL and sort of act as a proxy to the API. So it seems my program would literally get passed the data buffers the target process is sending to the GPU. But then what if the process has already passed the data to the gpu and now it’s just, like, binding a VAO and making a draw call; how do I get the data back then, if it’s on the GPU (or is the VAO a convenience and it’s passed again every time - this seems inefficient especially if you know the data is going to be static so I doubt this is the case)?

I hope this isn’t too dumb so if there are articles or files with documentation I could be pointed to that would help. Also high level explanations would help a ton too. Thanks.

4 Upvotes

17 comments sorted by

4

u/PulsesTrainer Sep 28 '21

And just like that, my desire to do interesting, creative game design or asset creation is 100% gone.

Truly, the forces working to destroy society are winning. Culture is not your friend.

3

u/felipunkerito Sep 28 '21

Maybe this guy wants to do a remake of dino crysis or RE 3 or whatever, when ignorance or evil are the two possibilities I would choose the latter first, but again I am quite paranoid and I've heard the first one is more probable.

1

u/[deleted] Sep 20 '25

Yeah your ego is finally gone!

-6

u/Passname357 Sep 28 '21

Lol I like that somebody downvoted this.

5

u/obp5599 Sep 29 '21

why would anyone want to help you rip assests. Renderdoc is a super useful tool but Im not inclined to help someone be an ass

-3

u/Passname357 Sep 29 '21

Uhh idk why would anyone want to help with anything? It’s just a learning project lol. Also I don’t see how ripping assets makes anyone an ass. It’s not hard to do with software already out there. I’m just trying to figure out how it works.

2

u/obp5599 Sep 29 '21

Looking at assets in renderdoc is very different from ripping. Ripping, for the most part, is illegal

-2

u/Passname357 Sep 29 '21 edited Sep 29 '21

Who cares

Edit: no seriously, who cares. I’ve made it clear this is a learning project (which I mean, obviously-there are already plenty of tools out there for asset ripping and debugging, so if that’s all I wanted I could just use one of those). I’m taking zero money from anybody while hurting nobody in the process. If you can tell me how this hurts somebody, I’d be happy to hear it. Being illegal and being wrong are not the same thing. I see no way that this could be wrong.

3

u/the_Demongod Sep 29 '21

We have no idea what you're doing so everyone is obviously going to assume the worst. If you want to learn stuff like this, figure it out on your own.

2

u/Passname357 Sep 29 '21

Geeze I didn’t know everyone here was so soft lol. Kind of stupid too, because it’s really easy to rip assets already. If all I wanted was to rip assets why would I go through the trouble of making a ripper myself when there’s already tools out there that will do a much better job than I could do? I can figure it out on my own lol there’s enough source code out there for that. Just didn’t realize I’d get people crying about this lol.

1

u/the_Demongod Sep 29 '21

You call it soft, I call it principled.

2

u/Passname357 Sep 29 '21

Please, do enlighten me, oh principled one, how am I doing wrong?

3

u/the_Demongod Sep 29 '21

I'm not passing judgement on what you're doing, I'm simply explaining why you're getting the response you are. People surreptitiously ask for help with cracking games, cheating, asset ripping, etc. all the time on programming channels online and it's an unwritten rule to not help them. If you're really doing this for educational purposes then you don't need to learn it right away; if it's out of reach at the moment, you'll get there when you get there. It's not an incredibly difficult thing to do, so at some point in the normal progression of graphics knowledge, you'll reach the level of understanding necessary to do it.

You should be aware that doing this won't really teach you anything useful about graphics programming though, which is why it's suspicious that you're so interested in "getting into" it. You're of course free to do as you choose, just be aware that you'll be mostly without help because of the subject matter.

→ More replies (0)