Roadsignfont 128x2048

This script changes resolution of roadsignfon texture.
{$CLEO}// roadsignfont 128x2048
0AC6: 0@ = label @asm offset
0AC6: 1@ = label @jmp offset
0AB1: call_scm_func @asmdef 4 asm_inj 0@ jump_from 0x6FECB0 then_jump 0x6FECB7 _asm 1@
0AC6: 0@ = label @asm2 offset
0AC6: 1@ = label @jmp2 offset
0AB1: call_scm_func @asmdef 4 asm_inj 0@ jump_from 0x6FEC46 then_jump 0x6FEC4C _asm 1@
0AC6: 0@ = label @asm3 offset
0AC6: 1@ = label @jmp3 offset
0AB1: call_scm_func @asmdef 4 asm_inj 0@ jump_from 0x6FEC68 then_jump 0x6FEC6D _asm 1@
0a8c: 0x6FEC06 1 8 1
0a8c: 0x6FEC0B 1 7 1
0a8c: 0x6FEC18 4 64 1
0a8c: 0x6FECB8 1 64 1
0A93:

:asm
hex
8D 04 FD 00 00 00 00 8D 04 00 8D 04 00
end
:jmp
hex
E9 00 00 00 00
end
:asm2
hex

8B 59 0С 89 5A 0С
8B 59 10 89 5A 10 8B 59 14 89 5A 14 8B 59 18 89 5A 18 8B 59 1C 89 5A 1C 8B 59 20 89 5A 20 8B 59 24 89 5A 24 8B 59 28 89 5A 28 8B 59 2C 89 5A 2C
8B 59 30 89 5A 30 8B 59 34 89 5A 34 8B 59 38 89 5A 38 8B 59 3C 89 5A 3C 8B 59 40 89 5A 40 8B 59 44 89 5A 44 8B 59 48 89 5A 48 8B 59 4C 89 5A 4C
8B 59 50 89 5A 50 8B 59 54 89 5A 54 8B 59 58 89 5A 58 8B 59 5C 89 5A 5C 8B 59 60 89 5A 60 8B 59 64 89 5A 64 8B 59 68 89 5A 68 8B 59 6C 89 5A 6C

end
:jmp2
hex
E9 00 00 00 00
end
:asm3
hex
81 C6 80 00 00 00 3B C8
end
:jmp3
hex
E9 00 00 00 00
end

:asmdef
0A8C: write_memory 1@ size 1 value 0xE9 virtual_protect 1
0085: 4@ = 1@
4@ += 5
0062: 0@ -= 4@
1@ += 1
0A8C: write_memory 1@ size 4 value 0@ virtual_protect 1
0085: 4@ = 3@
4@ += 5
0062: 2@ -= 4@
3@ += 1
0A8C: write_memory 3@ size 4 value 2@ virtual_protect 1
0AB2: ret 0

3 comments:

  1. Anonymous13/6/12 22:48

    Can you make the same for "platecharset"?

    ReplyDelete
  2. Can you make the same for "platecharset" texture? Please :) I know that you have it with ImVehFt, but I would only have number plates in HQ because I don't have a vehicle with ImVehFt. This is great script BTW :D

    ReplyDelete