iChun / Clef

𝄞
GNU Lesser General Public License v3.0
5 stars 2 forks source link

Is it possible to import custom instruments from Starbound? #9

Open steampunko opened 6 years ago

steampunko commented 6 years ago

I was looking around and I noticed you literally just took the instruments from starbound and placed them in a .cia file. So I tried messing around and see if I could copy some instrument files from a mod and place them directly into the file, but it seems I'm mistaken...

iChun commented 6 years ago

You can. You need to unarchive the file if it's not a zip file and rezip it and put it in. I've had it work with a few mods that come in zip format but I've not tried other mods. I recall there being a bug causing mod instruments not to load but I don't remember if I fixed it. I'll have to look at it again sometime in the future.

On 27 Dec 2017 6:10 AM, "steampunko" notifications@github.com wrote:

I was looking around and I noticed you literally just took the instruments from starbound and placed them in a .cia file. So I tried messing around and see if I could copy some instrument files from a mod and place them directly into the file, but it seems I'm mistaken...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/iChun/Clef/issues/9, or mute the thread https://github.com/notifications/unsubscribe-auth/ACMSTGghcCSwwNgOd4ZRt0Q3tiw7gDwSks5tEW7AgaJpZM4RNCF0 .

steampunko commented 6 years ago

Do I just zip the unpacked content.pak contents? Edit: I think I figured out how to get the packs set up, but it still doesn't work. The instruments do not show up in the creative tab.

iChun commented 6 years ago

Yes, somewhat. I don't remember the steps and I'm not at a computer now. Unpack it and put it in a zip file with the same file structure and it should try and load

On 27 Dec 2017 6:21 AM, "steampunko" notifications@github.com wrote:

Do I just zip the unpacked content.pak contents?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/iChun/Clef/issues/9#issuecomment-354019384, or mute the thread https://github.com/notifications/unsubscribe-auth/ACMSTNkQwn7dyRTfmx9PGzXJtnPztd4Vks5tEXF7gaJpZM4RNCF0 .

steampunko commented 6 years ago

I've set it up I believe properly and now there are no instruments 2017-12-27_13 39 25 Well I mean there are a few that the server recognizes but almost all of the instruments vanish

iChun commented 6 years ago

Yeeeaaaah that's the bug I need to fix. I think if you remove the JSON file it should be fine... I think.

On 28 Dec 2017 5:41 AM, "steampunko" notifications@github.com wrote:

I've set it up I believe properly and now there are no instruments [image: 2017-12-27_13 39 25] https://user-images.githubusercontent.com/16859299/34394013-7c28e61c-eb0b-11e7-952c-a7206c62811b.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/iChun/Clef/issues/9#issuecomment-354181824, or mute the thread https://github.com/notifications/unsubscribe-auth/ACMSTFMi4y_tVhIYIzcSZpMz-PaRt9DHks5tErmQgaJpZM4RNCF0 .

steampunko commented 6 years ago

Which JSON do I remove?

iChun commented 6 years ago

The one in the root of the archive IIRC. Sorry I can't really help much right now, I'm not near my main workspace and won't be for a while.

On 29 Dec 2017 11:59 AM, "steampunko" notifications@github.com wrote:

Which JSON do I remove?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/iChun/Clef/issues/9#issuecomment-354394795, or mute the thread https://github.com/notifications/unsubscribe-auth/ACMSTIvFQgjaBr_su_foF_gDVUEitrk9ks5tFGOlgaJpZM4RNCF0 .

steampunko commented 6 years ago

I think the json you're talking about is actually a .cii file, and that's fine.

iChun commented 6 years ago

You could try it. I'm not too sure, it's been quite a while since I saw Clef's code.

On 30 Dec 2017 4:19 AM, "steampunko" notifications@github.com wrote:

I think the json you're talking about is actually a .cii file

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/iChun/Clef/issues/9#issuecomment-354495775, or mute the thread https://github.com/notifications/unsubscribe-auth/ACMSTA54K19Fu4HZqoGJ_p3V1h6ksjzwks5tFUlbgaJpZM4RNCF0 .

steampunko commented 6 years ago

I pretty much gave up trying to add them :S