[Fixed][Not an Issue][User Error] Updating
- BraveCaperCat
- Filter Inserter
- Posts: 407
- Joined: Mon Jan 15, 2024 10:10 pm
- Contact:
[Fixed][Not an Issue][User Error] Updating
Hi! When I try to add new features to my mod, nothing happens. I removed some logging and the logging still happens when I load the game up. I am using the correct version of the mod, I checked myself. The only thing that's different since I was last able to add mod features is that I installed github desktop. I don't think that would do anything.
Last edited by BraveCaperCat on Mon Dec 02, 2024 10:29 am, edited 1 time in total.
Creator of multiple mods, including Quality Assurance - My most popular one.
Go check them out with the first and second links!
I'll probably be wanting or giving help with modding most of the time I spend here on the forum.
Go check them out with the first and second links!
I'll probably be wanting or giving help with modding most of the time I spend here on the forum.
Re: [2.0] Updating
This may seem like a stupid question, but are you sure you're starting the game with the same version of the mod you've edited? If the game was started with the zipped mod, but you've been editing the folder version, your changes wouldn't be applied. Also, changing localization files and changelog, or adding new migration files, won't take effect until you restart the game. Just asking because those things have happened to me more than once, so I know they really can be a thing.BraveCaperCat wrote: ↑Sat Nov 30, 2024 10:07 pm Hi! When I try to add new features to my mod, nothing happens. I removed some logging and the logging still happens when I load the game up. I am using the correct version of the mod, I checked myself. The only thing that's different since I was last able to add mod features is that I installed github desktop. I don't think that would do anything.
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!
- BraveCaperCat
- Filter Inserter
- Posts: 407
- Joined: Mon Jan 15, 2024 10:10 pm
- Contact:
Re: [Fixed][Not an Issue][User Error] Updating
The save file was started with a zipped copy of the mod - but I removed that when I started developing. Yes, I restarted the game.Pi-C wrote: ↑Sun Dec 01, 2024 6:16 amThis may seem like a stupid question, but are you sure you're starting the game with the same version of the mod you've edited? If the game was started with the zipped mod, but you've been editing the folder version, your changes wouldn't be applied. Also, changing localization files and changelog, or adding new migration files, won't take effect until you restart the game. Just asking because those things have happened to me more than once, so I know they really can be a thing.BraveCaperCat wrote: ↑Sat Nov 30, 2024 10:07 pm Hi! When I try to add new features to my mod, nothing happens. I removed some logging and the logging still happens when I load the game up. I am using the correct version of the mod, I checked myself. The only thing that's different since I was last able to add mod features is that I installed github desktop. I don't think that would do anything.
Last edited by BraveCaperCat on Mon Dec 02, 2024 10:29 am, edited 1 time in total.
Creator of multiple mods, including Quality Assurance - My most popular one.
Go check them out with the first and second links!
I'll probably be wanting or giving help with modding most of the time I spend here on the forum.
Go check them out with the first and second links!
I'll probably be wanting or giving help with modding most of the time I spend here on the forum.
Re: [2.0] Updating
If you've removed logging and the logging still happens, the reason must be that for some reason the/an old version is used. Did any dependencies change, perhaps? Is info.json correct?BraveCaperCat wrote: ↑Sun Dec 01, 2024 11:40 amThe save file was started with a zipped copy of the mod - but I removed that when I started developing. Yes, I restarted the game.Pi-C wrote: ↑Sun Dec 01, 2024 6:16 am…BraveCaperCat wrote: ↑Sat Nov 30, 2024 10:07 pm Hi! When I try to add new features to my mod, nothing happens. I removed some logging and the logging still happens when I load the game up.
From personal experience I know that info.json is easy to break (e.g. if there is a comma after the last entry of the "dependencies" field). If info.json isn't parsed correctly, the game would fall back to using the next version (either the zipped mod with the same version as the folder version, or a lower version – first folder, then zipped). Also, check mods/mod-list.json for a "version" field in the entry of your mod. If it is set, the mod will be locked to that version.
A good mod deserves a good changelog. Here's a tutorial (WIP) about Factorio's way too strict changelog syntax!
- BraveCaperCat
- Filter Inserter
- Posts: 407
- Joined: Mon Jan 15, 2024 10:10 pm
- Contact:
Re: [Fixed][Not an Issue][User Error] Updating
1. I have never touched info.json since technically - it's not my mod, it's Real Celestial Universe - a WIP mod by me, PlexPt and GemMaxweLlX (Github usernames used here)Pi-C wrote: ↑Sun Dec 01, 2024 2:38 pmIf you've removed logging and the logging still happens, the reason must be that for some reason the/an old version is used. Did any dependencies change, perhaps? Is info.json correct?BraveCaperCat wrote: ↑Sun Dec 01, 2024 11:40 amThe save file was started with a zipped copy of the mod - but I removed that when I started developing. Yes, I restarted the game.Pi-C wrote: ↑Sun Dec 01, 2024 6:16 am…BraveCaperCat wrote: ↑Sat Nov 30, 2024 10:07 pm Hi! When I try to add new features to my mod, nothing happens. I removed some logging and the logging still happens when I load the game up.
From personal experience I know that info.json is easy to break (e.g. if there is a comma after the last entry of the "dependencies" field). If info.json isn't parsed correctly, the game would fall back to using the next version (either the zipped mod with the same version as the folder version, or a lower version – first folder, then zipped). Also, check mods/mod-list.json for a "version" field in the entry of your mod. If it is set, the mod will be locked to that version.
2. The version of the mod I was working on (My copy) was on 1.0.20 with no problems prior to my edits - the current version is 1.1.2 now.
3. The issue was that github desktop created the repo in a folder inside the mod folder (which would be inside the zip if zipped, I didn't do this though) so I've moved the contents of the inner folder to the outer folder and removed the inner folder. I did have to restart my code editor, but that isn't the end of the world.
Creator of multiple mods, including Quality Assurance - My most popular one.
Go check them out with the first and second links!
I'll probably be wanting or giving help with modding most of the time I spend here on the forum.
Go check them out with the first and second links!
I'll probably be wanting or giving help with modding most of the time I spend here on the forum.