gbdev / gb-asm-tutorial

Learn to create games for the Game Boy using Assembly
http://gbdev.io/gb-asm-tutorial/
MIT License
100 stars 31 forks source link

Move from BGB to Emulicious as suggested emulator #45

Closed leinacc closed 1 year ago

leinacc commented 1 year ago
lesleyrs commented 1 year ago

Why switch to Emulicious? Is there any problem with BGB, because I thought most used that.

ISSOtm commented 1 year ago

The rationale is that BGB is falling behind in terms of how usable it is for developing GB ROMs. The two main issues are that:

Emulicious is gaining traction as an emulator for homebrew developers, and is gaining more and more tools for that as time goes on. All in all, I think this change is warranted. BGB will stay relevant as a low-requirements emulator, but it's not the one I want to introduce in the tutorial anymore.

lesleyrs commented 1 year ago

That's fair. I see that Sameboy is only recommended for mac, is it not advanced enough? (I've only used BGB so far)

I saw that Sameboy has an unofficial wasm build https://github.com/max-m/SameBoy and having a really accurate emulator that can run on the web is very cool imo.

ISSOtm commented 1 year ago

SameBoy lacks "auxiliary" viewers (e.g. a VRAM viewer) outside of the macOS build; SuperDux exists but is unfinished.

Web emulators are not suitable to homebrew development.

lesleyrs commented 1 year ago

SameBoy lacks "auxiliary" viewers (e.g. a VRAM viewer) outside of the macOS build; SuperDux exists but is unfinished.

Ok that settles that.

Web emulators are not suitable to homebrew development.

Yea, I meant that being able to use the same accurate emulator for homebrew and for playing the games on web would be cool. But obviously having features for development is more important so never mind.

tobiasvl commented 1 year ago

I asked about Mesen 2 on the Discord too, but thought I'd mention it here too as an alternative (for homebrew, not necessarily the tutorial). It seems like a nice emulator with lots of debugging features.

ISSOtm commented 1 year ago

I know Emulicious' accuracy is on par with with SameBoy, so no harm in encouraging that one. I don't know about Mesen2's status accuracy-wise, but it's in rapid development at the moment anyway. Adding it to the suggested list is a good idea! You can go ahead and suggest the change if you'd like.

ISSOtm commented 1 year ago

(I just rebased the changes)

pinobatch commented 1 year ago

@ISSOtm I ran Numism in Mesen 2.0.0-preview1, and Mesen 2's score (GB: 28/30; SGB: 27/30, GBC: 29/30) is unchanged from Mesen-SX and roughly on par with mGBA.

ISSOtm commented 1 year ago

Useful commands:

% ffmpeg -i src/assets/vid/trace_copy.mp4 -c:v libvpx-vp9 -b:v 0 -pix_fmt yuv420p -pass 1 -f webm -y /dev/null
% ffmpeg -i src/assets/vid/trace_copy.mp4 -c:v libvpx-vp9 -b:v 0 -pix_fmt yuv420p -pass 2 src/assets/vid/trace_copy.webm
% ffmpeg -i src/assets/vid/trace_copy.mp4 -vf "select=eq(n\,0)" -vframes 1 src/assets/vid/trace_copy.poster.png