Skip to content

v0.1.2

Compare
Choose a tag to compare
@Ghoster738 Ghoster738 released this 17 Jul 21:55
· 251 commits to main since this release

Audio Update

Now, sound can be played in Future Cop M.I.T. Announcements and Sounds can be played.

New Features

Announcements or SWVR resources can now be played. Also added announcement player.

Controls

Press ACTION button to play the audio.
Press RIGHT to go to next announcement.
Press LEFT to go to previous announcement.

What is displayed?

image

Subfile Name is the name of the announcement. Mostly the team uses numbers with slashes.
SWVR tos offset is the offset from first announcement resource.
SWVR offset is the offset from the start of the mission file.

Generic Sound Resources can also be played.

Note: sounds 1-127 are from the global file. Sounds beyond 127 are from the mission file. WAV and AIFF resources are counted as generic sound resources.

Controls

Press ACTION button to play the audio.
Press JUMP to toggle sound looping.
Press RIGHT to go to next sound.
Press LEFT to go to previous sound.

What is displayed?

image

Resource Id is the identifier of the sound.
The sample offsets are loop offsets
The rest are instructions.

Configurable Audio Volume from sound.ini file.

This file sits at the same location as the futurecop.ini file.

The sound.ini file has four volume levels. sfx volume affects generic sound levels. music volume affects music. Announcement volume affects announcement volume. master volume level affects all three.

Note: The volume cannot exceed 2.0 because I do not want to blow peoples ears up.

Audio exported will keep their metadata preserving loop information.

  • AIFF reading code now reads more metadata.
  • WAV reading code has been refactored.
  • Audio offsets from both AIFF and WAV resources are parsed.
  • Exported WAV and AIFF re-encoding is now optional to avoid metadata loss.

Regressions

  • PS1 files are not supported due to them using their audio encoding being more challenging to decode then regular PCM like WAV or AIFF.
  • Strange audio gaps when setting audio to loop. These gaps create popping noises.

What's Changed

  • Fixed frame to frame slowness bug by @Ghoster738 in #51
  • Fix Bounding Box Rendering Bug For Macs by @Ghoster738 in #52
  • Made Finalize Workaround Configurable by @Ghoster738 in #53
  • Added MojoAL Sound Library, Soundtrack Playback, Partial TOSResource Support, Accessor Upgrade by @Ghoster738 in #54
  • Added Announcements Player and added SWVR Handling by @Ghoster738 in #55
  • AIFF Support and Code Refactoring by @Ghoster738 in #57
  • AIFF and WAV playback support; Added Sound Player; Audio System Upgrades and Changes by @Ghoster738 in #58
  • Added Sound Settings; Fixed Submodules; Removed Temporary glFinish bitfield by @Ghoster738 in #59
  • Rewrite ini if either incomplete or missing by @Ghoster738 in #60

Full Changelog: v0.1.1...v0.1.2