pokered icon indicating copy to clipboard operation
pokered copied to clipboard

i18n builds

Open Rangi42 opened this issue 3 years ago • 7 comments

The French and German versions are already disassembled:

  • https://github.com/einstein95/pokered-fr/
  • https://github.com/einstein95/pokered-de/

There were also Spanish, Italian, and Portuguese releases.

With a system like pokeruby has to keep different languages' data separate, so code files don't get cluttered with IF/ELSEs, these could all be in one repo.

See also: https://github.com/pret/pokecrystal/issues/626 and https://github.com/mid-kid/pokecrystal/tree/splitting

Rangi42 avatar Jul 12 '20 18:07 Rangi42

pokeruby doesn't have the best system for language separation. An ideal setup would specify sources to use for each locale. Simple setup:

ifeq ($(GAME_LANGUAGE),GERMAN)
LOC = de
else
LOC = en
endif

LOCALIZED_GFX := ...

$(LOCALIZED_GFX): %.2bpp: %.$(LOC).png

PikalaxALT avatar Jul 12 '20 18:07 PikalaxALT

Yeah, https://github.com/mid-kid/pokecrystal/tree/splitting has a workable system for that already with its version/ directory.

Rangi42 avatar Jul 12 '20 18:07 Rangi42

https://github.com/mid-kid/pokecrystal/tree/i18n/version might be a better example, lol. The big drawback of the way this is written is that absolutely all of the graphics and object files are rebuilt for each version. This is fine in most rom hacking situations except when you want to make compare, which might take multiple minutes. While I feel like the graphics situation can be improved, building only the necessary object files for each version is naught impossible without specifying them manually in a makefile.

mid-kid avatar Jul 13 '20 12:07 mid-kid

The French and German versions are already disassembled

@einstein95 also disassembled the Italian version; https://github.com/einstein95/pokered-it

“Petros” disassembled the Spanish version; the repository is no longer on GitHub but I mirrored it at https://git.poke.blue/pokered-es/

There were also Spanish, Italian, and Portuguese releases.

Are you sure there was a Portuguese release?

iimarckus avatar Jan 07 '21 16:01 iimarckus

There wasn't a Portuguese release, at least none that are on no-intro (checked with a quick search on their database) There was, however, a Hong Kong/Chinese unofficial release from many, many pirate carts back in the day, yet because it's unofficial it doesn't make much sense for it to be added to i18n efforts

rawr51919 avatar Jun 22 '22 02:06 rawr51919

@einstein95 also disassembled the Italian version; https://github.com/einstein95/pokered-it

I think that version I started but never finished

einstein95 avatar Jun 22 '22 22:06 einstein95

fc17c5b904d551b1b908054ccd1c493f755f832a *pokered-es.gb
87d523fe1a0c548db7c5477b451ddec1eb083c06 *pokered-de.gb
47a7622fa30e6402a3891fe65b3a930bf9bd7aec *pokered-fr.gb
65b97cf8f2f1cff711a6d08c6c894c8ce65ce522 *pokered-it.gb
7715e7b133e8634df48918b9138374110212a108 *pokeblue-es.gb
20e72dc6f41493eee1fdd0cef54214e6c3389688 *pokeblue-de.gb
47faa910d0e073c600665bf9c83b6bd17babdf8a *pokeblue-fr.gb
f69ed1a1332f04c24c7db899a09019bb045fa8b3 *pokeblue-it.gb

The Japanese versions deserve their own project as they are different enough to warrant one:

0623ad12f48c259447980d68bd85ddbf8204b2cd *pokered-jp.gb
82c0eef40a5e2423699d9fd8ba15dfaa8b51d196 *pokegreen-jp.gb
ef74c79cded14204ac79e77f4964d9cb25003120 *pokered11-jp.gb
4b97cd44aa3f0dd290bfe7b3ac17b7bd8270897b *pokegreen11-jp,gb
0da501e3e5c51ab8fef55b092dcdd7e6b050e424 *pokeblue-jp.gb

The Chinese pirate versions, even though they aren't exactly official, may be deserving of their own project as well to see how the translators made sacrifices in the code to make those versions work:

66dc27a6998031e78042fcd24fcc053d78aabd2d *pokered-ch-pirate.gb
febdf81662e04443a307ff25892997c8ddd4e041 *pokeblue-ch-pirate.gb

rawr51919 avatar Jun 28 '22 23:06 rawr51919