I have an idea to improve the organization of folder structure used for roms, save states, etc
The objective its keeping the different types of files separate by platform, to avoid override files in case of game was released in multiple platforms (which keeps the same name file), and also make easier the task of backing up save states and save data, and cleaning temporary files.
Here an example used for megadrive core, those folders should be created previously and get permission from the user (“pi”) to work properly
input_remapping_directory = /home/pi/RetroPie/input_remapping/megadrive/
extraction_directory = /home/pi/RetroPie/tmp/megadrive/
savefile_directory = /home/pi/RetroPie/srm/megadrive/
savestate_directory = /home/pi/RetroPie/sstate/megadrive/