#13921 closed defect (wontfix)

Character ":" disallowed in .ini section names

Reported by: Klaitu Owned by: lephilousophe
Priority: normal Component: --Unset--
Version: Keywords:
Cc: Game:

Description

Unclear the source of this limitation, but most gameid's contain a colon. the result is that it's impossible to use a gameid as a section name in a custom ini file. Version 2.6.1

Change History (2)

comment:1 by i30817, 21 months ago

Umm. That's on purpose. Section game 'ids' are used in the command line interface, and to work in windows, they are made to be as short as possible and not use forbidden windows characters.

If you're thinking of using the 'real name' as some kind of ini filename for a external program, don't. Instead parse out the 'description' field and use it on a custom fileformat for that program (or just use the ini directly).

I did the same for the retroarch core in https://github.com/i30817/libretro-mkscumm which creates playlists for it from a scummvm ini file (if that's the program giving you problems, and not something else), because the playlist format had a field for a name that is free from the limits of 'forbidden characters'.

comment:2 by lephilousophe, 17 months ago

Owner: set to lephilousophe
Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.