nuhrin / pandafe

"Universal" SDL frontend for Pandora
GNU General Public License v3.0
5 stars 0 forks source link

integrate OVR editor into PND game context menu #8

Closed can-derson closed 10 years ago

can-derson commented 11 years ago

From porg:

You mention to offer file/folder renaming/moving options (for ROM genres). If this feature comes, it would be nice if in the frontend PND genres could be edited the same way, and in the backend Pandafe handles to write that info to the appropriate override files.

XFCE has no interface for this. AFAIR MiniMenu has editing capabilities for sub/categories but enforces to chose from existing genres and if you set a custom genre it fails, or it fails in both cases, am not sure anymore. Anyhow, there is the utility OVR editor from Caine. Nevertheless I'd love to see an integrated solution, especially as individual action (per-file) and overall consequence (in interlaced/aggregated view(s)) are better perceivable.

Great idea, will try to work on that.

nuhrin commented 11 years ago

I looked into this a few days ago, out of interest. The .ovr files use the same format as config files in /etc/pandora, and libpnd uses the same methods to parse them. They can therefore be modified via libpnd like any other config file.

Since my libpnd vala wrapper, pandora-glib, already contains an object model for reading and writing config files, adding an ovr file interface was fairly straightforward, so I've done so: https://github.com/nuhrin/pandora-glib/commit/dcaf2a691e420df5b03dd841679cac32d0f61a81

I did some minimal testing within pandafe and it works just fine, so this enhancement shouldn't be too much trouble. The main work will be in the logic and the interface, which is the best case I could have hoped for.

I'll plan on including this along with release of the rom file/folder management interface, when both are completed enough to be usable.

porg commented 11 years ago

Great news!

nuhrin commented 10 years ago

This has been implemented and released in 0.3.0 as part of the new "Manage App" interface in the context menu for app-based games.