2015-02-19, 22:33
(2015-02-19, 16:38)Milhouse Wrote: It would have helped enormously if you'd mentioned the exact command you used to perform the download. I can only imagine you've downloaded a web page instead of the source code. Take a look at what you've downloaded, does it look like Python code or HTML?
Anyway, I've tested the following and it works:
Code:curl https://raw.githubusercontent.com/MilhouseVH/texturecache.py/master/tools/mklocal.py -o mklocal.py
chmod +x ./mklocal.py
You are correct. The contents of my mktool.py originally looked like html. I have no idea how I managed that because I was quite certain that I entered the same command that you mentioned above. But when I tried it again this morning (AFTER I posted the first message) it worked properly.
I should have thought to check the contents of the file sooner. Up until that time I was certain that I was missing a key piece of information because I was not able to reproduce anything I was seeing in this thread. Now the I have successfully downloaded the script I can see that this thread absolutely contains enough information to use the tool.
Thanks for the reply and help.