Wineskin Advanced Mac

What follows is a guide on how to run Rayman 2 on a Mac.

Rayman 2 running natively in Mac OSX.

Introduction

NOTE: This article was created after a single test-case, for future reference. If, after following the instructions relayed herein, the user finds the solution doesn't work, please send the user Shrooblord a PM via the forums.

These instructions detail how to get Rayman 2 up and running in a Mac OSX environment. So far, test results show evidence of full, no-lag support with a similar input latency (none) and appearance as the original game back on 1990s machines, except rendered with modern-day graphics abilities (note that though the drawn lines may appear less pixellated, there is no way to update the textures unless someone went and repainted every single one by hand at a higher resolution).

On El Capitan, one additional step was required to get the game to run: In the Wineskin Advanced window, in the Configuration tab, click 'Set Screen Options' and make sure the checkbox 'Use Mac Driver instead of X11' is checked (it is unchecked by default). This little gem is quickly becoming my favorite way to use Wine on Mac OS X. Wineskin is simple, fast and it’s easy. Everything is put together for you in a nice tidy little package and it’s all self contained in an.app file. It also has advanced features, so if you want to use a custom compilation of Wine you can. If Wineskin (the program inside the wrapper) refuses to open then make sure that you open osu! (the entire wrapper) at least once (so that it can get past the 'Verifying osu! Application' stage). Doesn't need to run, it just needs to get past the verification stage.

They will get the game running, but your Mac menu bar at the top of the screen will still be visible. Additionally, the game will be displayed in its native 4:3 resolution, so you will have big black pillar borders on the sides of the screen surrounding the game if you have a widescreen monitor.These are features of the process still being looked into. Perhaps the widescreen patch as described on the forums can be applied. This has not been tested.

Requirements

  • The GOG.com version of the game (requires installer executable file - download it off the site from your Library when logged in and with a purchased copy registered to your account)
  • Porting Kit by Paul the Tall
Wineskin


Installation

  1. Download and install the Porting Kit. Its installation is straightforward and all necessary instructions are relayed to you through its own installation procedure.
  2. Download the Rayman 2 GOG.com version's installer executable and keep it in your Downloads folder.
  3. Launch the Porting Kit.
  4. In the Porting Kit, near the top of the window, click the tab Library.
  5. To the left, click the tab Server and search for Rayman 2.
  6. Install the Porting Kit's Rayman 2 wrapper and follow all on-screen instructions. The process should walk you through all necessary steps on its own.
  7. By now you should be able to test Rayman 2. However, you will notice that its graphics remind you of 1990s computers. Follow the next step in the process to remedy that.


Wineskin Advanced Mac

Configuring the Game

These steps will cause the game to be drawn using your computer monitor's native resolution, increasing the quality of the graphics displayed significantly. The list of instructions is accompanied by a screenshot picture gallery below.

  1. Go to your Local tab in Library and right click the Rayman 2 app. Select Launch Wineskin [previously, this option was called 'Properties'].
  2. Click Advanced and Browse on the first tab in Advanced.
  3. Browse to the nglide_config.exe inside the created Rayman 2 app: right click the Rayman2.app, click Show Package Contents and navigate its directory tree as shown below.
  4. Test Run the nglide_config.exe.
  5. Select the following options:
  6. Next, set the WineSkin options to emulate a Windows XP computer ( Tools tab > Config Utility (winecfg) ). Apply and close.
  7. On the Configuration tab, Browse back to your Rayman2.exe executable inside the Rayman 2 app's directory.
  8. Click Test Run to see if it works.
  9. [OPTIONAL] - It may be you need to change some options depending on your computer and operating system. On Mavericks, the steps described above were enough. On El Capitan, one additional step was required to get the game to run: In the Wineskin Advanced window, in the Configuration tab, click 'Set Screen Options' and make sure the checkbox 'Use Mac Driver instead of X11' is checked (it is unchecked by default).
  10. And finally, close this Advanced Wineskin window and from hereon forwards, whenever you click Play in the Porting Kit, you'll have Rayman 2 running on your Mac desktop like it were a Windows XP computer, with correct aspect ratio and using your screen's resolution.
  • 1. Select properties in the context menu for the Rayman 2 installation inside your Porting Kit's local Library.

  • 2. Click Advanced on the Wineskin window that opens and then on Browse on the Configuration tab of the Advanced dialog window.

  • 3. Browse to the nglide_config.exe inside your Rayman 2 installation directory (the created Rayman2.app).

  • 4. This shows the nglide_config.exe being the executed .exe file when the Rayman2.app is run. Click Test Run to launch the application.

  • 5. Displays the options that should be chosen in the nglide_config.exe for the Rayman 2 Porting Kit executable.

  • 6. Select Rayman2.exe to run emulating a Windows XP environment in the Wine Configuration (winecfg) option under the Tools tab of the Advanced option of the Properties window of the Rayman 2 Porting Kit executable.

  • 7. Select the Rayman2.exe to be the executable that is run when launching the Rayman 2 app under the Configuration tab of the Rayman 2 Porting Kit executable.

Trivia

  • The benefit of this Rayman 2 version over normal Windows machines running the game is that the user can minimize the window and the game will turn into 'Rayman II - paused' like on Windows, but instead, it won't crash when trying to reopen it like it usually would on newer Windows systems.
Retrieved from 'https://raymanpc.com/wiki/script-en/index.php?title=Guide_on_how_to_run_Rayman_2_on_a_Mac&oldid=64647'

It was a while back that I attempted to run MetaTrader on Mac. A couple of years past and some new options available warrant a new post. This time I’m using a porting tool called Wineskin. It is based on Wine, same as Codeweavers Crossover we tried last time. Let’s get straight to pros and cons.

Wineskin Advanced Mac

Pros and Cons.

Pros:

  • Both Wine and Wineskin are open-source projects and running MetaTrader with them won’t cost you a dime. You don’t even need a Windows licence. It’s all free.
  • It creates a wrapper around our Windows application, which looks like a native OSX application bundle and switching between windows (say, trading terminal and MetaEditor) is no different than any other OSX application. That also means you can transfer or share your bundle if you want to.
  • Since it is based on Wine, which use isn’t limited to OSX, we can leverage all the experience and know-how of Linux crowd. In fact, I referred to quite a few Linux-based how-to’s while exploring the subject.
  • There’s quite a community around these projects and they are constantly improving.

Cons:

  • Apparently you may run into some stability issues here and there, but that pretty much depends on the quality of the wrapper you create using these tools.

Install Wineskin Winery and create a wrapper

How To Update Wineskin On Mac

As mentioned above you can share the final application bundle, although sometimes it may be too hefty. My MetaTrader bundle got to almost 300Mb, for instance, but it can easily go into gigabytes if you download some history data for EA tester. Therefore, we are going to have a look at creating our own bundle here.

First thing you need to install Wineskin. Head down to the Download page on Wineskin website and get Wineskin Winery. Just run it and generate a new wrapper. It should be pretty straightforward even without reading a Wineskin’s manual. When prompted give it a name, ‘MetaTrader4’ will do.

Set up your wrapper

Now that you’ve got your wrapper you’re going to do some setup within it as if you would be setting up a Windows virtual machine instance. Wineskin Winery does put wrappers into “unusual” location, but it offers you to open them in Finder after they are complete, or just look up your new wrapper by the name you gave it using OSX’s Spotlight. Right-click the wrapper file and select “Show Package Contents”. Inside the package you’ll see ‘Wineskin’ app and the ‘drive_c’ folder with typical Windows folder structure. That’s what you’re going to work with now.

First, launch Wineskin app (the one inside your package). Click “Advanced” button and then select “Tools” tab. There’s lots of useful stuff here if you are a technical mastermind. But if you are not, just hit “Winetricks” button in “Utilities” column.

Basically, Winetricks lets you install Windows framework components your application needs without copying files manually.

  1. Type ‘vcrun6’ into the search field. You’ll see a bunch of packages satisfying your search string. Look up the latest service pack available (it was ‘vcrun6sp6’ at the time of writing), click the checkbox, hit “Run”. It will install the base packages it needs.
  2. Do the same for ‘ie6’. This is necessary for the built-in MQL reference in MetaEditor to work.
  3. You could also use Winetricks to install fonts. There’s an “allfonts” option, which might be an overkill, and “corefonts” option, but I’m not sure if it includes Windings font used by MetaTrader. So instead of installing via Winetricks you may manually copy your own set of default fonts into ‘drive_c/windows/Fonts’ folder inside your wrapper.

Install MetaTrader 4

Close Winetricks. Back to main Wineskin screen, hit “Install Windows Software”, select the MetaTrader installer you’ve downloaded and follow its prompts. At the end Wineskin prompts you for the main EXE file, but you can always change that on the ‘WineskinAdvancedConfiguration’ page. The file launching MT4 is called ‘terminal.exe’.

If you want to set the icon for MetaTrader you can do it on the same ‘WineskinAdvancedConfiguration’ page. Create your own ‘.icns’ file using OSX’s Icon Composer or feel free to use mine.

When you’re done you may want to copy ‘config’ folder from your existing Windows installation of MetaTrader4. That will transfer your previous server connection lists as well as your MetaTrader account details and layouts. Just make sure you are not trying to connect to one broker’s servers while using an installer from another.

Testing it

Now you can exit Wineskin app and close the Finder window showing your bundle contents. To run MT4 you launch the ‘MetaTrader4’ application bundle generated by Wineskin Winery at the very beginning.

On a cursory look it is an improvement over Crossover version 8 I used back then. Everything seems to be smooth – the interface (drag&drop, fonts, icons and other stuff), charts, indicators, expert advisors (didn’t test DLL import, but can’t see a reason for it not to work) and strategy tester (including visualisation), opening a trade from the market (didn’t test other orders, but again should be alright), MQL editor.

Wineskin Advanced Mac Torrent

Two things didn’t work for me:

  • Intellisense/keywords completion in MetaEditor. It opens the popup window, but fails to load the data. What’s promising it doesn’t cause the application to freeze or crash, plus the whole intellisense business worked beautifully for me in MetaTrader 5 under Wineskin, so possibly someone will have another go at it. Even function signature popup works fine as you can see in the screenshot above, but the keyword completion doesn’t for some reason. By the way, to remove the standard OSX window header from the intellisense popup, tick the “Force use of wrappers quartz-wm…” checkbox on ‘WineskinAdvancedOptions’ page.
  • F1 help. Pressing F1 causes the application to crash, even though it opens fine from the main menu. But who needs it anyway.

If something goes wrong

Wineskin Download For Mac

If you experience any kind of runtime issues and you are adventurous enough to dive deeper into setup and troubleshooting business, Debug Mode is of great help. Instead of launching the bundle go to package contents, then open ‘WineskinAdvancedConfiguration’ page and hit “Test Run (Debug Mode)”, replicate the issue and close the program. After that Wineskin will let you check the runtime logs, where you may find a clue to a missing or misbehaving component.

How To Use Wineskin Mac

For reference, I used FXCM’s MetaTrader 4 Build 418 with Wineskin Wrapper version 2.5.4 and Engine version WS8Wine1.5.0, OSX 10.6.8 Snow Leopard.