Author |
Message |
UncleFestor
|
Post subject: MKX Character skin modding toolset (beta) {By oubgrdevvbuyn} Posted: Wed May 06, 2015 9:26 am |
|
 |
Grand Master |
 |
Joined: Wed Aug 21, 2013 11:56 pm Posts: 620
Side: Darkness
|
EDIT :MKX texture toolset 0.4 (beta) +fixed "brightness" issue +optimized scripts faster. supports more packages and texture sizes. e.g. CHAR_SubZero_V.xxx, ui_k_KombatKardBackgrounds.xxx, TRAIT_Kitana1_ScriptAssets.xxx +mipmap generation action for Photoshop check "scripts" folder MKX texture toolset 0.4 (beta) ----------------------------------------- system requirements: DirectX 10+ DirectCompute (optional. highly recomended) 0. Drop decompressed package (only one at a time) in "input" folder 1. Run 1_export.bat After that you will find textures in "texture" folder and mipmaps in "texture\MIPS" -Edit any of them. IMPORTANT: Do not change file names and do not add other files! Delete all unnecessary files to save time -Open "scripts\inject.bms" in notepad and edit PKName value (e.g. string PKName = "char_cagejr_a" or string PKName = "CHAR_Mileena_C") 2. Run 2_inject.bat If your GPU does not DirectCompute compatible you will have to wait till [[[[[[[[texture compression completed]]]]]]]] quite long. (e.g. one 2048x2048 texture is about 1hour on AMD Athlon II x3 440 3.00GHz) When compression is done check "output" folder You can edit another texture and repeat injection. But if you run 1_export.bat again, all textures will be restored to original. 3. Run z_clean.bat (optional step) Reset toolset. Wipe all modded and input files(except output\PKName.XXX) Attachment:
MKXtextures0.4b.zip [3.26 MiB]
Downloaded 4403 times
Here is an Action file for Photoshop to generate mipmaps put this file in Photoshop Actions folder e.g. C:\Program Files\Adobe\Photoshop CS\Presets\Photoshop Actions\ Open all mipmaps and main texture in ascending order. From 4x4 to 2048/4096 Attachment:
mkx.zip [1.15 KiB]
Downloaded 1682 times
_________________ Check out my Youtube Channel : https://www.youtube.com/user/unclefestorable
Last edited by UncleFestor on Mon May 11, 2015 3:10 pm, edited 4 times in total.
|
|
 |
|
 |
