Page 1 of 3

[App] Subtitle Font Size and Color Patch for D

Posted: Sun Mar 23, 2014 10:54 am
by sectroyer
This patch allows setting font size values (def. 29,32,35). You can also set font color and y position:) Sample usage:

Code: Select all

./fontsizepatch -n exeDSP -s 35 -m 37 -l 39  -c 0x80FFFF00 -y 100 -d 
You can apply this patch as many times as you want without the need to restart the TV :)

juuso check if it still works and fix the description with new options etc :)

Re: [App] Subtitle Font Size and Color Patch for D

Posted: Sun Jul 06, 2014 11:04 am
by andi
Hello,
the patch does not work on D-series blu-ray player (BD-D8900). This is the console output:
fontsizecolorpatch -n exeDSP -s 36 -m 38 -l 40 -d
Error getting symbol: adbg_CheckSystem
Error getting symbol: _ZN17CAceMPVideoPlayer11InitCaptionEv
Error getting symbol: _ZN17CAceMPVideoPlayer21UpdateCaptionTextSizeEi
Error getting symbol: _ZN19CAceMPSubtitleLabel6CreateEiiiiPK6PCTask
pc=41f9b670 lr=41f9b65c sp=be84b3e8 fp=6284ea4
r0=fffffe00 r1=80
r2=1 r3=0
symbol: valloc -> @0x41adb7e0
symbol: mprotect -> @0x41b3abe0
Stack: @0xbe837000 - @0xbe84c000
pc=41f9b670 lr=41f9b65c sp=be84b3e8 fp=6284ea4
r0=fffffe00 r1=80
r2=1 r3=0
Executing injection code at 0xbe84b354
Allocated new memory with size 0x00001000 at address: @0x079e8000
Unable to patch font size. Function _ZN17CAceMPVideoPlayer11InitCaptionEv not found.
Unable to patch font size. Function _ZN17CAceMPVideoPlayer11InitCaptionEv not found.
symbol: _ZN11SCTextLayer12SetShadowPosEll -> @0x01d066ec
symbol: _ZN11SCTextLayer14SetShadowStyleEb -> @0x01d0867c
Patching completed!

Please help!

Re: [App] Subtitle Font Size and Color Patch for D

Posted: Sun Jul 06, 2014 11:21 am
by sectroyer
andi wrote:Hello,
the patch does not work on D-series blu-ray player (BD-D8900). This is the console output:
SpoilerShow
fontsizecolorpatch -n exeDSP -s 36 -m 38 -l 40 -d
Error getting symbol: adbg_CheckSystem
Error getting symbol: _ZN17CAceMPVideoPlayer11InitCaptionEv
Error getting symbol: _ZN17CAceMPVideoPlayer21UpdateCaptionTextSizeEi
Error getting symbol: _ZN19CAceMPSubtitleLabel6CreateEiiiiPK6PCTask
pc=41f9b670 lr=41f9b65c sp=be84b3e8 fp=6284ea4
r0=fffffe00 r1=80
r2=1 r3=0
symbol: valloc -> @0x41adb7e0
symbol: mprotect -> @0x41b3abe0
Stack: @0xbe837000 - @0xbe84c000
pc=41f9b670 lr=41f9b65c sp=be84b3e8 fp=6284ea4
r0=fffffe00 r1=80
r2=1 r3=0
Executing injection code at 0xbe84b354
Allocated new memory with size 0x00001000 at address: @0x079e8000
Unable to patch font size. Function _ZN17CAceMPVideoPlayer11InitCaptionEv not found.
Unable to patch font size. Function _ZN17CAceMPVideoPlayer11InitCaptionEv not found.
symbol: _ZN11SCTextLayer12SetShadowPosEll -> @0x01d066ec
symbol: _ZN11SCTextLayer14SetShadowStyleEb -> @0x01d0867c
Patching completed!
Please help!
This patch should not work on Blu-ray players :) Upload your exeDSP somewhere and PM the link. I will take a look at porting the patch when I have a moment :)

Re: [App] Subtitle Font Size and Color Patch for D

Posted: Fri Aug 08, 2014 7:58 pm
by plds
Hello I am completely new to this, can you guide me through the installation?

Re: [App] Subtitle Font Size and Color Patch for D

Posted: Fri Feb 13, 2015 9:44 am
by madar
Hi,

The subtitle size and position patch works on my D6500 TV, but the color patch won't and the subtitle colo became yellow.
I uploaded my exedsp:
https://mega.co.nz/#!0ggGVD5L!T9cWDW0r2 ... 81DvC1zG3o

Can you check it?

madar

Re: [App] Subtitle Font Size and Color Patch for D

