Page 1 of 1

Edit .map Files?

Posted: Sat Sep 09, 2023 9:23 pm
by RexMendicorvm

Is there any way to edit .map files or are they only configurable via the menu?


Re: Edit .map Files?

Posted: Sun Sep 10, 2023 8:15 am
by AngelicLiver

You should be mapping input devices in the MiSTer Main OSD initially and then in the individual cores.

There is lots of information about mapping input devices here, I think update_all also can be configured to download the pre-configured maps for most input devices.


Re: Edit .map Files?

Posted: Thu Sep 21, 2023 2:58 am
by Newsdee

What are you trying to do?

This may help:
https://github.com/MiSTer-devel/Gamecontrollerdb_MiSTer

There is a central configuration for each VID:PID (which this db helps handle by default) and then an option to map per core.

Cores can specify default mappings based on central config.

The .map file format is very simple (its just a binary dump), I forgot if the alternate mappings are done as two blocks (AAABBB) or interleaved (ABABAB) but it was one byte oer button. and the order of the OSD prompt (directions, ABXYLR, Select, Start, etc).

Personally I just remap in OSD, it only takes a minute.