descawed / tesconvert

A tool for converting player characters between The Elder Scrolls III: Morrowind and The Elder Scrolls IV: Oblivion
0 stars 0 forks source link

Morrowind <-> Oblivion mapping #3

Closed descawed closed 4 years ago

descawed commented 4 years ago

Need to make a mapping of which Morrowind items correspond to which Oblivion items and vice versa. This should be distributed with the program but also user-editable in case they want to map something added by a mod. I'm thinking of the following format for the mapping file:

<Oblivion plugin file 1>
<Morrowind ID 1>:<Oblivion form ID 1>
<Morrowind ID 2>:<Oblivion form ID 2>
...
<Morrowind ID N>:<Oblivion form ID N>
<Oblivion plugin file 2>
<Morrowind ID 1>:<Oblivion form ID 1>

The full form ID will be calculated based on where in the load order the plugin file is actually found. Hopefully it will be possible to use the same mapping for converting both ways. Compiling this mapping will be a huge pain in the ass; consider developing a separate tool using tesutil to find likely matches by name and editor ID.

descawed commented 4 years ago

Decided to just make this an INI file, as the format is essentially the same and we're already using an INI-parsing library. Current plan is that there will be a folder for each pair of games, currently only "mwob". Each will contain a default.ini which contains mappings for vanilla records between those two games. Users will be able to add other files to this directory with mod-specific mappings.

Currently only classes are mapped. I will map other record types as I get to the relevant features. I'll track that on the issue for those features, so I'm going to go ahead and close this one.