Page 1 of 1

[TOOL] MTL152-Extender Version 2.3

PostPosted: Sat Jul 09, 11 11:22 pm
by ~ô¿ô~Nobody~
Since different people asked for the MTL extender over the years and since I couldn't find it here at any place, I decided to upload it again

That provided archive is from 2005 and unfortunately doesn't contain a readme.
That's why I'll give a short description.

INSTALLATION
  1. Copy DXMTLDummy.u and MTLExtender.exe in the system folder of DeusEx
  2. Add DXMTLDummy to the list of EditPackages (in DeusEx.ini) ABOVE your own mod
USAGE
  1. Compile your mod with UCC
  2. Execute MTLExtender.exe
  3. The program will ask for the desired file to be MTL extended; specify your mod with extension (e.g. SG_MOD152.u)
  4. After pressing ENTER the program will automatically change the binding from DXMTLDummy to DXMTL152b1


If you compile your mod using a batch processing file, you can also specify your mod as first commandline parameter to the MTLExtender.

e.g. MTLExtender.exe SG_MOD152.u


That's all I can remember so far.

PostPosted: Sat Jul 09, 11 11:28 pm
by bambi
THANKS!

PostPosted: Sat Jul 09, 11 11:34 pm
by ~DJ~
But it's not much of a difference if we do it through Hex Editor now is it? or it doesn't change some stuff/makes it buggy? :o

PostPosted: Sat Jul 09, 11 11:39 pm
by ~ô¿ô~Nobody~
Mainly it does what you do with the hex editor.
But furthermore, it replaces all V34 like variables to MTL's corresponding unreadable ones.

You might be aware of that MTL contains a lot of unreadable variables.
The MTLDummy contains a lot variables that look like: V34, V21, V5A etc..

Those are the readable representations of the unreadable variables.
If you used them and you just change the main link, like you do, then the mod would fail because it couldn't find those V4A like variables on the original MTL.
So.. what the extender does is to replace those ones inside your mod to the corresponding unreadable variables of MTL.

PostPosted: Sat Jul 09, 11 11:57 pm
by bambi
I figured something like that was going on. I'm not quite sure how this protection works yet, but that's not my concern at the moment. My mod compiles now so I'm happy.

However, it doesn't work, as I think its based on pre-dxmtl jcdenton class???? I'm not sure but, DXMTL and my hacked mod, don't work at the moment, so I have some work to do to make them work


Thanks again

PostPosted: Fri Aug 12, 11 5:03 am
by ~DJ~
Was just batch processing.. if anyone's wondering, here's how to quickly do it:

Code: Select all
cd C:\DeusEx\System\
C:\DeusEx\System\MTL152Extender.exe <PackageName>.u


Thanks Nobodeh! :oops:

PostPosted: Fri Aug 12, 11 7:50 pm
by ~ô¿ô~Nobody~
Ye, that I forgot to mention.. passing the package name as first parameter works too! :o

PostPosted: Tue Apr 17, 12 12:48 pm
by atrey65789
Question time!! lol When we extend DXMTLDummy in UnrealEd, Do we have to extend every class in the package.. or just the ones we want?