Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Disable drawing objects over distance/stop occlusion culling

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
theblacksun
How do I cheat?
Reputation: 0

Joined: 09 Apr 2021
Posts: 5

PostPosted: Fri Apr 09, 2021 6:23 am    Post subject: Disable drawing objects over distance/stop occlusion culling Reply with quote

So. I'm using 3dx ripper to rip 3d models from the game. In order to make my frame capture more effective, i tried to make a hack that disables the script that hides the gameobjects when they are not in front of the camera or if they are far away from the player.

I already managed to find a way to completely freeze the camera's rotations by disabling some of the camera scripts. This way, wherever i move in the world, the models will get captured with fixed rotation and no need to rotate them when i import them to my 3D modeling program.

The thing i can't do is disabling those objects fading over distance, fading when they are not in front of the camera. The 3dx ripper captures everything that is currently rendered by the video card, and since the models who are not in front of the camera aren't, they don't get captured. So i used the break and backtrace instruction of CE and i found the exact line of code that is executed in the exact frame when the models just hide themselves.

postimg cc/gallery/HmpqbBf

This is what looks like before/after the models dissapear. And at the top left corner you can see the "CULLING" script. With those 2 lines of code the models dissapear/appear. Not having clue how to edit the script(since i don't understand assembly), i edited the code in all kind of ways but nothing. Every time my game crashesh. This code is executed multiple times in every frame. It is executed for every model in the scene.

I just have no idea what to do in this situation. I was doing this for 2 days and this code was the only thing i was able to find. Please, someone with more knowledge pls help me i'm begging you. I'm doing this with the purpose to make some kind of remastered copy of the game that you see.

Is there some way to inject Direct3D dll that disables the culling, and is there any? Ty for your time.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites