Pretty Speedometer [stebler]
#21
(01-26-2021, 12:40 AM)JMM Wrote: This is great. Also, is there any way to put it on the bottom left instead of bottom right?

Replace 3c8042f0 with 3c80XXXX and 3c8041f0 with 3c80YYYY where XXXX is the two upper bytes of the floating point representation of the x position for 16:9 (120 by default) and YYYY is the same for 4:3 (30 by default).
Reply
#22
(01-27-2021, 10:21 PM)stebler Wrote:
(01-26-2021, 12:40 AM)JMM Wrote: This is great. Also, is there any way to put it on the bottom left instead of bottom right?

Replace 3c8042f0 with 3c80XXXX and 3c8041f0 with 3c80YYYY where XXXX is the two upper bytes of the floating point representation of the x position for 16:9 (120 by default) and YYYY is the same for 4:3 (30 by default).

Can the y position be changed?
Reply
#23
Wow this will be insanely useful.
[Image: send7.PNG]
Reply
#24
Here is a customizable version of the code.

RR: BMG text color, 11 for custom rgb value. Default: 30 (yellow).
S: number of decimals. Default: 2.
TTTT: 16:9 x position. Default: 42f0 (120).
UUUU: 4:3 x position. Default: 41f0 (30).
VVVV: y position. Default: c35c (-220).
WWWW: scale. Default: 3f80 (1).
XX: red value if using custom color. Default: ff.
YY: green value if using custom color. Default: da.
ZZ: blue value if using custom color. Default: 00.

For the positions and scale, you need to use the two upper bytes of the floating-point representation.

PAL:
c260245c 00000008
80a30004 2c05000c
41820028 2c05000e
41820020 2c050012
41820018 2c050040
41820010 2c050042
41820008 48000008
38840001 7c852378
60000000 00000000
c28584d8 00000007
560004e7 40820030
806f0004 2c03000c
41820020 2c03000e
41820018 2c030012
41820010 2c030040
41820008 2c030042
4c421042 00000000
c25cdd34 00000009
2c040000 4082003c
3d004330 91010070
91010078 7c721b78
3a600000 3f008089
3b183e70 90a10020
38a00001 90a10010
3ca0805c 60a5de08
7ca803a6 4e800020
80040000 00000000
c257c3a8 0000002e
48000019 001a0800
000100RR 0025002e
003S0066 00000000
807d0000 80630000
88630010 3c80809c
8084d728 88840b84
7c032000 40820134
3c60809c 80631e38
80630000 83830038
2c1c0000 40820044
8383003c 2c1c0000
40820038 83830040
2c1c0000 4082002c
83830050 2c1c0000
40820020 83830108
2c1c0000 40820014
83830110 2c1c0000
40820008 480000dc
3821ffd8 c03d0020
4cc63242 38610008
38800010 7ca802a6
3d808001 618c7814
7d8903a6 4e800421
38a10008 38850008
a0640000 2c030000
4182003c 2c03002d
40820008 3860246d
2c03002e 40820008
3860246b 2c030030
41800010 2c03003a
40800008 38632430
b0640000 38840001
4bffffc0 807c005c
3c80TTTT 3cc08038
80c66000 80c60058
2c060001 41820008
3c80UUUU 9083004c
3c80VVVV 90830050
3c80WWWW 90830058
9083005c 38800000
98830080 38c00002
80630114 80e30000
98c70100 3d80805c
618cdd00 7d8903a6
4e800421 38210028
83e1007c 00000000
045cfa20 388000XX
045cfa24 386000YY
045cfa28 380000ZZ

