Starbound

Starbound

[oSB] Wardrobe Cumulative Patch
54 Comments
Humm-Bird 20 Jun @ 3:52am 
Okay!
☯ James ☪  [author] 19 Jun @ 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 19 Jun @ 2:32pm 
Hey, so OSB just added 12 new cosmetic slots or something along those lines, will this support that?
󠀡󠀡 4 Mar @ 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 2 Mar @ 3:58pm 
Spawnable Item Pack already works like this if you have oSB
󠀡󠀡 2 Mar @ 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 28 Feb @ 6:06pm 
Updated OSB and it's showing it all now. Thanks!
☯ James ☪  [author] 28 Feb @ 5:43pm 
I'm in the official Starbound server @IAmKnotMax
AgentKirin 28 Feb @ 5:42pm 
Sure. Better yet, are you in any of the modding Discord servers? I can send it there
☯ James ☪  [author] 28 Feb @ 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 28 Feb @ 5:37pm 
Absolutely positive. Neither showed up when I searched.
☯ James ☪  [author] 28 Feb @ 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 28 Feb @ 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] 28 Feb @ 4:38pm 
what mods in particular do you notice are missing? I can look into it
AgentKirin 28 Feb @ 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 26 Feb @ 11:09pm 
Can confirm this mod works now after the rewrite.
legokody 26 Feb @ 8:26pm 
no i don't have the button, do i have to be signed in?
Aryterst 26 Feb @ 3:44pm 
Mod's working now after the update. Thanks. :)
☯ James ☪  [author] 26 Feb @ 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 26 Feb @ 2:21pm 
I also can't click on anything in the artifacts tab
☯ James ☪  [author] 26 Feb @ 12:20pm 
I pushed another update, trying to fix more weird or broken things in items.
Aryterst 26 Feb @ 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] 26 Feb @ 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 26 Feb @ 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] 26 Feb @ 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] 26 Feb @ 8:58am 
Updated to use a Lua table instead of doing a lot of string concatenation.
Pakari 26 Feb @ 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] 26 Feb @ 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 25 Feb @ 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] 25 Feb @ 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 25 Feb @ 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 25 Feb @ 1:47am 
alright
☯ James ☪  [author] 25 Feb @ 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 25 Feb @ 1:44am 
i have openstarbound and this just does not work, was a new version released or something?
☯ James ☪  [author] 25 Feb @ 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] 25 Feb @ 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 24 Feb @ 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] 24 Feb @ 4:46pm 
I pushed another update, hopefully it works now?
Aryterst 24 Feb @ 1:47pm 
No don't have that mod installed anymore.
☯ James ☪  [author] 24 Feb @ 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] 24 Feb @ 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 24 Feb @ 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] 24 Feb @ 1:26pm 
Now it should actually be fixed, it wasn't fixed before because I put the check in the wrong place.
Aryterst 24 Feb @ 1:20pm 
Root: Detected asset source named '[oSB] Wardrobe Cumulative Patch' version '1.1'
☯ James ☪  [author] 24 Feb @ 1:10pm 
Nevermind I messed up lol
☯ James ☪  [author] 24 Feb @ 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 24 Feb @ 1:02pm 
I'm still getting the same error.
Your enhanced storage patch works perfectly fine though.
☯ James ☪  [author] 24 Feb @ 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] 24 Feb @ 12:44pm 
That would cause it to not work then, I'll see if I can fix that.
Aryterst 24 Feb @ 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