The Elder Scrolls III : AZERTY patch

Informations

Creator Message
Tutul

Warning

This installer has not been approved yet by the team.

Informations

Platforms:
Downloads: 108
Wine: System

Feedbacks

Description

Patch pour les clavier AZERTY qui sont détecté comme des claviers QWERTY (pour le moment il ne fait que corriger Z-Q-A mais un éditeur de touche devrait suivre).

 

Patch for AZERTY keyboard that are detected as QWERTY keyboards (for now it only correct Z-Q-A but an button editor should follow).

Source code

#!/bin/bash
# Date : (2014-08-20 22:00)
# Last revision : (2014-08-20 22:00)
# Author : Tutul
# License : GNU/GPL v3
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="The Elder Scrolls 3 - AZERTY Patch"
TITLE_REQUIRED="The Elder Scrolls 3 - Morrowind"
PREFIX="TES3_Morrowind"

POL_SetupWindow_Init
#POL_SetupWindow_SetID 711
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_free_presentation "$TITLE" "$(eval_gettext 'Welcome in the AZERTY patch Installer for $TITLE_REQUIRED')"
 
if [ "$(POL_Wine_PrefixExists "$PREFIX")" = "False" ]; then
    POL_SetupWindow_message "$(eval_gettext 'This is an installer for an update or an addon;\nPlease install $TITLE_REQUIRED first')"
    POL_SetupWindow_Close
    exit
fi
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Patch reg
cat << EOF > TES3.reg
[HKEY_LOCAL_MACHINE\\Software\\Bethesda Softworks\\Morrowind]
"Auto Run"=dword:0x011f0000
"SlideLeft"=dword:0x01110000
"Forward"=dword:0x01120000
EOF
POL_Wine regedit TES3.reg
 
POL_SetupWindow_Close
exit 0

Contributions

Filters:

Contribute
Member Message
Tutul Saturday 27 September 2014 at 23:14
Tutul

Information

This update has been approved by the team.

Message

Tentative de correction pour la touche W => Z

Differences

@@ -31,9 +31,9 @@
 # Patch reg
 cat << EOF > TES3.reg
 [HKEY_LOCAL_MACHINE\\Software\\Bethesda Softworks\\Morrowind]
-"Auto Run"=dword:011f0000
-"SlideLeft"=dword:01110000
-"Forward"=dword:0x012d0000
+"Auto Run"=dword:0x011f0000
+"SlideLeft"=dword:0x01110000
+"Forward"=dword:0x01120000
 EOF
 POL_Wine regedit TES3.reg
  

New source code

#!/bin/bash
# Date : (2014-08-20 22:00)
# Last revision : (2014-08-20 22:00)
# Author : Tutul
# License : GNU/GPL v3
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="The Elder Scrolls 3 - AZERTY Patch"
TITLE_REQUIRED="The Elder Scrolls 3 - Morrowind"
PREFIX="TES3_Morrowind"

POL_SetupWindow_Init
#POL_SetupWindow_SetID 711
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_free_presentation "$TITLE" "$(eval_gettext 'Welcome in the AZERTY patch Installer for $TITLE_REQUIRED')"
 
if [ "$(POL_Wine_PrefixExists "$PREFIX")" = "False" ]; then
    POL_SetupWindow_message "$(eval_gettext 'This is an installer for an update or an addon;\nPlease install $TITLE_REQUIRED first')"
    POL_SetupWindow_Close
    exit
fi
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Patch reg
cat << EOF > TES3.reg
[HKEY_LOCAL_MACHINE\\Software\\Bethesda Softworks\\Morrowind]
"Auto Run"=dword:0x011f0000
"SlideLeft"=dword:0x01110000
"Forward"=dword:0x01120000
EOF
POL_Wine regedit TES3.reg
 
POL_SetupWindow_Close
exit 0

Replies

Anonymous
Monday 29 September 2014 at 15:25
Ce script ne devrait pas être dans les dépôts. Il faut faire un configurateur pour le script Morrowind
Tutul Wednesday 20 August 2014 at 20:53
Tutul

Warning

This update has not been approved yet by the team.
Use it at your own risk

Differences

@@ -0,0 +1,42 @@
+#!/bin/bash
+# Date : (2014-08-20 22:00)
+# Last revision : (2014-08-20 22:00)
+# Author : Tutul
+# License : GNU/GPL v3
+ 
+[ "$PLAYONLINUX" = "" ] && exit 0
+source "$PLAYONLINUX/lib/sources"
+ 
+TITLE="The Elder Scrolls 3 - AZERTY Patch"
+TITLE_REQUIRED="The Elder Scrolls 3 - Morrowind"
+PREFIX="TES3_Morrowind"
+
+POL_SetupWindow_Init
+#POL_SetupWindow_SetID 711
+ 
+# Starting debugging API
+POL_Debug_Init
+ 
+POL_SetupWindow_free_presentation "$TITLE" "$(eval_gettext 'Welcome in the AZERTY patch Installer for $TITLE_REQUIRED')"
+ 
+if [ "$(POL_Wine_PrefixExists "$PREFIX")" = "False" ]; then
+    POL_SetupWindow_message "$(eval_gettext 'This is an installer for an update or an addon;\nPlease install $TITLE_REQUIRED first')"
+    POL_SetupWindow_Close
+    exit
+fi
+ 
+# Setting prefix path
+POL_Wine_SelectPrefix "$PREFIX"
+
+# Patch reg
+cat << EOF > TES3.reg
+[HKEY_LOCAL_MACHINE\\Software\\Bethesda Softworks\\Morrowind]
+"Auto Run"=dword:011f0000
+"SlideLeft"=dword:01110000
+"Forward"=dword:0x012d0000
+EOF
+POL_Wine regedit TES3.reg
+ 
+POL_SetupWindow_Close
+exit 0
+

New source code

#!/bin/bash
# Date : (2014-08-20 22:00)
# Last revision : (2014-08-20 22:00)
# Author : Tutul
# License : GNU/GPL v3
 
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
 
TITLE="The Elder Scrolls 3 - AZERTY Patch"
TITLE_REQUIRED="The Elder Scrolls 3 - Morrowind"
PREFIX="TES3_Morrowind"

POL_SetupWindow_Init
#POL_SetupWindow_SetID 711
 
# Starting debugging API
POL_Debug_Init
 
POL_SetupWindow_free_presentation "$TITLE" "$(eval_gettext 'Welcome in the AZERTY patch Installer for $TITLE_REQUIRED')"
 
if [ "$(POL_Wine_PrefixExists "$PREFIX")" = "False" ]; then
    POL_SetupWindow_message "$(eval_gettext 'This is an installer for an update or an addon;\nPlease install $TITLE_REQUIRED first')"
    POL_SetupWindow_Close
    exit
fi
 
# Setting prefix path
POL_Wine_SelectPrefix "$PREFIX"

# Patch reg
cat << EOF > TES3.reg
[HKEY_LOCAL_MACHINE\\Software\\Bethesda Softworks\\Morrowind]
"Auto Run"=dword:011f0000
"SlideLeft"=dword:01110000
"Forward"=dword:0x012d0000
EOF
POL_Wine regedit TES3.reg
 
POL_SetupWindow_Close
exit 0

Replies

Edited by Tutul