NTSC-U:
c25ddb7c 00000008
80a30004 2c05000c
41820028 2c05000e
41820020 2c050012
41820018 2c050040
41820010 2c050042
41820008 48000008
38840001 7c852378
60000000 00000000
c2836a48 00000007
560004e7 40820030
806f0004 2c03000c
41820020 2c03000e
41820018 2c030012
41820010 2c030040
41820008 2c030042
4c421042 00000000
c25c1214 00000009
2c040000 4082003c
3d004330 91010070
91010078 7c721b78
3a600000 3f008089
3b18eed0 90a10020
38a00001 90a10010
3ca0805c 60a512e8
7ca803a6 4e800020
80040000 00000000
c2575b44 0000002e
48000019 001a0800
000100RR 0025002e
003S0066 00000000
807d0000 80630000
88630010 3c80809c
80848f68 88840b84
7c032000 40820134
3c60809c 8063d508
80630000 83830038
2c1c0000 40820044
8383003c 2c1c0000
40820038 83830040
2c1c0000 4082002c
83830050 2c1c0000
40820020 83830108
2c1c0000 40820014
83830110 2c1c0000
40820008 480000dc
3821ffd8 c03d0020
4cc63242 38610008
38800010 7ca802a6
3d808001 618c6cb4
7d8903a6 4e800421
38a10008 38850008
a0640000 2c030000
4182003c 2c03002d
40820008 3860246d
2c03002e 40820008
3860246b 2c030030
41800010 2c03003a
40800008 38632430
b0640000 38840001
4bffffc0 807c005c
3c80TTTT 3cc08038
80c61c80 80c60058
2c060001 41820008
3c80UUUU 9083004c
3c80VVVV 90830050
3c80WWWW 90830058
9083005c 38800000
98830080 38c00002
80630114 80e30000
98c70100 3d80805c
618c11e0 7d8903a6
4e800421 38210028
83e1007c 00000000
045c2f00 388000XX
045c2f04 386000YY
045c2f08 380000ZZ

NTSC-J:
c2601bd0 00000008
80a30004 2c05000c
41820028 2c05000e
41820020 2c050012
41820018 2c050040
41820010 2c050042
41820008 48000008
38840001 7c852378
60000000 00000000
c2857b44 00000007
560004e7 40820030
806f0004 2c03000c
41820020 2c03000e
41820018 2c030012
41820010 2c030040
41820008 2c030042
4c421042 00000000
c25cd610 00000009
2c040000 4082003c
3d004330 91010070
91010078 7c721b78
3a600000 3f008089
3b1834c0 90a10020
38a00001 90a10010
3ca0805c 60a5d6e4
7ca803a6 4e800020
80040000 00000000
c257bd28 0000002e
48000019 001a0800
000100RR 0025002e
003S0066 00000000
807d0000 80630000
88630010 3c80809c
8084c788 88840b84
7c032000 40820134
3c60809c 80630e98
80630000 83830038
2c1c0000 40820044
8383003c 2c1c0000
40820038 83830040
2c1c0000 4082002c
83830050 2c1c0000
40820020 83830108
2c1c0000 40820014
83830110 2c1c0000
40820008 480000dc
3821ffd8 c03d0020
4cc63242 38610008
38800010 7ca802a6
3d808001 618c7738
7d8903a6 4e800421
38a10008 38850008
a0640000 2c030000
4182003c 2c03002d
40820008 3860246d
2c03002e 40820008
3860246b 2c030030
41800010 2c03003a
40800008 38632430
b0640000 38840001
4bffffc0 807c005c
3c80TTTT 3cc08038
80c65980 80c60058
2c060001 41820008
3c80UUUU 9083004c
3c80VVVV 90830050
3c80WWWW 90830058
9083005c 38800000
98830080 38c00002
80630114 80e30000
98c70100 3d80805c
618cd5dc 7d8903a6
4e800421 38210028
83e1007c 00000000
045cf2fc 388000XX
045cf300 386000YY
045cf304 380000ZZ