Posted: Fri Feb 13, 2015 9:53 am
by zoelechat
madar wrote:but the color patch won't and the subtitle color became yellow.
If subtitle became yellow it means color patch worked, no? :)

Re: [App] Subtitle Font Size and Color Patch for D

Posted: Fri Feb 13, 2015 5:42 pm
by madar
No, it won't work :(
Without c option the patch runs fine, but the font color became yellow:

./fontsizecolorpatch -p 61 -s 35 -m 37 -l 39 -d
Error getting symbol: adbg_CheckSystem
pc=41cdb670 lr=41cdb600 sp=5d79726f fp=94798000
r0=fffffe00 r1=80
r2=1 r3=0
symbol: valloc -> @0x419537e0
cannot read memory map
Addres for mprotect not found.
symbol: _ZN17CAceMPVideoPlayer11InitCaptionEv -> @0x02294e20
First font size patch location found at: @0x02294f1c.
Error writting @0
symbol: _ZN17CAceMPVideoPlayer21UpdateCaptionTextSizeEi -> @0x02293a38
Second font size patch location found at: @0x02293a78.
Error writting @200
symbol: _ZN11SCTextLayer12SetShadowPosEll -> @0x00d4d0b8
symbol: _ZN11SCTextLayer14SetShadowStyleEb -> @0x00d4f048
symbol: _ZN19CAceMPSubtitleLabel6CreateEiiiiPK6PCTask -> @0x022c0228
Trying patch shadow position.
Shadow position patched at: @0x022c0360 with value Z: 1.
Shadow position patched at: @0x022c036c with values X, Y: 1, 1.
Patching completed!

With -c option it fails the color patch:
./fontsizecolorpatch -p 61 -s 35 -m 37 -l 39 -d -c 0x80FFFF00
Error getting symbol: adbg_CheckSystem
pc=41cdb670 lr=41cdb600 sp=5d79726f fp=94798000
r0=fffffe00 r1=80
r2=1 r3=0
symbol: valloc -> @0x419537e0
cannot read memory map
Addres for mprotect not found.
symbol: _ZN17CAceMPVideoPlayer11InitCaptionEv -> @0x02294e20
First font size patch location found at: @0x02294f1c.
Error writting @0
symbol: _ZN17CAceMPVideoPlayer21UpdateCaptionTextSizeEi -> @0x02293a38
Second font size patch location found at: @0x02293a78.
Error writting @200
symbol: _ZN19CAceMPSubtitleLabel6CreateEiiiiPK6PCTask -> @0x022c0228
Unable to continue. Font color patch address not found.
symbol: _ZN11SCTextLayer12SetShadowPosEll -> @0x00d4d0b8
symbol: _ZN11SCTextLayer14SetShadowStyleEb -> @0x00d4f048
symbol: _ZN19CAceMPSubtitleLabel6CreateEiiiiPK6PCTask -> @0x022c0228
Trying patch shadow position.
Shadow position patched at: @0x022c0360 with value Z: 1.
Shadow position patched at: @0x022c036c with values X, Y: 1, 1.
Patching completed!


New problem: if I run it with -n exeDSP I got segfault, but last time it worked:
./fontsizecolorpatch -n exeDSP -s 35 -m 37 -l 39 -d
Error getting symbol: adbg_CheckSystem
Segmentation fault

With -p option it works.

Thanks
Laszlo

Re: [App] Subtitle Font Size and Color Patch for D

Posted: Fri Feb 13, 2015 5:57 pm
by sectroyer
madar wrote:No, it won't work :(
Without c option the patch runs fine, but the font color became yellow:
Nah it doesn't "work fine" :P Just look:

Code: Select all

cannot read memory map
Addres for mprotect not found.
...
Error writing @0
All of these are errors :)

Re: [App] Subtitle Font Size and Color Patch for D

Posted: Sat Feb 14, 2015 7:51 pm
by madar
After the post I realized this Error writing @0 message and font size patch won't work fine (it increases the size a bit bigger than the stock version and change the color to yellow). The vertical position patch works fine.

I hope you can investigate the issue with the uploaded exeDsp.

If you need more information, please let me know.

madar

Re: [App] Subtitle Font Size and Color Patch for D

Posted: Sun Mar 15, 2015 5:33 pm
by pohybel
Great patch! I would add additional option if possible.

When I increase font size text starts wrapping which sometimes results 4 lines of text where second and fourth line contains just one word. It seems that there is defined some viewport for subtitles which is about 60-70% of screen width.

@sectroyer
Are you able to add some option to your patch to change subtitle viewport width? I would really appreciate it. Anyway it is already very usable patch. Great job!