Friday, July 26, 2013

Defiance Tools v0.2.0 Released


Skinned meshes are now working! You can now extract all the NPCs,  weapons, outfits, and a lot more. Complete overhaul of the command-line switches so you don't have to specify every WAD file. It now just reads and searches the entire WAD directory. mes2obj and ski2obj now allow you to generate a sub directory with the same name as the asset and put all the OBJ, MTL and PNG files in it. Thanks for /u/etaew for the suggestion. Lots of other bug fixes and major code cleanup. 

Defiance Tools v0.2.0

Please report any issues on Github and I'll try and fix them

I've been testing the extracted files with Blender and I did notice one issue. The game's engine stores emissive masks the in some of the diffuse textures alpha channel. This means that when you view the meshes in Blender you get this.
Bad

The only way to fix it is to tell Blender to not use the alpha channel to get this result. 

Good

The problem is that the not all the meshes use the alpha in this way and there is no way to test for it and strip out the alpha unless I start digging into the shaders. It's easier to just manually disable the alpha or remove it. In many cases the alpha channel is used for transparency as you would expect like the glass in the Tollbooth here.
Broken Tollbooth Glass


7 comments:

  1. is there anyway to create your tool as an .exe? no matter what i try i cant seem to get it to work. and blender is telling me the .obj files i have are not supported by blender. any suggestions?

    ReplyDelete
  2. You can find the most recent binary releases here.
    https://github.com/zeiban/defiance-tools/releases
    I've tested the tools with at least Blender 2.68a.

    ReplyDelete
  3. http://bantalsilikon01.blogspot.com/2014/12/a.html
    http://jualsangkarpleci.blogspot.com/2014/12/a.html
    http://kopiluwakliar01.blogspot.com/2014/12/a.html
    http://vvty.in/uncategorized/marinir-seo/

    http://marinirseo.blogspot.com/2014/12/a.html
    http://marinir-seo.blogspot.com/2014/12/a.html
    http://bumbu-pecel-malang.blogspot.com/2014/12/a.html
    http://distro-seo.blogspot.com/2014/12/a.html
    http://restoran-seo.blogspot.com/2014/12/a.html
    http://bantalmalangmurah.blogspot.com/2014/12/a.html
    http://distrobantal.blogspot.com/2014/12/a.html
    http://kesethandukmalang.blogspot.com/2014/12/a.html

    http://marinir-seo-konsultan-12a.blogspot.com/2014/10/aaa.htmlhttp://asdf-14.blogspot.com/2014/10/hhh.htmlhttp://vvtiin.blogspot.com/2014/10/iii.htmlhttp://marinir-seo-8.blogspot.com/2014/10/jjj.htmlhttp://bantaljkt1.blogspot.com/2014/10/sss.htmlhttp://dfes12.blogspot.com/2014/10/rrr.htmlhttp://seo-guru01.blogspot.com/2014/10/qqq.htmlhttp://jksbindo.blogspot.com/2014/10/ppp.htmlhttp://jkt-49.blogspot.com/2014/10/ooo.htmlhttp://seokonsultan1.blogspot.com/2014/10/nnn.htmlhttp://guru-seo-malang.blogspot.com/2014/10/mmm.htmlhttp://seo-aaa.blogspot.com/2014/10/lll.htmlhttp://seo-konsultasi-mudah.blogspot.com/2014/10/kkk.htmlhttp://bantal-silikon15.blogspot.com/2014/10/ggg.htmlhttp://agen-seo16.blogspot.com/2014/10/fff.htmlhttp://agen-seo17.blogspot.com/2014/10/eee_30.htmlhttp://agen-seo18.blogspot.com/2014/10/ddd.htmlhttp://agen-seo19.blogspot.com/2014/10/ccc.htmlhttp://agen-seo20.blogspot.com/2014/10/bbb.htmlhttp://bumbu-pecel01.blogspot.com/2014/10/xxx.htmlhttp://bantalasdf.blogspot.com/2014/12/seo-sem-seo.htmlhttp://marinirseo17.blogspot.com/2014/10/ddd.htmlhttp://domainhosting15.blogspot.com/2014/10/fff.htmlhttp://marinirseo.blogspot.com/http://bantalsilikon01.blogspot.com/http://jualsangkarpleci.blogspot.com/http://marinir-seo.blogspot.com/http://kopiluwakliar01.blogspot.com/http://bumbu-pecel-malang.blogspot.com/http://distro-seo.blogspot.com/http://restoran-seo.blogspot.com/http://bantalmalangmurah.blogspot.com/http://distrobantal.blogspot.com/http://kesethandukmalang.blogspot.com/
    http://bantalasdf.blogspot.com/2014/12/seo-sem-seo.html
    http://marinirseo17.blogspot.com/2014/10/ddd.html
    http://domainhosting15.blogspot.com/2014/10/fff.html
    http://asd453.blogspot.com/
    http://bntl532.blogspot.com/
    http://bntl532.blogspot.com/
    http://nlutuyebantal.blogspot.com/http://asd453.blogspot.com/
    http://asd453.blogspot.com/
    http://domainhosting15.blogspot.com/
    http://krs7.blogspot.com/
    http://mri473.blogspot.com/

    ReplyDelete
  4. SEO is a very popular way to top rank your site here are variety of softwares, Books, Tools and Tips that can help you to get high rank your website in all Search engine like Google, Bing, Yahoo etc and Alexa Ranking. For more Detail visit Click Here
    SEO Techniques
    Search Engine Optimization

    ReplyDelete
  5. How Packers and Movers India can assist you with your long-distance relocation services provide packing moving services at the make you best local shifting services exoprt amazing only.
    Packers and Movers Pune
    Packers and Movers Bangalore
    Packers and Movers Chennai
    Packers and Movers Hyderabad
    Packers and Movers Mumbai

    ReplyDelete
  6. How did you can avail the give your dream a shape with the help of make your move Adword India's No 1 services.

    http://www.adword.co.in/

    ReplyDelete