Copyright © 2025 Murat Kalinyaprak
Shared under the terms of GNU General Public License.

=====================================================

mkdice-pass-file-gnux.exe is a tool to run experiments
with certain opening rolls, for either the bot or the
human player, in manual dice mode. It asks for the
opening roll and number of games to play in a money
session. It forces the selected roll as the opening
roll and then reads succeeding dice rolls from a text
file, of dice numbers separated by spaces, and passes
them to GnuBG as mouse clicks in manual dice mode.

After each game, it automatically closes the message
window and starts the next game, which again begins
with the selected opening roll.

The offset and distance between dice icons are based
on the size of the default dice input dialog window's
client area, which is 540x330. It will still work if
you use a custom display scale but will not work if
you resize the actual dice input dialog window itself.

Since mouse clicks are sent to the active window, it
would be advised to make sure that no other processes
are running with visible windows that can grab focus
while you are playing. Otherwise, it will still work
but some dice rolls may be skipped without being sent
to GnuBG. That should not hurt the randomness of dice
rolls but would make it impossible to replay the same
sequence of dice rolls, for whatever reasons.

Another pitfall is that GnuBG displays a number of
dialog windows with the generic title "message". The
tool handles the "session started" and "game ended"
dialogs but if user causes some other message dialog
while playing, it will probably break the process.

Unless you want to watch the dice numbers as they are
rolled, the command window may be minimized. At the
end of the session, the user is prompted to press any
key to close it.