m0tral / EasyFace

Xiaomi watchfaces editor for various watch, band models by Xiaomi
229 stars 3 forks source link

Project not opening anymore after trying to compile #8

Open artai94 opened 9 months ago

artai94 commented 9 months ago

I was finishing my watchface and I tried to compile it, but i used one Day of the Week widget. It gave me an error. I tried closing and opening again and it didn't work anymore. Any ideas? This is the only message I get.

image

My current fprj file if I open it with the notepad:

`<?xml version="1.0" encoding="UTF-8" ?>

`

artai94 commented 9 months ago

I was finishing my watchface and I tried to compile it, but i used one Day of the Week widget. It gave me an error. I tried closing and opening again and it didn't work anymore. Any ideas? This is the only message I get.

image

My current fprj file if I open it with the notepad:

<?xml version="1.0" encoding="UTF-8" ?> <FaceProject DeviceType="9"> <Screen Title="" Bitmap=""> <Widget Shape="30" Name="Fondo" X="0" Y="0" Width="192" Height="490" Alpha="255" Visible_Src="0" Bitmap="0000.png" /> <Widget Shape="32" Name="PorcentajeBateria" X="64" Y="25" Width="44" Height="28" Alpha="255" Digits="3" Alignment="2" Spacing="1" Blanking="0" Visible_Src="0" Value_Src="841" BitmapList="0073.png|0074.png|0075.png|0076.png|0077.png|0078.png|0079.png|0080.png|0081.png|0082.png|0050.png" /> <Widget Shape="32" Name="Horas" X="33" Y="114" Width="129" Height="142" Alpha="255" Digits="2" Alignment="1" Spacing="15" Blanking="0" Visible_Src="811" Value_Src="811" BitmapList="0001.png|0002.png|0003.png|0004.png|0005.png|0006.png|0007.png|0008.png|0009.png|0010.png|0022.png" /> <Widget Shape="32" Name="minutos" X="33" Y="261" Width="129" Height="142" Alpha="255" Digits="2" Alignment="1" Spacing="15" Blanking="0" Visible_Src="0" Value_Src="1011" BitmapList="0052.png|0053.png|0054.png|0055.png|0056.png|0057.png|0058.png|0059.png|0060.png|0061.png|0050.png" /> <Widget Shape="1001" Name="DiaSemana" X="109" Y="68" Width="69" Height="31" Alpha="255" Visible_Src="0" BitmapList="0071.png|0065.png|0066.png|0067.png|0068.png|0069.png|0070.png" /> <Widget Shape="29" Name="Bateria" X="1" Y="0" Width="190" Height="100" Alpha="255" Rotate_xc="95" Rotate_yc="95" Radius="89" Line_Width="10" StartAngle="-89" EndAngle="89" Range_Min="0" Range_Max="100" Range_MinStep="0" Range_Step="0" Background_ImageName="0095.png" Foreground_ImageName="0096.png" Visible_Src="0" Range_Max_Src="0" Range_Val_Src="841" /> <Widget Shape="32" Name="Dia" X="20" Y="68" Width="39" Height="30" Alpha="255" Digits="2" Alignment="1" Spacing="1" Blanking="0" Visible_Src="0" Value_Src="1812" BitmapList="0011.png|0012.png|0013.png|0014.png|0015.png|0016.png|0017.png|0018.png|0019.png|0020.png|0050.png" /> <Widget Shape="32" Name="Mes" X="70" Y="68" Width="39" Height="30" Alpha="255" Digits="2" Alignment="1" Spacing="1" Blanking="0" Visible_Src="0" Value_Src="1012" BitmapList="0011.png|0012.png|0013.png|0014.png|0015.png|0016.png|0017.png|0018.png|0019.png|0020.png|0050.png" /> <Widget Shape="32" Name="PorcentajeBateria" X="109" Y="426" Width="39" Height="30" Alpha="255" Digits="2" Alignment="1" Spacing="1" Blanking="0" Visible_Src="0" Value_Src="2031" BitmapList="0011.png|0012.png|0013.png|0014.png|0015.png|0016.png|0017.png|0018.png|0019.png|0020.png|0050.png" /> </Screen> </FaceProject>

SOLVED! The problem was I had 2 widgets with the same name "PorcentajeBateria". I opened the project with the notepad and changed the name of the second widget and... solved! I also had to put a name in the ScreenTitle and assign a thumbnail and it finally compiled. The problem now is that it compiles it into a .face file. How do I compile it to a .bin??