NTSC-K:
c25f087c 00000008
80a30004 2c05000c
41820028 2c05000e
41820020 2c050012
41820018 2c050040
41820010 2c050042
41820008 48000008
38840001 7c852378
60000000 00000000
c2846898 00000007
560004e7 40820030
806f0004 2c03000c
41820020 2c03000e
41820018 2c030012
41820010 2c030040
41820008 2c030042
4c421042 00000000
c25bbcf4 00000009
2c040000 4082003c
3d004330 91010070
91010078 7c721b78
3a600000 3f008088
3b182280 90a10020
38a00001 90a10010
3ca0805b 60a5bdc8
7ca803a6 4e800020
80040000 00000000
c256a400 0000002e
48000019 001a0800
000100RR 0025002e
003S0066 00000000
807d0000 80630000
88630010 3c80809b
8084bd68 88840b84
7c032000 40820134
3c60809b 80630478
80630000 83830038
2c1c0000 40820044
8383003c 2c1c0000
40820038 83830040
2c1c0000 4082002c
83830050 2c1c0000
40820020 83830108
2c1c0000 40820014
83830110 2c1c0000
40820008 480000dc
3821ffd8 c03d0020
4cc63242 38610008
38800010 7ca802a6
3d808001 618c787c
7d8903a6 4e800421
38a10008 38850008
a0640000 2c030000
4182003c 2c03002d
40820008 3860246d
2c03002e 40820008
3860246b 2c030030
41800010 2c03003a
40800008 38632430
b0640000 38840001
4bffffc0 807c005c
3c80TTTT 3cc08037
80c64020 80c60058
2c060001 41820008
3c80UUUU 9083004c
3c80VVVV 90830050
3c80WWWW 90830058
9083005c 38800000
98830080 38c00002
80630114 80e30000
98c70100 3d80805b
618cbcc0 7d8903a6
4e800421 38210028
83e1007c 00000000
045bdba4 388000XX
045bdba8 386000YY
045bdbac 380000ZZ
Reply
#25
(01-22-2021, 12:38 PM)stebler Wrote:
(01-21-2021, 05:38 AM)Mewmaster99 Wrote: Is there anyway to display the kmh text after the speed or is it limited to just numbers

Replace

c2XXXXXX 0000002c
48000019 001a0800
00010030 0025002e
00320066 00000000

with

c2XXXXXX 0000002d
48000021 001a0800
00010030 0025002e
00320066 0020006b
006d002f 00680000

where XXXXXX is region-specific.

To do this without any decimals and kmh replace 00320066 with 00300066. 
Don't do 00660000 if you want kmh to show up.
Reply
#26



  1. Me and optilizer were messing around with tpls and just added the km/h from the ctgp SoM as a tpl and it turned out perfect, Thank you for actually having the best SoM. we are adding it to JHFR and Optpack
Reply
#27
(02-05-2021, 10:10 AM)Renverse Wrote:

  1. Me and optilizer were messing around with tpls and just added the km/h from the ctgp SoM as a tpl and it turned out perfect, Thank you for actually having the best SoM. we are adding it to JHFR and Optpack
good stuff  Big Grin
Discord : Kozue#0007
[Image: RMCJ01_2021-01-11_15-23-53.png]

Best time on PS4 Controller
Reply
#28
XYZ version (norm of current position minus previous position)

