Skip to content
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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Delta-Pizza
Copy link

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

@Delta-Pizza Delta-Pizza closed this Oct 7, 2023
@Delta-Pizza Delta-Pizza reopened this Oct 7, 2023
@Delta-Pizza
Copy link
Author

Yeah... turns out I had the index file in the wrong spot originally.

@@ -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
Copy link
Member

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`
Copy link
Member

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 | |
Copy link
Member

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.

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.

image
Apparently this part got removed at one point, which again helps at least pointing people at the solution I guess.

@florensie florensie mentioned this pull request Oct 8, 2023
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.

3 participants