MKX Character skin modding toolset (beta) {By oubgrdevvbuyn}

User avatar
UncleFestor
Grand Master
Posts: 620
Joined: Wed Aug 21, 2013 11:56 pm
Side: Darkness
Contact:

MKX Character skin modding toolset (beta) {By oubgrdevvbuyn}

Post by UncleFestor »

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)

MKXtextures0.4b.zip
(3.26 MiB) Downloaded 6321 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
mkx.zip
(1.15 KiB) Downloaded 2447 times
Attachments
MKXtextures0.3b.zip
(3.26 MiB) Downloaded 1634 times
MKXtextures0.2b.zip
(3.29 MiB) Downloaded 1410 times
Last edited by UncleFestor on Mon May 11, 2015 3:10 pm, edited 4 times in total.


Check out my Youtube Channel : https://www.youtube.com/user/unclefestorable
User avatar
a.martin
God
Posts: 1163
Joined: Sun Oct 20, 2013 4:36 pm
PSN: -
XBox Live: -
Location: Argentina

Re: MKX Character skin modding toolset (beta) {By oubgrdevvb

Post by a.martin »

man this is one of the reasons why we love you.. not in a weird way. :P
User avatar
UncleFestor
Grand Master
Posts: 620
Joined: Wed Aug 21, 2013 11:56 pm
Side: Darkness
Contact:

Re: MKX Character skin modding toolset (beta) {By oubgrdevvb

Post by UncleFestor »

: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 :)
Check out my Youtube Channel : https://www.youtube.com/user/unclefestorable
User avatar
MeteoraMan
Mortal
Posts: 16
Joined: Wed Apr 22, 2015 5:14 am
Location: Russian Federation

Re: MKX Character skin modding toolset (beta) {By oubgrdevvb

Post by MeteoraMan »

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?
-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.
User avatar
derandy123
Mortal
Posts: 26
Joined: Tue Apr 14, 2015 2:27 am

Re: MKX Character skin modding toolset (beta) {By oubgrdevvb

Post by derandy123 »

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
User avatar
UncleFestor
Grand Master
Posts: 620
Joined: Wed Aug 21, 2013 11:56 pm
Side: Darkness
Contact:

Re: MKX Character skin modding toolset (beta) {By oubgrdevvb

Post by UncleFestor »

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?
-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.
Last edited by UncleFestor on Wed May 06, 2015 5:29 pm, edited 1 time in total.
Check out my Youtube Channel : https://www.youtube.com/user/unclefestorable
User avatar
Gambid
Elder God
Posts: 8669
Joined: Tue Jul 08, 2003 4:17 pm
Side: Light
XBox Live: ArmoredGambid
Location: Bulgaria, Germany
Contact:

Re: MKX Character skin modding toolset (beta) {By oubgrdevvb

Post by 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!

Image

By the unholy darkness that consumes me, I will have the Earthrealm.

Mortal Kombat Secrets Founder and Webmaster
User avatar
UncleFestor
Grand Master
Posts: 620
Joined: Wed Aug 21, 2013 11:56 pm
Side: Darkness
Contact:

Re: MKX Character skin modding toolset (beta) {By oubgrdevvb

Post by UncleFestor »

Correct :)
Check out my Youtube Channel : https://www.youtube.com/user/unclefestorable
User avatar
a.martin
God
Posts: 1163
Joined: Sun Oct 20, 2013 4:36 pm
PSN: -
XBox Live: -
Location: Argentina

Re: MKX Character skin modding toolset (beta) {By oubgrdevvb

Post by a.martin »

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
**************************************************
User avatar
UncleFestor
Grand Master
Posts: 620
Joined: Wed Aug 21, 2013 11:56 pm
Side: Darkness
Contact:

Re: MKX Character skin modding toolset (beta) {By oubgrdevvb

Post by UncleFestor »

You only need to change the one that's marked <------- change this ;) ;)
Check out my Youtube Channel : https://www.youtube.com/user/unclefestorable
User avatar
a.martin
God
Posts: 1163
Joined: Sun Oct 20, 2013 4:36 pm
PSN: -
XBox Live: -
Location: Argentina

Re: MKX Character skin modding toolset (beta) {By oubgrdevvb

Post by a.martin »

UncleFestor wrote:You only need to change the one that's marked <------- change this ;) ;)
well that explains why it didn't worked :P

-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..
User avatar
mrelectriccity
Mortal
Posts: 43
Joined: Mon Apr 20, 2015 5:57 pm
XBox Live: electricwun

Re: MKX Character skin modding toolset (beta) {By oubgrdevvb

Post by mrelectriccity »

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
ImageImageImageImageImageImage
User avatar
mrs53360
Mortal
Posts: 72
Joined: Sun May 03, 2015 4:04 am

Re: MKX Character skin modding toolset (beta) {By oubgrdevvb

Post by mrs53360 »

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
Image
and run "mmx9" action
Attachments
mkx.zip
(1.15 KiB) Downloaded 513 times
MrEsturk
Mortal
Posts: 27
Joined: Sat Apr 18, 2015 3:58 am

Re: MKX Character skin modding toolset (beta) {By oubgrdevvb

Post by MrEsturk »

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/downloads

Its 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
User avatar
UncleFestor
Grand Master
Posts: 620
Joined: Wed Aug 21, 2013 11:56 pm
Side: Darkness
Contact:

Re: MKX Character skin modding toolset (beta) {By oubgrdevvb

Post by UncleFestor »

You Don't even need to use the command Line. Just drag-n-drop the char file over decompress.exe and it'll unpack it.
Check out my Youtube Channel : https://www.youtube.com/user/unclefestorable
Post Reply

Return to “Mortal Kombat X PC Modding Tools”