a.martin
|
Post subject: Re: MKX Character skin modding toolset (beta) {By oubgrdevvb Posted: Wed May 06, 2015 11:23 am |
|
 |
God |
 |
Joined: Sun Oct 20, 2013 4:36 pm Posts: 1149 Location: Argentina
Skype: -
PSN: -
XBox Live: -
|
man this is one of the reasons why we love you.. not in a weird way. 
|
|
 |
|
 |
UncleFestor
|
Post subject: Re: MKX Character skin modding toolset (beta) {By oubgrdevvb Posted: Wed May 06, 2015 12:38 pm |
|
 |
Grand Master |
 |
Joined: Wed Aug 21, 2013 11:56 pm Posts: 620
Side: Darkness
|
 Thx I'll post a proper Tut in the tutorials section tomorrow morning, so you guys can see how to properly edit MKX Char Textures 
_________________ Check out my Youtube Channel : https://www.youtube.com/user/unclefestorable
|
|
 |
|
 |
MeteoraMan
|
Post subject: Re: MKX Character skin modding toolset (beta) {By oubgrdevvb Posted: Wed May 06, 2015 1:48 pm |
|
 |
Mortal |
 |
Joined: Wed Apr 22, 2015 5:14 am Posts: 16 Location: Russian Federation
|
UncleFestor wrote: :lol: Thx I'll post a proper Tut in the tutorials section tomorrow morning, so you guys can see how to properly edit MKX Char Textures  And what's wrong with my tutorial? Why it is not properly? Quote: -Edit any of them. (save as DXT5) And as far as I know, use DXT5 as a transitional format is not the best solution. This is a lossy format. BC7 uses a different algorithm so these losses can be avoided.
|
|
 |
|
 |
derandy123
|
Post subject: Re: MKX Character skin modding toolset (beta) {By oubgrdevvb Posted: Wed May 06, 2015 2:53 pm |
|
 |
Mortal |
 |
Joined: Tue Apr 14, 2015 2:27 am Posts: 27
|
thx a lot , cant wait for the deeper tutorial , maybe make a vid if you have the time for it. would help modding noobs like me. i know how to edit textures but the rest ...
btw can i use paint.net , have no photoshop ?? paint.net should have a dds plugin aswell and i can save textures in dxt5 as far as i know
|
|
 |
|
 |
UncleFestor
|
Post subject: Re: MKX Character skin modding toolset (beta) {By oubgrdevvb Posted: Wed May 06, 2015 3:27 pm |
|
 |
Grand Master |
 |
Joined: Wed Aug 21, 2013 11:56 pm Posts: 620
Side: Darkness
|
MeteoraMan wrote: UncleFestor wrote: :lol: Thx I'll post a proper Tut in the tutorials section tomorrow morning, so you guys can see how to properly edit MKX Char Textures  And what's wrong with my tutorial? Why it is not properly? Quote: -Edit any of them. (save as DXT5) And as far as I know, use DXT5 as a transitional format is not the best solution. This is a lossy format. BC7 uses a different algorithm so these losses can be avoided. Yeah BC7 is better quality, but Nvidia Texture tools doesn't support BC 7 so we're stuck with doing either your way, which is good, or with this tool pack. End result is the same both ways. This tool pack converts the BC7 textures to DXT5 then Back to BC7 when you inject them. As far as the tut I'm making, It's specifically for this tool pack. Which is different than what you're doing, slightly. Converting BC7 to DXT5 to edit in Photoshop causes the texture's to lose some midtone colors. There's an easy way to get them back. And this tool has more files that you need to edit, than your method {You'll need to edit all the mipmaps so the game renders the skin properly}. Both have the same in-game result. Just different ways to go about it  Your method is easier to edit the actual texture's {Less textures to edit}. But this tool makes it easier to extract & inject the textures. *EDIT* BOTH methods use the same intermediary tool which is why the end result is the same. The tool pack just makes it a bit easier to Extract & Inject, but @ the cost of Having to edit more textures.
_________________ Check out my Youtube Channel : https://www.youtube.com/user/unclefestorable
Last edited by UncleFestor on Wed May 06, 2015 5:29 pm, edited 1 time in total.
|
|
 |
|
 |
Gambid
|
Post subject: Re: MKX Character skin modding toolset (beta) {By oubgrdevvb Posted: Wed May 06, 2015 5:15 pm |
|
 |
God |
 |
Joined: Tue Jul 08, 2003 4:17 pm Posts: 7976 Location: Bulgaria, Germany
Side: Light
XBox Live: Armored Gambid
|
If I understand all of this correctly there is no reason not to have the two tutorials and approaches existing together. People can then choose what suites them best.
_________________ I Rule This World!  By the unholy darkness that consumes me, I will have the Earthrealm. Mortal Kombat Secrets Founder and Webmaster
|
|
 |
|
 |
UncleFestor
|
Post subject: Re: MKX Character skin modding toolset (beta) {By oubgrdevvb Posted: Wed May 06, 2015 5:28 pm |
|
 |
Grand Master |
 |
Joined: Wed Aug 21, 2013 11:56 pm Posts: 620
Side: Darkness
|
|
 |
|
 |
a.martin
|
Post subject: Re: MKX Character skin modding toolset (beta) {By oubgrdevvb Posted: Wed May 06, 2015 6:08 pm |
|
 |
God |
 |
Joined: Sun Oct 20, 2013 4:36 pm Posts: 1149 Location: Argentina
Skype: -
PSN: -
XBox Live: -
|
a little question, on this step:
-Open "scripts\inject.bms" in notepad and edit PKName value (e.g. string PKName = "char_cagejr_a" or string PKName = "CHAR_Mileena_C")
the file should end up like this? (the changes are highlighted)
********************************************** get NAME basename string NAME - -10 set offset binary Name // texture offset get Tsize asize 0 math Tsize - 0x94 // texture size
string PKName = "CHAR_SubZero_B" // <------- change this string IN P "output\CHAR_SubZero_B.XXX.last"
Open "." IN 1
get XXXsize asize 1 math XXXsize1 = offset //1st part math XXXsize2 = XXXsize math offset + Tsize //1st part+ texture math XXXsize2 - offset //2nd part
append log MEMORY_FILE 0 XXXsize1 1 log MEMORY_FILE 0x94 Tsize 0 log MEMORY_FILE offset XXXsize2 1 append
get size asize MEMORY_FILE
string OUT P "output\CHAR_SubZero_B.XXX" log OUT 0 size MEMORY_FILE log IN 0 size MEMORY_FILE **************************************************
|
|
 |
|
 |
UncleFestor
|
Post subject: Re: MKX Character skin modding toolset (beta) {By oubgrdevvb Posted: Wed May 06, 2015 6:23 pm |
|
 |
Grand Master |
 |
Joined: Wed Aug 21, 2013 11:56 pm Posts: 620
Side: Darkness
|
|
 |
|
 |
a.martin
|
Post subject: Re: MKX Character skin modding toolset (beta) {By oubgrdevvb Posted: Wed May 06, 2015 6:44 pm |
|
 |
God |
 |
Joined: Sun Oct 20, 2013 4:36 pm Posts: 1149 Location: Argentina
Skype: -
PSN: -
XBox Live: -
|
UncleFestor wrote: You only need to change the one that's marked <------- change this  well that explains why it didn't worked  -edit: I did the proper thing now, and.. subzero still looks like the same.. :/ I've edited the textures from the DDS folder, then saved them into DX5 and used the inject bat.. and when put in game he looks like nothing changed..
|
|
 |
|
 |
mrelectriccity
|
Post subject: Re: MKX Character skin modding toolset (beta) {By oubgrdevvb Posted: Thu May 07, 2015 2:39 am |
|
 |
Mortal |
 |
Joined: Mon Apr 20, 2015 5:57 pm Posts: 43
XBox Live: electricwun
|
for some reason when i do what u say and drop the characters_a.xxx file into the input folder and then i got extract and it pops up says theres some kinda error and the dds and other folder appears but when i click in them their empty
|
|
 |
|
 |
mrs53360
|
Post subject: Re: MKX Character skin modding toolset (beta) {By oubgrdevvb Posted: Thu May 07, 2015 3:15 am |
|
 |
Mortal |
 |
Joined: Sun May 03, 2015 4:04 am Posts: 72
|
UncleFestor wrote: Your method is easier to edit the actual texture's {Less textures to edit}. But this tool makes it easier to extract & inject the textures. BOTH methods use the same intermediary tool which is why the end result is the same. The tool pack just makes it a bit easier to Extract & Inject, but @ the cost of Having to edit more textures. Here is an Action file for Photoshop to generate mipmaps put this file in Photoshop Actions folder e.g. C:\Program Files\Adobe\Photoshop CS\Presets\Photoshop Actions\ Open all mipmaps and main texture in ascending order. From 4x4 to 2048 like this  and run "mmx9" action
Attachments: |
mkx.zip [1.15 KiB]
Downloaded 265 times
|
|
|
 |
|
 |
MrEsturk
|
Post subject: Re: MKX Character skin modding toolset (beta) {By oubgrdevvb Posted: Thu May 07, 2015 4:32 am |
|
 |
Mortal |
 |
Joined: Sat Apr 18, 2015 3:58 am Posts: 27
|
mrelectriccity wrote: for some reason when i do what u say and drop the characters_a.xxx file into the input folder and then i got extract and it pops up says theres some kinda error and the dds and other folder appears but when i click in them their empty I was banging my head on the keyboard about this too, but figured it out. When UncleFestor mentioned the files need to be "decompressed" he meant you need to first decompress the XXX file using the decompression tool found here: http://www.gildor.org/downloadsIts command line based, so hope you have some basic command prompt skills. Nothing to fancy, just find the folder and type "decompress filename.xxx" then use the file placed in the "unpacked" folder
|
|
 |
|
 |
UncleFestor
|
Post subject: Re: MKX Character skin modding toolset (beta) {By oubgrdevvb Posted: Thu May 07, 2015 6:05 am |
|
 |
Grand Master |
 |
Joined: Wed Aug 21, 2013 11:56 pm Posts: 620
Side: Darkness
|
|
 |
|
 |
|