Pagina 1 di 1
Tool to unpack gts 2 mini
Inviato: 23 gen 2024, 14:15
da Max88
Hello guys, I need help about gts 2 mini.
It has passed a lot of time since when I did some wf for this watch, and now I totally forgot which tools to use and where to find them.
To start I'd need a tool to unpack wf, but I'm not able to find anything I could use on windows.
Thanks
Re: Tool to unpack gts 2 mini
Inviato: 23 gen 2024, 14:34
da asoo
Max88 ha scritto: 23 gen 2024, 14:15
Hello guys, I need help about gts 2 mini.
It has passed a lot of time since when I did some wf for this watch, and now I totally forgot which tools to use and where to find them.
To start I'd need a tool to unpack wf, but I'm not able to find anything I could use on windows.
Thanks
viewtopic.php?p=12537#p12537
Re: Tool to unpack gts 2 mini
Inviato: 23 gen 2024, 21:11
da Max88
asoo ha scritto: 23 gen 2024, 14:34
Thank you. I had already seen that post, but that main.exe file doesn't work for me.
It doesn't unpack wf I have downloaded from this site.
Moreover, to be honest I haven't understood exactly how to use it.
I have imagined it was sufficient to download just the main.exe file and drag the bin I'm interested in on top of that exe.
Re: Tool to unpack gts 2 mini
Inviato: 24 gen 2024, 02:02
da asoo
Max88 ha scritto: 23 gen 2024, 21:11
asoo ha scritto: 23 gen 2024, 14:34
Thank you. I had already seen that post, but that main.exe file doesn't work for me.
It doesn't unpack wf I have downloaded from this site.
Moreover, to be honest I haven't understood exactly how to use it.
I have imagined it was sufficient to download just the main.exe file and drag the bin I'm interested in on top of that exe.
You can view the command line by
Open "CMD" (Dos mode) and type main --help
Codice: Seleziona tutto
usage: main [-h] [--vergelite] [--gtr {42,47}] [--gtr2 {42,47}] [--gts] [--gts2] [--trexpro] [--oldformat]
[--gts2mini] [--bipu] [--bip3] [--trex] [--x] [--file FILE [FILE ...]] [--to_raw] [--from_raw]
[--border_alignment]
options:
-h, --help show this help message and exit
--vergelite force VergeLite watchface
--gtr {42,47} force GTR watchface
--gtr2 {42,47} force GTR2 watchface
--gts force GTS watchface
--gts2 force GTS2 watchface
--trexpro force TRexPro watchface
--oldformat force old json format for GTS2 or GTR2
--gts2mini force GTS2 Mini watchface
--bipu force Bip U watchface
--bip3 force Bip 3 watchface
--trex force T-REX watchface
--x force AmazfitX watchface
--file FILE [FILE ...]
watchface.bin - unpacks watchface images and config watchface.json - packs config and
referenced images to bin file
--to_raw save raw header and resources
--from_raw generate bin from raw folder
--border_alignment draw border around aligned objects in preview
or you can see how to use main.exe in this link.
( in the topic "usage" )
https://github.com/Tnxec2/py_amazfit_to ... e/GTS2mini
Re: Tool to unpack gts 2 mini
Inviato: 24 gen 2024, 08:39
da Max88
asoo ha scritto: 24 gen 2024, 02:02
You can view the command line by
Open "CMD" (Dos mode) and type main --help
Codice: Seleziona tutto
usage: main [-h] [--vergelite] [--gtr {42,47}] [--gtr2 {42,47}] [--gts] [--gts2] [--trexpro] [--oldformat]
[--gts2mini] [--bipu] [--bip3] [--trex] [--x] [--file FILE [FILE ...]] [--to_raw] [--from_raw]
[--border_alignment]
options:
-h, --help show this help message and exit
--vergelite force VergeLite watchface
--gtr {42,47} force GTR watchface
--gtr2 {42,47} force GTR2 watchface
--gts force GTS watchface
--gts2 force GTS2 watchface
--trexpro force TRexPro watchface
--oldformat force old json format for GTS2 or GTR2
--gts2mini force GTS2 Mini watchface
--bipu force Bip U watchface
--bip3 force Bip 3 watchface
--trex force T-REX watchface
--x force AmazfitX watchface
--file FILE [FILE ...]
watchface.bin - unpacks watchface images and config watchface.json - packs config and
referenced images to bin file
--to_raw save raw header and resources
--from_raw generate bin from raw folder
--border_alignment draw border around aligned objects in preview
or you can see how to use main.exe in this link.
( in the topic "usage" )
https://github.com/Tnxec2/py_amazfit_to ... e/GTS2mini
Thank you again for help, but where do I have to open CMD and how?
Because if I write cmd in windows task and then I write main --help nothing happens
Edit: oh and I haven't understood how to use that main.exe, sorry.
Re: Tool to unpack gts 2 mini
Inviato: 24 gen 2024, 09:05
da asoo
Max88 ha scritto: 24 gen 2024, 08:39
Thank you again for help, but where do I have to open CMD and how?
Because if I write cmd in windows task and then I write main --help nothing happens
Edit: oh and I haven't understood how to use that main.exe, sorry.
Open CMD :
command line for unpack
main --gts2mini --file yourwatchface.bin
command line for pack
main --gts2mini --file yourwatchface.json
Re: Tool to unpack gts 2 mini
Inviato: 24 gen 2024, 09:18
da Max88
asoo ha scritto: 24 gen 2024, 09:05
Open CMD :
command line for unpack
main --gts2mini --file yourwatchface.bin
command line for pack
main --gts2mini --file yourwatchface.json
Re: Tool to unpack gts 2 mini
Inviato: 24 gen 2024, 09:59
da asoo
if you want to use main.exe , main.exe must be in the same folder as file.bin that you want to unpack.
Or, if you don't want to copy main.exe into the same folder as file.bin, you can copy main.exe into the folder c:\windows or the folder where Windows is installed. Doing this, you can run main.exe anywhere.
Re: Tool to unpack gts 2 mini
Inviato: 24 gen 2024, 10:27
da Max88
asoo ha scritto: 24 gen 2024, 09:59
if you want to use main.exe , main.exe must be in the same folder as file.bin that you want to unpack.
Or, if you don't want to copy main.exe into the same folder as file.bin, you can copy main.exe into the folder c:\windows or the folder where Windows is installed. Doing this, you can run main.exe anywhere.
Ok, i got it. I have changed the working directory of cmd to the one where main and bin are.
I have given the command you wrote and unpack has worked.
Thank you a million for your kindness and patience