rombundler icon indicating copy to clipboard operation
rombundler copied to clipboard

Provide an OSX app

Open kivutar opened this issue 2 years ago • 8 comments

kivutar avatar Sep 16 '21 16:09 kivutar

how does rombundler work on macos currently?

Strugglemeat avatar Apr 19 '22 13:04 Strugglemeat

It can work on MacOS but isn't yet as user friendly as I would want.

For example it's going to compile fine, and be able to launch the games.

The missing parts are to package everything as a .app and codesign it and notarize it. It's something that I know how to do, see https://github.com/libretro/ludo/blob/master/Makefile#L49-L96 and https://github.com/libretro/ludo/blob/master/.github/workflows/cd.yml#L66-L97

But I've not done it yet for rombundler.

kivutar avatar Apr 19 '22 13:04 kivutar

I don't have a mac to test with but I gave someone the macOS release here along with my ROM and the .ini and the .dylib.

they said it ran a shell and gave the output "Could not parse config.ini"

any insight into how to get it to work?

Strugglemeat avatar Apr 19 '22 14:04 Strugglemeat

It may be due to the ways lines are ended in the file.

If you're on Windows, the editors are using different invisible characters than on Unix to represent the jump to the next line. Good text editors like vscode or sublime will allow you to choose which format the file is using, try to switch it to the Unix format.

You can also paste your config.ini there and I will check it.

kivutar avatar Apr 19 '22 14:04 kivutar

I opened the config.ini with sublimetext but didn't see any abnormal characters. thanks very much for your help!

here's the mac config.ini:

title = game core = ./blastem_libretro.dylib rom = .././Game.bin swap_interval = 1 fullscreen = true scale = 3 hide_cursor = true map_analog_to_dpad = true shader = zfast-crt filter = linear aspect_ratio = 1.777778

Strugglemeat avatar Apr 19 '22 16:04 Strugglemeat

It's normal that you don't see them. Files have invisible characters in them. (see https://en.wikipedia.org/wiki/Newline )

I can't see them if you paste like this.

Try to find how to manually tell Sublime to use Unix line endings. I think it's in View -> Line Endings

kivutar avatar Apr 20 '22 06:04 kivutar

had another person try and they got this result:

❯ ./romname-mac
Product ID: 08800880
SHA1: 89ba169e6d10c6c663f46e099d3eb07c00f441b4
Not found in ROM DB, examining header

alloc_code: Cannot allocate memory
Failed to allocate memory for generated code

Strugglemeat avatar Apr 25 '22 05:04 Strugglemeat

It looks like blastem fails to load your ROM Did you try in blastem in retroarch first?

kivutar avatar Apr 25 '22 07:04 kivutar