Нет описания

Cathy Nguyen 8d19fb8fc8 more cleaning 2 лет назад
compiled b6a334babe Saving Emulator state and Upgrading to latest FW 3 лет назад
icons 4d1c54d1af Initial commit as standalone repo 3 лет назад
tamalib b6a334babe Saving Emulator state and Upgrading to latest FW 3 лет назад
README.md e7eb3edf79 GUI design is my passion 2 лет назад
Screenshot1.png 23f7cbdadc Made the readme and menu pretty 2 лет назад
Screenshot2.png 23f7cbdadc Made the readme and menu pretty 2 лет назад
Screenshot3.png 23f7cbdadc Made the readme and menu pretty 2 лет назад
Screenshot4.png 23f7cbdadc Made the readme and menu pretty 2 лет назад
application.fam e7eb3edf79 GUI design is my passion 2 лет назад
hal.c b6a334babe Saving Emulator state and Upgrading to latest FW 3 лет назад
hal_types.h b6a334babe Saving Emulator state and Upgrading to latest FW 3 лет назад
tama.gif e732f088a6 Updated Readme 3 лет назад
tama.h b6a334babe Saving Emulator state and Upgrading to latest FW 3 лет назад
tamaIcon.png 6d5040b9c6 fix merge conflicts 2 лет назад
tamaIcon1.png c0df21bc4f Add alternate fap icons 2 лет назад
tamaIcon2.png c0df21bc4f Add alternate fap icons 2 лет назад
tamaIcon3.png c0df21bc4f Add alternate fap icons 2 лет назад
tamaIcon4.png c0df21bc4f Add alternate fap icons 2 лет назад
tama_p1.c 8d19fb8fc8 more cleaning 2 лет назад

README.md

Tama P1 Emulator for Flipper Zero

This is a tama P1 Emulator app for Flipper Zero, based on TamaLIB.

Alt Text

How to play

Create a tama_p1 folder in your microSD card, and put the ROM as rom.bin. Use a search engine to find the Tamagotchi ROM. There is a file named tama.b. Rename this to rom.bin.

Controls in portrait mode are the same as landscape mode, but turned 90 degrees.

  • Left button is A.
  • Down or OK is B.
  • Right button is C.
  • Up button takes you to the emulator menu.
  • Hold the Back button to save and exit.

Alt Text Alt Text

Building

Move this folder into flippers applications_user/TAMA-P1.

Launching the app, directly from console to flipper:

./fbt launch_app APPSRC=applications_user/TAMA-P1

Run the following to compile icons:

scripts/assets.py icons applications/tama_p1/icons applications/tama_p1/compiled

Note: you may also need to add -Wno-unused-parameter to CCFLAGS in site_cons/cc.scons to suppress unused parameter errors in TamaLIB.

Debugging

Using the serial script from FlipperScripts it is easy to add direct logging after running the application:

`python .\serial_logger.py`

`./fbt launch_app APPSRC=applications\plugins\tama_p1;  python .\serial_logger.py`

Alternatively, follow the directions here: https://flipper.atmanos.com/docs/debugging/viewing/

Implemented

  • Menu options:
    • Switch between portrait and landscape
    • A+C shortcut (mute/change in-game time)
    • Double speed / fast-forward

Alt Text

To-Do

  • Fix bugs:
    • When not on 1x speed, after mashing buttons in quick succession, buttons stop responding for a few seconds. But the rom still runs.
  • Stuff to do when bored:
    • optimization and bug fixing (see above)
    • add to this list
    • portrait menu
    • Add "loading bar" when saving
    • "Advanced" settings
    • saving and loading, multiple save states, with the date and time of of each save.
    • Autosave and changing autosave frequency
    • Save settings to /tama_p1/settings.txt

Alt Text