PDA

View Full Version : ArtRage 5 script playback error



RedSaucers
03-30-2017, 01:25 PM
I am having some problems playing back correctly a script, see the video below for a side by side comparison (I have synced up as best as I can) :

https://youtu.be/FX8XIegQFpU

Using ArtRage 5.0.4
Windows 10
Cintiq 22HD

Top left is the script playback and bottom right is the actual recording when I painted it

HannahRage
03-30-2017, 05:46 PM
It looks like it didn't record a tool change - did you pause the script around that point?

RedSaucers
03-31-2017, 09:46 AM
I didn't at any time pause the record script, however on further investigation it seems to be reproduceable on my system :

Surface Pro 4
Windows 10
ArtRage 5.0.4

See the following video :

https://youtu.be/hLnZERp5dMw

I just put some paint down, switched to warp accepted the warp and then continued to paint.

On replay, the brush used before the warp is not retained after the warp and the Oil Brush seems to be switched to instead.

I have reproduced this twice now in two attempts :)

RedSaucers
03-31-2017, 10:09 AM
Just discovered another bit of playback strangeness relating to warp, see below!, this time I cancelled the warp tranformation but it still seemed to try and replay anyway and didn't pick up my final two strokes :

https://youtu.be/FGg2lFKTy1U

HannahRage
03-31-2017, 12:58 PM
Awesome, that sounds like a very fun bug for us to look into. I'll do some tests with Warp here, and let you know if we can't reproduce any of that and need a script from you :D

(You can send them in anyway if you want, but it sounds very easy for us to find. If you do send them, send them in a zipped file to reduce the size).

HannahRage
03-31-2017, 07:22 PM
Just discovered another bit of playback strangeness relating to warp, see below!, this time I cancelled the warp tranformation but it still seemed to try and replay anyway and didn't pick up my final two strokes :

https://youtu.be/FGg2lFKTy1U

Okay, I can't replicate this one. Can you send us the script for it?

RedSaucers
07-13-2017, 04:00 AM
I think a have found a subtlety related to the above recording of the warp issue which may help you to resolve it.

I haven't as yet managed to reproduce it, but I can retrospectively modify the script to fix it! :)

On replay, the actions with the brush performed when using the warp seem to be replayed as oil brush strokes. I had a look a the .arscript file and found the following lines, I am assuming that the SetPanelSoloMode is the calling up of warp mode :

Wait: 6.029s EvType: Command CommandID: CID_ToolSelect ParamType: ToolID Value: { 4900 (Oil Paint) }
Wait: 25.043s EvType: Command CommandID: CID_SetPanelSoloMode ParamType: int32 Value: { 1 }
Wait: 3.649s EvType: Command CommandID: SetToolProperty ParamType: ToolProp Value: { 0x0B2D05E64 (Size), 2.77 }
Wait: 0.006s EvType: Command CommandID: SetToolProperty ParamType: ToolProp Value: { 0x0B2D05E64 (Size), 2.79 }

On trying to reproduce this (which I couldn't) I inspected a test working .arscript file when using the warp and found the following :

Wait: 6.542s EvType: Command CommandID: CID_SetPanelSoloMode ParamType: int32 Value: { 1 }
Wait: 1.828s EvType: Command CommandID: ToolPreset ToolID: 4926 (Warp) Tool Data: {
┾┓──┘───────░◂┵╀────────○┽▍┾━───└─────────────▀▿╪▄ ╥┾─────╅─◿┴───────┄───────┴╞◐▲──▀┿────╤╞◐▲────━─── ┴╞◐▲────━───╤╞◐▲────
} // End of tool preset binary data.
Wait: 0.000s EvType: Command CommandID: SetToolProperty ParamType: ToolProp Value: { 0x0B2D05E64 (Size), 2.85 }
Wait: 0.020s EvType: Command CommandID: SetToolProperty ParamType: ToolProp Value: { 0x0B2D05E64 (Size), 2.87 }

There seems to be a Warp ToolData line present!, so I copied this line into my non working script and it worked!, meaning I didn't see the oil paint strokes and in fact saw the dynamic warp effects of each brushstroke which I didn't see in my non working replay and just saw the final transformation.

RedSaucers
07-13-2017, 04:46 AM
Aha!, I have reproduced it!, see video below :

https://youtu.be/GorsnQ02zkI

RedSaucers
07-31-2017, 03:43 AM
I still seem to be having playback issues with this, and yes I am using 5.0.5 which includes the following fix :

Fixed a bug that caused the wrong tool to be selected after application of a scripted warp.

See this video for my attempt to show the different in real time (top left) and playback recording (bottom right) :
Note that my screen recordings were using OBS window capture so no Warp dialogs were captured.

https://youtu.be/oe8F8BSAWkQ

Using :
using ArtRage 5.0.5
Windows 10 64 bit
Surface Pro

RedSaucers
07-31-2017, 04:21 AM
Also I tried testing the example that I had given before and there seem to be still issues, see :

https://youtu.be/1hxrSUK3tg4

DaveRage
09-29-2017, 11:35 AM
I've been unable to reproduce this one in my testing so far. I believe the fix will not apply to scripts which were recorded prior to 5.0.5.

If you are still seeing it with new scripts created in 5.0.5 can you contact me at [email protected] and send me a small example script file? If you only have a large script which exhibits the problem, please email me anyway and I can sort out getting hold of that file.

Thanks!

DaveRage
10-03-2017, 11:09 AM
Thanks for sending in the info! I've added this to our list.

RedSaucers
10-03-2017, 11:41 AM
No problem :)