Pagina 1 di 1

Watchface designer issue

Inviato: 26 giu 2018, 16:48
da lohtse2005
I get the following error when trying to pack into BIN format

Fatal|System.ArgumentException: File 'header.json' or 'version' should exists in the folder with unpacked images. Res-file couldn't be created
at WatchFace.Program.PackResources(String inputDirectory)
at WatchFace.Program.Main(String[] args)
Fatal|System.ArgumentException: File 'header.json' or 'version' should exists in the folder with unpacked images. Res-file couldn't be created
at WatchFace.Program.PackResources(String inputDirectory)
at WatchFace.Program.Main(String[] args)


I even get this if I simply try repacking the original Bin!!!

Re: Watchface designer issue

Inviato: 28 giu 2018, 13:46
da lohtse2005
soooooooooooooooooo NO ONE has ANY ideas???

Re: Watchface designer issue

Inviato: 01 lug 2018, 04:31
da TNguy88
Is your .json file in the same folder as all your unpacked images?

Re: Watchface designer issue

Inviato: 01 lug 2018, 09:06
da lohtse2005
YEP as I had stated in the first message

Re: Watchface designer issue

Inviato: 01 lug 2018, 09:15
da lohtse2005
is there a STEP by step instruction Tutorial?? Just in case there is something I missed



Heres what I have done

1) Found a face I like and downloaded
2)Dragged Bin over watchface.exe to extract files
3)edited it etc to my liking
4)dragged over watchface.exe (this is where it fails)

Have done same process with unedited watchface too

thank you for responding by the way :-)

Re: Watchface designer issue

Inviato: 02 lug 2018, 06:47
da osmat
If the program issues an error, it writes what the problem is in the log file. If you still have nothing left to do, let me know I'll help you.

Re: Watchface designer issue

Inviato: 02 lug 2018, 18:33
da lohtse2005
error from log is in first message.

Re: Watchface designer issue

Inviato: 03 lug 2018, 13:34
da osmat
Read carefully there should be everything described

Re: Watchface designer issue

Inviato: 03 lug 2018, 19:00
da lohtse2005
osmat ha scritto: 03 lug 2018, 13:34
Read carefully there should be everything described
yes and ALL files are present..... AS EXPLAINED IN FIRST MESSAGE!!!!!!!!!!

Re: Watchface designer issue

Inviato: 04 lug 2018, 01:40
da jbelcourt
Exact same issue.

Fatal|System.ArgumentException: File 'header.json' or 'version' should exists in the folder with unpacked images. Res-file couldn't be created
at WatchFace.Program.PackResources(String inputDirectory)
at WatchFace.Program.Main(String[] args)

Re: Watchface designer issue

Inviato: 04 lug 2018, 02:19
da jbelcourt
@lohtse2005 I found the solution. You (and I) are dragging the folder to the exe to recompile it. You're supposed to drag the .json file to the exe to recompile the bin file. I just figured it out and tested the watch face.

Re: Watchface designer issue

Inviato: 04 lug 2018, 05:30
da lohtse2005
jbelcourt ha scritto: 04 lug 2018, 01:40
Exact same issue.

Fatal|System.ArgumentException: File 'header.json' or 'version' should exists in the folder with unpacked images. Res-file couldn't be created
at WatchFace.Program.PackResources(String inputDirectory)
at WatchFace.Program.Main(String[] args)
Sad to see that others are having same issue!!!

Re: Watchface designer issue

Inviato: 04 lug 2018, 17:20
da lohtse2005
jbelcourt ha scritto: 04 lug 2018, 02:19
@lohtse2005 I found the solution. You (and I) are dragging the folder to the exe to recompile it. You're supposed to drag the .json file to the exe to recompile the bin file. I just figured it out and tested the watch face.
OUTSTANDING..... Thank you for that bit of VERY USEFUL peice of information.... Is VERY different from tutorials I had watched...

Thank you for sharing...

NOW the fun begins!!!!

Re: Watchface designer issue

Inviato: 05 lug 2018, 11:27
da Armanmim
this happened to me once, re extract the original bin to another folder, then copy paste your edited stuff in it and pull the json to watchface program. (also make sure you didnt delete any of images)

Re: Watchface designer issue

Inviato: 21 lug 2018, 20:26
da chb
My similar trouble by trying to make a bin-file from json:
Debug|Reading config...
Fatal|Newtonsoft.Json.JsonSerializationException: Could not find member 'TopLeftX' on object of type 'CompositeNumber'. Path 'Activity.Steps.TopLeftX', line 67, position 23.
...

All PNGs are in the same folder as the 5 DLLs and the Watchmaker.exe. In the online-BIP-tool everything looks nice & correct.
Please help!

Re: Watchface designer issue

Inviato: 22 lug 2018, 17:10
da lohtse2005
Hmmmm thats a new one!!! Try doing it as stated by jbelcourt in this thread... Only way I could get it to work myself...

Just wish there was a MUCH simplier method with FAR less messing around... seems there are TWO versions of the online editor

the one in a link from this site

https://amazfitwatchfaces.com/editor/wa ... ditor/?bip

and this one

https://v1ack.github.io/watchfaceEditor/


There also seems to be NO definative how to guide as I have found that those that do exist are for different versions of software/web editors.

This all needs to be consolidated in to one upto date help guide... Which should explain what and how to do things, what size imae files work, which fonts work etc etc.... No matter what I do EVERY watchface I try to make simply fails for some reaon or another...


MAY BE those that are very good watchface devs could get together and help with this..... So that others can make their own and share their work...

Re: Watchface designer issue

Inviato: 25 lug 2018, 09:39
da camboggi88
Hi lohtse2005, have you more solved? I have your same problem

Re: Watchface designer issue

Inviato: 28 lug 2018, 07:10
da lohtse2005
no and seems my post about the fact there is no support from devs and mods or a PROPER TUTORIAL HAS BEEN REMOVED.

says a lot about forum.

Re: Watchface designer issue

Inviato: 01 ago 2018, 08:56
da osmat
The constructor was updated.

Re: Watchface designer issue

Inviato: 04 ago 2018, 05:51
da ripfree
lohtse2005 ha scritto: 28 lug 2018, 07:10
no and seems my post about the fact there is no support from devs and mods or a PROPER TUTORIAL HAS BEEN REMOVED.

says a lot about forum.
same issue here, but seems i found the solution. Just drop all files from modified *.Json`s folder to folder with WatchFace.exe and try to recompile it (*.json) again.

Re: Watchface designer issue

Inviato: 03 ott 2018, 14:50
da stupdude2
Two things that might help.

1) Make sure the .json doesn't reference images that don't exist.
2) You can get more details if you compile the watchface by opening a command prompt and typing watchface.exe nameofface.json

Re: Watchface designer issue

Inviato: 03 ott 2018, 21:07
da SimsalaBip
I use AmazfitBipTools and watchface.exe in a Win7-VM on my Mac. I did nothing special, just unpacked the archive and it worked like a charm from that moment.
.bin file on watchface.exe for unpacking and .json file on watchface.exe for repacking.
When I get errors it's mostly I forgot a colon in the json file...

Hope you get it fixed...