# RocSim 9 under Linux?

### Help Support The Rocketry Forum:

#### FlyBack

##### Well-Known Member
Calling all Linux users...

Anyone care to post a How-To on this? I am looking at a laptop that will only have Linux on it and would like to be able to install RocSim for use in the field. Currently, I have a dual-boot system on my desktop PC running XP and Mandriva (kernal 2.4). It's kind of a PITA to keep both OS's updated and current on the same machine... something I would rather avoid on new a laptop. However, I simply have too many apps that don't work under WINE (or other windows emulation layers I've tried) to get excited about loading RocSim 9.

Regards,

FlyBack

#### skycopp

##### Well-Known Member
The only thing I can think of is using a Virtual Machine, such as VMwARE. Make windows in your Vm Machine and then put Rocksim on that.

#### n3tjm

##### Papa Elf
I use Ubuntu 8.10. Installed Wine, and installed Rocksim 9. Only glitches I seen so far is with the 3D viewing, but recentering the image fixes the problem when it happens. I actually like running it under ubuntu. It adds features that normally don't work in windows, like the ability to full screen the graph with just a click of a button!

#### FlyBack

##### Well-Known Member
N3

Thanks for the info... will give it a try when I upgrade to RocSim Ver.9. I'll hit the Ubuntu forums to see if there is a particular version of Wine that works best with latest Linux kernel. I have to confess, it's been about two years since I messed around with windows apps under Linux... hopefully the Wine guys have squashed some bugs since then.

Regards,

DJ

#### n3tjm

##### Papa Elf
Just go to Install/Remove Programs and type Wine in the search bar. It will download the latest version. Although, with Windows programs, you will find that certain versions of Wine work better than others. For example, Final Fantasy XI does not seem to work in the latest version of Wine. Office 2007 does not work at all, but then again, I didn't expect it to

#### matthew

##### Optimistic Pessimist
You might also like to try Crossover Office. I've had RS8 working in the past with it. It has a demo version, so you can check it out for yourself.

http://www.codeweavers.com/

#### FlyBack

##### Well-Known Member
Matthew,

Thanks for the link... will give it a look.

DJ

#### DexterLB

##### Well-Known Member
I tried installing RockSim 9 demo under Ubuntu 9.04, wine-1.1.21, absolutely clean wineprefix. But I get this (sorry for the cat , I'm lazy to take another screenshot)

I get these errors:
Code:
fixme:win:FlashWindowEx 0x32df94
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.762)
err:module:import_dll Library QtSvg4.dll (which is needed by L"C:\\Program Files\\RockSim 9\\Program\\Plugins\\imageformats\\qsvg4.dll") not found
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.762)
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.762)
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.762)
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.762)
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.VC80.CRT" (8.0.50727.762)
fixme:win:FlashWindowEx 0x32b554
fixme:win:FlashWindowEx 0x32b6d4
fixme:win:FlashWindowEx 0x32b554
fixme:win:FlashWindowEx 0x32b714
fixme:win:FlashWindowEx 0x32c254
fixme:win:FlashWindowEx 0x32c0d4
fixme:win:FlashWindowEx 0x32c254
fixme:win:FlashWindowEx 0x32c0d4
fixme:win:FlashWindowEx 0x32c0d4
fixme:win:FlashWindowEx 0x32a5d4
I tried installing native Visual C libraries 2005 and corefonts, but it doesn't help.
any clue?

P.S. The "This trail expires after 30 days" window has normal fonts, so the problem's only for the rocksim windows themselves

#### ksaves2

THESE INSTRUCTIONS ARE FOR BURNSIM BUT ROCKSIM 9 WILL WORK. ONE GETS WINE CONFIGURED LIKE MENTIONED AND THEN INSTALL ROCKSIM. ONE STILL
HAS TO HAVE A REGISTRATION FILE TO GET THE PROGRAM TO WORK. IT WILL NOT ALLOW ONE TO PIRATE SOFTWARE.

The original document composed previously is located here:

http://burnsim.com/linux.asp

I have worked with a different version of linux (Kali 1.0.6) along with Slackware 14.0 and have discovered a different method for installation using
Wine versions 1.7.XX.

The original instructions above worked with Slackware 13.1 and Wine 1.2.13. The versions of WINE and Slackware after that wouldn't work properly
until I was able to get this method together.

Install Wine 1.7.XX by going to the unpacked directory and doing a ./tools/wineinstall. It will take time to build so go watch a movie for something.

When that's done, go to http://wiki.winehq.org/winetricks and download winetricks like instructed. Change the permission on winetricks so you can excute it
by doing ./winetricks.

Winetricks now has a GUI or one can enter the command direct like ./winetricks fontfix. Oh, one needs to be connected to the internet for this to work.

You might notice when wine installs it will download and install Gecko and Mono. This is normal. I then go to ./winetricks and with the gui hit ok with "Select the default
wine prefix. Then go to install a font and select corefonts and when done I still select fontfix though this might not be needed anymore.
In the original installation at the address burnsim.com/linux.asp above a ./winetricks corefonts gave an error code described in that document. The fix is located there but I
suspect the "corefonts" command will go smoothly.

