Skip to content

Added new menu OST#93

Open
zabidenhtf wants to merge 11 commits intopetitlapin:mainfrom
zabidenhtf:music
Open

Added new menu OST#93
zabidenhtf wants to merge 11 commits intopetitlapin:mainfrom
zabidenhtf:music

Conversation

@zabidenhtf
Copy link
Contributor

No description provided.

@zabidenhtf
Copy link
Contributor Author

Hello, when my pr will be merged?

@petitlapin
Copy link
Owner

Hi, I won't have time to test it before 10 days unfortunately.
Multiple points:

  • Are you the creator of the music? If yes, do you confirm the license is GPLv3+?
  • If not, where did you find it and did you check the license is coherent with ours?
  • Would it make sense to have an option in the menu to choose between the old and new audio? This way the users can choose which one they prefer.

@zabidenhtf
Copy link
Contributor Author

Yes, I'm author, if you want I'm can send on email source LMMS file project

@zabidenhtf
Copy link
Contributor Author

And also I'm confirmed license image

@zabidenhtf
Copy link
Contributor Author

Also, im now making update with new ROYALTY FREE sounds, im will make PR later (Because in my opinion old 2000s sounds is BAD)

@zabidenhtf
Copy link
Contributor Author

Hello, what about this PR?

@petitlapin
Copy link
Owner

I finally found the time to test!
The sound is nice, I have a few notes:

  • I think it would be better if we manage to create an "infinite" loop on the audio without the blank at the end (like the end of the audio should match with the beginning), do you think it is doable?
  • The file in wav format in 10MB which is quite big, is it possible to encode it in a smaller format usable by sdl_mixer without quality loss?
  • I would really like to have an option to use the previous sounds or the new ones. I'm fine with the new ones being the default ones too so by default, it will be your sounds :).

@zabidenhtf
Copy link
Contributor Author

  1. Ok, sure im can make loop
  2. Ok, im can compress it to ogg or mp3
  3. Ok, im make switch to select new or old

@zabidenhtf
Copy link
Contributor Author

image

Im converted it into OGG, and now it not 10 MB

@zabidenhtf
Copy link
Contributor Author

And also, what about adding source LMMS source file into project? Because in Ri-li was XM files (Fast tracker II source files).

@petitlapin
Copy link
Owner

petitlapin commented Mar 21, 2026

And also, what about adding source LMMS source file into project? Because in Ri-li was XM files (Fast tracker II source files).

yes please, having the source file (and in the readme a quick "how to generate the audio" is good)

@petitlapin
Copy link
Owner

Im converted it into OGG, and now it not 10 MB

Thank you!

@zabidenhtf
Copy link
Contributor Author

Added LMMS source

@zabidenhtf
Copy link
Contributor Author

And also, im will add more my copyrights (like in readme, authors)

@zabidenhtf
Copy link
Contributor Author

Also, in my opinion for Li-Ri doesn't need 2000s stuff

@petitlapin
Copy link
Owner

Also, in my opinion for Li-Ri doesn't need 2000s stuff

It's not because it does not fit your taste that other people don't enjoy these sounds and might even prefer them to the ones you have/will create. So the best compromise is to allow the users to choose which sounds they prefer.

And it's not because it has been created 20 years ago that it is "bad". It's a different generation, with different design/trends :).

@zabidenhtf
Copy link
Contributor Author

And also, i dont know how make UI switch

@zabidenhtf
Copy link
Contributor Author

Can you give for me idea (because in code you can switch and in ui no)

@petitlapin
Copy link
Owner

petitlapin commented Mar 21, 2026

Can you give for me idea (because in code you can switch and in ui no)

In Menu::InitMain_Options we need to add a new button, and in the loop handling the menu, we need to store in preferences depending on the value. I would suggest to not add any image, just texts: "theme:" with values: "Zabiden"/"Maf"

I can take a look to add it myself if you want.

@zabidenhtf
Copy link
Contributor Author

ALSO, IM FORGOT TO RETURN COPYRIGHT FOR MENU_LEGACY.mod

@zabidenhtf
Copy link
Contributor Author

Returned copyright

@zabidenhtf
Copy link
Contributor Author

Can you give for me idea (because in code you can switch and in ui no)

In Menu::InitMain_Options we need to add a new button, and in the loop handling the menu, we need to store in preferences depending on the value. I would suggest to not add any image, just texts: "theme:" with values: "Zabiden"/"Maf"

I can take a look to add it myself if you want.

Ok, im give for you this task make selector

@zabidenhtf
Copy link
Contributor Author

Hello, what about your update?

@petitlapin
Copy link
Owner

Hello, what about your update?

I have an almost working patch. Is it ok with you if I directly push in your branch (I'll do a commit on top for now, then I would like to be able to rewrite the history directly, it will be easier to clean it)?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the one pushed is the one with the blank at the end, and not the updated one (infinite loop). Can you please double check and update it if needed?

Ec.PrintSprite(arrows, 4, 450, 300);
}

switch (Pref.AudioTheme) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One thing I'm not happy with this solution in the menu is that we don't know what this value is about...
We have 2 choices here: either we do what is done for the other selectors and add an image, or we add a text "Audio theme"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In my opinion we can just add text for first time (and also, don't make now release 3.1.7, because I'm want to finish some more important tasks (like close a bit issues))

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't plan to do release 3.1.7 with just this, but I prefer to add the changelog when we do the changes, to ensure I don't forget something important when doing the release.

DrawString(430, 400, "MAF", Sprites[fmenu].Image[0]);
break;
case mZabiden:
DrawString(380, 400, "ZABIDEN", Sprites[fmenu].Image[0]);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feel free to rename it as you prefer, I used the author names

Version: 3.1.7
Date: 2026-xx-xx
Description:
- New audio menu music created by zabidenhtf (Mykyta Polishyk)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this line fine for you for credits in the NEWS?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, sure 😄

@zabidenhtf
Copy link
Contributor Author

Hello, look, im made new melody for Li-ri (You can write issues with this song, im will fix)

@zabidenhtf
Copy link
Contributor Author

Also, im added another new melody (By me)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants