Some days ago looking for DoA mods tutorials and contents I just found on the site LoversLab (an NSFW one dedicated to adult moddings) a tutorial for removing any object from the game (anyway this doesn't mean that everything can be removed without leaving the character with a incomplete model: indeed some outfits element are an integral part of the model without body skin under them).
I thought that this could be pretty interesting for the people that are experimenting in this matter and still doesn't know the exadecimal editing, so here the reposting of the tutorial. Everything can seem complex but I assure that it's not so, I tried in first place to make an attempt and I basically succedeed at the first attempt (even using the software blender for recognizing the precise object that I wanted remove).
All the credits goes to the loverslab user
SaafRats
---------------------------------------------------------------------
DOA5LR: (Tutorial) Remove clothing / objects from any DoA5 costume model
Started by SaafRats , Apr 20 2015 11:00 AM
Before start, I should assume that you have the tools to extract TMC / TMCL files, the proper noesis plugins, and you know how to repack DLC.
This is a method to remove clothing or objects from any DOA 5 LR model, modifying certain parameters of TMC file.
With this, we can remove (for example): nyoutengu’s wings, mask and fans, or the towels from "bath & bedtime" costumes.
To do this, we need:
- Any hexadecimal editor (I use HxD, which is free).
- Noesis (to test the changes we make)
To explain the process, I give a couple of examples:
Remove all clothing on LISA_DLC_004 (the only “vanilla” complete model available)
- Extract the TMC and TMCL files corresponding to LISA_DLC_004 (available in chara_common)
- Make a backup of the TMC file (very important if you want to add modified textures later)
- Open the file in hex editor (HxD)
- Find "ObjGeo" references:
We must press "Ctrl + F" and look for references to the word "ObjGeo" in this file. This will lead us to sections where the objects that are referenced may be removed.
In the particular case of LISA_DLC_004, we will only edit the reference to "ObjGeo" which is accompanied by the reference "WGT_body"
Here you can see two sections: section 1, which contains an object counter, and the section 2 containing references to these objects.
Now we need to identify the objects you want to keep, and those you wish to drop. This requires patience, trial and error.
In this particular case, you can see 6 objects referenced highlighted in block 2 with its respective counter in block 1.
To remove all the clothes and leaving only the body model, the only object involved is referenced by "10 0E", other objects don't interest us, so just copy that reference and paste it over first reference ("40 01").
Also, we must change the counter in the first block from "06" to "01" in both of the "section 1 counters" (this will cause only the first object is loaded, that is just the body).
*Alternate method:
Another way to accomplish the same thing, is to replace the objects that you want to remove, by objects that you want to keep.
In the case of LISA_DLC_004, you can see that the body was identified in the reference "10 0E", so we proceeded to replace all other references to that reference. By doing so, there is
no need to touch the counter and can be more convenient to do on certain models (like when you want to remove only a few objects)
Finally, it remains to test the result in Noesis and if all goes well, you can now create the DLC file to use in the game.
Removing mask, fans and wings from NYOTENGU_COS_003 (available in chara_common)
To do so, we must repeat the same steps from 1 to 3, previously seen in the EXAMPLE 1.
Now in step 4, we have to look for references to objgeo, corresponding to different items involved. In this case the body (WGT_body) will NOT be playing a role as in the previous case, now we only need to pay attention to the section 1 (object counter).
Press Ctrl + F, find the following references and change all highlighted values to "00" (this will remove the selected items):
- OPT_uchiwa_l, OPT_uchiwa_r (fans a) change 05-> 00
- OPT_wings_Root (wings) change 02-> 00
- WGT_acs_fun_l, WGT_acs_fun_r (fans b ) change 03-> 00
- WGT_mask (mask) change 07-> 00
I recommend to always use "objgeo" to search, and then pressing F3 to find the next reference.
Upon completion of the process, the model should look like this:
A method that can make the task of identifying objects more easier, is to export the models to .obj format using noesis (File-> Export). Subsequently, the .obj file is opened (using programslike blender or 3dsmax). Then we proceed to find the object of interest (nyotengu wings in the example image). By clicking on the object, the name will be highlighted, then it would be easier to find it on the hexadecimal editor.
Thanks to holdenmcclure for recommending add this information
---------------------------------------------------------------------
@The Enforcer I think that even this tutorial could be worthy to be added to the Resource Mod thread =)