Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines
(1 edit)

Hrm. Did you copy the exe to a new folder on it’s own? It needs the dll and (if you didn’t bundle it with the exe) the pck files.

Try running it from command line and seeing what the error messages are.

ERROR: godot-rust function call failed: GodotBoy::load_rom_buffer()

    Reason: parameter #0 (godot_core::builtin::collections::packed_array::PackedByteArray) conversion

  Source: cannot convert from NIL to PACKED_BYTE_ARRAY: null

I also see this error in Godot debug report:

ERROR: Could not create child process: rcedit ./mrmoosdemo.tmp --set-icon C:/Users/adama/AppData/Local/Temp/_rcedit.ico --set-file-version 1.0.0.0 --set-product-version 1.0.0.0

(1 edit)

RcEdit is a tool for changing your games icon. If it’s missing, the export will still work, but it will have the Godot logo. Nothing wrong with that, but if you want to change that, you can install that.

Read Godot’s docs for more.

(1 edit)

Well, it looks like it’s not loading your ROM. Did you put it in the right place? Does it have a matching file extension?

I added my rom, deleted the original GB Studio demo rom, and renamed my rom to game.gb

I have followed to Video linked above. I exported into the same folder as the template...and the dll file is there. It loads and plays the ROM just fine when I preview the project in Godot, but the .exe file doesn't work.

I have tried on 3 different machines. Same result. I am using  Godot 4.4 which prompts me to update the template project with this


I have done both "restart and upgrade" and "cancel" but it doesn't seem to change the outcome.

(2 edits)

Godot4.4 issues are outside the scope of this project. This template was built for 4.3. It should work in 4.4, but if it doesn’t, it’s likely this is a 4.4 issue, not a GodotBoyTemplete issue. Read their docs for more. Try deleting your .godot folder first though. That forces projects to reimport assets and sometimes fixes issues.

The template here was behind the Git repo a bit. Looks like there are some old bugs with the export that were fixed on the main branch. I updated the build here. Try your export again.

I used Godot 4.3 and downloaded this updated Template. Everything works great now. Thanks for your help!

I do notice a tiny bit of "screen-tearing" when playing the games. I'm not sure it is screen-tearing exactly, but there is regularly a horizontal line of misaligned pixels that moves vertically from bottom to top when the scene is scrolling.

Yeah, not sure what the best way to deal with that is yet. The game is updating the screen out of sync with emulator updates. I think this might happen if you have high refresh rate monitor, but maybe without high refresh rate too.

I heard from someone about the Stream Tearing issue. They said they fixed it by changing the renderer to Compatiblity, instead of Forward+. Can you see if that helps you?

Unfortunately, changing to Compatibility didn't seem to help. If you find out more, let me know. 

It is noticeable, but for now, it is a small price to pay to be able to easily share these games with people that aren't really interested in setting up an emulator. We make these little GB Studio games in my junior high digital art class - and this is a nice way of showing other students, teachers, and parents what we are doing.

I'm also trying out Bubble Wrap, which is working OK as well. 
Thanks again for your help.