Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Where do I need to change to support Chinese assembly, pleas

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
qq871538216
How do I cheat?
Reputation: 0

Joined: 07 Oct 2019
Posts: 9
Location: 学生

PostPosted: Fri Mar 20, 2020 2:08 am    Post subject: Where do I need to change to support Chinese assembly, pleas Reply with quote

Where do I need to change to support Chinese assembly, please help me!


23RD@66Z4`4TI)[email protected]
 Description:
 Filesize:  70.19 KB
 Viewed:  2223 Time(s)

23RD@66Z4`4TI)HX8VCQ@J5.png


Back to top
View user's profile Send private message Send e-mail AIM Address
panraven
Grandmaster Cheater
Reputation: 62

Joined: 01 Oct 2008
Posts: 959

PostPosted: Fri Mar 20, 2020 2:33 am    Post subject: Reply with quote

A.I guess symbol name can only have '0-9' 'a-z' 'A-Z' and four non-alpha-num '.#@_' ascii characters, atm.
Unicode string may contain other characters when view as ascii string.
Just change your <Chinese> to simpler naming.

B.<del>Sorry, previous not the reason.
Try double quote "" the unicode symbol when using may work.
Don't need to quote in the declaration (DEFINE).</del>

C.It is embarrassing... While B may compile, it is not what expected that the quoted symbol refer to what DEFINE-ed, it just expand to its ascii binary in some cases. eg.
Code:

DEFINE(~~~~,1234)
globalalloc(__,$100)
__:
mov   eax,"~~~~" //   -> b8 7e 7e 7e 7e   not b8 34 12 00 00

So revert to A, just use simpler ascii name.

_________________
- Retarded.
Back to top
View user's profile Send private message
qq871538216
How do I cheat?
Reputation: 0

Joined: 07 Oct 2019
Posts: 9
Location: &#23398;&#29983;

PostPosted: Fri Mar 20, 2020 4:44 am    Post subject: My friend in the source changed do not know where, he did no Reply with quote

panraven wrote:
A.I guess symbol name can only have '0-9' 'a-z' 'A-Z' and four non-alpha-num '.#@_' ascii characters, atm. Unicode string may contain other characters when view as ascii string.Just change your <Chinese> to simpler naming.B.<del>Sorry, previous not the reason. Try double quote "" the unicode symbol when using may work.Don't need to quote in the declaration (DEFINE).</del>C.It is embarrassing... While B may compile, it is not what expected that the quoted symbol refer to what DEFINE-ed, it just expand to its ascii binary in some cases. eg.
Code:
DEFINE(~~~~,1234)globalalloc(__,$100)__:mov   eax,"~~~~" //   -> b8 7e 7e 7e 7e   not b8 34 12 00 00
So revert to A, just use simpler ascii name.
But thank you all the same


Png.png
 Description:
 Filesize:  81.67 KB
 Viewed:  2197 Time(s)

Png.png


Back to top
View user's profile Send private message Send e-mail AIM Address
panraven
Grandmaster Cheater
Reputation: 62

Joined: 01 Oct 2008
Posts: 959

PostPosted: Fri Mar 20, 2020 5:00 am    Post subject: Re: My friend in the source changed do not know where, he di Reply with quote

qq871538216 wrote:
panraven wrote:
...
But thank you all the same


I'm curious, what's the *.qt thing?
Some kind of CE mutated clone ? Smile

_________________
- Retarded.
Back to top
View user's profile Send private message
qq871538216
How do I cheat?
Reputation: 0

Joined: 07 Oct 2019
Posts: 9
Location: &#23398;&#29983;

PostPosted: Fri Mar 20, 2020 5:05 am    Post subject: Reply with quote

panraven wrote:
qq871538216 wrote:
panraven wrote:
...
But thank you all the same


I'm curious, what's the *.qt thing?
Some kind of CE mutated clone ? Smile

No, he transplanted CE assembly to MFC, he rewrote CEAA assembly, which can support any character or code, I asked him how to support Chinese, he did not speak, he transplanted assembly to sell 100,000 R.M.B
Back to top
View user's profile Send private message Send e-mail AIM Address
panraven
Grandmaster Cheater
Reputation: 62

