chrismaltby / gb-studio

A quick and easy to use drag and drop retro game creator for your favourite handheld video game system
https://www.gbstudio.dev
MIT License
8.58k stars 474 forks source link

[Request] Allow remapping of ASCII tiles to different Unicode characters #213

Open jummy0 opened 5 years ago

jummy0 commented 5 years ago

Is your feature request related to a problem? Please describe. I'm trying to create a game in a language that doesn't use the Latin alphabet (Japanese), but even though my ascii.png contains all the necessary graphics, I have to manually enter the hexadecimal codes of each character into project.json. This makes it very tedious to add dialogue, and impossible to read in the editor.

Describe the solution you'd like. The user should be able to remap which Unicode characters correspond to each tile in ascii.png.

Describe alternatives you've considered. Unfortunately, true Unicode support seems out of the question. Exceeding 256 characters would make the tileset unable to fit into VRAM completely, therefore a system would be necessary to only load the required characters, similar to the current system used for backgrounds.

Additional context

image image

RichardULZ commented 5 years ago

Totally agree. In the meantime, ill put my ascii table here incase people find this and can't type characters. https://gist.github.com/RichardULZ/2920dca52989902dbb7225318256c545

Highly recommend a tool like notepad++ for bulk replacement too, there's a feature for multi replacement. https://superuser.com/a/766489

If you set it all up, you may be able to type Japanese in the editor and run a bulk conversion on the json in notepad++ from Japanese to hex or special characters.