mirror of
https://github.com/Kaisaan/lostkefin.git
synced 2025-06-18 16:45:40 -04:00
English translation for Ys V: Lost Kefin - Kingdom of Sand (PS2)
armips.exe | ||
build.bat | ||
extract.py | ||
font.py | ||
font.tbl | ||
isotool.py | ||
kefin.tbl | ||
patch.asm | ||
README.md |
Ys V: Lost Kefin - Kingdom of Sand (PS2) English Translation
Currently using Sam Farron's translation from his Translation Series with permission
Building
- Copy the contents of the game's .iso into the
extracted
andtranslated
folders - Run
build.bat
or manually run the commands
Hacking Notes
- The game uses SHIFT-JIS encoding for the most part
- The game's base pointer is $FFF80
- Extracted .bin files with
_anm
in the filename are animation files with indexed 8BPP graphics - Extracted .HGB files are texture files with 32BPP RGBA graphics
- Music files are
.hd
(header),.bd
(header), and.sq
(sequence) files
Extracting the DATA.BIN Files
extract.py
extracts all the files from DATA.BIN and its folders into a DATA
folder but does not extract the files into their correct folders yet, a logfile.txt
is also created for fixing issues with the script
Font info
font.py
extracts the fontmap from SLPM_663.60
to create a quick font.tbl
table file. Use kefin.tbl
for corrected values and control codes (also used by patch.asm
)
In SLPM_663.60
the font is located at $1A3E90 as 4BPP graphics, its palette is stored at $25E4C0, and the fontmap is at $1A31F0
To do
- Create a proper table file (since the game does not use SHIFT-JIS encoding fully)
- Updated extractiong script to extract
DATA0.BIN
,DATA1.BIN
, andSLPM_663.60
- Add more hacking notes (my notes.txt file is a mess so I haven't added it here)
- Continue inserting the English script
Credits
- Sam Farron - Allowing me to use his translation as the basis of this project
- Hilltop - Providing valuable videos such as hacking with Ghidra and PS1/PS2 graphics
- Life Bottle Productions - Providing me with their isotool.py script and their tutorial for finding the base pointer
- Falcom for making Ys