Larian Studios
Posted By: thorborn Interface modding possible? - 25/09/17 01:50 PM
Hello

I'm curious if it's at all possible to mod the interface, like stacking several action bars on top of each other, or just reorganizing UI elements.

I've read that the previous game used some version of Flash for the interface, which made modding it practically impossible. Is this still the case?
Posted By: Larian_KVN Re: Interface modding possible? - 25/09/17 02:05 PM
It uses Flash indeed.
While it is possible to change how the UI looks:
1. Have Flash knowledge
2. Open the Flash related UI files
3. Change the visuals and recompile

Adding custom bars with custom buttons with new functionality is not possible as the engine code needs to handle whatever happens on clicking those buttons.
Posted By: Foodchain Re: Interface modding possible? - 25/09/17 02:51 PM
Originally Posted by Larian_KVN

2. Open the Flash related UI files


This part isn't happening without the *.fla files, which we don't have. All we have are the compiled *.swf files, which can't really be edited.

While we could create a new UI element to overwrite a current one it would be difficult getting any sort of interaction working without knowing the names of the functions to call in the action script.
Posted By: JimPanzee Re: Interface modding possible? - 25/09/17 03:51 PM
Originally Posted by Foodchain

This part isn't happening without the *.fla files, which we don't have. All we have are the compiled *.swf files, which can't really be edited.

While we could create a new UI element to overwrite a current one it would be difficult getting any sort of interaction working without knowing the names of the functions to call in the action script.


You can unpack the *.swf files with JPEXS [0] which gives you either the required ActionScript and *.fla files (Export to FLA), or you can unpack everything (Export all parts) which includes fonts, vector graphics etc.

[0] https://www.free-decompiler.com/flash/features/
© Larian Studios forums