mierau / gamekid Goto Github PK
View Code? Open in Web Editor NEWPlay Game Boy games on your Playdate.
Home Page: https://gamekid.fun
Play Game Boy games on your Playdate.
Home Page: https://gamekid.fun
When I launched the emulator on my Playdate OS 2.0.0 this error message appeared.
This is amazing and is the perfect idea for the Playdate. Is this still being worked on and are there any plans to address performance as it runs at what seems like half(ish) speed. Great work anyway!!
The team that works on porting NES & GB to the Super Mario G&W hardware has already done a lot of work to get the emulators running on that hardware. The STM32 chip is very similar between the two, perhaps look at harvesting some of their code for the PD?
https://github.com/kbeckmann/game-and-watch-retro-go
Seperatley, their Discord is here and they have a great bunch of developers: https://discord.gg/p3FuA9P8
A few days ago I released my port of PeanutGB as well. I was able to get audio working using the SDL example as a guide. I could probably make a pull request, but it's easier to explain it since you are more familiar with your code base.
You will need minigb_apu from the Peanut-GB SDL example. The only changes you need to make to minigb_apu is the audio_callback and update_square, update_wave, and update_noise . If you reference main.c and Ctrl+F for "sound", you will see all of the necessary set up for the sound callback. Basically it's just using pd->sound->addSource() and audio_init() from minigb_apu. You also have to remove the source when closing the rom or it will create problems.
It seems like loading roms always works if it's the first rom I load right after opening the app, but if I open a rom and then return to library through the Playdate menu, some roms will fail to load and completely crash the Playdate. Specifically it happens with Pokemon Blue, so I guess it might be related to the size of the rom (Pokemon Blue is a 1 MB game).
I've opened a PR for this change, but I don't know if this package is still maintained so it may not get looked at.
Here are instructions for those who want to edit the file themselves and build the package for use on Playdate OS 2.0 - its just one file.
Original line 125:
playdate->file->listfiles("/games", listFilesCallback, view);
Updated line 125:
playdate->file->listfiles("/games", listFilesCallback, view, 1);
I am on an M1 Mac so didn't have issues, but I understand that it may not build on Intel Macs or Windows machines. If you have issues and my PR to fix the package hasn't been merged yet, there is also a built .pdx in my fork here - https://github.com/peter-toft/gamekid
In trying to play a rom, it's very slow (but I know that's already been raised), more problamatic though is the game in question has a menu accessed by pressing select and select appears to be constantly being pressed, I've tried with the crank docked, open, up and down and not moving, either way it keeps going back to the select menu whenever a button is pressed (e.g. right or left on the dpad).
I just checked out the repo, and tried running make
in the gamekid
folder, but I'm getting the following error:
make: *** No rule to make target build/pdex.bin', needed by
device'. Stop.
I don't fully understand how the crank knows how to simulate a start or select press.
Can you make it when the crank moves across 0 (either clockwise or counter clockwise) it simulates start and when it moves across 180 (again either clockwise or counter clockwise) it simulates a select?
I was trying to set up a save file in links awakening and i kept on bouncing back and forth between selecting slots, entering name and bouncing back out. I know for that game in particular the start button is used A LOT.
In the readme it recommends side-loading through a play.date account.
But in this scenario the data folder will no longer follow the bundleID app.gamekid.data
; it will instead be something else with only the final part of the reverse dns notation being used. After user the account website to side-load onto my device the Gamekid data folder is called user.124.data
. 😬
This is, of course, confusing and I struggled with the documentation for Audition for this very reason. I ended up referring to it in my documentation as Data/*.audition
but this is still far from ideal.
Greetings esteemed developer:
Thank you very much for developing this gameboy emulator in playdate, I tried to run Pokémon Red and he performs well, but I'm experiencing the problem of not being able to save, when I open the game again, I can only restart the game, I can't read the save of the last time, I very much plead with you to fix this problem, it will make playdate more valuable.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.