aardin Posted June 2, 2020 Posted June 2, 2020 Hey Guys, Sorry if this is not the correct place to post this, I'm having a problem while compiling a script that uses AAF. I get the Following errors whether i compile from the CK or from a batch file. D:\Games\steam\steamapps\common\Fallout 4\Papyrus Compiler\AAF_MainQuestScript.psc(0,0): filename does not match script name: "aaf:aaf_mainquestscript" expected: "aaf_mainquestscript" D:\Games\steam\steamapps\common\Fallout 4\Papyrus Compiler\AAF_MainQuestScript.psc(0,0): filename does not match script name: "aaf:aaf_mainquestscript" expected: "aaf_mainquestscript" D:\Games\steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\aaf\AAF_API.psc(0,0): filename does not match script name: "aaf:aaf_api" expected: "aaf_api" D:\Games\steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\aaf\AAF_API.psc(0,0): filename does not match script name: "aaf:aaf_api" expected: "aaf_api". This is the contents of my compiler batch file, PapyrusCompiler.exe %1 -f="Institute_Papyrus_Flags.flg" -i="D:\Games\steam\steamapps\common\Fallout 4\Data\Scripts\Source\Base;D:\Games\steam\steamapps\common\Fallout 4\Data\Scripts\Source\User;D:\Games\steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\aaf;D:\Games\steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\BBM;D:\Games\steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DCC;D:\Games\steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\DD;D:\Games\steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\four_play;D:\Games\steam\steamapps\common\Fallout 4\Data\Scripts\Source\User\FPA" I have the .psc I'm trying to compile in the Papyrus Compiler Folder and just drag it to the .BAT file My Folder structure for the scripts folder is like this, Data\Scripts\Source\Base, CreationClub, DLC01, DLC02, DLC03, DLC04, DLC05, DLC06, Torture Devices and User Under User are all the other Mod Script Source folders such as AAF, BBM, DCC, DD, Four_play, FPA, Fragments, RSE and others Any Help appreciated.. 1
Seijin8 Posted June 2, 2020 Posted June 2, 2020 49 minutes ago, aardin said: filename does not match script name: "aaf:aaf_mainquestscript" expected: "aaf_mainquestscript" Seems a straightforward thing to fix. 1
stonicat Posted October 28, 2022 Posted October 28, 2022 This is a bit late but have you found what's causing it? I'm having the same issue 1
Unspec Posted January 13, 2023 Posted January 13, 2023 On 10/28/2022 at 5:43 PM, j397liu said: This is a bit late but have you found what's causing it? I'm having the same issue Same. It seems like plenty of people run into this issue but no one ever posts a solution. 1
BOS_111 Posted January 13, 2023 Posted January 13, 2023 (edited) 2 hours ago, Unspec said: Same. It seems like plenty of people run into this issue but no one ever posts a solution. I'm having this exact problem at the moment as well. Help would be greatly appreciated about what to do. I'm seeing the same format for many of my other AAF scripts as well so I'm left wondering if it's supposed to be "aaf:aaf_mainquestscript" instead of "aaf_mainquestscript." Edited January 13, 2023 by BOS_111 1
sgtlev Posted January 18, 2023 Posted January 18, 2023 same here , than make me crazy since 3 days now is the last error than i got after config alll and i have no fucking idea to how fix that .... we can't rename it ... first because the name is exactly the same than expected xD .. and 2 cause that could breack all the mods using it .. and like you , thread after thread .. no clues .. no solution or help .. are we cursed ?
dalover Posted July 25, 2023 Posted July 25, 2023 (edited) 3.9 When I try to compile namespaced scripts outside the Creation Kit, my scripts always fail to compile. Help! Edit: A project file is not mandatory. It seems to boil down to: Do NOT import namespace folders. ScriptCompile.bat that works for me (obviously you have to adjust the paths to your installation): Spoiler REM ScriptCompile.bat "C:\SteamLibrary\steamapps\common\Fallout 4\Papyrus Compiler\PapyrusCompiler.exe" %1 ^ -flags="Institute_Papyrus_Flags.flg" ^ -import="C:\SteamLibrary\steamapps\common\Fallout 4\Data\scripts\source\user";"C:\SteamLibrary\steamapps\common\Fallout 4\Data\scripts\source\base" ^ -output="C:\SteamLibrary\steamapps\common\Fallout 4\Data\scripts" Note to self: The F4SE source scripts must reside in <steamfolder>\steamapps\common\Fallout 4\Data\Scripts\Source\Base Edited August 3, 2023 by dalover Edited again 1
Dead God Posted November 14, 2023 Posted November 14, 2023 A little late, but for anyone who comes across looking for the answer...the AAF scripts need to be in Fallout4\Data\Scripts\Source\User\AAF rather than having the content loose in the source/user folder in general, a script named namespace:scriptname needs to be in data\scripts\source\user\namespace.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now