@Bud got a few more questions for you, hope you'll be able to help me out with them. I worked a bit more on the automated patching tool and so far I'm able to automatically patch the basic, advanced and christmas patches. However not everything seems to work as expected.
BasicAccording to the toolbar-config.xml there should be a
<ToolBar name="measure_five_spots"/>
option, however that one seems to be absent from the menu. I see 7 options in the measurement menu, but none of them is the 5 spots option. Any ideas?
AdvancedSo far seems to work! I did get some additional recording options and a medical color palette. Need more testing to see if it's working properly.
ChristmasI followed your steps and added the
.caps.config.ui.measure.presetException text "userPresets"
to the CFG. The options appeared in the main menu, however when selecting them I only see a black screen with an overlay menu. Also, the measurement menu suddenly only has three options. I also tried adding <Toolbar name="measure_user_1"/> to toolbar-config.xml, but that didn't do much either. Just like with the basic patch, somehow not all toolbare options seem to appear in the measurement menu. Any thoughts?
The patches are all located here, feel free to take a look at it, perhaps I missed some files?
https://github.com/MarByteBeep/flirmod/tree/main/data/patchesAll files should be identical to the patches on this forum. I only added a dependencies.json for each patch in which I define which patches need to be applied first. This json will obviously not be synced to the camera.
How the tool applies an update?
* collect all files for the patch (+its dependencies)
* verify all RSC files for correct CRCs
* rebuild the conf.cfc based on the conf.cfg and verify that.
* automatically connect through ftp to the camera
* only if there is no error, upload all patched files to the camera
* reboot the camera (although it sometimes requires a "hard" battery-remove reset for changes to become available)
TODO:
* automatically mod the common_dll.dll, but I'm a bit hesistant on reverting back to my original dll to test that, as I don't want to brick the camera
* if user made backup, verify that backup is original (ie., check for unmodded dll and cfc containing signature), restore camera back to factory backup so user can sell it.
That's it for now. Hopefully you can shed some light on the measurement menu problems.