magicman Posted May 26, 2015 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 51 Reputation: 0 Joined: 04/12/13 Last Seen: June 6, 2015 Share 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 Link to comment Share on other sites More sharing options...
curiosity Posted May 27, 2015 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 133 Reputation: 189 Joined: 05/20/12 Last Seen: November 7, 2016 Share 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 Link to comment Share on other sites More sharing options...
Shiodevs Posted May 26, 2015 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 50 Reputation: 4 Joined: 12/12/13 Last Seen: February 23, 2017 Share 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 Link to comment Share on other sites More sharing options...
magicman Posted May 26, 2015 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 51 Reputation: 0 Joined: 04/12/13 Last Seen: June 6, 2015 Author Share 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 Link to comment Share on other sites More sharing options...
Shiodevs Posted May 26, 2015 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 50 Reputation: 4 Joined: 12/12/13 Last Seen: February 23, 2017 Share Posted May 26, 2015 No it can do either. 1 Quote Link to comment Share on other sites More sharing options...
Butch Posted May 27, 2015 Group: Members Topic Count: 4 Topics Per Day: 0.00 Content Count: 12 Reputation: 2 Joined: 10/01/12 Last Seen: December 15, 2024 Share Posted May 27, 2015 If your patch contains letters like this À¯ÀúÀÎÅÍÆäÀ̽º, use ASCII else use unicode. 1 Quote Link to comment Share on other sites More sharing options...
magicman Posted May 27, 2015 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 51 Reputation: 0 Joined: 04/12/13 Last Seen: June 6, 2015 Author Share Posted May 27, 2015 Is there anything wrong with delivering it in Unicode? Can some users experience problems with that? Quote Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.