HerrZatacke / wifi-gbp-emulator

A GameBoy printer emulator which provides the received data over a wifi-connection.
66 stars 7 forks source link

Can't load pictures from Tony Hawk's Pro Skater 2 after printing them successfully to the Wemos D1. #16

Open hmax42 opened 1 year ago

hmax42 commented 1 year ago

First, thanx for the awesome software and PCB! I use a Wemos D1 with the custom PCB and have successfully retrieved multiple camera pictures via the web gui of the printer-emulator.

The game Tony Hawks Pro Skater 2 offers to print unlockable pictures. I can successfully print the picture from its menu and the web gui also shows the picture being present in the printer-emulator But when i want to fetch the picture in the web gui and click OK in the confirmation popup, nothing happens. The picture is not fetched. No error is given.

Is there i way to dump the SPIFFS space where the picture is so i can attach it here for analysis of the error?

HerrZatacke commented 1 year ago

There is no way to export the spiffs afaik. What you can try is to directly open http://<printer-ip>/dumps/list

This should give a response json like

{
  "dumps": [
    "/dumps/d/00001.bin"
  ],
  "fs": {....}
}

from there you can see if there are dumps listed in the dumps array which you can download individually via http://<printer-ip>/dumps/d/<number>.bin

You can then drop these dumps manually into the web-app to see if there's one not working.

But I have the suspicion the printer emulator may not be compatible with your game. The main development focus is on supporting the gameboy camera. In that case it might be too much effort to achieve compatibility.

Maybe it helps you that there's another similar project which is dedicated to have compatibility with every game in existence.

HerrZatacke commented 1 year ago

Alternatively (if you're not planning to regularly print from your game) you could try to use this basic implementation which prints to the serial console.