TVPad pkg file compress & decompress
For these who interest on TVPad pkg file internal.
Here is a Windows tool to compress & decompress the pkg file.
It was a Deiphi program and you need also install some dll & ocx.
Here is a Windows tool to compress & decompress the pkg file.
It was a Deiphi program and you need also install some dll & ocx.
Post edited by KMK on
Comments
Here are the ones I am using (credits to mikc).
PKG for firmware 3.26
PKG for firmware 3.70 or later
The usage is easy. To extract simply a pkg, simply drag and drop it on the relevant .exe or from a command-line run gpkg*.exe .pkg . To package your app, create a directory which contains all your app files and simply run the executable gpkg*.exe at the same level as the directory (so not inside the directory). Then answer the prompts.
Note:
- The pkg exec should be named onlinetv (if I recall that part of the code was not completed, so if you choose a different executable the app will fail to start).
- For firmware 3.70 or later, an empty file called check.txt should be present together with your app files.
Also programming for TVPad2/3 is easier, because the widgets and layouts from the Qt Creator on Windows map 1 to 1 with the ones on the TVPad. For TVPad1 that was not the case and you have to resize the widgets on Windows to be displayed properly on the TVPad1.
The most tedious task is maybe setting up the environment on Linux for cross-compiling, but you only have to do that once.
As I mentioned somewhere else, the TMP app was the only graphical app that I made using Qt. I forgot that the Remote app was also made fully through Qt, but that was not graphical.
Do you happen to a VM template for the environment ? If not then maybe I could get that going for the community
Would be nice for the community though if you or someone else can do it. That will lower the bar for people to start developing for the TVPad.
P.S.: wish I could quit my job as well, but I didn't win the lottery yet
You may google for simplyzipse.exe, External Progs->Zlib this work too.