Skip to content

Feature/frostfall compatibility#31

Open
angrmgmt wants to merge 9 commits intoOdie:feature/frostfall-compatibilityfrom
angrmgmt:feature/frostfall-compatibility
Open

Feature/frostfall compatibility#31
angrmgmt wants to merge 9 commits intoOdie:feature/frostfall-compatibilityfrom
angrmgmt:feature/frostfall-compatibility

Conversation

@angrmgmt
Copy link
Copy Markdown

Implemented Frostfall Compatibility by diff/merge with files available at https://github.com/chesko256/Campfire. Edits to squash bugs.

Edited the 25 AS scripts needed to support the 6 SWF files modified by Chesko to enable Warmth/Coverage display in SkyUI for Frostfall.  JPEXS was used for SWF decoding, WinMerge was used to diff/merge, forwarding changes from SkyUI VR to outdated files provided by Sthagg for Frostfall SE support.
Trying with non-decompiled source files from both repos.  Same diff/merge process.  Found a trial of Adobe Flash Pro CS6.  Cross fingers.
Took out a duplicated definition for SetPlatform in ContainerMenu.as that I accidentally left in.

Re-built with CS6 and it runs in-game, now just need the frames to display values instead of variable names.
Uncommented debug lines and prepended source file name to log text.  Did some cleanup as it appears it has been a while since these needed testing.

Enabled `FetchProtectionDataForList` in CraftingMenu.as for testing.

Built and tested in-game:  After completing Frostfall quest via MCM, warmth/coverage values display in ItemCard (though not overall values at bottom of inventory).  All spells/powers added as appropriate.  Weathersense does not work inside (as expected) but correct "error" is given.  Active Effects show current exposure.

Log file results puzzling in context... perhaps those are more deprecated than I thought...
Finally figured out that you have to "Break Apart" the items in the timeline to actually see their pieces.  Not a fan of the "IDE", would much rather write UI code.

Regardless, updates to all screens are now complete.  Code is merged (hopefully correctly) and all that remains is to test as extensively as possible... with user support!  :)
Fixed a leak caused by some weird list->element->list recursion in CraftingMenu.  Moved logging in BottomBar to a more useful place in the logic, and homogenized it.
 Took some notes.  Trying to track down erroneous display of '0undefined' in BottomBar when viewing non-equipment items.
Found and fixed the display of 0 and undefined when previous coverage delta was undefined.  Maybe overkill but if I can't maintain it...
Removed debug logging.
@Odie
Copy link
Copy Markdown
Owner

Odie commented Jan 14, 2019

Will merge when I stop being lazy! =)

@Miresoft
Copy link
Copy Markdown

I would really like to have this feature "officially" supported. Still being lazy? ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants