Prototype Format Updater

by Braxbro

A mod that automatically attempts to migrate prototypes from older, non-supported formats. Intended for use as a temporary fix or diagnostic tool.

Tweaks
29 days ago
2.0
11
Owner:
Braxbro
Source:
https://github.com/braxbro/zzz-protot...
Homepage:
N/A
License:
MIT
Created:
29 days ago
Latest Version:
0.0.2 (29 days ago)
Factorio version:
2.0
Downloaded by:
11 users

Welcome to Prototype Format Updater.

Prototype Format Updater is a debugging tool designed to assist in fixing common prototype errors in hastily migrated mods. If you don't use debugadapter while debugging, there is a provided 'Enable debug mode' mod setting to keep the logging functions of this mod without suppressing errors.

It is also a patch mod to be used while awaiting simple fixes to these kinds of errors. While serving this function, the mod logs all prototype modifications it makes to assist in making bug reports. It also reminds you every 10 minutes so that you don't forget.

Currently, it only fixes the following issues:
- Outdated recipe formats (recipe.result and recipe.result_count instead of recipe.results)

More fixes will be added as I encounter more of these simple errors - they can also be added upon request.

How do I report a bug this mod fixes to another mod?

First, under your Factorio settings, change the following:
Interface -> Tooltips -> 'Show mod owners in tooltips' - tick this box, if it's unticked.

Now, you should see mod names in various tooltips indicating which mods created and modified items, recipes, and more. If you see any with Prototype Format Updater in the chain, you've found something this mod has fixed.

Now, you can simply tell the original mod's owner that the thing in question is bugged, or you can go deeper. If you press F4 (open the debug menu) and enable 'show-debug-info-in-tooltips' and hover over it again, you can find the prototype name of the 'something' in question. In the log, that name will appear as Prototype Format Updater prints the modifications it makes during the data stage.

This gives you more possibly useful info to provide with your bug report.