When you start the first steps, an incomplete item is produced and already has assigned colors along with the base stats for that item class. Toggling the "incomplete" flag on the item in RAM shows a preview of what the colors will be when it's done, barring a specific ingot finish (which will edit the colors when you finish).
[Image: http://i.imgur.com/8nsM7EE.gif]
The packet giving the incomplete item shows that the "PRGRATE" (progress rate?) on "99.9%" items is a float value, and it's actually 1.0 for items ready to be finished.
[SIZE="5"]- Finishing[/SIZE]
When completing the minigame Mabi does not remove the incomplete item to give a complete one. The incomplete item is instead modified (5BD4, ItemUpdate), it has the stats changed according to the quality. So we do end up with the initial color as well when a finish option isn't used.
This could potentially be used to figure out the resulting colors of smithing/tailoring items way early and deciding on re-rolls if the first step is cheap enough, saving some metal dyes.
Anyways the minigame is entirely client-sided, and your game sends the results to the server at the end. I tried making Sickles using various methods to see what data is sent when you finish the game. I have rank F so the hits aren't too accurate, but this should give some insight into what matters. I've only included the packet arguments that appear to be relevent to the minigame, the other data in the outgoing packet seems to be identifiers to mark the items being used.
- I first tried doing the minigame hitting the dots as soon as the bar hit the green area.
[spoiler="Results Sent To Server"]Byte : 1
Short : 87
Short : 99
Int : 4848
Byte : 1
Short : 96
Short : 115
Int : 4665
Byte : 1
Short : 155
Short : 159
Int : 4938
Byte : 1
Short : 70
Short : 71
Int : 4343
Byte : 1
Short : 124
Short : 73
Int : 5016[/spoiler]
- I next waited until near the end of the bar to hit (more or less).
[spoiler="Results Sent To Server"]Byte : 1
Short : 77
Short : 116
Int : 5819
Byte : 1
Short : 123
Short : 88
Int : 5849
Byte : 1
Short : 162
Short : 82
Int : 5142
Byte : 1
Short : 139
Short : 158
Int : 4191
Byte : 1
Short : 83
Short : 153
Int : 4943[/spoiler]
- I then did a finish, hitting in the middle of the green section.
[spoiler="Results Sent To Server"]Byte : 1
Short : 60
Short : 98
Int : 4620
Byte : 1
Short : 135
Short : 39
Int : 4768
Byte : 1
Short : 75
Short : 143
Int : 3980
Byte : 1
Short : 157
Short : 91
Int : 4523
Byte : 1
Short : 95
Short : 136
Int : 4081[/spoiler]
- Next I purposely whiffed and missed every hit (far upper-left), though I did get in the green.
This actually resulted in a quality of -100.
[spoiler="Results Sent To Server"]Byte : 1
Short : 13
Short : 18
Int : 4776
Byte : 1
Short : 12
Short : 18
Int : 4369
Byte : 1
Short : 14
Short : 20
Int : 4143
Byte : 1
Short : 18
Short : 18
Int : 5283
Byte : 1
Short : 17
Short : 19
Int : 3859[/spoiler]
- And finally I hit in the red 5 times (while whiffing the markers again). First at the start, second was 1/5th, 3rd 2/5th etc. The results seemed odd, so I did it a second time while clicking close to the bottom-right.
[spoiler="Results Sent To Server"]Byte : 1
Short : 24
Short : 28
Int : 2114
Byte : 1
Short : 22
Short : 27
Int : 1292
Byte : 1
Short : 23
Short : 23
Int : 334
Byte : 1
Short : 20
Short : 25
Int : 2708
Byte : 1
Short : 19
Short : 25
Int : 3600[/spoiler]
[spoiler="Results Sent To Server"]Byte : 1
Short : 193
Short : 183
Int : 2596
Byte : 1
Short : 194
Short : 183
Int : 3531
Byte : 1
Short : 193
Short : 184
Int : 1909
Byte : 1
Short : 191
Short : 185
Int : 1319
Byte : 1
Short : 196
Short : 184
Int : 355[/spoiler]
[SIZE="5"]- Initial Analysis[/SIZE]
The Byte might be whether you've made that hit or not (as all are made when the data is sent), I'll have to see if this is a structure I can find in RAM to determine that.
It looks like the two Shorts (2-byte values) are the coordinates that you hit, the X and Y in the minigame. The little mappable area you click in measures about 200x200 pixels so this seems to match.
At first glance the Int (4-byte value) could be your progress along the bar when you hit or how close you are to the right spot, but that seems incorrect after measuring. Multiple different "in the red" areas have wildly different values, even green ones have anomalies. So I'm not sure what's going on with this value.
I tried things like RAM dump comparisons to try to find relevent data to form a signature scan off of to watch the minigame data as it runs, but I've been unsuccessful so far. Perhaps a different approach (like trying to hit 0,0 5 times and finding the structure with that) may be needed.