otavepto / gbe_fork

Fork of https://gitlab.com/Mr_Goldberg/goldberg_emulator
https://gitlab.com/Mr_Goldberg/goldberg_emulator
GNU Lesser General Public License v3.0
183 stars 51 forks source link

[Feature Request] Custom settings for generated configs #229

Open JS299990 opened 1 week ago

JS299990 commented 1 week ago

Hi there. If it's not too much trouble to implement, could you give us a way to have certain settings always included in the generated config?

alex47exe commented 1 week ago

I'm currently doing this through a modified generate_emu_config Among other tweaks, it uses ConfigObj to properly read from ./DEFAULT/0 (always), ./DEFAULT/preset_no (1-5, always) and ./DEFAULT/appid (optional, used only when generating for that appid), then write them (along with other existing files in preset folders) to ./OUTPUT/appid Needs a bit more polishing though. When ready, it will be added to gse_fork

JS299990 commented 1 week ago

I'm currently doing this through a modified generate_emu_config Among other tweaks, it uses ConfigObj to properly read from ./DEFAULT/0 (always), ./DEFAULT/preset_no (1-5, always) and ./DEFAULT/appid (optional, used only when generating for that appid), then write them (along with other existing files in preset folders) to ./OUTPUT/appid Needs a bit more polishing though. When ready, it will be added to gse_fork

Thank you so much!