Joined: 01 Oct 2008
Posts: 959

PostPosted: Fri Mar 20, 2020 5:16 am    Post subject: Reply with quote

qq871538216 wrote:
panraven wrote:
qq871538216 wrote:
panraven wrote:
...
But thank you all the same


I'm curious, what's the *.qt thing?
Some kind of CE mutated clone ? Smile

No, he transplanted CE assembly to MFC, he rewrote CEAA assembly, which can support any character or code, I asked him how to support Chinese, he did not speak, he transplanted assembly to sell 100,000 R.M.B


oh, ok, thank you~
If it is a modified ce from open source, at least for the defined symbol, it may modified the 'tokonize' function in https://github.com/cheat-engine/cheat-engine/blob/master/Cheat%20Engine/autoassembler.pas to accept unicode string, I guess.

_________________
- Retarded.
Back to top
View user's profile Send private message
qq871538216
How do I cheat?
Reputation: 0

Joined: 07 Oct 2019
Posts: 9
Location: &#23398;&#29983;

PostPosted: Fri Mar 20, 2020 5:23 am    Post subject: A: excuse me, how do I change it? I don't quite un Reply with quote

panraven wrote:
qq871538216 wrote:
panraven wrote:
...
But thank you all the same
I'm curious, what's the *.qt thing? Some kind of CE mutated clone ? Smile
A: excuse me, how do I change it? I don't quite un


autoassembler.png
 Description:
 Filesize:  43.43 KB
 Viewed:  2177 Time(s)

autoassembler.png



QE.png
 Description:
 Filesize:  1015.17 KB
 Viewed:  2187 Time(s)

QE.png


Back to top
View user's profile Send private message Send e-mail AIM Address
panraven
Grandmaster Cheater
Reputation: 62

Joined: 01 Oct 2008
Posts: 959

PostPosted: Fri Mar 20, 2020 6:17 am    Post subject: Re: A: excuse me, how do I change it? I don't quite un Reply with quote

qq871538216 wrote:
panraven wrote:
qq871538216 wrote:
panraven wrote:
...
But thank you all the same
I'm curious, what's the *.qt thing? Some kind of CE mutated clone ? Smile
A: excuse me, how do I change it? I don't quite un


I don't know either, I can only guess.
To tokenize mean break the source string into each indivisible parts,
for instance, quoted strings are each a token,
series of '.#@_a-zA-Z0-9' (*A) outside a quoted strings are each a token,
and then any other CHARs alone (eg. spaces, +, (, ), ... many etc )outside a quoted strings is a token etc.
I don't know if input:string -> input[i]:CHAR (in "case input[i] of") is a single byte or can be multi-bytes.
If it can be multi-bytes, then it may mean CHAR is a unicode character type.
Then I guess handling multi-bytes CHAR as in group (*A) may make unicode symbol (as a single token) possible.

_________________
- Retarded.
Back to top
View user's profile Send private message
qq871538216
How do I cheat?
Reputation: 0

Joined: 07 Oct 2019
Posts: 9
Location: &#23398;&#29983;

PostPosted: Fri Mar 20, 2020 7:07 am    Post subject: Reply with quote

panraven wrote:
qq871538216 wrote:
panraven wrote:
qq871538216 wrote:
panraven wrote:
...
But thank you all the same
I'm curious, what's the *.qt thing? Some kind of CE mutated clone ? Smile
A: excuse me, how do I change it? I don't quite un


I don't know either, I can only guess.
To tokenize mean break the source string into each indivisible parts,
for instance, quoted strings are each a token,
series of '.#@_a-zA-Z0-9' (*A) outside a quoted strings are each a token,
and then any other CHARs alone (eg. spaces, +, (, ), ... many etc )outside a quoted strings is a token etc.
I don't know if input:string -> input[i]:CHAR (in "case input[i] of") is a single byte or can be multi-bytes.
If it can be multi-bytes, then it may mean CHAR is a unicode character type.
Then I guess handling multi-bytes CHAR as in group (*A) may make unicode symbol (as a single token) possible.

Ok, I'll try Smile
Back to top
View user's profile Send private message Send e-mail AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites