SCToolsfactory / SCJMapper-V2

SC Joystick Mapper (.Net 4; using sharpDX wrapper)
Other
137 stars 30 forks source link

loading exported XML from SC #89

Open mazzo23 opened 4 years ago

mazzo23 commented 4 years ago

i try to load an exported xml profile created in SC into SCJmapper... the xml does not load (show up in the editor window) when i go to the exported profile in the dropdown (select one with the RIS icon exported from SC) and then click a load option... any preconfigured XML (like layout_hotas_g940) can load and is shown in the editor. maybe i missed something to load it? not sure

awesome Tool!! <3 THX!

bm98 commented 4 years ago

Had this in the CIG forum the other day - so this is a bit a copy of the answer there..

The exported ones from the game and the ones created by SCJM don't mix well as I include the device IDs to sort the mapping out rather than relying on the jsN number. Also there are various ways to create an own file and SCJM just uses one way. I do not track the exports format from the game anymore as it has changed in the past and was hard to keep up with. The presets you mentioned from the game are simpler than exports and have not changed in years to the format is still recognized by the tool.

In general you start with a new one or try to copy and paste from a game export. Then use pp_rebindkeys to load rather than importing in the game. Use either method or the other but don't mix both - may not work as expected. I recall that the device options are likely not recognized - and not all options are catched by SCJM i.e. it supports only 3 points for non linear (that is usually enough to make any curve)