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



    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...