PAL:
c260245c 00000008
80a30004 2c05000c
41820028 2c05000e
41820020 2c050012
41820018 2c050040
41820010 2c050042
41820008 48000008
38840001 7c852378
60000000 00000000
c28584d8 00000007
560004e7 40820030
806f0004 2c03000c
41820020 2c03000e
41820018 2c030012
41820010 2c030040
41820008 2c030042
4c421042 00000000
c25cdd34 00000009
2c040000 4082003c
3d004330 91010070
91010078 7c721b78
3a600000 3f008089
3b183e70 90a10020
38a00001 90a10010
3ca0805c 60a5de08
7ca803a6 4e800020
80040000 00000000
c2597820 00000037
48000019 001a0800
00010030 0025002e
00320066 00000000
80bc0000 80650000
88630010 3c80809c
8084d728 88840b84
7c032000 40820178
3c60809c 80631e38
80630000 83a30038
2c1d0000 40820044
83a3003c 2c1d0000
40820038 83a30040
2c1d0000 4082002c
83a30050 2c1d0000
40820020 83a30108
2c1d0000 40820014
83a30110 2c1d0000
40820008 48000120
7fc802a6 807c0000
80630008 80630090
80830004 c0240068
c044006c c0640070
c0830018 c0a3001c
c0c30020 ec212028
ec422828 ec633028
ec210072 ec4200b2
ec6300f2 ec21102a
ec21182a 3d808022
618cf80c 7d8903a6
4e800421 3821ffd8
4cc63242 38610008
38800010 7fc5f378
3d808001 618c7814
7d8903a6 4e800421
38a10008 38850008
a0640000 2c030000
4182003c 2c03002d
40820008 3860246d
2c03002e 40820008
3860246b 2c030030
41800010 2c03003a
40800008 38632430
b0640000 38840001
4bffffc0 807d005c
3c8042f0 3cc08038
80c66000 80c60058
2c060001 41820008
3c8041f0 9083004c
38800000 98830080
38c00002 80630114
80e30000 98c70100
3d80805c 618cdd00
7d8903a6 4e800421
38210028 39610100
60000000 00000000

NTSC-U:
c25ddb7c 00000008
80a30004 2c05000c
41820028 2c05000e
41820020 2c050012
41820018 2c050040
41820010 2c050042
41820008 48000008
38840001 7c852378
60000000 00000000
c2836a48 00000007
560004e7 40820030
806f0004 2c03000c
41820020 2c03000e
41820018 2c030012
41820010 2c030040
41820008 2c030042
4c421042 00000000
c25c1214 00000009
2c040000 4082003c
3d004330 91010070
91010078 7c721b78
3a600000 3f008089
3b18eed0 90a10020
38a00001 90a10010
3ca0805c 60a512e8
7ca803a6 4e800020
80040000 00000000
c2590ffc 00000037
48000019 001a0800
00010030 0025002e
00320066 00000000
80bc0000 80650000
88630010 3c80809c
80848f68 88840b84
7c032000 40820178
3c60809c 8063d508
80630000 83a30038
2c1d0000 40820044
83a3003c 2c1d0000
40820038 83a30040
2c1d0000 4082002c
83a30050 2c1d0000
40820020 83a30108
2c1d0000 40820014
83a30110 2c1d0000
40820008 48000120
7fc802a6 807c0000
80630008 80630090
80830004 c0240068
c044006c c0640070
c0830018 c0a3001c
c0c30020 ec212028
ec422828 ec633028
ec210072 ec4200b2
ec6300f2 ec21102a
ec21182a 3d808022
618cf488 7d8903a6
4e800421 3821ffd8
4cc63242 38610008
38800010 7fc5f378
3d808001 618c6cb4
7d8903a6 4e800421
38a10008 38850008
a0640000 2c030000
4182003c 2c03002d
40820008 3860246d
2c03002e 40820008
3860246b 2c030030
41800010 2c03003a
40800008 38632430
b0640000 38840001
4bffffc0 807d005c
3c8042f0 3cc08038
80c61c80 80c60058
2c060001 41820008
3c8041f0 9083004c
38800000 98830080
38c00002 80630114
80e30000 98c70100
3d80805c 618c11e0
7d8903a6 4e800421
38210028 39610100
60000000 00000000

