Docs/Desktop/Emulators

From Mandriva Community Wiki

Jump to: navigation, search
Emulators and Virtual Machines

Contents

[edit] POSE Palm OS Emulator

The Palm OS Emulator (POSE) is software that emulates the hardware of various models of Palm Powered™ handhelds. It allows you to create "virtual" handhelds. The Palm OS Emulator is extremely valuable for writing, testing and debugging applications. It emulates 68K devices and runs ROM images of the Palm OS through Palm OS 4.x.

The pose RPM contains the emulator and the "skins" that represents the device you are emulating. You will need to get ROM images.


[edit] Getting ROM images

You can get ROM images for POSE from the internet or from an actual device. If you get one from a device, make sure that the ROM image is one that POSE can use.

[edit] From the Internet

Palm-branded product ROMs require registration and a signed license agreement. See http://www.palmos.com/dev/tools/emulator/.

[edit] Retrieving A ROM from a handheld

Before you get a copy of your particular handheld's ROM, make sure that POSE can use that type. If the ROM version is 5.x or later, it will not work.

To retrieve a ROM image you need to do a couple of things. First, you'll need to install the ROM Transfer application /usr/share/pose/ROM_Transfer.prc onto your handheld using the standard desktop installation procedure.

Start ROM_Transfer on the Palm, follow the instructions on the device, and tap the “Begin Transfer” button. Now, you'll need to start the process going on the desktop as well.

  1. Run the Emulator and you'll see the initial POSE window.
  2. Right-click on the window to display a menu. From that menu, choose “Transfer ROM”. Follow the instructions shown in the resulting Transfer ROM dialog.


[edit] Using VMware in Mandriva Linux

Please see this article for instructions on installing VMware Server on Mandriva Linux 2007 Free. With small changes, the same method will work for installing any VMware product (Player, Workstation etc) on Mandriva Linux.

[edit] Win4Lin on Mandriva Linux

(The previous version of this page was lost somewhere in Nov 2004 ... the only copy I had of it was this email version I sent to the win4lin-users list. I don't have time to make it look nice now, so I'm just pasting the email, someone else can clean it up, or I will clean it up when I have time ...).

Win4Lin requires a kernel patched for Win4Lin, and a kernel module, to function correctly. However, to allow easy maintenance of the kernel, and to ensure users have all the same features and drivers when running Win4Lin as running a normal Mandriva Linux kernel, Win4Lin kernel images are maintained in contrib which are built from the kernel-source package with only the patch, module, and configuration changes necessary to get Win4Lin running.

Assuming everything works as intended, you should only need to follow the steps on this page to get a suitable Win4Lin kernel installed and running.

If you have hints for installing Win4Lin itself, please feel free to document them here too ...


[edit] Run the win4lin installer

Some people have reported having problems running the installer, you may rather want to get the Win4Lin RPM from Netraverse, install that, and then run the installer.


[edit] How to get Wine and Windows® programs working on 10.1

  1. Un-install the Mandriva Linux wine packages (if it is not the latest. If it is, skip to 3)
  2. Get the latest wine rpm from www.winehq.org. Install it.
  3. Get the wine config utility from http://sidenet.ddo.jp/winetips/config.html. Refer documentation that comes with it. The utility installs IE6 and WMP7 and in the process also gives you a readymade working wine config file.
  4. Install the windows program you want to use using "wine packagename.exe” at the command prompt. Does not have to be done as root.
  5. Finally, if necessary, in your wine config file (located at ~/.wine/config ), specify the windows version to be mimicked for a particular program just before the line that says # [/wineconf]. If not specified, default (set in [Version] section) works.
;;Example: Windows version
[AppDefaults\\programname1.exe\\Version] <---check programname1 to make sure it is matches the executable
"Windows" = "winxp" <---put the version you want. Check programs below to see what you need to set it to.

;;Example: Windows version
[AppDefaults\\programname2.exe\\Version] <---check programname2 to make sure it is matches the executable
"Windows" = "winme" <---put the version you want. Check programs below to see what you need to set it to.

# [/wineconf]

Working apps so far (100% unless indicated otherwise),

i. MS Office 2000 - Make sure you DO NOT install Office Assistant. It is known to cause problems. Another recommendation (www.frankscorner.org) is to add this line to the [DllOverrides] section in ~/.wine/config

"msi" = "native"

ii. IE6SP1 (not 100% stable. Works well enough though)

iii. Adobe Reader 6.0 (set windows version to “Windows” = “winme”. Make sure you download the version for winme from Adobe's website)

iv. Quicktime Player 6.5.2

v. DVD Shrink 3.2 (set windows version to “Windows” = “winxp”). If while installing DVD Shrink you get an error about tsd32.dll being missing, you will have to get it from a windows system or from the internet and copy it to /usr/lib/win32.

vi. Picasa2


[edit] How to get Wine working on 10.2

Using the default wine packages from 10.2

  • wine-20050211-2mdk
  • libwine1-20050211-2mdk
  • wine-utils-20050211-2mdk

Make the following changes in your ~/.wine/user.reg file. There should be a line that looks like: [Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ShellFolders] Under this line add the following (if some of them already exist, make sure they are in the following order):

 
 "Desktop"="C:\\WINDOWS\\Desktop" 
 "Fonts"="C:\\WINDOWS\\Fonts" 
 "Programs"="C:\\WINDOWS\\Start Menu\\Programs" 
 "Start Menu"="C:\\WINDOWS\\Start Menu" 
 "StartUp"="C:\\WINDOWS\\Start Menu\\Programs\\StartUp"

I use kde 3.3.2 and when playing games it showed the taskbar at the bottom over the game in fullscreen mode. To get rid of that, make the following changes in the [x11drv] section in your ~/.wine/config :

; Allow the window manager to manage created windows
"Managed" = "Y"

Change to "N".

Some other tweaks that are suggested in the same file are:

 
; Use XFree86 DGA extension if present 
; (make sure /dev/mem is accessible by you !) 
"UseDGA" = "N" <----at 'Y' previously 
; Enable DirectX mouse grab 
"DXGrab" = "Y" <----at 'N' previously 

Otherwise your mouse and/or keyboard MIGHT not work when running games at 'true' fullscreen (unmmanaged fullscreen mode). Using the above changes, I was able to load and play Starcraft and Warcraft just fine.


[edit] How to get Wine working on 2006.0

Using the Mandriva rpm from http://sourceforge.net/project/showfiles.php?group_id=6241&package_id=80066:

  • wine-0.9-mdk.i586.rpm

The recommended install procedure (from the winehq website) is to run winecfg after installing the package. When I tried this it gave several errors about not being able to create various directories. I found the easiest way to get started was to create the following directories and symlinks by hand then run winecfg:

 
  ~/.wine
  ~/.wine/dosdevices
  ~/.wine/dosdevices/c: -> ../drive_c
  ~/.wine/dosdevices/com1 -> /dev/ttyS0
  ~/.wine/dosdevices/d: -> /mnt/cdrom (my CD drive)
  ~/.wine/dosdevices/e: -> /mnt/cdrom2 (my DVD drive)
  ~/.wine/dosdevices/unc
  ~/.wine/drive_c
  ~/.wine/drive_c/temp
  ~/.wine/drive_c/windows
  ~/.wine/drive_c/windows/fonts
  ~/.wine/drive_c/windows/system32 

If you have only one cdrom or your mount points are named differently, change the symlinks appropriately.

The install also messed up the Gnome "* Applications" menu until I exited and restarted X.

Personal tools
Ad (via La Vignette)
Looking for a job?