I apologize for never responding. Life has gotten in the way of anything computer related...
No problem.
I just tried the changes and I am able to load my saved game now; however, I get an error when attempting to start a fresh new game.
Sorry! I've tested with new games, with loading existing games that already included "minime" and existing games where it was added. I've also tried with different mods that may add new characters or other character selectors (because the GUI should be in sync with the really active character if another mod changes that). But I've completely forgotten to test this mod in stand-alone mode. So many gotchas!
Also, I gloriously messed up by trying to be clever and remove GUI-related event handlers if they aren't needed. Too bad that this also included on_player_joined_game! It's already past 5am, so I'm too tired to fix that now. As a quick workaround, please change lines 385-388 of control.lua to this:
-- Unregister handlers for GUI-related events if the game has no more than one character!
-- if table_size(global.minime_characters) < 2 then
-- detach_events()
-- end
That way, init_player() will be called, the tables will be initialized, and the game should be able to start.
Is there anyway you can put all the changes made to support the other character changing mods behind a mod check?
Not really. The main reason is that I want the mod to be universally usable, so that it would work even with mods I don't know about. But I can't add checks for mods I don't know about. :-)
I will continue to use 0.0.13 which works just fine for what I want to do.
Maybe a startup setting to disable the character selector part would do the trick? That way, I won't have to listen to any events regarding the GUI and inventories, which should improve performance if you want to play with just one character.