Because in general, *nix command-line tools are better/more useful/more fully featured than windows only tools. (Quite a few *nix commandline tools have windows ports. If you haven't used them before then there is a learning curve, but that is to be expected from any versatile but unfamiliar commandline command line toolkit).bobingabout wrote: ↑Wed Dec 19, 2018 9:14 amI'm using windows 7, I thought I made it clear I was using windows, why would unix/linux stuff be useful to me?
Load modules from directories without version
Moderator: ickputzdirwech
Re: Load modules from directories without version
Re: Load modules from directories without version
Because windows has a linux subsystem now. You can run native linux tools directly.Zavian wrote: ↑Wed Dec 19, 2018 10:44 amBecause in general, *nix command-line tools are better/more useful/more fully featured than windows only tools. (Quite a few *nix commandline tools have windows ports. If you haven't used them before then there is a learning curve, but that is to be expected from any versatile but unfamiliar commandline command line toolkit).bobingabout wrote: ↑Wed Dec 19, 2018 9:14 amI'm using windows 7, I thought I made it clear I was using windows, why would unix/linux stuff be useful to me?
-
- Long Handed Inserter
- Posts: 59
- Joined: Sat Mar 24, 2018 8:19 am
- Contact:
Re: Load modules from directories without version
WSL available only for Windows 10.mrvn wrote: ↑Mon Jan 14, 2019 12:01 pmBecause windows has a linux subsystem now. You can run native linux tools directly.Zavian wrote: ↑Wed Dec 19, 2018 10:44 amBecause in general, *nix command-line tools are better/more useful/more fully featured than windows only tools. (Quite a few *nix commandline tools have windows ports. If you haven't used them before then there is a learning curve, but that is to be expected from any versatile but unfamiliar commandline command line toolkit).bobingabout wrote: ↑Wed Dec 19, 2018 9:14 amI'm using windows 7, I thought I made it clear I was using windows, why would unix/linux stuff be useful to me?
I concocted little script to alleviate this issue for Windows users - it automatically creates symlinks in mods directory for all mods in the work tree. Installation is simple:
- Extract archive into Factorio folder.
- Create "worktree" directory in the mods folder. (Or run the script and create new mod template)
- Move/Copy mod folders to the "worktree" folder, don't forget to remove version from their names - it must match to the mod name.
- Run the script (run as administrator for Windows 7) and follow the hints to choose "Update versions".
Script doesn't contain any destructive actions intentionally, you have to remove your mods manually.
Re: Load modules from directories without version
Why mod folder must have the same name as mod archive? All players download archives and never unpack them. They are need only archive files with mask mod_name.0.0.1.zip, but inside can be just mod_name folder, or folder with any name, if inside of it is correct info.json file.
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: Load modules from directories without version
it used to be that for both directory and zip you only needed the mod name, version number was option. then they forced version number on both.darkfrei wrote: ↑Thu Jan 17, 2019 8:11 amWhy mod folder must have the same name as mod archive? All players download archives and never unpack them. They are need only archive files with mask mod_name.0.0.1.zip, but inside can be just mod_name folder, or folder with any name, if inside of it is correct info.json file.
I'm perfectly fine with version number on zip file, it makes sense, but not so much for just a folder.
Re: Load modules from directories without version
That's already the case. This mod works just fine:
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.