• Administrator
  •  
    Support Ukraine
    If you experience any problems with the forum (it is not visible, there is no way to post messages, or some functionality does not work), please let us know. If you have problems with registration or you did not receive confirmation letter, let us know and we will activate your account manually.
    If you get an "The submitted form was invalid. Try submitting again" error, delete cookies, then try again.
     

Watchface designer issue

Archive closed topics

Moderators: Internal error, Watchmens

Locked
lohtse2005

Watchface designer issue

Post by 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!!!
lohtse2005

Post by lohtse2005 »

soooooooooooooooooo NO ONE has ANY ideas???
TNguy88
WF maker
Posts: 1
Joined: 01 Jul 2018, 04:28
Contact:

Post by TNguy88 »

Is your .json file in the same folder as all your unpacked images?
lohtse2005

Post by lohtse2005 »

YEP as I had stated in the first message
lohtse2005

Post by 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 :-)
User avatar
osmat
Admin
Posts: 278
Joined: 22 Mar 2018, 10:09
Location: Ukraine
Has thanked: 35 times
Been thanked: 73 times
Contact:

Post by 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.
lohtse2005

Post by lohtse2005 »

error from log is in first message.
User avatar
osmat
Admin
Posts: 278
Joined: 22 Mar 2018, 10:09
Location: Ukraine
Has thanked: 35 times
Been thanked: 73 times
Contact:

Post by osmat »

Read carefully there should be everything described
lohtse2005

Post by lohtse2005 »

osmat wrote: 03 Jul 2018, 13:34
Read carefully there should be everything described
yes and ALL files are present..... AS EXPLAINED IN FIRST MESSAGE!!!!!!!!!!
jbelcourt
WF maker
Posts: 2
Joined: 04 Jul 2018, 01:28
Contact:

Post by 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)
jbelcourt
WF maker
Posts: 2
Joined: 04 Jul 2018, 01:28
Contact:

Post by 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.
lohtse2005

Post by lohtse2005 »

jbelcourt wrote: 04 Jul 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!!!
lohtse2005

Post by lohtse2005 »

jbelcourt wrote: 04 Jul 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!!!!
Armanmim
WF maker
Posts: 7
Joined: 16 Apr 2018, 13:10
Contact:

Post by 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)
User avatar
chb
WF maker
Posts: 15
Joined: 26 Apr 2018, 21:28
Location: near Vienna
Has thanked: 10 times
Contact:

Post by 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!
Don't worry, eat Curry!
lohtse2005

Post by 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...
camboggi88
WF maker
Posts: 1
Joined: 24 Jul 2018, 17:02
Contact:

Post by camboggi88 »

Hi lohtse2005, have you more solved? I have your same problem
lohtse2005

Post by 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.
User avatar
osmat
Admin
Posts: 278
Joined: 22 Mar 2018, 10:09
Location: Ukraine
Has thanked: 35 times
Been thanked: 73 times
Contact:

Post by osmat »

The constructor was updated.
ripfree

Post by ripfree »

lohtse2005 wrote: 28 Jul 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.
User avatar
stupdude2
WF maker
Posts: 15
Joined: 01 Oct 2018, 14:58
Location: Oneonta, AL
Contact:

Post by 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
User avatar
SimsalaBip
WF maker
Posts: 27
Joined: 16 Sep 2018, 17:56
Location: Germany
Has thanked: 1 time
Contact:

Post by 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...
Locked

Return to “Closed topics”

Who is online

Users browsing this forum: Google [Bot] and 1 guest