LegendaryExplorer
LegendaryExplorer copied to clipboard
Feature: Convert export to import
Is your feature request related to a problem? Please describe. Being able to convert an export to an import would be a nice feature, for users who really know what they're doing. It's also useful when designing merge mods because you want the merge file to be as small as possible.
Describe the solution you'd like A right click option to convert an export to an import would be nice. It'd need to do a references check and then replace all of them with a relink, which I did in VTest to compact out a few references during porting. Using a custom map with the RelinkerOptionsPackage I could essentially scope the relink to remap the export to import.
The item would be in a menu such as this:

Describe alternatives you've considered Doing it manually is pain. It's also pretty technical, and is likely beyond the feasibility of a lot of developers.
Additional context We'd probably need to have a dialog if the import would fail to resolve. There's a few LE1 instances related to sound files where this could occur, as well as things like LE2's incorrectly named OmgHub area which don't work with import lookup.
I'm also not sure how we would determine which package file contains the class of the class. But it could probably just be auto-guessed.