Find Jobs
Hire Freelancers

c++/directx Convert unkown Charset of Chinese origin to a printable DX9 Font Text

$30-250 USD

Closed
Posted almost 9 years ago

$30-250 USD

Paid on delivery
Need help in solving charset problem. I read in game memory name into a variable. I believe its in some UTF-8 format, as I can log it to a ascii file and read it correctly. If I convert it to UTF16 to print on screen, its in wrong format - and does not display correctly on screen. I have a small dx9 project that works fine when I convert it myself. However I do not know the games charset to convert it properly. I have dumped the hex values of the in game player names. Need help Identifying charset used, and how to convert it to a DirectX printable charset. Player 逗乂逼 0xffffffb6 0xffffffba 0xffffff81 0x56 0xffffffb1 0xffffffc6 -------- Player 雪狼ASD 0xffffffd1 0xffffffa9 0xffffffc0 0xffffffc7 0x41 0x53 0x44 -------- Player 爱的天使 0xffffffb0 0xffffffae 0xffffffb5 0xffffffc4 0xffffffcc 0xffffffec 0xffffffca 0xffffffb9 -------- Player llkkk 0x6c 0x6c 0x6b 0x6b 0x6b -------- Player 逗乂逼 0xffffffb6 0xffffffba 0xffffff81 0x56 0xffffffb1 0xffffffc6 -------- Player 雪狼ASD 0xffffffd1 0xffffffa9 0xffffffc0 0xffffffc7 0x41 0x53 0x44 -------- I used this to dump it to hex: std::stringstream ss; ss << std::hex << std::setfill('0'); for (unsigned ch : output8) ss << "0x" << std::setw(2) << int(ch) << " ";; gLog->WriteStream(&ss); Again, The attached DX9 project works fine, as I take a string literal std::wstring input16= L"笑顺一刀"; It decodes fine to UTF8 - prints/logs file, and even draws on the screen properly. My issue lies when I try to read a games internal memory of uknown charset
Project ID: 7528109

About the project

3 proposals
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
3 freelancers are bidding on average $522 USD for this job
User Avatar
Hello. I take an interest in your job. I have full skills in Android, IPhone, Reverse engineering, Java, AI, Mathematics, Algorithms,Qt and c++ programming. please check my portfolio and working history. Looking forward to your kind answer. Best Regards, Yknox.
$315 USD in 3 days
4.9 (55 reviews)
6.0
6.0
User Avatar
hi, I am familar with Directx. i have 7 years c/c++/java/php/.net database programming experience under windows, linux system, smartphone,i can do the job well
$250 USD in 7 days
4.8 (16 reviews)
3.8
3.8

About the client

Flag of UNITED STATES
Peoria, United States
5.0
8
Payment method verified
Member since Jan 6, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.