MoCoLinux 0.2.1 — launchers that know where they are
A bug-fix release. If 0.2.0 gave you a Linux desktop that drew everything in software despite the graphics support, this is why.
What was wrong
Four shipped scripts took the install directory from their arguments, and otherwise fell back to hardcoded paths — F:\xfer\mocolinux-m2 and E:\MoCoLinux, the layout of the machine they were written on. Correct there, wrong everywhere else.
Started without arguments, moco-boot.vbs launched the guest and the network bridge from whatever happened to be at that path, then failed on cogpu-daemon.exe with the system cannot find the file specified. What you got was a guest that boots, has a network, has windows, renders in software, and gives no indication why. On the test box that stale path held a pre-GPU build, so it even started older binaries first.
A second defect in the same file: it quit as soon as it saw a running guest, ensuring only the X server on the way out. Any other daemon could be missing while the guest ran — the GPU daemon can die, or never have started — and re-running the launcher could never repair it.
The fix
moco-boot.vbs and moco-icons.vbs take their directory from WScript.ScriptFullName, and the image directory from %SystemDrive% (which mocolinux.ini already assumes). xstart1142.bat and stop.bat use %~dp0. All four are installed beside the binaries they launch, so none of them needs telling. xstart1142.bat also had those staging directories as fallbacks after its own lookup — removed, because starting an unrelated X server is worse than reporting there isn't one.
moco-boot.vbs now checks each daemon individually instead of quitting early.
Verified
On Windows XP x64: with the guest running and cogpu-daemon.exe killed, the fixed launcher run with no arguments starts it. The guest then reports virgl (GeForce GT 730/PCIe/SSE2), OpenGL 4.2, direct rendering — the GPU path working under a 5.2 kernel, on the same binaries Windows 7 uses.
Not changed
No driver, kernel, daemon or image changes. Same linux.sys, same vmlinux, same cogpu-daemon.exe. If 0.2.0 is working for you, this changes nothing but the launchers.
Everything in the 0.2.0 notes still applies — read READ-ME-FIRST.txt, and in particular restart Windows between sessions.
SHA-256 of the zip:
352d8af0666ce87ebf15d20131c2b79e78b29ef75d629c9c1c2774de1878204d
GPL v2.