Jump to content
  • Building the Modpack

    After making the changes you've always wanted, it's time to put everything together.

    Setting the 3DS output

    If you're editing 3DS ROMs, you may want to choose what kind of output you want. By default, it will output a folder whose contents you paste onto your 3DS's SD card for use with Luma 3DS game patching, but you can choose a variety of other formats. Refer to this section for instructions.

    Building

    Luckily, this is a one-step process. Simply click Solution > Build:

    image.png

    Sky Editor will start doing a lot of things:

    image.png

    Then it will open up another form that applies all your changes to a ROM so you can try it out. Don't touch this window:

    image.png

    When it's all done, "Modpack"'s status should be Complete:

    image.png

    The files you want are on disk under (Solution Directory)/Modpack/Output. You should see two things: a zip file, and a either a NDS ROM, 3DS ROM, or a directory labled "SD Card". The zip file is the distributable patcher. You can give this to anyone you want, and they'll be able to apply your changes to their ROM. The other thing is the result of the patches for your use only. Do not distribute this, as it is illegal to share ROMs even if they are modified.

    Edited by evandixon



    User Feedback

    Recommended Comments



    I  have a question I actually don't know how to get the rom I have the sd card folder but what do i do with it

    Share this comment


    Link to comment
    Share on other sites
    19 hours ago, Scupake said:

    I  have a question I actually don't know how to get the rom I have the sd card folder but what do i do with it

    That depends on how you want to run the hack. If you have Luma 3DS, simply enable game patching in the settings menu (hold select on boot), then copy the contents of the SD Card folder to your SD card. If you want a ROM for Citra, Gateway, Sky 3DS+, etc, then you'll need to choose an appropriate option in the modpack settings:

     

    Share this comment


    Link to comment
    Share on other sites

    I'm trying to build the mod, but I do the process, and after seemingly finishing with no problems, there is nothing in the "ModPack\Output" folder. I go back to the editor, and this error is there:

    Quote
    System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Users\[name redacted]\Downloads\SkyEditor.ROMEditor.UI.WPF Build 212\DotNetNdsToolkit.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)
    File name: 'file:///C:\Users\[name redacted]\Downloads\SkyEditor.ROMEditor.UI.WPF Build 212\DotNetNdsToolkit.dll' ---> System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
      at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
      at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
      at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
      at System.Reflection.Assembly.LoadFrom(String assemblyFile)
      at SkyEditor.Core.Utilities.ReflectionHelpers.LoadSingleAssembly(String assemblyPath)
      at SkyEditor.Core.Utilities.ReflectionHelpers.GetAssemblyDependencies(Assembly source)
      at SkyEditor.Core.Utilities.ReflectionHelpers.GetAssemblyDependencies(Assembly source)
      at DS_ROM_Patcher.ModBuilder.CopyPatcherProgram(String modpackDirectory)
      at SkyEditor.ROMEditor.Projects.DSModPackProject.VB$StateMachine_35_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Projects\DSModPackProject.vb:line 193
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<BuildProjects>d__39.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<Build>d__38.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<Build>d__37.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.DSModSolution.VB$StateMachine_5_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\DSModSolution.vb:line 60
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.ApplicationViewModel.TaskProgressReporterWrapper.<Start>d__32.MoveNext()
     

    All I'm trying to do is replace two starters with Petilil and Honedge. I have no idea what's going wrong.

    Share this comment


    Link to comment
    Share on other sites
    On 12/31/2018 at 2:50 PM, pearsth said:

    System.ArgumentNullException: Value cannot be null.
    Parameter name: path2
      at System.IO.Path.Combine(String path1, String path2)
      at SkyEditor.Core.IO.PhysicalIOProvider.WriteAllBytes(String filename, Byte[] data)
      at SkyEditor.Core.IO.GenericFile.<Save>d__84.MoveNext()

    I'm sorry for the late reply. I must have missed the notification for your post.

    I just pushed an update that fixes this, which can be downloaded here.

    On 12/31/2018 at 2:50 PM, pearsth said:

    I am also confused regarding the stack trace.  What is up with the directories staring with "C:\BuildAgent...."  I don't have such a directory with the installation instructions.  Did I miss something?  Thanks!

    Those are the paths to the source code on the machine that built the program, i.e. my build agent. The C:\BuildAgent part doesn't really mean much, but it's super helpful seeing which lines of which files the errors occurred at.

    On 4/17/2019 at 11:45 AM, Quote Izkewl said:

    I'm trying to build the mod, but I do the process, and after seemingly finishing with no problems, there is nothing in the "ModPack\Output" folder. I go back to the editor, and this error is there:

    Quote

    System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch.

    All I'm trying to do is replace two starters with Petilil and Honedge. I have no idea what's going wrong.

    Please make sure you unblock the zip file before extracting it, as shown in the introduction:

    Quote

    Unblock the zip file. This can be done by doing the following:

    1. In Windows Explorer, Right-Click the zip file and click Properties.
      image.png
    2. Click or check Unblock. It may either be a button or a checkbox.
      image.png
    3. Click OK.

     

    Share this comment


    Link to comment
    Share on other sites

    When I try to load the Decrypted 3ds into Citra is causes memory issues (PSMD using the starter, portrait, and models mods) theres no error outputs when building, but the repeating mesage in citra is 
    HW.Memory <Error> core/memory.cpp:Read:189: unmaped Read32 @ [constantly increasing hex values]

     

    Share this comment


    Link to comment
    Share on other sites
    8 hours ago, Vali561 said:

    When I try to load the Decrypted 3ds into Citra is causes memory issues (PSMD using the starter, portrait, and models mods) theres no error outputs when building, but the repeating mesage in citra is 
    HW.Memory <Error> core/memory.cpp:Read:189: unmaped Read32 @ [constantly increasing hex values]

     

    Are you using the starter, portrait, and model projects all at once? The starter mod also modifies portraits and models by default, and the patcher doesn't currently know how to merge those patches. Please either try again without the portrait and model mods, or turn off the starter mod's portrait and model patching by right-clicking the project, clicking properties, unchecking those two options, and using File -> Save All.

    Share this comment


    Link to comment
    Share on other sites
    4 hours ago, evandixon said:

    Are you using the starter, portrait, and model projects all at once? The starter mod also modifies portraits and models by default, and the patcher doesn't currently know how to merge those patches. Please either try again without the portrait and model mods, or turn off the starter mod's portrait and model patching by right-clicking the project, clicking properties, unchecking those two options, and using File -> Save All.

    Thanks, Didn't realize that so thank you

    Share this comment


    Link to comment
    Share on other sites
    baki

    Posted (edited)

    When I try to build a Starter Mod on Gates to Infinity, I get the following errors and the editor doesn't build anything.
    The Starter Mod is perpetually stuck on 'Extracting Portraits....' in the build progress

    System.NotImplementedException: EU regions of GTI are not currently implemented.
      at SkyEditor.ROMEditor.MysteryDungeon.PSMD.Projects.PsmdStarterMod.VB$StateMachine_17_FixCodeBinGti.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\PSMD\Projects\PsmdStarterMod.vb:line 192
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.MysteryDungeon.PSMD.Projects.PsmdStarterMod.VB$StateMachine_29_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\PSMD\Projects\PsmdStarterMod.vb:line 790
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<BuildProjects>d__39.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<BuildProjects>d__39.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<Build>d__38.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<Build>d__37.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.DSModSolution.VB$StateMachine_5_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\DSModSolution.vb:line 60
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.ApplicationViewModel.TaskProgressReporterWrapper.<Start>d__32.MoveNext()

    Not a smart fellow, please help me!
    Thanks :)

    EDIT: Nevermind, I stopped being a PEBCAK and pulled a US build. 
    Edited by baki

    Share this comment


    Link to comment
    Share on other sites

    I've run into this error while creating a starter mod pack

    Currently the build project status of the starter mod is still at generating patch despite Sky Editor not indicating that its generating anything.

    System.IO.FileNotFoundException: Could not load file or assembly 'LanguageStringPatcher.exe' or one of its dependencies. The system cannot find the file specified.
    File name: 'LanguageStringPatcher.exe' ---> System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
      at System.Reflection.AssemblyName.nGetFileInformation(String s)
      at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)
      at SkyEditor.Core.Utilities.ReflectionHelpers.LoadAssemblyWithDependencies(String path)
      at DS_ROM_Patcher.FilePatcher.CopyToolsToDirectory(String newToolsDir)
      at DS_ROM_Patcher.ModBuilder.VB$StateMachine_77_BuildMod.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.Projects.GenericModProject.VB$StateMachine_41_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Projects\GenericModProject.vb:line 282
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.MysteryDungeon.Explorers.Projects.SkyStarterModProject.VB$StateMachine_5_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\Explorers\Projects\SkyStarterModProject.vb:line 119
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<BuildProjects>d__39.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<BuildProjects>d__39.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<Build>d__38.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<Build>d__37.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.DSModSolution.VB$StateMachine_5_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\DSModSolution.vb:line 60
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.ApplicationViewModel.TaskProgressReporterWrapper.<Start>d__32.MoveNext()
     

    Share this comment


    Link to comment
    Share on other sites

    Hi! I was trying to build a .cia for SMD but I keep getting this error. I changed some starters and added portraits for them. The portraits load properly but when Sky Editor builds the starter mod it stops in `Generating Patch´.
    I made sure I was using the latest release and the zip was unblocked. Also, I don´t know if this has anything to do with it, but I added a legendary Pokemon and a fully evolved one. The `Enable Portrait Patching´ isn´t activated in the Starter mod. I made a new solution - changing the same things, but with another rom - and it still happens.

    System.AggregateException: One or more errors occurred. ---> System.ComponentModel.Win32Exception: Acceso denegado
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at DS_ROM_Patcher.Utilities.ProcessHelper.VB$StateMachine_1_RunProgram.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at DS_ROM_Patcher.ModBuilder._Closure$__77-0.VB$StateMachine___Lambda$__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at SkyEditor.Utilities.AsyncFor.AsyncFor.<>c__DisplayClass45_1`1.<<RunForEach>b__0>d.MoveNext()
       --- End of inner exception stack trace ---
       at SkyEditor.Utilities.AsyncFor.AsyncFor.<RunForEach>d__45`1.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at DS_ROM_Patcher.ModBuilder.VB$StateMachine_77_BuildMod.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at SkyEditor.ROMEditor.Projects.GenericModProject.VB$StateMachine_41_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\Projects\GenericModProject.vb:line 282
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at SkyEditor.ROMEditor.MysteryDungeon.PSMD.Projects.PsmdLuaProject.VB$StateMachine_47_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\PSMD\Projects\PsmdLuaProject.vb:line 455
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
       at SkyEditor.ROMEditor.MysteryDungeon.PSMD.Projects.PsmdStarterMod.VB$StateMachine_29_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\PSMD\Projects\PsmdStarterMod.vb:line 800
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at SkyEditor.Core.Projects.Solution.<BuildProjects>d__39.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at SkyEditor.Core.Projects.Solution.<BuildProjects>d__39.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at SkyEditor.Core.Projects.Solution.<Build>d__38.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at SkyEditor.Core.Projects.Solution.<Build>d__37.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at SkyEditor.ROMEditor.DSModSolution.VB$StateMachine_5_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\DSModSolution.vb:line 60
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at SkyEditor.Core.ApplicationViewModel.TaskProgressReporterWrapper.<Start>d__32.MoveNext()
    ---> (Inner Exception #0) System.ComponentModel.Win32Exception (0x80004005): Acceso denegado
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at DS_ROM_Patcher.Utilities.ProcessHelper.VB$StateMachine_1_RunProgram.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at DS_ROM_Patcher.ModBuilder._Closure$__77-0.VB$StateMachine___Lambda$__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at SkyEditor.Utilities.AsyncFor.AsyncFor.<>c__DisplayClass45_1`1.<<RunForEach>b__0>d.MoveNext()<---

    ---> (Inner Exception #1) System.ComponentModel.Win32Exception (0x80004005): Acceso denegado
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at DS_ROM_Patcher.Utilities.ProcessHelper.VB$StateMachine_1_RunProgram.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at DS_ROM_Patcher.ModBuilder._Closure$__77-0.VB$StateMachine___Lambda$__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at SkyEditor.Utilities.AsyncFor.AsyncFor.<>c__DisplayClass45_1`1.<<RunForEach>b__0>d.MoveNext()<---

    ---> (Inner Exception #2) System.ComponentModel.Win32Exception (0x80004005): Acceso denegado
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at DS_ROM_Patcher.Utilities.ProcessHelper.VB$StateMachine_1_RunProgram.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at DS_ROM_Patcher.ModBuilder._Closure$__77-0.VB$StateMachine___Lambda$__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at SkyEditor.Utilities.AsyncFor.AsyncFor.<>c__DisplayClass45_1`1.<<RunForEach>b__0>d.MoveNext()<---

    ---> (Inner Exception #3) System.ComponentModel.Win32Exception (0x80004005): Acceso denegado
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at DS_ROM_Patcher.Utilities.ProcessHelper.VB$StateMachine_1_RunProgram.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at DS_ROM_Patcher.ModBuilder._Closure$__77-0.VB$StateMachine___Lambda$__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at SkyEditor.Utilities.AsyncFor.AsyncFor.<>c__DisplayClass45_1`1.<<RunForEach>b__0>d.MoveNext()<---

    ---> (Inner Exception #4) System.ComponentModel.Win32Exception (0x80004005): Acceso denegado
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at DS_ROM_Patcher.Utilities.ProcessHelper.VB$StateMachine_1_RunProgram.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at DS_ROM_Patcher.ModBuilder._Closure$__77-0.VB$StateMachine___Lambda$__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at SkyEditor.Utilities.AsyncFor.AsyncFor.<>c__DisplayClass45_1`1.<<RunForEach>b__0>d.MoveNext()<---

    ---> (Inner Exception #5) System.ComponentModel.Win32Exception (0x80004005): Acceso denegado
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at DS_ROM_Patcher.Utilities.ProcessHelper.VB$StateMachine_1_RunProgram.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at DS_ROM_Patcher.ModBuilder._Closure$__77-0.VB$StateMachine___Lambda$__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at SkyEditor.Utilities.AsyncFor.AsyncFor.<>c__DisplayClass45_1`1.<<RunForEach>b__0>d.MoveNext()<---

    ---> (Inner Exception #6) System.ComponentModel.Win32Exception (0x80004005): El parámetro no es correcto
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)
       at DS_ROM_Patcher.Utilities.ProcessHelper.VB$StateMachine_1_RunProgram.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at DS_ROM_Patcher.ModBuilder._Closure$__77-0.VB$StateMachine___Lambda$__8.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
       at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
       at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
       at SkyEditor.Utilities.AsyncFor.AsyncFor.<>c__DisplayClass45_1`1.<<RunForEach>b__0>d.MoveNext()<---

    Share this comment


    Link to comment
    Share on other sites
    On 6/23/2019 at 6:24 PM, Awesome-Chipz said:

    I've run into this error while creating a starter mod pack

    Currently the build project status of the starter mod is still at generating patch despite Sky Editor not indicating that its generating anything.

    System.IO.FileNotFoundException: Could not load file or assembly 'LanguageStringPatcher.exe' or one of its dependencies. The system cannot find the file specified.
    File name: 'LanguageStringPatcher.exe' ---> System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)

    Can you check to make sure LanguageStringPatcher.exe exists in the same directory as SkyEditor.ROMEditor.UI.WPF.exe? If it does not exist, try redownloading Sky Editor.

    On 7/3/2019 at 6:56 PM, Momokuma said:

    Hi! I was trying to build a .cia for SMD but I keep getting this error. I changed some starters and added portraits for them. The portraits load properly but when Sky Editor builds the starter mod it stops in `Generating Patch´.
    I made sure I was using the latest release and the zip was unblocked. Also, I don´t know if this has anything to do with it, but I added a legendary Pokemon and a fully evolved one. The `Enable Portrait Patching´ isn´t activated in the Starter mod. I made a new solution - changing the same things, but with another rom - and it still happens.

    System.AggregateException: One or more errors occurred. ---> System.ComponentModel.Win32Exception: Acceso denegado
       at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

    I'm going to need to add some more logging, but in the mean time, can you make sure you're able to launch MessageFARCPatcher.exe, located in the same directory as SkyEditor.ROMEditor.UI.WPF.exe? If a console window doesn't open and immediately close, then that may be part of the problem.

    Share this comment


    Link to comment
    Share on other sites
    On 7/6/2019 at 3:42 PM, evandixon said:

    Can you check to make sure LanguageStringPatcher.exe exists in the same directory as SkyEditor.ROMEditor.UI.WPF.exe? If it does not exist, try redownloading Sky Editor.

    I'm going to need to add some more logging, but in the mean time, can you make sure you're able to launch MessageFARCPatcher.exe, located in the same directory as SkyEditor.ROMEditor.UI.WPF.exe? If a console window doesn't open and immediately close, then that may be part of the problem.

    Well, it seems either my computer or the antivirus just decided to delete files from the Sky Editor folder. I didn´t check the zip contents and I didn´t even notice until I tried to search for MessageFARCPatcher.exe. I tried using a random computer without antivirus, it extracted every file and worked perfectly. Thank you very much, I wouldn´t have noticed without your reply, and sorry for wasting your time with this kind of issue. The result in game is pretty good, by the way.

    Share this comment


    Link to comment
    Share on other sites

    hi i'm currently on the building the mod pack step and I got this error. I only changed two starters. What should I do?

    System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
      at System.Collections.Generic.List`1.set_Capacity(Int32 value)
      at System.Collections.Generic.List`1.EnsureCapacity(Int32 min)
      at System.Collections.Generic.List`1.InsertRange(Int32 index, IEnumerable`1 collection)
      at System.Collections.Generic.List`1.AddRange(IEnumerable`1 collection)
      at SkyEditor.ROMEditor.MysteryDungeon.PSMD.Farc.VB$StateMachine_73_Save.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.MysteryDungeon.PSMD.Farc.VB$StateMachine_74_Save.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.MysteryDungeon.PSMD.Projects.PsmdStarterMod.VB$StateMachine_20_AddMissingModelAnimationsPsmd.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\PSMD\Projects\PsmdStarterMod.vb:line 291
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.MysteryDungeon.PSMD.Projects.PsmdStarterMod.VB$StateMachine_29_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\MysteryDungeon\PSMD\Projects\PsmdStarterMod.vb:line 758
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<BuildProjects>d__39.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<BuildProjects>d__39.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<Build>d__38.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.Projects.Solution.<Build>d__37.MoveNext()
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.ROMEditor.DSModSolution.VB$StateMachine_5_Build.MoveNext() in C:\BuildAgent\work\c4ac4fe3838706c2\SkyEditor.ROMEditor.Windows\DSModSolution.vb:line 60
    --- End of stack trace from previous location where exception was thrown ---
      at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
      at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
      at SkyEditor.Core.ApplicationViewModel.TaskProgressReporterWrapper.<Start>d__32.MoveNext()
    Edited by lecszx

    Share this comment


    Link to comment
    Share on other sites
    On 7/8/2019 at 3:47 AM, lecszx said:

    System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

    How much free RAM does your computer have?

    Share this comment


    Link to comment
    Share on other sites



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Paste as plain text instead

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...