[App] Subtitle Font Size and Color Patch for D

Here are software that related with Samsung D series TVs.
Please don't create any new topic here unless you have software to post/release.

sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

[App] Subtitle Font Size and Color Patch for D

Post 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 :)
You do not have the required permissions to view the files attached to this post.
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
andi
Posts: 40
Joined: Sat Aug 04, 2012 7:14 am

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

Post 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!
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

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

Post 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 :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
plds
Posts: 2
Joined: Fri Aug 08, 2014 7:52 pm

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

Post by plds »

Hello I am completely new to this, can you guide me through the installation?
madar
Posts: 3
Joined: Fri Apr 27, 2012 8:06 am

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

Post 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
zoelechat
SamyGO Moderator
Posts: 8615
Joined: Fri Apr 12, 2013 7:32 pm
Location: France

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

Post 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? :)
I do NOT receive any PM. Please use forum.
madar
Posts: 3
Joined: Fri Apr 27, 2012 8:06 am

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

Post 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
sectroyer
Official SamyGO Developer
Posts: 6305
Joined: Wed May 04, 2011 5:10 pm

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

Post 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 :)
I do NOT support "latest fw" at ALL. If you have one you should block updates on router and wait for it to STOP being "latest":)
If you want me to help you please paste FULL log(s) to "spoiler"/"code" bbcodes or provide link(s) to pasted file(s) on https://pastebin.com Otherwise "NO HELP"!!!
If you want root DISABLE internet access to your device!!!!
DO NOT EVER INSTALL FIRMWARE UPGRADE !!!!
madar
Posts: 3
Joined: Fri Apr 27, 2012 8:06 am

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

Post 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
User avatar
pohybel
Posts: 45
Joined: Wed Jun 13, 2012 4:35 pm
Location: Poland

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

Post 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!

Post Reply

Return to “[D] Software”