In the sendDeltaXYZ() function change “state” to 4.0 (writing additive mode) and change X and Y places in the call to sendPackage() function.
For more details have a look at https://github.com/DobotTeam/Dobot/blob/master/protocol/Dobot_protocol_en_1.0_beta.pdf
The coordinate system is still a bit off and dobot drops commands randomly, but at least you can make it move under any OS.
Another way to make it move under any OS would be a python script. Here I’ve created a gist: https://gist.github.com/maxosprojects/7c2732c5be3e61eb6deb
You use it with dobot.xyz(x, y, z). Add time.sleep() with enough sleep for dobot to finish the command otherwise it will drop it. For completeness sake - dobot drops commands randomly anyway, but “sleep” helps a lot.
The gist also prints the stuff dobot returns on the serial interface, which are floats in 10-float chunks. So you are interested in last numbers 0-9 - that gives you one unit of report of dobot’s state (x, y, z, angles, etc.). Refer to the protocol description (link above) for how to understand those floats.