Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: Kelvin Garcia Mendoza on Feb 03, 2016, 03:44 AM

Title: Suggestion
Post by: Kelvin Garcia Mendoza on Feb 03, 2016, 03:44 AM
I think it would be necessary to add new characters to the game chat, for example the letter "ñ" signs "¿<message>?" also the signs "¡<message>!" Also accented letters Example: " á é í ó ú" ah and letters with: ¨ Example: ä ë ï ö ü and others or any sign that takes. Please.
Title: Re: Suggestion
Post by: . on Feb 03, 2016, 04:14 AM
I did heard something about Unicode support in VCMP a while back. But I'm not sure how critical this feature is really. It is nice when you think about it but not so nice take into account the major changes that come with it. Well, Unicode can be used seamlessly with ASCII but that doesn't mean it's going to be an easy thing to implement.
Title: Re: Suggestion
Post by: Stormeus on Feb 03, 2016, 04:23 AM
We'd mostly have to redo the way that we draw text since we're currently just using bitmaps, and a Unicode bitmap would be gigantic — too big to store in memory. There'd also be some really annoying netcode changes.

It wouldn't be impossible; I've tried experimenting with FreeType but I've yet to get that working.
Title: Re: Suggestion
Post by: ysc3839 on Feb 03, 2016, 06:20 AM
I got the font bitmap from VCMP. You can see "á é í ó ú ä ë ï ö ü" in it. Why not support them?
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fi66.tinypic.com%2Fr8z0yb.jpg&hash=f22dceaa84758af3c00e00b77d1f7814ee342c32)
Title: Re: Suggestion
Post by: Stormeus on Feb 03, 2016, 07:03 AM
Quote from: ysc3839 on Feb 03, 2016, 06:20 AMI got the font bitmap from VCMP. You can see "á é í ó ú ä ë ï ö ü" in it. Why not support them?

Because the client uses the Windows-1252 codepage for the font bitmap whereas the server does not uses CP1252 so the server's character mappings won't map to the client's if we don't restrict everything to ANSI.
Title: Re: Suggestion
Post by: ysc3839 on Feb 03, 2016, 07:11 AM
Quote from: Stormeus on Feb 03, 2016, 07:03 AM
Quote from: ysc3839 on Feb 03, 2016, 06:20 AMI got the font bitmap from VCMP. You can see "á é í ó ú ä ë ï ö ü" in it. Why not support them?

Because the client uses the Windows-1252 codepage for the font bitmap whereas the server does not uses CP1252 so the server's character mappings won't map to the client's if we don't restrict everything to ANSI.
Thanks! :)
Title: Re: Suggestion
Post by: Stormeus on Feb 03, 2016, 11:02 PM
Quote from: Kelvin Garcia Mendoza on Feb 03, 2016, 10:10 PMI have it different than yours :P

I'm pretty sure that's the actual game bitmap and not VC:MP's font bitmap. Unless you're actually using Pricedown as your console font, in which case, why?