While working on McLauncher, i created a program to make the process of adding mods to the download database easier.
I salvaged around some parts and decided i would share it. (the convert mod part)
Download V1.0 ConvertMod
How to use:
Save ConvertMod.jar anywhere, but preferably in your factorio directory.
When you open convert mod, Click Set Path and find the folder of the mod you want to convert. (must be a folder)
Select the mod folder, and click open at the bottom right of the GUI.
Click convert once.
It will display some information about the mod. (i left this in there just for show)
And it should work from my understanding! So far i have tested this on 4 different mods and it works first time.
What it does:
Lowercase the mod folder name.
replace spaces with dashes.
remove's the version at the end of the folder name. (sorry to those that want it, i know 0.11.0 will require it)
changes info.json to the mod folder name.
goes through every lua folder in the mod directory, and changes __MOD NAME__ to __mod-name__. (fixes pointers basically)
What it does not do:
add a version at the end of the mod folder name to make it 0.11.0 ready.
The changes are irreversible, Meaning if something happens while converting the mod, Sorry.
I am only sharing this to make it easier for the people who don't know how.
[Tool] Fix mod name lowercase (convert mod to 0.10.8)
Place to get help with not working mods / modding interface.
-
- Filter Inserter
- Posts: 337
- Joined: Fri May 30, 2014 4:23 am
- Contact:
[Tool] Fix mod name lowercase (convert mod to 0.10.8)
Post by OBAMA MCLAMA »
When i stream twitch i always answer questions and try to help, come visit me.
Jump to
- General
- ↳ Releases
- ↳ News
- ↳ General discussion
- ↳ Multiplayer
- ↳ Find Servers / Tools / Guides
- ↳ Show your Creations
- ↳ Videos
- ↳ Combinator Creations
- ↳ Mechanical Throughput Magic (circuit-free)
- ↳ Railway Setups
- ↳ Energy Production
- ↳ Medium/Big/Gigantic Sized Structures
- ↳ Fan Art
- ↳ Gameplay Help
- ↳ Spread the Word
- ↳ Off topic
- ↳ This Forum
- ↳ Celebration Party
- Support
- ↳ Gameplay Help
- ↳ Discover Factorio Wiki
- ↳ Discover Others Creations
- ↳ Discover Mods
- ↳ Discover Tools Around Factorio
- ↳ Technical Help
- ↳ Bug Reports
- ↳ Resolved for the next release
- ↳ Fixed for 2.0
- ↳ Assigned
- ↳ Not a bug
- ↳ Pending
- ↳ 1 / 0 magic
- ↳ Duplicates
- ↳ Minor issues
- ↳ Desyncs with mods
- ↳ Won't fix.
- ↳ Resolved Problems and Bugs
- Factorio Direction
- ↳ Ideas and Suggestions
- ↳ Outdated/Not implemented
- ↳ Frequently Suggested / Link Collections
- ↳ Implemented Suggestions
- ↳ Implemented in 2.0
- ↳ Development Proposals
- ↳ Balancing
- Contributions
- ↳ Mods
- ↳ Download mods
- ↳ Mod portal Discussion
- ↳ Mods
- ↳ Mod Packs / Libs / Special Interest
- ↳ 5dim's mod
- ↳ Angels Mods
- ↳ Atomic Power
- ↳ Bob's mods
- ↳ DyWorld
- ↳ F.A.R.L
- ↳ Fentus Challenge & Tool Mods
- ↳ Logistic Train Network
- ↳ MoMods
- ↳ Reika's Mods
- ↳ Resource Spawner Overhaul
- ↳ Yuoki Industries
- ↳ PyMods
- ↳ Questions, reviews and ratings
- ↳ Modding Discussions
- ↳ Modding discussion
- ↳ Modding help
- ↳ Ideas and Requests For Mods
- ↳ Modding interface requests
- ↳ Implemented mod requests
- ↳ Implemented for 2.0
- ↳ Already exists
- ↳ Won't implement
- ↳ Documentation Improvement Requests
- ↳ Resolved Requests
- ↳ Development tools
- ↳ Tools
- ↳ Mod and installation managers
- ↳ Cheatsheets / Calculators / Viewers
- ↳ Development tools
- ↳ Special interest mods and libraries
- ↳ Modding Development
- ↳ Multiplayer / Dedicated Server
- ↳ Multiplayer Board
- ↳ Archive
- ↳ Maps and Scenarios
- ↳ Translations
- ↳ Texture Packs
- ↳ Fan Art
- ↳ Wiki Talk
- ↳ To be sorted
- ↳ Campaign / Scenario suggestions