Dark_Ansem

Regular
Regular
Joined
Jun 16, 2020
Messages
592
Reaction score
144
First Language
English
Primarily Uses
RMMZ
On the coat-tails of this project project (thanks @AceOfAces_Mod ) I decided to experiment a little bit and guess what. MZ can, in fact (at least for BGM) play OPUS files if renamed to ogg even if converted through 3rd party solution like foobar.

One conversion issue is that because of different KhZ rate, loop points get screwed.

More testing needed but not discouraging results.
 

Dark_Ansem

Regular
Regular
Joined
Jun 16, 2020
Messages
592
Reaction score
144
First Language
English
Primarily Uses
RMMZ
UPDATE: so, pretty much every audio works. However, there is one significant issue, and that is once converted to OPUS, it's impossible to edit in most editors except Audacity + ffmpeg.

So, great for when you don't need to deal with loop points with trial and error, and only after the volume is finalised.

UPDATE 2: and of course something was due to happen, namely, that loopstart and looplength are not recognised in OPUS files. I have positively no clue why since even changing the header via Hex made no difference, in fact made the whole thing unplayable. The tags are set properly and recognised by external editors.

EDIT3: I'm done for the day, I have no clue how to make loop points work with opus files. and I have other things to do unfortunately. @AceOfAces_Mod , your help would be especially appreciated if you are interested since you had the idea in the first place.

as of now, ideal OPUS usages are for whenever the audio doesn't require a loop point (so, pretty much ME and some SE) as unless I'm wrong, E to S still works.

EDIT4: so, I tried using the converter provided in the first link very graciously. I can confirm that even setting loop points in the original file and then converting doesn't work, the game ignores them even if in MZ the preview window works.

EDIT5: understandably, while multitrack oggs work, multitrack opus renamed with .ogg extension don't. so the issue must be in how the engine is getting the information from the fake ogg file. I tried editing the header in Hex (you know, the last resort of the desperate) but all I mustered was an unreadable file.

EDIT6: what I could find about the different headers
  • OGG File Header: An OGG file begins with a simple header that includes a magic number (a sequence of bytes used to identify the file type), the version number, and other information about the file. This is followed by one or more segment tables that contain the actual audio data.
  • Opus File Header: An Opus file also begins with a header, but this header is more complex and contains more information. The Opus header includes a magic signature, version number, audio sample rate, number of channels, and other information. This is followed by one or more audio frames that contain the actual audio data.
 
Last edited:

Latest Threads

Latest Profile Posts

ThereseIdleWIP2.gif
Design finished. Onto finishing the entire sprite sheet and alternative colours now
What does it say about you when a mushroom is your best friend?
If a game had a moral-choice system at the beginning 3 chapters where defeating an on-screen encounter grants a "-2" at the end of the level whereas evading it granted "+2" at the end of the chapter, and then each chapter also had a dialogue choice that'd give/take points depending on the answer the player gives, how many points would you expect to gain from the dialogue choices?
Dynamic.png

My next plugin will be:

DYNAMIC SWITCHES! (For RPG MAKER MZ)

What does this plugin allow?

Basically it allows you to create switches that work even though the game is closed.

Example of use:

You can make a system that you can only run a mini game once a day (or an event or whatever you want) and you have to wait 24 hours to play again.

I open thread here...
Brain: Hey! Let's draw something inspired by Tangela.
Result: Hartestant.png

Brain: What the hell man! That's it, I'm out!

Forum statistics

Threads
134,797
Messages
1,250,750
Members
177,592
Latest member
ywio2587
Top