cgamex86.dll wrapper by ackmed This is source for a dll wrapper for the q3a version 1.17 cgamex86.dll file. I will not be distributing it in binary. This is something I wrote last month and is directed at mod makers to discourage them from releasing dll versions of thier mods. Installation: 1. copy over cg_public.h, q_shared.h, surfaceflags.h, and tr_types.h from the q3a sdk into the same folder that you extracted the source to. 2. Compile 3. take the dll from a mod (ra3 works well) copy it to c:\temp\cgamex86.dll and copy the compiled dll into the mod dir and rename it to cgamex86.dll 4. start up the mod it should come up as it normally does. 5. you can issue 2 commands to verify the wrapper has loaded. wrap_test 1 this will echo 'wrapper loaded\n' to console then reset wrap_test to 0 wrap_function this will echo 'Wrapper function was called\n' to console. 6. dont release your mod in dll form. This does nothing evil but its not very hard for someone to add in code that is. You have access to all the data that is passed to the real cgamex86.dll. so you should be able to do pretty much anything you could do in a normal cgame cheat mod. I am sure it could be used for positive things too. Something like a wrapper that inserted custom logging support or making it so the wrapper would allow the 1.25 exec to use a 1.17 dll by converting the syscalls from one versions of the game code to another.