Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by Emre
Today at 01:03
New Zorro version 1.83
by claudio
Yesterday at 17:22
Ahead bias when retrain
by jcl
Yesterday at 12:27
Huge array for Deep Learning
by jcl
Yesterday at 12:06
[LBGUI] Memory not released!
by EVO
05/23/18 22:39
http_post undeclared identifier
by Superku
05/23/18 22:10
Pan/Tilt in relation to entity?
by Superku
05/23/18 20:59
AUM Magazine
Latest Screens
Lake scene
Forgotten Tales - Demo version
RPG PARTY
Triton Wing now available on Steam
Who's Online
9 registered (Slin, Quad, Superku, AndrewAMD, 3run, jyd, mk_1, 2 invisible), 464 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Rayharry, AgentShark, rpauletto, tuuPaul, LaserJock2000
17960 Registered Users
Topic Options
Rate This Topic
#472284 - 04/18/18 18:37 [Done] [Paid] Unicode Keyboard Input
Superku Online
Senior Expert

Registered: 09/13/03
Posts: 6692
Loc: Kiel (Germany)
Hello!
I'm in need of Unicode keyboard input support in my A8 game(s). I've been struggling with it and want to ask if there's someone around who wants to give it a try.

What I need:
- Receive Unicode keyboard input, via direct or IME input. Characters consisting of more than one button press (like [] and [e] resulting in ) must be supported still.
For testing IME support, install the Japanese language pack (only takes a couple of seconds) and activate it.

- Required final format: ANSI character or Unicode in UTF16 short (array) to be used with str_createw().

- You may need to create a DLL for this. I will need its source code.

Time:
3 weeks from now on, the sooner, the better.

Payment:
- 150Euro via Paypal.

Contact me via forum PM or e-mail: felix_pohl at web.de

Thanks for reading.


Edited by Superku (04/23/18 12:45)
_________________________
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Superku The Game

Severely outdated footage: http://store.steampowered.com/app/407570

Top
#472367 - 04/23/18 12:44 Re: [Done] [Paid] Unicode Keyboard Input [Re: Superku]
Superku Online
Senior Expert

Registered: 09/13/03
Posts: 6692
Loc: Kiel (Germany)
The task has been completed.
_________________________
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Superku The Game

Severely outdated footage: http://store.steampowered.com/app/407570

Top
#472409 - 04/26/18 13:59 Re: [Done] [Paid] Unicode Keyboard Input [Re: Superku]
Firoball Offline
Senior Expert

Registered: 09/10/03
Posts: 9810
Just out of curiosity: do you want to share how was it solved?
A separate Unicode window with separate message pump?

Top
#472415 - 04/26/18 16:18 Re: [Done] [Paid] Unicode Keyboard Input [Re: Firoball]
Superku Online
Senior Expert

Registered: 09/13/03
Posts: 6692
Loc: Kiel (Germany)
Sure, Quad figured it out:
He created a "custom" acknex.dll that delegates pretty much all function calls into the real acknex.dll except for a couple of functions like CreateWindowExA. He hooked those and replaced them with their Unicode alternatives. So far all lite-C functions behave the same (including the video_... commands) except that the window receives real Unicode characters.
Those are collected in the usual on_message approach.

Thanks for your help as well, Firoball!
_________________________
"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Superku The Game

Severely outdated footage: http://store.steampowered.com/app/407570

Top
#472418 - 04/26/18 18:49 Re: [Done] [Paid] Unicode Keyboard Input [Re: Superku]
Kartoffel Offline
Expert

Registered: 06/11/09
Posts: 2203
Loc: Bavaria, Germany
Clever solution. I wouldn't have thought about using a proxy dll.
_________________________
POTATO-MAN saves the day! - Random

Top


Moderator:  checkbutton, Inestical, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de