I made a similar forum post 2 months ago, but the forum felt so old I thought I might as well create a new post. I apologize for simply going quiet on the other forum, and thank you to everyone who tried to help me there.
https://forum.rainmeter.net/viewtopic.php?t=44103
This is the old forum topic
For starters, I do NOT know much about coding or rain meter at all, coding in general is totally foreign to me, other than frankiensteining a few HTML codes.
That aside-
I'm using this code: https://github.com/lezzthanthree/Needy-Streamer-Overload
Essentially it has a file called Ame.ini, which is inspired based on the game "Needy Streamer Overload" (given), the tab has options which allow her to follow a "mood" based system, which uses this code to define the sprites forI was hoping to create a kind of background music following this same format, essentially hoping to have a toggle on/off button to allow different types of background music to play based on her stress\affection\darkness stats.
I've attempted a solution proposed on the other forum post I posted, which I will share here
I'll link the (edited) file here, including my very poor attempts at adding this to my code, if anyone could tell me what I've done wrong, that'd be immensely appreciated. I have a feeling it can be done somehow I'm just simply not knowledgeable enough to figure it out.
ps: the resource provided in the previous post said to create a button_wav.png file, but I haven't created that yet, so I'm using #@#Images\Ame\button_heart.png as a placeholder, i apologize if that's confusing.
https://www.dropbox.com/scl/fi/yowv8wkp3l83n26e2ux9p/Needy-Streamer-Overload.zip?rlkey=gzo6as568ppg8cb31y3dwrks1&st=4uhzt3i8&dl=0
If any more information is needed on my end I'll do my best to answer as well as I can! But I'd again like to clarify I might not answer in the correct terminology or with much knowledge since I'm a total newbie with this!
https://forum.rainmeter.net/viewtopic.php?t=44103
This is the old forum topic
For starters, I do NOT know much about coding or rain meter at all, coding in general is totally foreign to me, other than frankiensteining a few HTML codes.
That aside-
I'm using this code: https://github.com/lezzthanthree/Needy-Streamer-Overload
Essentially it has a file called Ame.ini, which is inspired based on the game "Needy Streamer Overload" (given), the tab has options which allow her to follow a "mood" based system, which uses this code to define the sprites for
Code:
SpritePath=#@#\Images\Ame\sprites\[Stress]\[Affection]\[Darkness]\[Variation]
I've attempted a solution proposed on the other forum post I posted, which I will share here
This did not work for me, though. I can click the button and it will stop other sounds on the skin from playing but doesn't play the files I have set in the folders I created for the sound filesAlright, that's much better, thanks! Well, based strictly on your description (which I'm not 100% sure it's actually what you want, but anyway), you could add this before the SpritePath line in the [Variables] section of Ame.inc:and this before the [Close] meter in Ame.inc:Code:
WavIndex=0Wav0=[PlayStop]Wav1=[PlayLoop "#@#\Audio\Ame\[Stress]\[Affection]\[Darkness]\[Variation]\File.wav"]
assuming that:Code:
[Wav]Meter=IMAGEX=0Y=0ImageName=#@#Images\button_wav.pngLeftMouseUpAction=[!SetVariable WavIndex (1-[#WavIndex])][!UpdateMeter Wav][#Wav[#WavIndex]]
- you replicate the system's subfolder structure at https://github.com/lezzthanthree/Needy-Streamer-Overload/blob/master/%40Resources/Images/Ame/sprites/Folder%20Arrangement.txt (bar the \sprites\ part, obviously) in ...\@Resources\Audio\Ame folder and place a corresponding File.wav file in each of those subfolders
- you set the X and Y of the meter according to your preference and available space in the skin
- you create a properly sized ...\@Resources\Images\button_wav.png image file to act as your button
That being said, the above is untested as I'm on my phone, so it might not work at first or completely. If so, you could try using [&Stress] or even [&*Stress*] and similar for the rest in your Wav1 variable, or let us know of any other issue that might arise along the way.
P.S. Other than that, a skin typically has an .ini extension and not an .inc one, but then I didn't bother to check or test the said skin or figure out precisely the author's structure.
I'll link the (edited) file here, including my very poor attempts at adding this to my code, if anyone could tell me what I've done wrong, that'd be immensely appreciated. I have a feeling it can be done somehow I'm just simply not knowledgeable enough to figure it out.
ps: the resource provided in the previous post said to create a button_wav.png file, but I haven't created that yet, so I'm using #@#Images\Ame\button_heart.png as a placeholder, i apologize if that's confusing.
https://www.dropbox.com/scl/fi/yowv8wkp3l83n26e2ux9p/Needy-Streamer-Overload.zip?rlkey=gzo6as568ppg8cb31y3dwrks1&st=4uhzt3i8&dl=0
If any more information is needed on my end I'll do my best to answer as well as I can! But I'd again like to clarify I might not answer in the correct terminology or with much knowledge since I'm a total newbie with this!
Statistics: Posted by StarAnimates — Today, 1:50 pm — Replies 1 — Views 37