
Originally Posted by
MomboMan4
I removed the with/what arrays and placed the data in a separate file (system/alias.txt). geodata.c now reads that file when needed (only once, keeping it in memory) I think alias.txt can be changed to handle other languages but I don't read anything but English so I can't test it.
If it can handle other languages then I think we could start including others with the source files (alias_ENGLISH.txt, alias_FRENCH.txt, ...) and have users rename them upon install, or perhaps the makefile using the LOCALE environment variable to help the install.
There is a comment at the top of alias.txt telling you how to add new items, but most importantly make a backup prior to playing with the file. The ordering of the items and spacing inside the quotes is important.
WHY: I had to add a couple of items to be searched on, like LANE -> LN and I thought this would be an easy project for a first attempt at developing on the PSP.
WHAT: Place geodata.c in the src directory then recompile. The alias.txt file should be installed in the system/ directory on your PSP.
Bookmarks