hownoemail
Potential Patron
- Joined
- Dec 10, 2013
Hey
I have been lurking for a few months and I thought I'd share a tool I've written for myself for reindexing and sorting my Mods character folder. What it does when it runs is generates the CharacterFolders.txt file for your mods directory and regenerates any CharacterFolders files in deeper directories which have them (any directory with a CharacterFolders.txt file is treated as a mods directory all other are treated as mods).
direct download:
https://gist.githubusercontent.com/anonymous/11152139/raw/16e54e5fccd177a06aa45902e838dbc9a71e296a/gen_mods.py
gist source if you want to modify it:
https://gist.github.com/anonymous/11152139
You need to have python 2.7.x installed
https://www.python.org/downloads/
Put the file in the Mods directory next to CharacterFolders.txt
usage 1:
open the command prompt
go the directory:
<letter of the drive>: <enter>(example "c:")
cd <path to your mods direcory> <enter>
run the program:
python gen_mods.py <enter>
usage 2:
right click on gen_mods.py
create shortcut
right click shortcut
click properties
add "python " at the beginning (without " off course)
save
double click the shortcut
usage 3:
if you know how to run command line tools you can get more advanced options with -h
(not much now but I'll maybe add some sorting options if anybody needs them)
EDIT:
fixed typo
EDIT 2:
updated script to organize recursively by default
I have been lurking for a few months and I thought I'd share a tool I've written for myself for reindexing and sorting my Mods character folder. What it does when it runs is generates the CharacterFolders.txt file for your mods directory and regenerates any CharacterFolders files in deeper directories which have them (any directory with a CharacterFolders.txt file is treated as a mods directory all other are treated as mods).
direct download:
https://gist.githubusercontent.com/anonymous/11152139/raw/16e54e5fccd177a06aa45902e838dbc9a71e296a/gen_mods.py
gist source if you want to modify it:
https://gist.github.com/anonymous/11152139
You need to have python 2.7.x installed
https://www.python.org/downloads/
Put the file in the Mods directory next to CharacterFolders.txt
usage 1:
open the command prompt
go the directory:
<letter of the drive>: <enter>(example "c:")
cd <path to your mods direcory> <enter>
run the program:
python gen_mods.py <enter>
usage 2:
right click on gen_mods.py
create shortcut
right click shortcut
click properties
add "python " at the beginning (without " off course)
save
double click the shortcut
usage 3:
if you know how to run command line tools you can get more advanced options with -h
(not much now but I'll maybe add some sorting options if anybody needs them)
EDIT:
fixed typo
EDIT 2:
updated script to organize recursively by default