Sigmmma / mek

GNU General Public License v3.0
13 stars 5 forks source link

Mozzarilla is strippout out tag data with the sound compile utility. #20

Open Apocalypse612 opened 4 years ago

Apocalypse612 commented 4 years ago

After running Mozzarilla to compile a sound-dialogue-player class .wav file, upon inspection, the produced file has most ALL the data fields being zerod out. It's also incorrectly making the sound class into projectile impact.

With the lack of tag preservation functionality, this will will make the resulting file shorter than it's supposed to be, and "compressed", so to speak.

image image

The top waveform there is the original, the bottom is post-mozarrilla.

After all the tag data was copied over by me manually, the file is the proper length.

image

ShellyHerself commented 4 years ago

Have you tried using "Preserve tag values" in the sound compiler window?

(I didn't write this feature. Trying to figure out what might be wrong here)

Apocalypse612 commented 4 years ago

Have you tried using "Preserve tag values" in the sound compiler window?

(I didn't write this feature. Trying to figure out what might be wrong here)

Yes, of course. This pass was with that feature enabled, and it's also the default setting.

ShellyHerself commented 4 years ago

Okay, I will look into what's going on here soon

Apocalypse612 commented 4 years ago

Thanks, I appreciate it @gbMichelle . Having this preservation feature working will make creating my xbox enhancement mod much easier.

Apocalypse612 commented 4 years ago

I just ran another test. On top of the above issues, generate mouth data is also assigning the wrong address. It might be paired with the above, it might not. Just thought I'd mention that, but because of this, in my case swapping in this file breaks the cutscene it's paired to altogether. I've tested this on both modified and unmodified files.

ShellyHerself commented 4 years ago

The address is not used when a tag is in non-meta state. It's irrelevant. The problem you're facing with re-injecting the tag data might be a problem in the other tool you're using. Mozzarilla saved tags are only meant for use with the HEK, MEK, and Invader

Apocalypse612 commented 4 years ago

I'm pretty much using all the tools you mentioned above.

I am using Arsenic to rebuild the xbox maps though (since it's the only tool that can rebuild xbox without problems), and assembly to view the tag file data info after for changes simply because I like the UI.

ShellyHerself commented 4 years ago

Do these tags work on PC, but not on Xbox? Arsenic depends on a lot of internal tag values being there that tools like tool normally generate for it

Apocalypse612 commented 4 years ago

I can't test that because the campaign mode for PC was dummied out. I did use Refinery for the initial data/tag exports, though (not tool).

ShellyHerself commented 4 years ago

tool is what you use to compile maps for PC. You can load campaign on PC using commands or a different UI map

Apocalypse612 commented 4 years ago

I'll have to test that at some point when I can if I can figure it out. I guess Xbox simply doesn't have a map rebuilder that works properly without error yet. Hopefully, Invader will have one up and running this year.

Mozz definitely doesn't play nice with Arsenic, but invader-sound does accurately pull over 80% of the existing tag data, where Mozz pulls over just about none.