To load an MSE file programmatically (rather than the MSE button in the MoosePanel) I used this code (inspired by the MoosePanel code):
====
mooseModel := MooseModel new.
stream := FileStream readOnlyFileNamed: 'myMSEFile.mse'.
stream
ifNotNil: [ mooseModel importFromMSEStream: stream.
stream close ].
====
It's primitive (effective but not robust) to use "Transcript show:" to generate a .CSV file, especially with output going to stdout. I also got it to work with a Stream and even used NeoCSV.
I installed ubuntu under a VirtualBox and got everything working there. Coming back to Windows 10, I realized now the Zeroconf commands DO work under Windows 10 (GitBash runs the ./pharo script and CMD.exe works with the call to pharo-vm\Pharo.exe). However, the output is sent to files called "stdout" and/or "stderr", which I was not expecting to see under Windows 10. Working again Linux set me straight :-)
Down in the Ubuntu rabbit-hole, with the latest 64-bit Pharo and since my work is using Roassal, I had to also install the 32-bit cairo library:
sudo apt-get install libcairo2:i386
It's not on the
http://pharo.org/gnu-linux-installation (because it's probably Roassal?), but it seems like it could be useful to be there (otherwise it's a cryptic message and some Googling to find the answer).
Finally, all of the visualization scripts I developed in 5.x work under ubuntu and Windows 10 with the latest Pharo 6.1 with no changes to code (apart from what I mentioned above).
Cheers!