Starbound

Starbound

[oSB] Wardrobe Cumulative Patch
54 Comments
Humm-Bird Jun 20 @ 3:52am 
Okay!
☯ James ☪  [author] Jun 19 @ 7:34pm 
Those extra cosmetic slots are completely separate from what Wardrobe does. Wardrobe just lets you spawn cosmetic items and you equip them to your character or whatever, so the extra slots on Open Starbound's side has nothing to do with Wardrobe. Also if you mean for Wardrobe to actually account for this in the UI so you can preview all of them at once, that's up to the creator of Wardrobe or someone else that's willing to make a patch for it. Other than that, Wardrobe has no issues or incompatibilities with the extra cosmetic slots.
Humm-Bird Jun 19 @ 2:32pm 
Hey, so OSB just added 12 new cosmetic slots or something along those lines, will this support that?
󠀡󠀡 Mar 4 @ 8:45pm 
haven't tried SIP for years now as i was sick of having to make patches for every single mod i use that is good to hear it works in oSB
peter.pedersen Mar 2 @ 3:58pm 
Spawnable Item Pack already works like this if you have oSB
󠀡󠀡 Mar 2 @ 3:27pm 
this would sound crazy but is it possible to make something like this for Spawnable Item Pack?
it would be awesome to have a patch that support all mods for SIP
AgentKirin Feb 28 @ 6:06pm 
Updated OSB and it's showing it all now. Thanks!
☯ James ☪  [author] Feb 28 @ 5:43pm 
I'm in the official Starbound server @IAmKnotMax
AgentKirin Feb 28 @ 5:42pm 
Sure. Better yet, are you in any of the modding Discord servers? I can send it there
☯ James ☪  [author] Feb 28 @ 5:38pm 
If only a few things are showing up, it must mean that it hit an error somewhere and stopped adding more. Can you upload your log and link it here?
AgentKirin Feb 28 @ 5:37pm 
Absolutely positive. Neither showed up when I searched.
☯ James ☪  [author] Feb 28 @ 5:20pm 
They show up for me, are you looking in the Mod tab? I searched by avali and peglaci and see armors for both of them.
AgentKirin Feb 28 @ 5:09pm 
Way too many to list. But I have over 60 modded species subbed, and quite a few don't show up. Didn't see any Avali stuff, for example. Or Peglaci. Or Limako (the Limako armors are still WIPs, but I can't think of any reason they wouldn't show up anyway). And probably a bunch more I'm forgetting.
☯ James ☪  [author] Feb 28 @ 4:38pm 
what mods in particular do you notice are missing? I can look into it
AgentKirin Feb 28 @ 4:22pm 
Doesn't seem to be working for all mods. I'm seeing a lot of Felin and a bit of Alta stuff, but not all the other species mods I have installed. What could be the problem?
FezzedOne Feb 26 @ 11:09pm 
Can confirm this mod works now after the rewrite.
legokody Feb 26 @ 8:26pm 
no i don't have the button, do i have to be signed in?
Aryterst Feb 26 @ 3:44pm 
Mod's working now after the update. Thanks. :)
☯ James ☪  [author] Feb 26 @ 2:28pm 
Do you see a button on the right with an arrow pointing down? That should let you download it. https://imgur.com/a/qAYid8j
legokody Feb 26 @ 2:21pm 
I also can't click on anything in the artifacts tab
☯ James ☪  [author] Feb 26 @ 12:20pm 
I pushed another update, trying to fix more weird or broken things in items.
Aryterst Feb 26 @ 9:36am 
Okay the wardrobe finally works now but I can't see the armors and pressing the mod tab while on chest slot breaks the wardrobe window until I exit it.
And getting this error now.
[Error] Exception while invoking lua function 'update'. (LuaException) Error code 2, [string "/scripts/wardrobe/wardrobe_util.lua"]:51: attempt to index a nil value (local 'image')
stack traceback:
[C]: in metamethod '__index'
[string "/scripts/wardrobe/wardrobe_util.lua"]:51: in field 'fixImagePath'
[string "/scripts/wardrobe/wardrobe.lua"]:907: in field 'getDefaultImageForItem'
[string "/scripts/wardrobe/wardrobe.lua"]:399: in function <[string "/scripts/wardrobe/wardrobe.lua"]:395>
(...tail calls...)
[string "/scripts/wardrobe/itemList.lua"]:68: in method 'update'
[string "/scripts/wardrobe/wardrobe.lua"]:263: in local 'k'
[string "/scripts/wardrobe_tooltip/scriptHooks.lua"]:12: in function <[string "/scripts/wardrobe_tooltip/scriptHooks.lua"]:8>
(...tail calls...)
☯ James ☪  [author] Feb 26 @ 9:07am 
You should be able to click on the name (it's a hyperlink) or there's also a button all the way to the right with the arrow that downloads it.
Pakari Feb 26 @ 9:05am 
It has a green checkmark, but I still can't click on anything in the "artifacts" tab. Like I said, the only things I can click on are the annotations and the "Build OpenStarbound" entries at the top. "OpenStarbound-Windows-Client" near the bottom is unclickable on every page. In fact, the only thing named "Client" that I can actually click on is on the main Github page under Installations.
☯ James ☪  [author] Feb 26 @ 9:00am 
@Pakari it still works for me. Although I should mention that the builds in Actions can go out of date and no longer be downloadable. You should also get one that has a green check mark next to the name.
☯ James ☪  [author] Feb 26 @ 8:58am 
Updated to use a Lua table instead of doing a lot of string concatenation.
Pakari Feb 26 @ 8:58am 
So, I TRIED to click on "OpenStarbound-Windows-Client", but it's in a list called "Artifacts" and isn't actually clickable. The only thing on the entry you've mentioned that is clickable are the "Build OpenStarbound" entries near the top, and the list of annotations.
So, what do I actually click?
☯ James ☪  [author] Feb 26 @ 5:21am 
No I don't know. I barely know enough lua to make this but it works and isn't too lag inducing for the one time it runs so I didn't think much of it.
FezzedOne Feb 25 @ 11:33pm 
Here's a thought, James. Did you know that assets.add on both OpenStarbound and xStarbound accepts a Lua table that is convertible to JSON as the second argument? You can avoid all the messy string concatenation this way.
☯ James ☪  [author] Feb 25 @ 3:47pm 
Can you try another run? I pushed an update a while ago since I found some other mods doing weird things and fixed those. A last resort is that I could make it print out the entire config at once, which would be gigantic with that many mods and you could send that to me so I can see what's not getting closed correctly.
Aryterst Feb 25 @ 3:01pm 
[Error] Exception caught loading asset: /wardrobe/wardrobe_postload.json, (AssetException) Could not read JSON asset /wardrobe/wardrobe_postload.json
Caused by: (JsonParsingException) Error parsing json: bad object, should be '}' or ',' at 1:55157
MrGasmask Feb 25 @ 1:47am 
alright
☯ James ☪  [author] Feb 25 @ 1:47am 
For now it requires that you get a build from the Actions tab as it's not in the Releases yet. It will be in the next release however. Read the description to see what you can do to get that.
MrGasmask Feb 25 @ 1:44am 
i have openstarbound and this just does not work, was a new version released or something?
☯ James ☪  [author] Feb 25 @ 1:07am 
Can you search for "Error parsing json". It should look something like "Error parsing json: error, at 1:number" but the "error" is different depending on what the error is.
☯ James ☪  [author] Feb 25 @ 12:55am 
I'm not sure how that could still be having issues. I tested to make sure it worked before pushing the update and it all worked fine.
Aryterst Feb 24 @ 5:57pm 
still broken but I got this error

[Error] Exception caught loading asset: /wardrobe/wardrobe_postload.json, (AssetException) Could not read JSON asset /wardrobe/wardrobe_postload.json
Caused by: (JsonParsingException) Cannot parse json file: /wardrobe/wardrobe_postload.json
☯ James ☪  [author] Feb 24 @ 4:46pm 
I pushed another update, hopefully it works now?
Aryterst Feb 24 @ 1:47pm 
No don't have that mod installed anymore.
☯ James ☪  [author] Feb 24 @ 1:47pm 
I should have checked that mod but I didn't think anything would happen as I had other mods like Arcana and Elithian Races.
☯ James ☪  [author] Feb 24 @ 1:45pm 
I installed Frackin Universe and it broke. I assume you have this mod? I wouldn't be surprised if they did something weird lmao.
Aryterst Feb 24 @ 1:35pm 
Somehow that broke wardrobe entirely.
I'm getting this error now.
[Error] Exception while calling script init: (LuaException) Error code 2, [string "/scripts/wardrobe/wardrobe.lua"]:222: (AssetException) Error loading asset /wardrobe/wardrobe_postload.json
stack traceback:
[C]: in ?
[C]: in field 'assetJson'
[string "/scripts/wardrobe/wardrobe.lua"]:222: in local 'loadFiles'
[string "/scripts/wardrobe/wardrobe.lua"]:252: in field 'loadItems'
[string "/scripts/wardrobe/wardrobe.lua"]:97: in local 'k'
[string "/scripts/wardrobe_tooltip/scriptHooks.lua"]:12: in function <[string "/scripts/wardrobe_tooltip/scriptHooks.lua"]:8>
(...tail calls...)
Caused by: (JsonParsingException) Cannot parse json file: /wardrobe/wardrobe_postload.json
☯ James ☪  [author] Feb 24 @ 1:26pm 
Now it should actually be fixed, it wasn't fixed before because I put the check in the wrong place.
Aryterst Feb 24 @ 1:20pm 
Root: Detected asset source named '[oSB] Wardrobe Cumulative Patch' version '1.1'
☯ James ☪  [author] Feb 24 @ 1:10pm 
Nevermind I messed up lol
☯ James ☪  [author] Feb 24 @ 1:09pm 
It shouldn't be the same error. Can you check the version of the mod? It should say in the log when you search 'Detected asset source named '[oSB] Enhanced Storage Cumulative Patch'. Either way I'm going to submit another update to just check if the type of that isn't a string instead of if it's a table.
Aryterst Feb 24 @ 1:02pm 
I'm still getting the same error.
Your enhanced storage patch works perfectly fine though.
☯ James ☪  [author] Feb 24 @ 12:51pm 
I just submitted an update, see if that works for you. If not, could you send what other kind of error it's throwing?
☯ James ☪  [author] Feb 24 @ 12:44pm 
That would cause it to not work then, I'll see if I can fix that.
Aryterst Feb 24 @ 12:43pm 
I got 1670 mods installed like avali triage, felin, arcana, and etc. The armors just don't show up for whatever reason.
I also found this error in the log but I'm not sure if this is what's causing it.

[Error] Exception while running postLoad scripts from asset source 'C:\Program Files (x86)\Steam\steamapps\workshop\content\211820\3433498458\contents.pak': (LuaException) Error code 2, [string "/wardrobe_postload.lua"]:58: attempt to concatenate a table value (field 'inventoryIcon')
stack traceback:
[C]: in metamethod '__concat'
[string "/wardrobe_postload.lua"]:58: in main chunk