CM_LoadMap function


(reddbull) #1

I want to be able to load ‘Quake 3’ maps in ET (without changing the map version from 46 to 47), and I’ve found this line in “cgame, CG_Init” in the ET SDK:

trap_CM_LoadMap( cgs.mapname );

When I try to load a Q3 map I get the error: CM_LoadMap(maps…bsp), wrong version number (46 should be 47), or at least something like that. I was wondering if you knew an easy way to make CM_LoadMap load maps with version number 46 too.

CM_LoadMap is obviously handled in the engine, since the only CM_LoadMap line I could find was the one posted above. Is there some smart way to override it?

I have been playing around with hex editors and stuff to see if it is even possible to load q3 maps, but I haven’t really gotten anywhere. And if I do any hex changes etc, I don’t think I would be able to release it (because I am pretty sure that would be against the license agreement for ET).

And please no questions/answers like “Why would you want to do that?”, “Just recompile them”.


(Jaquboss) #2

Why would you want to do that?, Just recompile them :nag: …
Oh , sorry , you cant change engine code (for now) , so you need to find some hex editing to do this …
Maybe contact experienced hex editors…


(Jaquboss) #3

Why would you want to do that?, Just recompile them :nag: …
Oh , sorry , you cant change engine code (for now) , so you need to find some hex editing to do this …
Maybe contact experienced hex editors…


([RW]FRED) #4

U can change the version of the map with an hex editor from 2E to 2F in the 5th byte position into the bsp file