I think I may have found the global Doom3 map initialization code(in encrypted form) while exploring the ftped .gob files for the doom3 maps. Everything is the same in code until a certain point at 314 KB into the GOB file where the code will then start to differ after what I believe the call for the function to end is called called ENBL.
The code will start to get different right after the line:


the code is no longer the same making me believe that this and up was indeed the initialization code in the .gob files to test this out I gathered 3 .gob files from the doom3 game on my xbox ftped them over and viewed their files using wordpad. To my surprise I found the exact same line of code in all 3 of the .GOB files and when I select the select line and all the way up on 3 individual files and saved the copied material as 3 comparable text files they where all both the same size 314 KB!!!


Based on this I think I've found out 3 things now about the doom3 incypted code. It was a good encryption but it still shows how the functions can be called out if you look carefully you can see multiple instances of the same code in the encyption like at the start it says:


and at the end where the code ends it seems to be terminated by the block ENBL as stated earlier, also anyone viewing the code will see that right after the code


there will be a new function starter line similar to the one at the top of the .GOB file.
SO to theoretically start a new function in Doom3 .gob files you would use:
STBLzxRÍkÂ0?Gð
//functionstuff
ENBL
So if anything I'd say I made at least advances the bare min of the knowledge for Doom3 modding I just thought I'd share this with the community.
also the links in the pics lead to the imageshack uploader if your curious as too why there are links there