PDA

View Full Version : assets001 and assets003, difference?


cheggs
09-18-2011, 10:00 PM
Hello, I have started modding DoP about 4 days ago, I know some c and c++ and basically alot of programming languages so it wasn't hard for me to get started, i changed the classes and some mechanics etc. However, while i am editing i see assets001 and assets003, i know what 2 is for. But i looked into code, and there is alot more in assets001 than there is 3(I only edit 001 if im editing story or something). but when i edit anything other than story or certain text it doesn't do anything, is there a difference between the two? Another thing i might add, preferably a question for shadow, or anyone that knows, how do you edit the .ctx texture files? Thx in advance

Shadow
09-19-2011, 10:02 AM
assets003 is the data part of the patches. The game uses zips in reverse alphabetical order so all of the files inside of assets003 will override what is in assets001 or assets002.

You really can't modify a ctx directly since no program is going to know the format. However you can tell the game to generate tgas of all of the ctx files by typing buildtgas and hitting enter in the console. A lot of graphics programs like Photoshop can work with tga files. If you do this you will want to move all of the tga files somewhere else though so the game doesn't try to reconvert all of them back to ctx files.

cheggs
09-19-2011, 10:45 PM
thanks shadow, but how would i convert them back? or would i need to?

Shadow
09-20-2011, 10:54 AM
thanks shadow, but how would i convert them back? or would i need to?

If you add a tga in any of the texture directories the game will automatically create a ctx file from it when the exe starts up.