Code Monkey home page Code Monkey logo

giovanni's Introduction

GIOVANNI GAMEPLAY GIOVANNI

A Gameboy Emulator for the Apple Watch.

To run on your device:

  1. Make sure you have an Apple developer account
  2. Select your development team under the Signing area for each target (giovanni_iOS, giovanni_watchOS, giovanni WatchKit Extension, and Gambatte_watchOS)
  3. Change the Bundle Identifier for each of the above targets to something unique. For example, giovanni_iOS uses com.gabrieloc.giovanni, so change that to something like com.YOUR_USERNAME.giovanni.
  4. Select the giovanni scheme in the top left corner with your device selected and run.

If you are still having issues, please following the tutorial provided by Redmond Pie

Games are loaded from your iPhone's documents directory. In iTunes, drop .gb or .gbc files into the Giovanni app documents folder, and they'll show up automatically on your Apple Watch. You can also download ROMs from safari and then open them using the Giovanni iOS app, which has the same effect. After the first rom is there, you can then use the Files app to put multiple roms at once.

Version 2.1: Bugs: *Very difficult to launch games after the first load. Solution is to open the app on the watch and let the app find the roms, if it doesn't close the app completlely, then reopen it. When the games menu loads, put your phone in airplane mode, then click the game you want to play, usually needing to do this many times. This appears to be an issue with WatchOS 8 and 9 specifically. WatchOS 7 and below shouldn't be affected. Also sometimes caused by a soundbuffer issue, dispite sound not being used' *No savegames, working on this, caused by same issue as above.

*Anything else please use email to send me any bugs you may find.

Changes: *Started process of redesigning the UI on iOS. Not anywhere near complete, many issues with where items are positioned. *Made source code of modified version available to download. *UI on Watch is also changing to fit better on the new 45 and 41mm Series 7. Once again, if issues are found, please email me.


Original Version readme.

Interested in how this was made? Check out the write-up here

Installation

Giovanni uses git submodules for it's one dependency, a modified version of the Gambatte emulator. When cloning, ensure submodules are also pulled down:

$ git clone --recursive [email protected]:gabrieloc/GIOVANNI.git

To run on your device:

  1. Make sure you have an Apple developer account
  2. Select your development team under the Signing area for each target (giovanni_iOS, giovanni_watchOS, giovanni WatchKit Extension, and Gambatte_watchOS)
  3. Change the Bundle Identifier for each of the above targets to something unique. For example, giovanni_iOS uses com.gabrieloc.giovanni, so change that to something like com.YOUR_USERNAME.giovanni.
  4. Select the giovanni scheme in the top left corner with your device selected and run.

If you are still having issues, please following the tutorial provided by Redmond Pie

Usage

Games are loaded from your iPhone's documents directory. In iTunes, drop .gb or .gbc files into the Giovanni app documents folder, and they'll show up automatically on your Apple Watch. When you play a game for the first time, it'll download to your watch and get cached in the watch's documents directory. Subsequent loads are immediate.

UPDATE: Giovanni can open ROMs natively, allowing you to bypass iTunes entirely. More info.

Emulator saving and loading is automatic, and happens whenever the app gets closed/inactivated or opened/activated. In-game saving and loading is completely separate. If for some reason the emulator save gets corrupted, force-touching the screen will bring up the option to reset the emulator, allowing you to resume from your in-game save.

The control scheme is as follows:

Controls

Troubleshooting

Disclaimer: Due to the constraints of watchOS, you may experience crashes or graphical glitches. Keep in mind that this project likely does not align with what Apple expects from the platform, which in turn makes it difficult to optimize and debug.

If for some reason the app becomes unresponsive and must be force-quit, you can do so by having the app in the foreground, pressing the side button, then pressing and holding the Digital Crown for about 5 seconds.

Games don't show up

Because Giovanni relies on your iPhone for transferring games, ensure your paired iPhone is on and within reach.

Garbled (or all white) pixels

Video memory often gets corrupt, in which case you will have to force emulation to be reset. While in-game, force touch the screen and select Reset. If the app closes after that, you will have to re-open, and repeat the process until it works.

Colors wrong

Some games appear to format pixel data differently. The rendering work is done in GameCoreSnapshots.swift, you may have luck adjusting how the Core Graphics context is created.

Known Issues

Games sometime crash when trying to fill the sound buffer

The sound buffer isn't even used, but required by Gambatte. The issue goes away after re-opening the app, but is a huge pain regardless.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.