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

Add complete support for "Rikki & Vikki" #71

Merged
merged 7 commits into from
Aug 25, 2022

Conversation

tachimarten
Copy link
Contributor

@tachimarten tachimarten commented Aug 25, 2022

Hi,

Here's a pull request with complete support for "Rikki & Vikki", including music. It adds support for BupSystem's BIN/CDF format, so that you can open the Steam FoxBox.cdf in RetroArch and it should run fine. Note that you must add cdf as a valid extension in the core info or RetroArch will refuse to open it.

One of the commits contains a vendored copy of part of BupBoop, which is an emulation of the chip that this game uses. (The emulator, chip, and game were all written by the same author.) This library is under the zlib license, which is GPL compatible.

There is a corresponding upstream pull request that contains this same code, ported over to its style.

Closes #63.

This is needed because SOUPER cartridges can trap MARIA's reads and
handle them specially.
This is located at: http://tailchao.com/Audio/index.php#BupBoop

It uses the zlib license, which is GPL compatible.

This library is needed to emulate the sound hardware that "Rikki &
Vikki" uses. It's an entirely separate chip included in the cartridge
that produces 16-bit stereo audio.

Note that BupBoop supplies a library called WinTone that provides
DirectSound bindings, but we don't use it both because we already use
DirectSound and because using WinTone would complicate `libretro`
portability.
Note that this commit itself doesn't actually allow the BupChip to be
used for anything, because the only way to supply music for the BupChip
to play is through the CDF format.
This format allows song files to be supplied to the emulated BupChip for
playback. It matches the format used by BupSystem:
http://tailchao.com/BupSystem/index.php

"Rikki & Vikki" is supplied as a CDF file, along with an unheadered
`.bin` image and several music files.
@lgtm-com
Copy link

lgtm-com bot commented Aug 25, 2022

This pull request introduces 3 alerts when merging 60de1d5 into fbf62c3 - view on LGTM.com

new alerts:

  • 2 for Lossy pointer cast
  • 1 for Comparison result is always the same

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.

Support for Rikki and Vikki
2 participants