Virtual Box

This page has been live for a long time. Sun Microsystems bought Innotek the authors of Virtual Box, an opensource virtualisation product in 2008. It permits Windows/Linux/Solaris guests on the same operating system. I probably started this page slightly later, my first oracle blog on it was dated May 2008. It mainly describes any guest installation tricks.

The shred folder manager script needs to be uploaded to git, just in time to be replaced by launchd.
Continue reading “Virtual Box”

OpenSUSE and Virtual Box

I have been experimenting with an OpenSUSE Linux VM running in Virtual Box.

This is new to me, and I actually had some problems in making an 11.4 image, and compiling the shared folders helper for 11.3.

I have found these links as part of my work.

I need to document the Guest Additions problem and the 11.4 install problem, which I document on the forums in this thread.

opensolaris, virtualbox, GNOME & RAM 20 Nov 2009

Having been inspired at the Open Solaris usergroup in London on Wednesday, I installed an Open Solaris Virtual Box VM on my works laptop. I came across the guest additions bug in VB 3.0.10 and so upgraded to VB3.0.12 and chose the defaults for the VM. This includes setting the RAM at 768 Mb. (I think it checks how much RAM the host has and makes a recommendation based on that, I am running Windows Business 32 bit and can ‘see’ 3.45 Gb of RAM. ) Anyhow, it seems if the VM has under 1024 Mb of RAM the window manager won’t start. Simple enough to solve. See this thread at http://forums.virtualbox.org

WINE

The windows software emulator, not more booze. Wine is not an Emulator, it seems. This was originally written in about 2011 when I tried to install NWN on my Mac (For more, see here….). As part of the rollforward from OSX 10.6, in 2013, I needed to rebuild the WINE implementation. I reorganised the wiki pages. There are several methods to install WINE, from source, using a package manager or using Wineskin, which I discuss on this wiki here. In March 2015, I added my notes on using Macports with WINE. Continue reading “WINE”

WINE and NWN

This page is about my attempts to install NWN under WINE on my MAC. I finally got this working in March 2011 and then attempted to ensure that this page focuses on the NWN actions and runes, and that my WINE page deals with installing WINE on the MAC. I returned in 2014, to try and get NWN2 working. The page consists of several sections, my initial work in 2009, and the further work when I tried to install NWN2 after my Mavericks upgrade. The sucessful install with Winery is documented in the section called Winery 2014. Continue reading “WINE and NWN”

Running LBA 2 under Dosbox

In order to run LBA 2, the PIF requires the following command

C:\DOSe\dosbox\DOSBox-0.72\dosbox.exe 
    -c "mount d: d:\ -t cdrom -lable lba2 -ioctl -usedcd 1 -fullscreen"
    -c "mount c c:\DOSe\lba2" 
    -c "C:" 
    -c "lba2" 
    -c "exit"

I have tried to get this to run in a .bat, but this works. Obviously the directory path will vary and the name of the CD path. See also dosbox for links to other LBA resources on the ‘net.

And for LBAHQ’s version of the original adventure

C:\DOSe\dosbox\DOSBox-0.72\dosbox.exe 
    -c "mount d: d:\ -t cdrom"
    -c "mount c c:\lba" 
    -c "C:" 
    -c "lba" 
    -c "exit"

Installing WINE from source

At the backend of 2009, I started experiments with WINE on MacOS. I documented my findings at my WINE page on this site. In March 2010, I returned to the project having been advised to use the Macports installation of WINE, instead of building from source. This page documents how I built from source code, and how I installed winetricks. I have moved some of the comments here, from my WINE page, which I now use to capture my experiments with MacPorts & Porticus. Continue reading “Installing WINE from source”

Shell Scripting on Windows

I want to write bash scripts to be emulated using cygwin. This has a problem in that XP uses spaces in its file folder hierarchies and the environment variable initialisation process isn’t good enough. This is actually a snip on writing shell script using cygwin. The virtual boix commands are just the use case which led to me doing the research. Continue reading “Shell Scripting on Windows”

Microsoft RDP & Virtual Box

At some point Virtual Box came with RDP as part of the set up and its allegedly faster than VNC. I want to connect my ipodtouch to my PC’s using Mocha’s RDP Lite.

Problem

I have a windows 7 beta VM. (See my Sun blog.) Initially I couldn’t connect using Ipod or the Alienware.

I am now connected using the Alienware and the Microsoft client. The Host is XP Home Edition, SP/3 with a W7 VM hosted in VB 2.2.4, networking = bridged, port = !3389, with the NULL authentication libraries. NB the port is not available on the internet. It does not work with external authentication, and the manual suggests that guest is experimental.

Perry says I need to have the VRDPAuth.dll library in a folder that is pointed to by the %PATH variable. This page at computerhope.com explains how to do it.

I don’t know if port 3389 will work or not because of the order of the testing, but the Mochasoft Client is still not working. They have a FAQ. I can’t get it to work on the EDGE either. Mochasoft suggest an incompatibility or a firewall as the problem. So

  • fix the authentication problems and turn it on
  • sort out the mochasoft problems

What didn’t work!

I had assumed that the initial failures were due to the failure to present the RDP port to the LAN and I tried to map the VM port to the real port. My VM was a NAT machine. I wrote about port mapping on my blog when I exposed apache to my network. I need to port the script, maybe now is the time to wrap it in TCL. The Virtual Box 2.1.4 manual discusses port forwarding in Section 6.1.4. This fails. The W7 image fails to boot; using [gs]etextradata to map port 3389 from the guest to the host causes the VM to fail to boot. I have amended the VM config to chnage the port as suggested by this thread at http://forums.virtualbox.org and this blog at http://www.ubuntugeek.com. I still get “your remote session has ended”. PerryG says you must use bridged networking.

Links

N.B. The Virtual Box manual is the first port of call. Otherwise these might be usefull.

Dosbox

They say “DOSBox is an emulator that recreates a MS-DOS compatible environment (complete with Sound, Input, Graphics and even basic networking).” Their home page is at http://www.dosbox.com/.

lba2 on WXP

I have now used it to run Twinsen’s Little Big Adventure 2 (aka LBA2) on my Alienware Aurora.

Here’s how!

  1. Download the Installer
  2. Install DosBox
  3. Read the documentation at their Wiki and at MagicBall. In particular you need to grok the mount command and use it to make the CD drive visible and also to chroot the install directory.
  4. Use dos box to install the game from the CD. See MagicBall’s guide.

There are several ways to then run the game. I have created a shortcut which invokes dosbox and provides the commands to the program using the -c flag. I havn’t yet got to grips with writing a batch file and using that as the -c argument.

And now we have the original adventure

Firstly, visit LBA HQ and its download panel, which offers you a .rar archive. This contains a .iso file. This thread at http://lbahq.com describes how to cut a CD version of the archive which allows you to install both DosBox and LBA. Since I have a copy of DosBox on my Alienware, its probably possible to configure DosBox to consume the .iso, but I havn’t done this yet. So burn a CD, and XP’s autorun will run the game installer. This gives you instructions as to how to configure he game to run under DosBox. The command line arguments are documented at LBA & DosBox on this site.

LBA running in a dosbox

I boasted about this achievment on my sun, now oracle blog.