NTSC-J:
c2601bd0 00000008
80a30004 2c05000c
41820028 2c05000e
41820020 2c050012
41820018 2c050040
41820010 2c050042
41820008 48000008
38840001 7c852378
60000000 00000000
c2857b44 00000007
560004e7 40820030
806f0004 2c03000c
41820020 2c03000e
41820018 2c030012
41820010 2c030040
41820008 2c030042
4c421042 00000000
c25cd610 00000009
2c040000 4082003c
3d004330 91010070
91010078 7c721b78
3a600000 3f008089
3b1834c0 90a10020
38a00001 90a10010
3ca0805c 60a5d6e4
7ca803a6 4e800020
80040000 00000000
c25971a0 00000037
48000019 001a0800
00010030 0025002e
00320066 00000000
80bc0000 80650000
88630010 3c80809c
8084c788 88840b84
7c032000 40820178
3c60809c 80630e98
80630000 83a30038
2c1d0000 40820044
83a3003c 2c1d0000
40820038 83a30040
2c1d0000 4082002c
83a30050 2c1d0000
40820020 83a30108
2c1d0000 40820014
83a30110 2c1d0000
40820008 48000120
7fc802a6 807c0000
80630008 80630090
80830004 c0240068
c044006c c0640070
c0830018 c0a3001c
c0c30020 ec212028
ec422828 ec633028
ec210072 ec4200b2
ec6300f2 ec21102a
ec21182a 3d808022
618cf72c 7d8903a6
4e800421 3821ffd8
4cc63242 38610008
38800010 7fc5f378
3d808001 618c7738
7d8903a6 4e800421
38a10008 38850008
a0640000 2c030000
4182003c 2c03002d
40820008 3860246d
2c03002e 40820008
3860246b 2c030030
41800010 2c03003a
40800008 38632430
b0640000 38840001
4bffffc0 807d005c
3c8042f0 3cc08038
80c65980 80c60058
2c060001 41820008
3c8041f0 9083004c
38800000 98830080
38c00002 80630114
80e30000 98c70100
3d80805c 618cd5dc
7d8903a6 4e800421
38210028 39610100
60000000 00000000

NTSC-K:
c25f087c 00000008
80a30004 2c05000c
41820028 2c05000e
41820020 2c050012
41820018 2c050040
41820010 2c050042
41820008 48000008
38840001 7c852378
60000000 00000000
c2846898 00000007
560004e7 40820030
806f0004 2c03000c
41820020 2c03000e
41820018 2c030012
41820010 2c030040
41820008 2c030042
4c421042 00000000
c25bbcf4 00000009
2c040000 4082003c
3d004330 91010070
91010078 7c721b78
3a600000 3f008088
3b182280 90a10020
38a00001 90a10010
3ca0805b 60a5bdc8
7ca803a6 4e800020
80040000 00000000
c2585878 00000037
48000019 001a0800
00010030 0025002e
00320066 00000000
80bc0000 80650000
88630010 3c80809b
8084bd68 88840b84
7c032000 40820178
3c60809b 80630478
80630000 83a30038
2c1d0000 40820044
83a3003c 2c1d0000
40820038 83a30040
2c1d0000 4082002c
83a30050 2c1d0000
40820020 83a30108
2c1d0000 40820014
83a30110 2c1d0000
40820008 48000120
7fc802a6 807c0000
80630008 80630090
80830004 c0240068
c044006c c0640070
c0830018 c0a3001c
c0c30020 ec212028
ec422828 ec633028
ec210072 ec4200b2
ec6300f2 ec21102a
ec21182a 3d808022
618cfb80 7d8903a6
4e800421 3821ffd8
4cc63242 38610008
38800010 7fc5f378
3d808001 618c787c
7d8903a6 4e800421
38a10008 38850008
a0640000 2c030000
4182003c 2c03002d
40820008 3860246d
2c03002e 40820008
3860246b 2c030030
41800010 2c03003a
40800008 38632430
b0640000 38840001
4bffffc0 807d005c
3c8042f0 3cc08037
80c64020 80c60058
2c060001 41820008
3c8041f0 9083004c
38800000 98830080
38c00002 80630114
80e30000 98c70100
3d80805b 618cbcc0
7d8903a6 4e800421
38210028 39610100
60000000 00000000
Reply
#29
(02-04-2021, 03:19 PM)stebler Wrote: TTTT: 16:9 x position. Default: 42f0 (120).

How did you get from 42f0 to 120?

EDIT: Floating point, not integer, got it
Reply
#30
How do I add km/h text in the customized version?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)