Page 1 of 1

I need some help

Posted: Mon Jun 06, 2022 8:52 pm
by KnownStranger
I need to know the arguments for a .ini file, because I've searched in the smbx2 handbooks and I only found arguments for .txt files. And (sorry if this is arrogant), I want to know how to download music to make levels with custom music. Thanks.

Re: I need some help

Posted: Tue Jun 07, 2022 7:25 am
by deice
if my memory serves me right, the handbook has a list of settings for background2 ini files under "parallaxing backgrounds". the rest can be found within the "data/_templates" folder of your smbx2 installation.

as for music, it depends on what kind of music you want. good resources for high-quality video game music are vgmusic and khi. do note that vgmusic supplies midi files so unless you know how to work with soundfonts those probably won't sound too good. for other music, it's always best to look for a download supplied by the original artist. third party services that allow you to rip audio files from sites like youtube do exist, but giving credit and respecting the wishes of the original artist is always important.

do also be sure to convert any songs that are in the mp3 format to ogg using a program like audacity, as that format is lighter and supports clean loops.

Re: I need some help

Posted: Tue Jun 07, 2022 10:45 am
by KnownStranger
deice wrote: if my memory serves me right, the handbook has a list of settings for background2 ini files under "parallaxing backgrounds". the rest can be found within the "data/_templates" folder of your smbx2 installation.
I have found the templates but files like block-n.ini and background-n.ini have a few args (I want to make some new backgrounds that don't replace an existent background). I wonder if they are the only settings, because the settings for .txt and .ini have different functions.

Re: I need some help

Posted: Tue Jun 07, 2022 10:54 am
by deice
Twisted4932 wrote:
Tue Jun 07, 2022 10:45 am
I have found the templates but files like block-n.ini and background-n.ini have a few args (I want to make some new backgrounds that don't replace an existent background). I wonder if they are the only settings, because the settings for .txt and .ini have different functions.
there are some global settings for items that are omitted from those ini files (such as grid alignment) but what you see in the templates folder is for the most part what you get. (remember that ini files only influence editor appearance)
making a custom background is simple, just give it an id within the custom range and smbx2 actually handles a large portion of the heavy lifting for you (for example, the size is automatically set to fit the image dimensions and frame count).