Expose musicdefs to lua #176

Merged
Indev450 merged 6 commits from luamusicdef into Saturn-Next 2025-06-25 13:24:37 +02:00
Indev450 commented 2025-05-31 19:23:31 +02:00 (Migrated from github.com)

This modifies a bit how musicdefs are allocated and exposes them to lua, so implementing things like music search, custom music credit pop-ups and so on is possible.

Here's a script that demonstrates very basic usage of it:
luamusicdefs.zip

It adds musicinfo, listmusiccredits and findmusic commands, and also overwrites vanilla song credit pop-up
kart0059

This modifies a bit how musicdefs are allocated and exposes them to lua, so implementing things like music search, custom music credit pop-ups and so on is possible. Here's a script that demonstrates very basic usage of it: [luamusicdefs.zip](https://github.com/user-attachments/files/20534967/luamusicdefs.zip) It adds `musicinfo`, `listmusiccredits` and `findmusic` commands, and also overwrites vanilla song credit pop-up ![kart0059](https://github.com/user-attachments/assets/2583b5aa-3a36-4365-9aeb-0f6e63cf9aa3)
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: saturn/SRB2Kart-Saturn#176