# Rules corrupt

**URL:** <https://forum.bome.com/t/rules-corrupt/3974>\
**Category:** Bome Products\
**Created:** [February 14, 2022, 5:03pm UTC](https://forum.bome.com/t/rules-corrupt/3974 "2022-02-14T17:03:05Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Welker.Marius](https://forum.bome.com/letter_avatar_proxy/v4/letter/w/e95f7d/32.png) [@Welker.Marius](https://forum.bome.com/u/Welker.Marius)\
**Post date:** [February 14, 2022, 5:03pm UTC](https://forum.bome.com/t/rules-corrupt/3974/1 "2022-02-14T17:03:05Z")

</div>

Hello, I have a problem with a file, when i open it, there is a lot of rules corrupt options. Help !

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [February 14, 2022, 5:05pm UTC](https://forum.bome.com/t/rules-corrupt/3974/2 "2022-02-14T17:05:16Z")

</div>

Hi, and welcome to the Bome community!

Could you please post the offending project file?

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![Welker.Marius](https://forum.bome.com/letter_avatar_proxy/v4/letter/w/e95f7d/32.png) [@Welker.Marius](https://forum.bome.com/u/Welker.Marius)\
**Post date:** [February 14, 2022, 5:06pm UTC](https://forum.bome.com/t/rules-corrupt/3974/3 "2022-02-14T17:06:57Z")

</div>

[Yeah MIDI BOME DAWRF 9.9.1.bmtp](https://forum.bome.com/uploads/short-url/8dZsIgoBy0brQpFBuCYiaZNdDNj.bmtp) (1.4 MB)

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [February 14, 2022, 5:22pm UTC](https://forum.bome.com/t/rules-corrupt/3974/4 "2022-02-14T17:22:34Z")

</div>

Yes, I’m getting errors too. Do you have a previous version of the project file that worked? Maybe there is some sort of issue in saving the project file. What version of Bome MIDI Translator are you currently using?

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

<div class="post-metadata">

**Author:** ![Welker.Marius](https://forum.bome.com/letter_avatar_proxy/v4/letter/w/e95f7d/32.png) [@Welker.Marius](https://forum.bome.com/u/Welker.Marius)\
**Post date:** [February 14, 2022, 7:54pm UTC](https://forum.bome.com/t/rules-corrupt/3974/5 "2022-02-14T19:54:13Z")

</div>

Thanks, my translator version is 1.9.0.  
The last version with no bug is  
[Yeah MIDI BOME DAWRF 9.5.bmtp](https://forum.bome.com/uploads/short-url/hEm8C1G6x2L6SpSC4Q5bDW8q7XF.bmtp) (1.3 MB)

---

<div class="post-metadata">

**Author:** ![Welker.Marius](https://forum.bome.com/letter_avatar_proxy/v4/letter/w/e95f7d/32.png) [@Welker.Marius](https://forum.bome.com/u/Welker.Marius)\
**Post date:** [February 14, 2022, 11:09pm UTC](https://forum.bome.com/t/rules-corrupt/3974/6 "2022-02-14T23:09:07Z")

</div>

This is this code that make trouble :

ic=0  
if id==0 then ya=0  
if ya==0 then id=1  
ya=ya^1  
xa=0  
xb=0  
xc=0  
xd=0  
xe=0  
xf=0  
xg=0  
xh=0  
xi=0  
xj=0  
xk=0  
xl=0  
xm=0  
xn=0  
xo=0  
xp=0  
xq=0  
xr=0  
qq=1  
if va==1 then qq=0

---

<div class="post-metadata">

**Author:** ![Welker.Marius](https://forum.bome.com/letter_avatar_proxy/v4/letter/w/e95f7d/32.png) [@Welker.Marius](https://forum.bome.com/u/Welker.Marius)\
**Post date:** [February 14, 2022, 11:35pm UTC](https://forum.bome.com/t/rules-corrupt/3974/7 "2022-02-14T23:35:15Z")

</div>

The problem is inside this code :  
xa=0  
xb=0  
xc=0  
xd=0  
xe=0  
xf=0  
xg=0  
xh=0  
xi=0  
xj=0  
xk=0  
xl=0  
xm=0  
xn=0  
xo=0  
xp=0  
xq=0  
xr=0

---

<div class="post-metadata">

**Author:** ![Welker.Marius](https://forum.bome.com/letter_avatar_proxy/v4/letter/w/e95f7d/32.png) [@Welker.Marius](https://forum.bome.com/u/Welker.Marius)\
**Post date:** [February 15, 2022, 12:42am UTC](https://forum.bome.com/t/rules-corrupt/3974/8 "2022-02-15T00:42:11Z")

</div>

I have rewrite all the code of the preset that make problems, and replace all de variable “x” by a “j”, and it work fine ! 3 hours of work, but it work 🙂

---

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [February 15, 2022, 3:26am UTC](https://forum.bome.com/t/rules-corrupt/3974/9 "2022-02-15T03:26:46Z")

</div>

Hi,  
Sorry for having to re-write! Please make sure your build is 1022. I think the earlier build had the problem with variables starting with x,  
 ![image](https://forum.bome.com/uploads/default/original/2X/f/f2c19dd34af20ae09e07e519909476e1691c1ed6.jpeg)

---

<div class="post-metadata">

**Author:** ![FlorianBome](https://forum.bome.com/user_avatar/forum.bome.com/florianbome/32/2367_2.png) [@FlorianBome](https://forum.bome.com/u/FlorianBome)\
**Post date:** [February 15, 2022, 10:49am UTC](https://forum.bome.com/t/rules-corrupt/3974/11 "2022-02-15T10:49:56Z")

</div>

I’m sorry to hear of this trouble!

I can confirm that this is a bug that appeared in version 1.9 build 1018 and was fixed in 1.9 build 1022.  
See here:

> [@Corrupt Options on loading rules initializing variables starting with x](https://forum.bome.com/t/corrupt-options/3185/14):
>
> excellent, thanks a lot for finding out more about this. I could narrow it down to this: xa=0 xb=0 On reload, it’ll become xa=11. I think I know what’s happening: you can also specify numbers using hex notation, like xa=0x7F. Upon reading such a file, the Rules are following one another, so it will read like this: xa=0xb=0 And 0xb is hexadecimal for 11. It’s fun being a detective slight_smile So for now, an easy workaround is to not assign 0, but, for example, another 0 variable. But a…

Be aware that this bug still exists in BomeBox firmware version 1.5.
