zach2good / dat

A tool to inspect and dump FFXI DAT files
GNU Affero General Public License v3.0
2 stars 0 forks source link

ShiftJIS decoding #1

Open zach2good opened 1 year ago

zach2good commented 1 year ago

Fenestra (nee Windower 5) is under a permissive license and has all of the decoding to u8 strings laid out here: https://github.com/Windower/Fenestra/blob/2a04fb438b724da755035669b5224a172a3f527d/core/src/unicode.cpp

Could be somewhat simple to take that code, massage it to get it working and then use it to decode strings.

zach2good commented 1 year ago

Also just saw this in PCSX2: https://github.com/stenzek/duckstation/commit/64998b49dce49d4892929801a0c3db252847bceb