| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| moment_apart How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 05 May 2025
 Posts: 2
 
 
 | 
			
				|  Posted: Mon May 05, 2025 10:53 am    Post subject: Create patched exe that uses code injection? |   |  
				| 
 |  
				| Hello! 
 Recently I've been working on modding a game to create a more pleasant expeerience for me and my friends. Assassin's Creed Brotherthood to be specific. The things I did through cheat engine include increasing the environment quality (LODs), increasing camera FOV and distance, etc.
 
 TL;DR, i figured i would patch these changes into the exe itself so anyone who uses it doesn't always have to hook up cheat engine to get it working. the problem is, i can't patch in the changes that are made with code injection.
 
 to be more specific, i can't patch in changes that allocate new memory through cheat engine and add new instructions. for instance, the code injection for the FOV changes includes:
 
 - allocating a new float for the multiplier value
 - allocating "newmem" and adding a new instruction inside it: mulss xmm0,[multiplier]
 
 whereas the LOD change for example can be patched easily because it replaces an existing instruction and reuses its bytes
 
 so how would i go about doing this? i can post code if anyone needs extra context.
 
 
 all help is appreciated, thank you very much! <3
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Csimbi I post too much
 
  Reputation: 97 
 Joined: 14 Jul 2007
 Posts: 3327
 
 
 | 
			
				|  Posted: Mon May 05, 2025 12:50 pm    Post subject: |   |  
				| 
 |  
				| Have you tried DLL injection? |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| moment_apart How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 05 May 2025
 Posts: 2
 
 
 | 
			
				|  Posted: Tue May 06, 2025 7:10 am    Post subject: |   |  
				| 
 |  
				|  	  | Csimbi wrote: |  	  | Have you tried DLL injection? | 
 
 that was one of my first ideas, but i wasn't able to find any feature that converts cheat engine code injections into a DLL? i looked through some stuff online and it seems i would have to make my own DLL in C, which im fine with trying to figure out, but i would still have to inject it using cheat engine, no?
 ideally i would try to skip that step entirely if possible, cos at that point i might as well just share the cheat table
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |