ooflet / Mi-Create

Unofficial watchface creator for Xiaomi wearables ~2021 and above
https://ooflet.github.io/docs
GNU General Public License v3.0
48 stars 4 forks source link

New Project keeps crashing in Windows #14

Closed sgupta999 closed 5 months ago

sgupta999 commented 5 months ago

Describe the bug A clear and concise description of what the bug is. Installed the latest v3 beta from releases on widows 11 pro 64 bit Run the app as administrator Trying to create a new project for Redmi Watch 3 active Select destination folder When i hit ok the app just crashed. I don't see a log file so i do not know why it is crashing

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen. expected to create a new project

Screenshots If applicable, add screenshots to help explain your problem. image

Desktop (please complete the following information):

Additional context Add any other context about the problem here.

ooflet commented 5 months ago

I am unable to replicate, can you try a different project location? If that fails, can you see if it still fails on the latest build of Mi Create and if so send the error message that is displayed on the command prompt?

To run latest build you can preferably follow instructions on README.md for running on source or use the pre-compiled version at https://mega.nz/file/uZ0DDCTL#5e1rMnckPs5TnPEKe4Xm_HmjKSCBu8MhWF-tmmjBt1U

sgupta999 commented 5 months ago

Thank you for your prompt reply. I copied this pre-compiled version on the current install directory. Was finally able to create a new project.

Now to figure out how to decompile an existing watch face and use that as an existing project starting point. And how to package and upload a new created watchfact to my redmi watch.

Are there any wikis/directions for that? if there's a process to be followed but not currently i can help document so you update the wiki?

thx so much

ooflet commented 5 months ago

Mi Create comes bundled with a decompiler that is currenrly not implemented in UI. It is located in the compiler folder in the install directory (unpack.exe). It is not perfect, especially for some stock Xiaomi watchfaces. The decompiler decompiles to the current working directory, there is no argument to specify where to unpack. You can simply just drag and drop a compiled watchface binary on top of the executable and have it unpack there

There is a wiki with steps on how to compile and publish the watchface (onto m0tral's servers) at https://ooflet.github.io/docs/quickstart/intro/