Jump to content

[BugReport] German Keypad issue [SOLVED]


webdirector
 Share

Recommended Posts

Hello I used V2 encoder and wanted to endcode this:

REM Lock Me 0.3 - Script opens Notepad and types a message concerning locking the computer - by SurfKahuna (RJC)
GUI r
DELAY 200
STRING notepad.exe
ENTER
DELAY 300
STRING , ,\ ,'\,'\ ,'\ ,\ ,
ENTER
STRING , ,\/ \' `' ` ' /|
ENTER
STRING |\/ |
ENTER
STRING : |
ENTER
STRING : |
ENTER
STRING | |
ENTER
STRING | |
ENTER
STRING : -. _|
ENTER
STRING : \ `.
ENTER
STRING | ________:______\
ENTER
STRING : ,'o / o ,
ENTER
STRING : \ ,'-----./
ENTER
STRING \_ `--.--' )
ENTER
STRING ,` `. ,---'|
ENTER
STRING : ` |
ENTER
STRING `,-' |
ENTER
STRING / ,---. ,'
ENTER
STRING ,-' `-,------'
ENTER
STRING `. ,--'
ENTER
STRING `-.____/
ENTER
STRING \
ENTER
ENTER
STRING I will learn to lock my computer.
ENTER
STRING I will learn to lock my computer.
ENTER
STRING I will learn to lock my computer.
ENTER
STRING I will learn to lock my computer.
ENTER
STRING I will learn to lock my computer.
ENTER
STRING I will learn to lock my computer.
ENTER
STRING I will learn to lock my computer.
ENTER
STRING I will learn to lock my computer.
ENTER
STRING I will learn to lock my computer.
ENTER
STRING I will learn to lock my computer.
ENTER
ENTER
STRING There, just like Bart Simpson.
ENTER
ENTER
STRING Please remember to lock your computer when you step away from your desk.
ENTER
ENTER
STRING Thank you.
ENTER
DELAY 100
ALT SPACE
STRING x



I used the following command: java -jar encoder.jar -l resources/de.properties -i test.txt -o inject.bin It made the inject,bin but when I go to a windows PC I get this in notepad:


, ,# ,ä#,ä# ,ä# ,# ,
, ,#- #ä ^ä ^ ä -'
'#- '
Ö '
Ö '
' '
' '
Ö ß. ?'
Ö # ^.
' ????????Ö??????#
Ö ,äo - o ,
Ö # ,äßßßßß.-
#? ^ßß.ßßä =
,^^. ,ßßßä'
Ö ^ '
^,ßä '
- ,ßßß. ,ä
,ßä ^ß,ßßßßßßä
^. ,ßßä
^ß.????-
#

I will learn to lock mz computer.
I will learn to lock mz computer.
I will learn to lock mz computer.
I will learn to lock mz computer.
I will learn to lock mz computer.
I will learn to lock mz computer.
I will learn to lock mz computer.
I will learn to lock mz computer.
I will learn to lock mz computer.
I will learn to lock mz computer.

There, just like Bart Simpson.

Please remember to lock zour computer when zou step awaz from zour desk.

Thank zou.
x

Edited by midnitesnake
formatting
Link to comment
Share on other sites

OK - looks like the de.properties is still broken I dont know if there are 2x keyboards T1 and T2.

I wish more people would feedback.

The z and y is easy to fix, by swapping the keys in de.properties.

Eg

ASCII_59 = KEY_Z, MODIFIERKEY_SHIFT 
// 89 Y
ASCII_5A = KEY_Y, MODIFIERKEY_SHIFT

becomes

ASCII_59 = KEY_Y, MODIFIERKEY_SHIFT 
// 89 Y 
ASCII_5A = KEY_Z, MODIFIERKEY_SHIFT

Its a lot to ask, but are you upto patching the de.properties?

Thanks for the feedback.

Edited by midnitesnake
Link to comment
Share on other sites

Hello,

I want to try and fix the German property file.

as said there are many characters that are comming out wrong: for exemple

this :

, ,\ ,'\,'\ ,'\ ,\ ,

I get this:

 , ,# ,ä#,ä# ,ä# ,# ,

I know the" \" outputs as "#"

and " ' " comes out as "ä"

how would I adjust that ?

If I look on the US ASCII for the "\" I see "5c" and on the western europe keyboard I see for the "#" ascii " 23"

should I the go into the property file and find this line :

ASCII_5C = KEY_MINUS, MODIFIERKEY_RIGHT_ALT
// 92

and change that to :

ASCII_5C = KEY_MINUS, MODIFIERKEY_RIGHT_ALT
// 23

is that correct ?

Thanks

Edited by midnitesnake
Formatting
Link to comment
Share on other sites

This would be better, following the western character map (http://www.charset.org/charactersets.php?charset=iso-8859-1), depends on what character sets your system is using(ASCII is an American Standard so it would stay the same):

ISO_8859_1_23= KEY_MINUS, MODIFIERKEY_RIGHT_ALT

the key_minus, right_alt needs to change to your combination of keys used to get #

Hope this helps.

Edited by midnitesnake
Link to comment
Share on other sites

OK, thanks,

so final question the above that you gave me :

ISO_8859_1_23= KEY_MINUS, MODIFIERKEY_RIGHT_ALT

I would just add that in the "de.property" file correct ( since it is not in there )

do I need to delet someting ?

Like this :

ASCII_23 = KEY_BACKSLASH
// 35 # ??

??

Thanks

Link to comment
Share on other sites

Your not being a pain, your very helpful.

I assume you looking at a german keyboard.

keyboard-german.jpg

problem is key_\ doesnt exist its

ISO_8859_1_E4 = KEY_BACKSLASH

based on the above keyboard, I think you want

ISO_8859_1_E4 = KEY_QUOTE

I could be wrong - its difficult to build key maps when your not native to a specific language, or have the specific keyboard

Edited by midnitesnake
Link to comment
Share on other sites

snake,

I am sorry I am an idiot. I was redoing the whole de.properties and then I wanted to test it on the ducky and now I found the original files are working...

I have no idea what I did wrong before.

Now I can confirm to you that German is working almost 95%

I only found two that are not printing and they are " ^ " and the " ' "

Sorry again, ...

Link to comment
Share on other sites

Hey, no need to say sorry are you on windows? as your original command has / as directory limiters (which are unix/osx) on windows the command is

java -jar encoder.jar -l resources\de.properties -i input.txt

Least we're now know that there are only a few chars wrong or missing.

I guess the missing ones are higlighted in red in the picture above, what is the combination to get these keys?

Link to comment
Share on other sites

OK Snake I got it.

all you need to do is change line :

//ASCII_27 = KEY_1, MODIFIERKEY_RIGHT_ALT

to

ASCII_27 = KEY_BACKSLASH, MODIFIER_SHIFT

and change line:

//ASCII_5E = CIRCUMFLEX_BITS + KEY_SPACE

to

ASCII_5E = KEY_TILDE

again thanks for patience

Edited by midnitesnake
formatting
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...