trekawek / coffee-gb Goto Github PK
View Code? Open in Web Editor NEWGameboy emulator in Java 8.
License: MIT License
Gameboy emulator in Java 8.
License: MIT License
When I run the run.sh, I got the error following:
Error: Unable to access jarfile target/coffee-gb-1.0.0-SNAPSHOT.jar
Because it's coffee-gb-1.0.1-SNAPSHORT.jar in the target directory.
It runs slowly but sometimes it speeds up and audio is stuttery, causing popping noises. Also, I think there should be a input GUI to assign controls to the keyboard, though the default key layout isn't too bad.
EDIT: The games run better now but it still has problems, GB games run better than GBC games as there is some stuttering in framerate.
hey, i am not into java that much but i need to build this, can you add how i could build this? Thanks
Since the latest updates, Pokemon Blue/Red crashes when loading the game world:
Stacktrace:
Exception in thread "Thread-1" java.lang.IndexOutOfBoundsException: Address: 40960
at eu.rekawek.coffeegb.memory.Ram.getByte(Ram.java:43)
at eu.rekawek.coffeegb.gpu.Fetcher.tick(Fetcher.java:133)
at eu.rekawek.coffeegb.gpu.phase.PixelTransfer.tick(PixelTransfer.java:69)
at eu.rekawek.coffeegb.gpu.Gpu.tick(Gpu.java:177)
at eu.rekawek.coffeegb.Gameboy.tick(Gameboy.java:173)
at eu.rekawek.coffeegb.Gameboy.run(Gameboy.java:132)
at java.base/java.lang.Thread.run(Thread.java:833)
It still worked fine with commit: 9f2ea20
But is now crashing, commit: 660ce4b
So something in between those commits likely introduced a bug.
I've really been enjoying looking through coffee-gb's code recently. It's been a huge help in drawing inspiration for a Game Boy emulator that I'm currently working on, as the documents linked in the README are great, and your own code is very understandable.
What I'm wondering is, is coffee-gb's source code released under any particular license?
Whatever the answer, thanks for your work on this project!
Can I get permission to include and modify this emulator into one of my own projects (it is an minecraft mod)? (I will include credits in the mcmod.info file, curseforge page and github page)
Hi, I would like to know it the project could run in this kind of display:
178×128 pixel
Monochrome LCD
The display is part of Lego Mindstorms:
https://www.lego.com/es-ar/mindstorms/products/mindstorms-ev3-31313
The brick run debian and openjdk10
What do you think?
Cheers
Juan Antonio
is there or can you make a gui for the .jar in the releases?
i can’t use terminal
Hi,
I'm writing a port to make this emulator playable in minecraft. I'm noticing an issue where the FPS is not 'limited' resulting my game into running at superspeed. Is there any frame limiter built in? I might be looking over it.
I came across this developing my own emulator, and gave this a try, but how exactly do you open this?
Hey, the usage printed out on the 1.0.0 jar has more info than the README:
Usage:
java -jar coffee-gb.jar [OPTIONS] ROM_FILE
Available options:
-d --force-dmg Emulate classic GB (DMG) for universal ROMs
-c --force-cgb Emulate color GB (CGB) for all ROMs
-b --use-bootstrap Start with the GB bootstrap
-db --disable-battery-saves Disable battery saves
--debug Enable debug console
--headless Start in the headless mode
Not sure why this is happening. The emulator runs (sometimes) at full fps, and sometimes at a severely reduced FPS. Sometimes I only get 1-2 frames per second, with obnoxious beeping sounds because the audio can't smoothly play.
I am running Super Mario Bros Deluxe rom with Oracle JDK 8
Lines 110 to 113 in 9f2ea20
Please remove any concrete SLF4J bindings, such as slf4j-simple from your dependencies. This makes it hard for users of your project to define their own binding, such as log4j2 or similar:
This is mainly a problem because your artifacts are fat/uber-jars. So dependency-exclusions dont work. Ideally, a library would never include any concrete bindings but only the facade itself.
Cheers and thanks for this awesome project!
Hey trekawek,
nice work with your gb-emulator. I would love to play some games with it.
Is ther a feature to save my games or open the .sav games again.
Thanks in advance,
Finn
Discovered playing Pokemon Crystal. If you set the sound to stereo in the game options the left and right side are flipped. Easily noticeable during a Pokemon battle during attacks.
The background of the pausemenu in Link's Awakening (not GBC) isn't getting rendered...
Basically, at the bottom keyboard row I have y x c and not z x c like you.
I would have to put my hands in a weird position if y isn't mapped to z too.
Hi there!
I currently host a ROM Hack on my website using an embedded flash emulator, but since Chrome is going to discontinue flash soon I am looking for a Java/other type of embedded emulator to replace it with.
I found your Java GB, and I was wondering if this would work for me. If so, could you help me set it up?
Thanks and let me know :D
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.