magicman Posted May 26, 2015 Posted May 26, 2015 How should I deliver my server's GRF to my users? In ASCII oder Unicode? Which is more common to do and why? Cheers, magicman Quote
curiosity Posted May 27, 2015 Posted May 27, 2015 GRF doesn't really have any encoding, it just checks strings byte by byte (with case insensitivity for alphabetic characters). Gravity uses strings encoded with EUC-KR. The garbled strings you see in data folders are the direct representation of these EUC-KR encoded strings in ASCII or similar. Repacking with the garbled names works because it's binary equivalent. If you convert the Korean names to unicode when extracting you must convert back to get the expected file names in the GRF. For names limited to latin characters it doesn't actually matter since that's the same in literally every character encoding. 2 Quote
Shiodevs Posted May 26, 2015 Posted May 26, 2015 Usually ASCII Due to thats what extracted data usually is.. You can tell by looking at your grf. It also explains it in several other topics, along with on Thor Patcher. which is what im guessing this is about? Quote
magicman Posted May 26, 2015 Author Posted May 26, 2015 Usually ASCII Due to thats what extracted data usually is.. You can tell by looking at your grf. It also explains it in several other topics, along with on Thor Patcher. which is what im guessing this is about? Is Thor Patcher only able to patch ASCII GRF's? Quote
Butch Posted May 27, 2015 Posted May 27, 2015 If your patch contains letters like this À¯ÀúÀÎÅÍÆäÀ̽º, use ASCII else use unicode. 1 Quote
magicman Posted May 27, 2015 Author Posted May 27, 2015 Is there anything wrong with delivering it in Unicode? Can some users experience problems with that? Quote
Question
magicman
How should I deliver my server's GRF to my users?
In ASCII oder Unicode?
Which is more common to do and why?
Cheers,
magicman
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.