The Extended Favorites Menu (EFM) provides additional favorite slots.
These are required for end users of the final distribution.
These tools were helpful in the development of this project.
These are not required, just neat and worth checking out.
This section has links to some useful documentation.
These were the steps taken to restore the vanilla Favorites menu to a functional state post-export from FFDec.
Disable the "Automatically declare stage instances" option on the Flash document publish settings.
The item icon background, known as FFDec export Symbol 40
, should have the shape's alpha color set to zero.
This shape is intended to be invisible, but it needs to exist for some code based bounds testing for the actual loaded icon art.
You will notice that all the TextField
object are set to use Times New Roman
after FFDec export, but this is incorrect.
That is merely the operating system default because FFDec doesn't export the text linkage to external RSL font libraries correctly.
First create a new Font
symbol which is a Flash library object like MovieClip
and Shape
.
This Font
symbol by default will specify meta data about a font on your OS, and then directly embed that font TTF directly into your published SWF.
Make sure to visit the "Actionscript" tab of the font embed window and find the Linkage section.
Make sure the font has a unique class definition and has Export for Actionscript
and Export in frame 1
checked.
Then you would go back to all the TextField
in the menu and change it from Times New Roman
, to your Font
symbol.
You will see these appear in the font selection drop down as entries suffixed with a *
. Choose those.
The favorites menu should use the class name $MAIN_Font_Bold
, which represents the NB Architekt
font, for all text fields in the menu.
Some useful notes worth writing down.
To read log files as they are written to, you must use a text editor or shell capable of "tailing" a text file. By default, Windows Notepad, VS Code, and many other text editors don't support reading live log files. A program like SnakeTail for Windows or your choice between several VSC extensions can handle this well. Without a text editor capable of log tailing, the text within the log file will not appear to update until the game is closed, or whatever application has a file-lock on any given text file.
Use SFSE to re-enable Scaleform logging.
Create the \Data\SFSE\SFSE.ini
file and save this setting.
[Scaleform]
EnableLog=1
You can override individual PPJ settings on the command line.
PapyrusCompiler.exe "MyProject.ppj" --output="x:\some\other\directory"
For debugging, or in the event of a soft-lock, it is possible to open/close a menu by name using the in-game developer console.
ShowMenu FavoritesMenu
HideMenu FavoritesMenu
PAM
Force reloads a Papyrus script while the game is running.
Each changed script in a script's inheritance chain needs to be reloaded separately.
Quotes are required when the script has a namespace represented by the :
character
ReloadScript "EFM:FavoritesMenuType"
ReloadScript "EFM:FavoritesMenu"
Adobe Animate will load commands from this directory on Windows by default. See Flash Command | Report Textfield Font Configuration.jsfl for help hunting down all the TextField instances within any opened Flash document.
C:\Users\YourUserName\AppData\Local\Adobe\Animate 2024\en_US\Configuration\Commands\Report - Textfield Font Configuration.jsfl