Skip to content

Add openbios.bin to mednafen_psx_libretro.info, and mednafen_psx_hw_libretro.info - #2029

Open
davidhedlund wants to merge 8 commits into
libretro:masterfrom
davidhedlund:Beetle-PSX,-and-Beetle-PSX-HW
Open

Add openbios.bin to mednafen_psx_libretro.info, and mednafen_psx_hw_libretro.info#2029
davidhedlund wants to merge 8 commits into
libretro:masterfrom
davidhedlund:Beetle-PSX,-and-Beetle-PSX-HW

Conversation

@davidhedlund

@davidhedlund davidhedlund commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Users should be notified whether openbios.bin file has been loaded from the System/BIOS directory under Main Menu → Information → Core Information the under Firmware section.

Fixes:

Main Menu → Information → Core Information results

With openbios.bin added to the System/BIOS directory

Indicates that external OpenBIOS is used:

Image

Without openbios.bin added to the System/BIOS directory

Indicates that the inbuilt version of OpenBIOS is used:

Image

Additional information

If these commits are approved, openbios.bin should also be added to:

Reviewers

@hizzlekizzle @ZachCook

@davidhedlund

davidhedlund commented Jul 26, 2026

Copy link
Copy Markdown
Contributor Author

Considerations

Region

Currently, it displays "(PS1 OpenBIOS)". But it is a multi-region BIOS that even supports Asian regions (corresponding to scph5003.bin) so should it instead display "(PS1 AS/EU/JP/US OpenBIOS)"?

MD5sum

It displays md5: varies because the BIOS constantly updates, which is inherent to how it is downloaded and built.[1] Alternatively, the description line can be omitted entirely, resulting in this format:

image

References

1: How do download openbios.bin

Comment thread dist/info/mednafen_psx_libretro.info
@ZachCook

Copy link
Copy Markdown

Another somewhat related consideration, is if the region specific bios files really still need to be called required now that the builtin openbios is available as a fallback.

group openbios.bin with region-free BIOSes.
group openbios.bin with region-free BIOSes.
Set openbios.bin to optional (the inbuilt version of OpenBIOS is used as fallback)
Set openbios.bin to optional (the inbuilt version of OpenBIOS is used as fallback)
@davidhedlund

davidhedlund commented Jul 26, 2026

Copy link
Copy Markdown
Contributor Author

Another somewhat related consideration, is if the region specific bios files really still need to be called required now that the builtin openbios is available as a fallback.

Yeah! OpenBIOS is inbuilt and supports multiple regions. But can you please give feedback to this before I change firmware*_opt values from false to true:

Region

Currently, it displays "(PS1 OpenBIOS)". But it is a multi-region BIOS that even supports Asian regions (corresponding to scph5003.bin) so should it instead display "(PS1 AS/EU/JP/US OpenBIOS)"?

@ZachCook

Copy link
Copy Markdown

I don't know the conventions for the descriptions, but it could be made to match PSP and PS3 and be (OpenBIOS PS1 BIOS)

@davidhedlund

Copy link
Copy Markdown
Contributor Author

I don't know the conventions for the descriptions, but it could be made to match PSP and PS3 and be (OpenBIOS PS1 BIOS)

Yeah, let's keep the current revision for that.

@ZachCook

Copy link
Copy Markdown

typo in PR description openbiox.bin -> openbios.bin

Set all `firmware*_opt` values to `false`: You no longer need to place a BIOS file in the System/BIOS directory, because OpenBIOS is built-in and serves as a fallback.
Set all `firmware*_opt` values to `false`: You no longer need to place a BIOS file in the System/BIOS directory, because OpenBIOS is built-in and serves as a fallback.
@davidhedlund

Copy link
Copy Markdown
Contributor Author

Another somewhat related consideration, is if the region specific bios files really still need to be called required now that the builtin openbios is available as a fallback.

Fixed:

@davidhedlund davidhedlund changed the title Add openbiox.bin to Beetle PSX (mednafen_psx_libretro.info), and Beetle PSX HW (mednafen_psx_hw_libretro.info) Add openbio.bin to Beetle PSX (mednafen_psx_libretro.info), and Beetle PSX HW (mednafen_psx_hw_libretro.info) Jul 26, 2026
@davidhedlund

Copy link
Copy Markdown
Contributor Author

typo in PR description openbiox.bin -> openbios.bin

Fixed. Thanks for all the helpful feedback!

@davidhedlund davidhedlund changed the title Add openbio.bin to Beetle PSX (mednafen_psx_libretro.info), and Beetle PSX HW (mednafen_psx_hw_libretro.info) Add openbios.bin to mednafen_psx_libretro.info, and mednafen_psx_hw_libretro.info Jul 26, 2026
@davidhedlund davidhedlund changed the title Add openbios.bin to mednafen_psx_libretro.info, and mednafen_psx_hw_libretro.info Add openbios.bin to mednafen_psx_libretro.info, and mednafen_psx_hw_libretro.info Jul 26, 2026
@ZachCook

Copy link
Copy Markdown

I also need your feedback on this @ZachCook

MD5sum

It displays md5: varies because the BIOS constantly updates, which is inherent to how it is downloaded and built.[1] Alternatively, the description line can be omitted entirely, resulting in this format:
image

See the main post for the screenshot with md5: varies to compare them.

I think md5: varies is fine, it hints to the user that there is no single openbios.bin version, another option that kinda fits the spirit of this is mentioning the source file location the user can use to compare checksums.

@davidhedlund

davidhedlund commented Jul 26, 2026

Copy link
Copy Markdown
Contributor Author

I think md5: varies is fine, it hints to the user that there is no single openbios.bin version

Thank you!

another option that kinda fits the spirit of this is mentioning the source file location the user can use to compare checksums.

The problem is that the text is static in the info files. But it is not a problem because system directory is displayed at the top. See Looking in:

image

@davidhedlund

davidhedlund commented Jul 26, 2026

Copy link
Copy Markdown
Contributor Author

I think the PR is ready to get merged now but I wait for @hizzlekizzle to review it too.

@ZachCook

ZachCook commented Jul 26, 2026

Copy link
Copy Markdown

I was thinking about a link to pcsx-redux or https://docs.libretro.com/library/beetle_psx/#bios, maybe just "see bios section in the docs"

Then a future improvement is some instructions can be added to https://github.com/libretro/docs/blob/master/docs/library/beetle_psx.md and beetle_psx_hw.md to help users extract the openbios.bin

@davidhedlund

davidhedlund commented Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

Then a future improvement is some instructions can be added to https://github.com/libretro/docs/blob/master/docs/library/beetle_psx.md and beetle_psx_hw.md to help users extract the openbios.bin

Yeah, I've mentioned how to do that in multiple issues over the years (including #2029 (comment)) but I never documented it. So I just submitted this PR:

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants