Convershacker
Convershacker
Been messing around with a very old source code of CH im not massively clued up with it but been trying to edit the convertimage.cpp to try and make a logo the correct size I need but instead of my image been totally scrambled I can see parts of the image
The full logo picture is one the source code made me and I added the bgr manually made from the latest CH so the very first source code codes the images correctly, other picture on main screen is the image edited to 250x195px with the edited imageconvert.cpp if I use the none edited imageconvertt.cpp the image is totally scrambled
The full logo picture is one the source code made me and I added the bgr manually made from the latest CH so the very first source code codes the images correctly, other picture on main screen is the image edited to 250x195px with the edited imageconvert.cpp if I use the none edited imageconvertt.cpp the image is totally scrambled
You do not have the required permissions to view the files attached to this post.
Re: Convershacker
Convershacker with image at 400x198px
Convershacker with image to 250x195px
This is from editing the imageconvert.cpp file in the source code unfortunately I only have old first version source code
Convershacker with image to 250x195px
This is from editing the imageconvert.cpp file in the source code unfortunately I only have old first version source code
You do not have the required permissions to view the files attached to this post.
-
- Pro
- Posts: 364
- Joined: 04 Aug 2019, 22:47
Re: Convershacker
Put the Main FW, Original Flash FW and a Flash FW with the image modified by you.
I'm guessing that you're doing something wrong.
I'm guessing that you're doing something wrong.
Re: Convershacker
I'm trying to edit the size of the image with a modified version of convershacker but I'm starting to think there is more to it to change other images in the firmware
Re: Convershacker
I'm pointing the image to new one by changing the end bytes of the stock logo to make it jump to 30 12 04 00 like can do with standby logo, I think its because the images in main screen need coding differentlyDGAlexandru wrote: ↑02 Nov 2020, 11:59 Put the Main FW, Original Flash FW and a Flash FW with the image modified by you.
I'm guessing that you're doing something wrong.
Re: Convershacker
this is the file it generates with my edited convershacker 250x195px
this is the one without it edited the latest convershacker makes this the same so its coding correctly for 400x198px
You do not have the required permissions to view the files attached to this post.
Re: Convershacker
Maybe I need to edit something else in convershacker source code
You do not have the required permissions to view the files attached to this post.
-
- Pro
- Posts: 364
- Joined: 04 Aug 2019, 22:47
Re: Convershacker
As I said.. you're doing something wrong
Did you edit by hand the encoded image.28152.bin file?
Why do you want an image size of 640 x 195 pixels?
The maximum image size you can use in Convers+ is 400 x 198 pixels.
1. Instead of a width of 640 pixels you made it 6.400 pixels... but the image is only 400 pixels wide.
2. Instead of a height of 198 pixels you made it 195 pixels.. and, again, the image is encoded as having 195 pixels in height.
Once I corrected this information in the BIN file, ConversHacker was able to show correctly the image.
Did you edit by hand the encoded image.28152.bin file?
Why do you want an image size of 640 x 195 pixels?
The maximum image size you can use in Convers+ is 400 x 198 pixels.
1. Instead of a width of 640 pixels you made it 6.400 pixels... but the image is only 400 pixels wide.
2. Instead of a height of 198 pixels you made it 195 pixels.. and, again, the image is encoded as having 195 pixels in height.
Once I corrected this information in the BIN file, ConversHacker was able to show correctly the image.
You do not have the required permissions to view the files attached to this post.
Re: Convershacker
I changed the px to 250 not 640DGAlexandru wrote: ↑30 Dec 2020, 11:12 As I said.. you're doing something wrong
Did you edit by hand the encoded image.28152.bin file?
Why do you want an image size of 640 x 195 pixels?
The maximum image size you can use in Convers+ is 400 x 198 pixels.
Corrected data.jpg
1. Instead of a width of 640 pixels you made it 6.400 pixels... but the image is only 400 pixels wide.
2. Instead of a height of 198 pixels you made it 195 pixels.. and, again, the image is encoded as having 195 pixels in height.
Once I corrected this information in the BIN file, ConversHacker was able to show correctly the image.
I was basically trying to edit the size of the picture CH makes so can change other images in the firmware
-
- Pro
- Posts: 364
- Joined: 04 Aug 2019, 22:47
Re: Convershacker
Well.. FA 00 means 6.400
To change the size of an image you have to encode it in that size; it is not enough to change those bytes.. from the end.
To change the size of an image you have to encode it in that size; it is not enough to change those bytes.. from the end.