2013-08-07, 06:40 AM
Attached are the file to change variable width for Russian alphabet. I did not create the variable-width setup for the earlier patches and it was not very efficient. So I created a better version for you. It is also easier to edit the letter widths.
To make the changes:
Put a patched (v0.3 or 0.5 is OK) copy of SLPS_026.61 in a folder with armips.exe, "Russian Variable Width.asm" and "Russian Variable Width.bat". Then run the BAT file.
If you want to change the letter widths later, open the asm file in Notepad and change the numbers after ".byte".
The first ".byte" row sets the width for 0x20 (SPACE) through 0x2F ( / ).
The second row is for 0x30 - 0x3F and so on.
Also included is a simple asm file example to show how to edit pointers and insert new text. The files may seem complicated if you are not familiar with assembly, but should be easy once you get the hang of it. I have a list of some pointer locations if you want to edit the text using armips. Feel free to ask questions
To make the changes:
Put a patched (v0.3 or 0.5 is OK) copy of SLPS_026.61 in a folder with armips.exe, "Russian Variable Width.asm" and "Russian Variable Width.bat". Then run the BAT file.
If you want to change the letter widths later, open the asm file in Notepad and change the numbers after ".byte".
Code:
;   NA ! " # $ % & ' ( ) * + , - . /
.byte 0, 6, 5, 6, 6, 6, 6, 2, 6, 6, 6, 6, 6, 4, 6, 6
;Â Â Â 0Â 1Â 2Â 3Â 4Â 5Â 6Â 7Â 8Â 9Â :Â ;Â <Â =Â >Â ?
.byte 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 6, 5, 6, 6
;Â Â Â @Â AÂ BÂ CÂ DÂ EÂ FÂ GÂ HÂ IÂ JÂ KÂ LÂ MÂ NÂ O
.byte 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5
;Â Â Â PÂ QÂ RÂ SÂ TÂ UÂ VÂ WÂ XÂ YÂ ZÂ [Â \Â ]Â ^Â _
.byte 5, 5, 5, 5, 5, 6, 5, 5, 5, 5, 5, 6, 5, 5, 4, 6
;   ` a b c d e f g h i j k l m n o
.byte 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 4, 5, 5, 5
;   p q r s t u v w x y z { | } ~ 7f
.byte 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 5, 6, 4, 8
The second row is for 0x30 - 0x3F and so on.
Also included is a simple asm file example to show how to edit pointers and insert new text. The files may seem complicated if you are not familiar with assembly, but should be easy once you get the hang of it. I have a list of some pointer locations if you want to edit the text using armips. Feel free to ask questions