-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added a section about looping custom menu tracks #9
base: main
Are you sure you want to change the base?
Conversation
Added my own section to file.
Update index.md
Yeah... turns out I had the index file in the wrong spot originally. |
docs/custom-music/index.md
Outdated
@@ -132,3 +132,27 @@ Once done, save and repackage your mod, and you'll find your audio replacement p | |||
| AMB_MainMenu_Loop | 259073131 | Played in the background of the Main Menu | | |||
| PD3_MainTheme_Option02 | 1028929042 | Identical to 1033817546, but not used by the game | | |||
| PD3_MainTheme_Option02 | 1033817546 | Main menu theme used in game | | |||
|
|||
### Correctly looping/making a menu music mod with a length superior to the original's |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This title is way too long, and shouldn't be nested under the heading for wwise ids.
The way your 1033817546.ubulk is going to be handled in-game depends on | ||
values contained within a .uexp file located in | ||
|
||
`PAYDAY3\Content\WwiseAudio\Events\Music\Menus` called `MusicMenu_MainMenu` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this only the case for the main menu music? Or also heist tracks?
|
||
| Offset | Value Type | Value Scale | Function | Notes | ||
|:---------|:-----------------|:-------------|:-----------------------|:-------------------------------------------------------------------------------------------------------| | ||
| 0x146 | float64 (Double) | milliseconds | Music Duration | | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are fixed offsets that only apply to the main menu track? I'd much rather have instructions that allow people to find these offsets for any track.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An example on the main menu track wouldn't go amiss. For example, the main menu song is 192593 miliseconds long according to wwise. Just giving an example on that for the default uexp values should at least point complete hex editing newbies in the correct direction, maybe? I've passing knowledge about hex editing but this one just eludes me.
Apparently this part got removed at one point, which again helps at least pointing people at the solution I guess.
Not too sure about the formatting there, did it by hand in Notepad++, there's also room for some more details about how each function works I reckon