MarSoft / pebble-firmware-utils

Some tools used for Pebble firmware.
GNU General Public License v2.0
139 stars 12 forks source link

extract .pbl from .pbw #22

Open ForteDexe opened 3 years ago

ForteDexe commented 3 years ago

Hi Marsoft, I want to extract this fw (https://drive.google.com/file/d/1NZ7keQ7GZjBbdFhnreAa9okajbeMuEw8/view?usp=sharing) to get .pbl file, was success unpack it using unpackFirmware.py. But I dont know how to pack select file back to .pbl. I want to do this bcause custom language viet-thai still display wrong character "ư ơ đ", I tried to contact with you by email, but it return your mail box storage is full.

MarSoft commented 3 years ago

Hello, and thank you for notifying me about non-working email. If you unpack system_resources.pbpack then you can re-pack it back with either pbpack.py or packResources.sh. There is no .pbl file in the archive you gave link to.

ForteDexe commented 3 years ago

The author of that fw said, he replace the character in original fw, so there is no way to get this language ? https://photos.app.goo.gl/9QDZ4z7UWhoPTsvq6 Also which pebble sdk your python script using, I see import pbpack function, but the sdk I download dont have it.

MarSoft commented 3 years ago

If you want to fix displaying of those characters then you don't need to patch firmware I think, you can use language pack instead. You can edit font embedded in language pack.

ForteDexe commented 3 years ago

Is this website service close already ? https://pebware.herokuapp.com/langs/ If I want to to create the language pack, I need to send you the .po file ?

MarSoft commented 3 years ago

This site should have been working, but looks like it depended on Pebble API to fetch list of available languages. I'll try to fix it.

ForteDexe commented 3 years ago

Thank you, I though the service was close before :), thats why Iam looking for other solution, it hard to know which one is still working these days.

MarSoft commented 3 years ago

@ForteDexe, I fixed PebWare. Turned out that it was down due to our project on POEditor was automatically archived. Should work now.

ForteDexe commented 3 years ago

@MarSoft awesome, it worked now, thank you. But I still confuse a bit: Is poeditor just for translate ?, it isnt effect font character display right ?. Then how can I fix some character wont display correctly. Is 'Latin-based + Vietnamese + Thai' font using pebblebits font ?, if it is, do you have any idea why it isnt display correctly, bcause I think pebblebits font was have it https://photos.app.goo.gl/UT3tzzaQHUciPaUh6