Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/frostfall compatibility #31

Open
wants to merge 9 commits into
base: feature/frostfall-compatibility
Choose a base branch
from

Conversation

angrmgmt
Copy link

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
Owner

Odie commented Jan 14, 2019

Will merge when I stop being lazy! =)

@Miresoft
Copy link

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