|
||||
|
![]() |
#1 |
Hall Of Famer
Join Date: May 2003
Location: Under The Christmas Fish
Posts: 7,620
|
Small Utility: MTLfixer
I made this for my own use and figure that the other stadium makers may find it useful. It's a node.js app that goes through an MTL file and makes some adjustments to the file and to some files in the textures folder.
It does require you to be a little comfortable on the command line because I haven't packaged it as a stand-alone executable. It requires node.js and yarn to be accessible along your system path. Code:
git clone https://github.com/eriqjaffe/mtlfixer && cd mtlfixer yarn cd /path/to/mtlfile node ./path/to/script/index.js mtlfile.mtl (optional --night)
* - regular expressions are used to match the text blocks - I'm using the same crowd textures that silvam released years ago and that's what this is looking for. If it doesn't find the right blocks, it won't replace the crowds. Last edited by eriqjaffe; 03-14-2025 at 11:17 AM. |
![]() |
![]() |
![]() |
#2 |
Hall Of Famer
Join Date: Apr 2004
Location: Dedham, MA
Posts: 9,866
|
Very cool. Must save a lot of time
Sent from my iPhone using Tapatalk
__________________
Senior "Nancy Boy" of the OOTP Boards _______________________________________________ |
![]() |
![]() |
![]() |
Bookmarks |
Thread Tools | |
|
|