100% Orange Juice

100% Orange Juice

100% Modding Juice!
Browse through our workshop and download new character skins, card artworks, and more!
Learn More
Music problems
Hi,

I'm trying to change a character theme for another music, but the music in question doesn't work; like, the mod is present in the mod menu of the game, the original was removed, but the new theme doesn't play, so it plays nothing during the character's theme.

My guess is that there's something wrong with my file path, but I have no idea how I'm supposed to configure it, If someone can help me in that regard, it'd be much appreciated.

I leave here my JSON output in case there's something else I didn't noticed (I put my OGG file on the same folder as the mod created).

Thanks in advance.

{
"ModDefinition": {
"name": "Peat Recapture",
"description": "Change Peat's theme into Recapture of Trails in the Sky FC",
"author": "strattran",
"system_version": 2,
"changelog": "",
"contest": false,
"color": "#80ffff"
},
"ModReplacements": {
"textures": [],
"music": [
{
"unit_id": "peat",
"file": "C:/Program Files (x86)/Steam/steamapps/common/100 Orange Juice/mods/Assets/Recapture.ogg",
"loop_point": 5803520,
"volume": 0
},
{
"event": "main_menu",
"file": "",
"loop_point": 0,
"volume": 0
}
],
"voices": {
"character": [],
"system": []
},
"hair_color": [],
"sound_effects": []
}
}
< >
Showing 1-6 of 6 comments
Azurée  [developer] 6 26 Jul, 2021 @ 2:33pm 
the path must be relative to your mod folder:
"file": "C:/Program Files (x86)/Steam/steamapps/common/100 Orange Juice/mods/Assets/Recapture.ogg",

=>

"file": "Assets/Recapture.ogg",

also make sure it's within a subfolder, eg:

mods/YOURMODFOLDER/Assets/[...]

mod.json should be at the root of it.
strat.tran 27 26 Jul, 2021 @ 7:15pm 
Thanks, I managed to make it work.

- I put my folders like this:

Mods/MODFOLDER/Assets.

- And I put mod.json and the track in MODFOLDER and Assets respectively.

- And I typed the file path like this:

"file": "Assets/Recapture",


Well, I messed up the loop point because I thought it would indicate the end of the loop, not the start; but it's alright, I think I can take care of the rest on my own.

Thanks again for your help, I'm not exactly a modder, so your advices were much appreciated.:steamthumbsup:
strat.tran 27 27 Jul, 2021 @ 10:31pm 
Originally posted by Sora:
the path must be relative to your mod folder:
"file": "C:/Program Files (x86)/Steam/steamapps/common/100 Orange Juice/mods/Assets/Recapture.ogg",

=>

"file": "Assets/Recapture.ogg",

also make sure it's within a subfolder, eg:

mods/YOURMODFOLDER/Assets/[...]

mod.json should be at the root of it.


Actually, I have a new question: the first mod worked well so I tried to create a second mod of the same nature.
But I can't place 2 mods into the same subfolder, so I created a different one and put the new mod in it.
however, I find myself at a loss when it comes to the file path, because now, I don't know where I should put my new track in order to find it; I tried different combinations, but it didn't work (I see the new mod in the menu, but I don't hear it in game; same problem as last time).

Your help would be much appreciated, thanks in advance.
Azurée  [developer] 6 27 Jul, 2021 @ 11:03pm 
i'd need you to show me what the content of mod.json is
but it should be the same logic as the first mod, each of them need a dedicated folder in "/mods" in which you place your assets and mod definition.
strat.tran 27 27 Jul, 2021 @ 11:45pm 
Here's the mod.json

{
"ModDefinition": {
"name": "Suguri TAGT",
"description": "Changes Suguri's theme into To A Glimmering Tomorrow from Trails of Cold Steel 2",
"author": "strattran",
"system_version": 2,
"changelog": "",
"contest": false,
"color": "#ff80c0"
},
"ModReplacements": {
"textures": [],
"music": [
{
"unit_id": "suguri",
"file": "Assets/TAGT",
"loop_point": 0,
"volume": 0
}
],
"voices": {
"character": [],
"system": []
},
"hair_color": [],
"sound_effects": []
}
}

the "Assets" folder is a different one that I put in the new subfolder, and in which I placed the new track for the mod.
strat.tran 27 28 Jul, 2021 @ 12:16am 
Actually, Nevermind, it works now.

I just realized that my new track was in the wrong format, it was in WAV instead of OGG. I changed it and it's working.

I sould've checked first the format of the track I've taken, I assumed it was the same as the first one.

Sorry for the bother. 😬
< >
Showing 1-6 of 6 comments
Per page: 1530 50