Old 09-09-2016, 09:31 PM
Ceno's Avatar
Ceno Ceno is online now
Join Date: Jul 2014
Posts: 9,652
Question Working with .msh Files

I have no 3D modeling experience whatsoever (not entirely true, I have voxelation experience...).

I want to shamelessly edit some properties of existing GD items.

Can I do so in a text editor?

Particularly I'm interested in reskinning stuff and applying different FX to existing models. I'm not interested in changing the actual models of things (as I believe that's well beyond the scope of my ability at present). By looking into the .msh file for the Mask of Infernal Truth, for instance, I can find this information in a text editor:

glowTexture   #   Items/gearhead/head_026_01a_glo.tex   baseTexture   #   Items/gearhead/head_026_01a_dif.tex   bumpTexture   #   Items/gearhead/head_026_01a_nml.tex   specTexture          l  AttachPoint
    name   = "FXHead"
    parent = "Bip01 Head"
    origin = (0.299526, 0.047181, -0.000000)
    xAxis  = (-0.161568, -0.987063, -0.000000)
    yAxis  = (0.987063, -0.161568, -0.000000)
    zAxis  = (-0.000000, 0.000000, 1.000000)
    attach = "FXHead"
    entity = "Records\FX\ItemFX\MagicalFX\FireGeneric02_FX.dbr"
If I were to copy/paste the rest of the gibberish-data of the .msh file into a new .msh file, but edit some of the above information (changing the .tex links, changing the FX.dbr link, etc.), could that functionally work? Or are .msh files signed in some capacity and I'm just totally out of luck?

Reply With Quote
Old 09-09-2016, 09:37 PM
ASYLUM101's Avatar
ASYLUM101 ASYLUM101 is online now
Join Date: Jan 2010
Posts: 8,503

There is a tutorial by solemn(I think is his username) about using the editor to change attachment data. Look for that.
Reply With Quote
Old 09-11-2016, 10:30 AM
SolemnXII's Avatar
SolemnXII SolemnXII is offline
Join Date: Jan 2016
Posts: 138

Other than adding/editing an attach point or physics data, the best reason to change the inherent properties in a .msh file is if the mesh is using more than one shader and texture set. Otherwise mentioned type of edits can simply be done though dbr editing.

Editing any of the text references to to point to new files/directories can be done, but the Textdata (Length) needs to be changed to match the amount that is added or decreased. I'm unfamiliar how to do that with notepad++.
The method I use is through the use of Tamschi's Meshview.
I've been wanting to do a write up of my workflow using that tool with Grim Dawn...one of these days

Last edited by SolemnXII; 09-11-2016 at 11:27 AM.
Reply With Quote

modding, msh, text editor

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Grim Dawn ©2018 Crate Entertainment, LLC.
vBulletin® 3.8.4 ©2000-2014, Jelsoft Enterprises Ltd.