1. Please be advised of a few specific rules and guidelines for this section.

Starbound ModPacker [Deleted]

Discussion in 'Outdated Mods' started by ja450n, Feb 1, 2015.

Thread Status:
Not open for further replies.
  1. ja450n

    ja450n Phantasmal Quasar

    ja450n submitted a new mod:

    Starbound Mod Packer - Mod Packer

    Starbound Mod Packer

    Upbeat Giraffe changed the asset_packer syntax, so i threw together a quick app to let me easily pack my mods.

    [​IMG]

    1. Specify your Starbound path
    2. Specify your mod path
    3. If [ ] Auto is checked, your mod will be packed as soon as you specify the mod directory
    4. Otherwise click "Pack"

    If you do not have auto checked, you can view the modinfo file for you mod before packing. This can be helpful as a modpak file will be created using the modinfo file parameters.

    Your mod "name" and "metainfo / version" will be used in the modpak file. This way it shows up in Starbound correctly on the main screen.
     
    Last edited: Feb 2, 2015
    sosmic likes this.
  2. sosmic

    sosmic Pangalactic Porcupine

    look like a cool tool i was looking for.
    great job sir !

    i'm trying to set a server and i have one little question about modpak files.
    does modpak allow the server to upload and synchronize the mods from server to client ?
     
  3. ja450n

    ja450n Phantasmal Quasar

    as far as i'm aware, server to client mod syncing hasn't been implemented in the game yet. modpak's are currently just a way to keep mods neat and tidy.
     
  4. sosmic

    sosmic Pangalactic Porcupine

    oki that's sad :'(
    thx for answer =)
     
  5. Mackinz

    Mackinz The Waste of Time

    Can you add "unpack" functionality too?

    Edit: Also, I'm getting an error each time I try to pack my mod.

    Proper Starbound path. Proper mod path (I believe).

    Error.


    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
    at StarboundModPacker.frmMain.packMod()
    at StarboundModPacker.frmMain.btnSave_Click(Object sender, EventArgs e)
    at System.Windows.Forms.Control.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnClick(EventArgs e)
    at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
    at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.ButtonBase.WndProc(Message& m)
    at System.Windows.Forms.Button.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34014 built by: FX45W81RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    ----------------------------------------
    StarboundModPacker
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files%20(x86)/Steam/SteamApps/common/Starbound/giraffe_storage/mods/StarboundModPacker.exe
    ----------------------------------------
    Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 12.0.20806.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    ----------------------------------------
    System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    System.Runtime.Remoting
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34243 built by: FX452RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
    ----------------------------------------
    System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    System.Web.Extensions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34212
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Extensions/v4.0_4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
     
    Last edited: Feb 2, 2015
  6. ja450n

    ja450n Phantasmal Quasar

    ja450n updated Starbound ModPacker with a new update entry:

    1.0.1 - JSON Flexibility

    Read the rest of this update entry...
     
  7. kik4444

    kik4444 Existential Complex

    I too would like an option to unpack modpak files, as this program makes it much easier than using CMD.
     
  8. ja450n

    ja450n Phantasmal Quasar

    ja450n updated Starbound ModPacker with a new update entry:

    1.0.2 - Unpacking!

    Read the rest of this update entry...[DOUBLEPOST=1422901937][/DOUBLEPOST]
    This is fixed in v1.0.1 and up, your modinfo files didn't contain metadata, so it was having a fit when trying to read the 'version' tag from the metadata. Technically metadata isn't required by Starbound, so I've made the app only use the metadata if it's present.
     
    Last edited: Feb 2, 2015
  9. Errors4l

    Errors4l Spaceman Spiff

    @ja450n In response to the review:
    [​IMG] [​IMG] [​IMG]
    Furthermore:
    - Modinfo textbox is updated with an output that is annoying to clear (Ctrl+A is not allowed, selecting all takes a while).
    - How do I specify the file to unpack?
    - It will try to pack all files in your selected Mod Path, regardless of it's contents. Mistakes such as selecting your entire C:\ drive and hitting pack could occur.
    - That default WinForms icon makes me cringe every time (I have it myself in my personal applications too, though).
    - The modinfo in the textbox is mandatory, but it seems the modinfo file is not generated if it doesn't exist, which makes it a bit redundant to force users to enter the contents in the textbox.
    [​IMG]
     
    Last edited: Feb 2, 2015
  10. ja450n

    ja450n Phantasmal Quasar

    awesome QA'ing. i'll get these fixed asap.

    Q: Modinfo textbox is updated with an output that is annoying to clear (Ctrl+A is not allowed, selecting all takes a while).
    A: Yeah, i need to change this, i was keeping it minimal at first, but having two boxes might be better (separate output results)

    Q:How do I specify the file to unpack?
    A: If you drag a modpak onto the mod path field instead of a folder it'll unpack, i need to make this more intuitive, if i end up resizing the window to add a separate output box, i'll add a separate unpack button and/or file selection field.

    Q: It will try to pack all files in your selected Mod Path, regardless of it's contents. Mistakes such as selecting your entire C:\ drive and hitting pack could occur.
    A: I'll add a check to make sure there is a .modinfo file in the path selected before packing, this should keep you from packing your entire c:\ drive or mods folder.

    Q: That default WinForms icon makes me cringe every time (I have it myself in my personal applications too, though).
    A: I'll have to come up w/ an icon

    Q: The modinfo in the textbox is mandatory, but it seems the modinfo file is not generated if it doesn't exist, which makes it a bit redundant to force users to enter the contents in the textbox.
    A: The modinfo textbox isn't required, it simply displays the value of the .modinfo file in your mod folder, if editing it via this field makes sense i can create the pak.modinfo file based on it.
     
  11. Errors4l

    Errors4l Spaceman Spiff

    There's really no need, what's important is the functionality of the program ^^. Like I said, I have the same on my personal applications.

    Ah, this only works when you drag the folder onto the path textbox, not when selecting a folder via the button (and obviously not when writing it manually either). If it is meant only as a display I suggest you remove the correct JSON checker (or keep it as a warning, but still allow the program to create the .modpak).

    C# code example:
    Code:
    DialogResult d = MessageBox.Show("Modinfo textbox is invalid, are you sure you want to pack this folder?", "Warning", MessageBoxButtons.YesNo);
    
    If (d == DialogResult.Yes)
    {
    // code
    }
     
  12. ja450n

    ja450n Phantasmal Quasar

    ja450n updated Starbound ModPacker with a new update entry:

    1.0.4 - Bug Fixes, UI Update, Threading

    Read the rest of this update entry...
     
  13. ja450n

    ja450n Phantasmal Quasar

    This mod has been removed and is no longer available for download.
     
Thread Status:
Not open for further replies.

Share This Page