I used the WINDOWS versions. I tried both version 2 and 3. I downloaded the executable and used wine mono-x.xx.x-gtksharp.(etc) command
Actually Firefox told me it could open the file with wine so I just had it do that directly and install the WINDOWS version of Mono using WINE to do it.
I have no idea why I had to use WINE to install the WINDOWS version but I couldn't get Burnsim3 to run without doing this.

Next step is to ./winetricks dotnet20 and go through that installation cycle. That is followed by ./winetricks dotnet40. Now the installer will say that dotnet40 doesn't
work. Install it anyways, it will complete the installation cycle. When I had used Mono version 3.2.6, netframework dumped it as it installed netframework 4
(with dotnet40) No big deal, don't worry about it as Burnsim will work.

O.k., ./winetricks msscript and get that in. It doesn't take long. Next do ./winetricks vcrun2005 followed by wsh57. (Actually the order isn't too important)

The long one is going to be ./winetricks gdiplus. If you have a highspeed connection it will still take a long time to get installed. Without gdiplus, the graphs won't be
drawn.

That's it for the installation. Next step would be to do a wine setup.exe of the Burnsim3 setup files and then run the installed Burnsim executable with WINE.
You might get the WINE mediated executable placed in a menu item automatically or have to go dig for it and run it manually. It will depend upon the version of linux
one uses.

Now if one wants to have access to the com ports for serial connections you can follow add this to the above instructions. I'm copying it out of the old file:

Now we'll do some housework so the /dev/ttyUSB(x) ports will be redirected to com ports. One simply goes to the /.wine/dosedevices directory and does this command:
ln -s /dev/ttyUSB0 com1 and additional commands ln -s /dev/ttyUSB1 com2 and so on if one wants more ports. Just do the linking commands and leave 'em in.
They'll be there when you connect a device

This next step might not be needed for Burnsim but it's addition to the setup allowed me to run the APRS tracking program APRSIS32 program under
WINE in my Slack environment. It's pretty easy to do.

Go to:
http://wiki.jswindle.com/index.php/Wine_Registry#Serial_Com_Port (THIS LINK IS BROKEN BUT THE STATEMENTS BELOW ARE CORRECT)

The comments below are taken from here: http://wine-wiki.org/index.php/Wine_Registry Scroll down to "Serial Ports"

Scroll down to Serial Com Port and you will see these three choices:
#1
[HKEY_LOCAL_MACHINE\hardware\devicemap\serialcomm]
"COM2"="COM2"
"COM1"="COM1"
#2
[HARDWARE\\DEVICEMAP\\SERIALCOMM] 1131331688
"COM1"="COM1"
"COM2"="COM2"
#3
[Hardware\\Devicemap\\Serialcomm] 1231984861 @=""
"Serial0"="COM1"
"Serial1"="COM2"
"Serial2"="COM3"
"Serial3"="COM4"
"Serial4"="COM5"
"Serial5"="COM6"
"Serial6"="COM7"
"Serial7"="COM8"
"Serial8"="COM9"
I've tried #2 and #3 successfully. Didn't try #1 but it might work too. What I did was cut the statement of choice out and used a text editor to paste it into the /.wine system.reg
file. Beginning or end I don't think it matters Again, this might not be necessary for Burnsim but made the difference with APRSIS32. It also might have made it
possible for me to run the MCP-4A programming software for the Kenwood D72A radio as long as the D72A was connected to com1 (/dev/ttyUSB0)
Many altimeter programs will run and also Rocksim 9 can be installed and will run. It won't make a sprite of your particular rocket for visual animation but everything else
will work. NOTE: One still has to use registered software. This will not allow one to pirate and run any software.
Oh, with some linux systems, once you plug in a serial item say like /dev/ttyUSB0 you might have to do a sudo chmod 777 /dev/ttyUSB0 in order to get access to the
device.

Last edited:

#### jpummil

##### Well-Known Member
99% complete! Everything went pretty smoothly until I actually tried to install Burnsim:

$fixme:storage:create_storagefile Storage share mode not implemented. err:msi:ITERATE_Actions Execution halted, action L"VSDCA_VsdLaunchConditions" returned 1603 I'll have to Google that one in a bit....but THANK YOU for an up to date rundown on installing Wine! #### ksaves2 ##### Lifetime Supporter TRF Lifetime Supporter 99% complete! Everything went pretty smoothly until I actually tried to install Burnsim:$ fixme:storage:create_storagefile Storage share mode not implemented.
err:msi:ITERATE_Actions Execution halted, action L"VSDCA_VsdLaunchConditions" returned 1603

I'll have to Google that one in a bit....but THANK YOU for an up to date rundown on installing Wine!
\
That's a weird error I haven't seen. You using 1.7.XX? I've used 1.7.11, 12 and 13 on Slackware and Kali Linux. Kurt

#### Zeroignite

##### Well-Known Member
Why not OpenRocket?

#### jpummil

##### Well-Known Member
Why not OpenRocket?
Oh, I swear by OR :wink:
This was for Burnsim...