Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mame built-in cheats cannot recognize East Asian characters #454

Open
crashGG opened this issue Sep 20, 2023 · 10 comments
Open

mame built-in cheats cannot recognize East Asian characters #454

crashGG opened this issue Sep 20, 2023 · 10 comments

Comments

@crashGG
Copy link

crashGG commented Sep 20, 2023

mame built-in cheats ( .\system\mame\cheat.zip)cannot recognize East Asian characters(Chinese, Japanese and Korean)

Here is an example cheat.zip

with Retroarch 1.16 + mame current core 0.258:
2023-09-20_085050

with stand alone mame/arcade 0.258:
1

@Immersion95
Copy link

Immersion95 commented Oct 5, 2023

I would love this to be implemented

@sonninnos
Copy link
Collaborator

Since the reason is not "cheats" per se, but the fonts in the internal menu, fixing this is very very very unlikely. Or does standalone that uses that same internal menu show them correctly?

@crashGG
Copy link
Author

crashGG commented Oct 5, 2023

Since the reason is not "cheats" per se, but the fonts in the internal menu, fixing this is very very very unlikely. Or does standalone that uses that same internal menu show them correctly?

As my second picture shows, standalone mame using that same internal menu show them correctly

@sonninnos
Copy link
Collaborator

That clearly is not the same internal menu.

@crashGG
Copy link
Author

crashGG commented Oct 5, 2023

2023-10-05_184655

this picture, I used mame’s default ui color scheme

@sonninnos
Copy link
Collaborator

sonninnos commented Oct 5, 2023

Ok, that is more like it. The font is different from the basic bitmap one meant for small resolutions. Kinda like with RA menu driver RGUI vs the rest.

Does it change at all if you force the resolution bigger with "alternate renderer"? There should be nothing in this core that disables or removes the MAME internal UI features though. But I wouldn't be surprised that those kinds of truetype fonts are not accessible and/or built-in.

@crashGG
Copy link
Author

crashGG commented Oct 5, 2023

I've tried using"alternate renderer",The Chinese cheat entry has the same display issues.

@sonninnos
Copy link
Collaborator

Oh right, just noticed that an issue about the font already exists: #259

@crashGG
Copy link
Author

crashGG commented Mar 13, 2024

Finally, I found a solution. The sad thing about mame core is that it does not support ttf fonts, so we need to use the bitmap bdf font supported by mame core to solve it. Copy this
uismall.zip
font file to the \RetroArch\system\mame directory, and then edit the \RetroArch\system\mame\ini\mame.ini related options
QQ图片20240313203126

Finally edit the core options file MAME.opt and set mame_read_config = "enabled", or enable it in the core menu.
The final effect is as follows:
QQ图片20240313202323

@crashGG
Copy link
Author

crashGG commented Mar 13, 2024

This method can also be used to localize the UI interface. Just copy the official mame language directory to \RetroArch\system\mame, and then edit the language field in mame.ini

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

No branches or pull requests

3 participants