Use a Makefile (and patches) for selecting the proper camera, and an *.ini file to save panel settings.