Orvid / Champollion

A PEX to Papyrus Decompiler for Skyrim, Fallout 4 and Starfield
GNU Lesser General Public License v3.0
106 stars 20 forks source link

Failing for compiling Papyrus script using ELSifyEverything #15

Closed jsbrando closed 1 year ago

jsbrando commented 1 year ago

Here's a manual list of issues I'm seeing when trying to recompile with the tool.

(base) PS E:> cd '.\SteamLibrary\steamapps\common\Skyrim Special Edition\Papyrus Compiler\' (base) PS E:\SteamLibrary\steamapps\common\Skyrim Special Edition\Papyrus Compiler> .\PapyrusCompiler.exe "D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ChangedScripts" -q -f="TESV_Papyrus_Flags.flg" -a -i="D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts" -o="F:\Skyrim Special Edition - Latest Build\mods\ESLify Everything - Outputs\Scripts" D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts\SKI_ConfigBase.psc(10,30): no viable alternative at input '_currentPage' D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts\SKI_ConfigBase.psc(14,32): no viable alternative at input '_textBuf' D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts\SKI_ConfigBase.psc(14,41): required (...)+ loop did not match anything at input 'AutoReadOnly' D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts\SKI_ConfigBase.psc(14,9): Unknown user flag _textBuf D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(642,15): UnregisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(691,7): SendModEvent is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(692,7): UnregisterForAnimationEvent is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(697,9): UnregisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(701,9): UnregisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(705,9): UnregisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(709,9): UnregisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(713,9): UnregisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1322,7): UnregisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1323,7): UnregisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1324,7): UnregisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1325,7): UnregisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1326,7): UnregisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1328,9): RegisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1331,9): RegisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1334,9): RegisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1337,9): RegisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1340,9): RegisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1408,7): SendModEvent is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1538,7): UnregisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1539,7): UnregisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1540,7): UnregisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1541,7): UnregisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1549,13): SendModEvent is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1552,13): SendModEvent is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1556,15): SendModEvent is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1597,19): RegisterForSingleUpdate is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1601,19): RegisterForSingleUpdate is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1622,13): SendModEvent is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1624,11): RegisterForAnimationEvent is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1639,9): RegisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1642,9): RegisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1645,9): RegisterForKey is not a function or does not exist D:\Modding Tools\SSEEdit\SSEEdit 4.0.4\ESLifyEverything\ExtractedBSAModData\Source\Scripts_snskyuiconfig.psc(1648,9): RegisterForKey is not a function or does not exist No output generated for _sndlcquestscript.psc, compilation failed.

nikitalita commented 1 year ago

I can't tell from the names of the scripts which mods they belong to. Can you please post that info? I need the original mods if I'm going to be able to recreate the issue.

jsbrando commented 1 year ago

I know a couple of the mods were: iNeed Dangerous Diseases Wet & Cold

I've had a few others, but don't recall which ones they were...

nikitalita commented 1 year ago

Can you please post the full modlist from your mod organizer or whatever?

jsbrando commented 1 year ago

Work in progress

nikitalita commented 1 year ago

Yeah, that's over 3000 lines long and not particularly useful. Just make sure that you're using the latest Champollion in the releases section.

Michael-wigontherun commented 1 year ago

Jsbrando do you use MO? If you do go to the data page and search for "Scripts_snskyuiconfig.pex" without the ", and report what mod it says it comes from.

Michael-wigontherun commented 1 year ago

With the link to the download page.

jsbrando commented 1 year ago

As you can see, that script you list isn't found. The only script I find with 'skyuiconfig' as the last part is shown here.

Wet & Cold

Michael-wigontherun commented 1 year ago

At the bottom of that page, click to check mark the Archives, refresh MO2, then search for "_sndlcquestscript.pex" and "_snskyuiconfig.pex" without the ". I think the console output may have not picked up the \ after scripts in the file path. Because that is where the source scripts are located.

jsbrando commented 1 year ago

Ah... gotcha.... I'd never given 'Archives' much thought since it wasn't able to be checked. Found I had to enable the 'experimental' feature in settings. Here you go... Only mod listed with that script: iNeed - Food, Water and Sleep - Continued. One of the ones I called out above.

jsbrando commented 1 year ago

@nikitalita let me know if you need further information or testing. I'm motivated to help you resolve this bug.

nikitalita commented 1 year ago

Thanks for the additional info!

I think I've fixed the issue now; can you please give the artifacts here a try to see if this fixes the issue? https://github.com/Orvid/Champollion/actions/runs/4093567166

jsbrando commented 1 year ago

Testing it now.

jsbrando commented 1 year ago

Nice! That appears to have resolved this issue. At least with that script from iNeed. You can close this issue and if I run into another, I'll open a new bug and link this one to it for reference. Thanks, @nikitalita & @Michael-wigontherun! Cheers, Jason