fabcris88 Posted July 10, 2011 Share Posted July 10, 2011 Hi, i tried different programs to open this kind of files and always failded. I would like to make some texture for the game :) Link to comment Share on other sites More sharing options...
markoBG Posted July 10, 2011 Share Posted July 10, 2011 Check this small tutorial, it shouldt help. For some reason when i have texmod active and have it attach to tw2 my performance slows to a crawl, without any packages even.Weirdness, maybe driver or gpu setting issue. Anyhow i actually tried modding the hairs too (although to black) so i know where they are (for a change ;p) Sorry for assuming all this knowledge, i will explain properly ;) 1) The game files are compressed in the pack0.dzip - so first you have to unpack itsee here -> http://www.gog.com/en/forum/the_witcher_2/how_to_unpack_the_pack0_dzip_for_modders - make sure you extract it somewhere, where somewhere is not inside tw2 directory. 2) Get the zip file http://filesmelt.com/dl/witcher2_texture_converter.zip , and get rid of the bat files inside (they don't work for me at all). Copy the entire contents in the same directory where you have quickbms (which you will have once you follow the how to unpack the pack0 file) 3) see attachment how your folder should look ;p Now its really simple browse your extracted files (wherever you extracted pack0.dzip to) and find characters\player\model\head inside you findgeralt__c1.xbm (Color)geralt__c1_n.xbm (Normals)geralt__c1_s.xbm (Specular) Now start quickbms.exe - point it to the w2_xbm2dds.bms then in the 2nd dialog - point it to geralt__c1.xbm . It extracts the file (you can also shift select more xbm files) Now you have a geralt__c1_DXT1.dds and bin , drag the dds file simply on nvdecompress.exe to get a tga, edit the tga, save it, and drag it on nvcompress to get a dds again. Now rename (your modified) geralt__c1_DXT1.dds to geralt__c1.dds (so , just drop the DXT1 its something the unpack script does) Now the last step is simply to run quickbms.exe again, but this time point it to w2_dds2xbm.bms - select your "new" geralt__c1.dds file and you get, tada, an xbm file that the game should read if you put it in the right place. (make sure you don't "lose" the bin file Note And don't forget to remove the dxt1 part from the bin file as well!, its required for the final step ,p) So basically, to "properly" recreate the xmb file make sure do this and have these 2 filesrename geralt__c1_DXT1.dds to geralt__c1.ddsrename geralt__c1_DXT1.bin to geralt__c1.binthen just select the DDS file when you are using quickbms (it will auto-read the bin file) The right place for that particular file would be hereThe Witcher 2\CookedPC\characters\player\model\head :thumbsup: Link to comment Share on other sites More sharing options...
fabcris88 Posted July 11, 2011 Author Share Posted July 11, 2011 Check this small tutorial, it shouldt help. For some reason when i have texmod active and have it attach to tw2 my performance slows to a crawl, without any packages even.Weirdness, maybe driver or gpu setting issue. Anyhow i actually tried modding the hairs too (although to black) so i know where they are (for a change ;p) Sorry for assuming all this knowledge, i will explain properly ;) 1) The game files are compressed in the pack0.dzip - so first you have to unpack itsee here -> http://www.gog.com/en/forum/the_witcher_2/how_to_unpack_the_pack0_dzip_for_modders - make sure you extract it somewhere, where somewhere is not inside tw2 directory. 2) Get the zip file http://filesmelt.com/dl/witcher2_texture_converter.zip , and get rid of the bat files inside (they don't work for me at all). Copy the entire contents in the same directory where you have quickbms (which you will have once you follow the how to unpack the pack0 file) 3) see attachment how your folder should look ;p Now its really simple browse your extracted files (wherever you extracted pack0.dzip to) and find characters\player\model\head inside you findgeralt__c1.xbm (Color)geralt__c1_n.xbm (Normals)geralt__c1_s.xbm (Specular) Now start quickbms.exe - point it to the w2_xbm2dds.bms then in the 2nd dialog - point it to geralt__c1.xbm . It extracts the file (you can also shift select more xbm files) Now you have a geralt__c1_DXT1.dds and bin , drag the dds file simply on nvdecompress.exe to get a tga, edit the tga, save it, and drag it on nvcompress to get a dds again. Now rename (your modified) geralt__c1_DXT1.dds to geralt__c1.dds (so , just drop the DXT1 its something the unpack script does) Now the last step is simply to run quickbms.exe again, but this time point it to w2_dds2xbm.bms - select your "new" geralt__c1.dds file and you get, tada, an xbm file that the game should read if you put it in the right place. (make sure you don't "lose" the bin file Note And don't forget to remove the dxt1 part from the bin file as well!, its required for the final step ,p) So basically, to "properly" recreate the xmb file make sure do this and have these 2 filesrename geralt__c1_DXT1.dds to geralt__c1.ddsrename geralt__c1_DXT1.bin to geralt__c1.binthen just select the DDS file when you are using quickbms (it will auto-read the bin file) The right place for that particular file would be hereThe Witcher 2\CookedPC\characters\player\model\head :thumbsup: Thank you it works like a charm :) Link to comment Share on other sites More sharing options...
Recommended Posts