The online racing simulator
LFS on MAC OSX 10.10 Yosemite using WINEBottler.
(10 posts, started )
LFS on MAC OSX 10.10 Yosemite using WINEBottler.
So, the good news is that you _can_ ran LFS on a Mac with Wine Bottler, by going through the install process. The Part that is interesting too Scawen is that it seems that some resources are missing from the installer. I've tested this on a Late 2013 13 rMBP and a Early 2015 iMac 21.5" with Intel Iris Pro and I've had the same results with both computers. The result is a visible texture corruption on the cars in all cases, no matter the graphics settings employed. I can't quite pin this down too LFS as a programming fault, but there does seem to be another issue at hand.

It looks like LFS can't find AX_ADS1.jpg in any case. It tries multiple times during loading BL1. Is there a way Scawen that I can have it save every text message in the top right corner of the screen saved too a log file? I'd like to give you some debug information, but I have no idea how to get this information too you in an efficient manner.

Attached are two screen shots, both of them are in the same location with different graphics settings. During the swap between these two images I get more messages and warnings then I can count. (That's why I would need the debug log command.) I've take some screen shots of the errors and I've listed them below.

Could not create texture WSTfloodL1
Can't open : WSTfloodL1
Could not create texture ambulance
Can't open ambulance
Could not create texture FFoffwall
Can't open : FFoffwall1
...
Can't open : WE_ADS1.jpg (A lot)
...
Can't open : WE_ADS2.jpg (A lot)
...
Can't open : WE_ADS3.jpg (A lot)
...

The list goes on.
Attached images
Screen Shot 2015-04-08 at 04.47.45.png
Screen Shot 2015-04-08 at 04.48.39.png
Quote from Dygear :Is there a way Scawen that I can have it save every text message in the top right corner of the screen saved too a log file? I'd like to give you some debug information, but I have no idea how to get this information too you in an efficient manner.

In data/script/autoexec.lfs you can put /log chatlog.txt and it will save all chat from the last LFS session.
** Best answer **
This looks like an issue caused by WINE's incomplete D3D9 support. Put D3DX9_43.dll and D3DCompiler_43.dll (you'll have to get them from DX9 redistributable package first) into your LFS directory and you should be OK.
Quote from Flame CZE :
Quote from Dygear :Is there a way Scawen that I can have it save every text message in the top right corner of the screen saved too a log file? I'd like to give you some debug information, but I have no idea how to get this information too you in an efficient manner.

In data/script/autoexec.lfs you can put /log chatlog.txt and it will save all chat from the last LFS session.

Awesome, thank you!

Quote from MadCatX :This looks like an issue caused by WINE's incomplete D3D9 support. Put D3DX9_43.dll and D3DCompiler_43.dll (you'll have to get them from DX9 redistributable package first) into your LFS directory and you should be OK.

That's interesting. Winebottler does have an option to add that into the prefix. I've give that a shot first, before I start downloading full on installers. Should that not work, I'll move onto the redistributable. Thanks for the tip, I'll get back to you on that.
The log file I produced for about 2 minutes of "game play" was 30kB from all of the errors. I condensed it down with this PHP script.

logFileParser.php (Works with PHP 5.5 and Up)

<?php 
$fileName 
'./chatfile.txt';

function 
yieldFile($fileName)
{
    if (!
$fileHandle fopen($fileName'r'))
        return;

    while (
FALSE !== $line fgets($fileHandle))
        yield 
$line;

    
fclose($fileHandle);
}

$lines = [];
foreach (
yieldFile($fileName) as $line)
{
    if (!isset(
$lines[$line]))
        
$lines[$line] = 1;
    else
        ++
$lines[$line];
}

foreach (
$lines as $text => $times)
{
    if (
$times == 1)
        echo 
trim($text) . PHP_EOL;
    else
        echo 
trim($text) . " (x{$times})" PHP_EOL;
}
?>

Terminal / Command Prompt
php logFileParser.php > logFileCondensed.txt

logFileCondensed.txt
Apr 09 05:26:20 LFS : 0.6H
Apr 09 05:26:35 Can't open : WE_ADS2.jpg (x5)
Apr 09 05:26:36 Can't open : WE_ADS1.jpg (x6)
Apr 09 05:26:36 Can't open : WE_ADS2.jpg (x9)
Apr 09 05:26:37 Can't open : WE_ADS1.jpg (x3)
Apr 09 05:26:38 Can't open : WE_ADS1.jpg (x9)
Apr 09 05:26:39 Can't open : WE_ADS1.jpg (x8)
Apr 09 05:26:40 Can't open : WE_ADS1.jpg (x9)
Apr 09 05:26:41 Can't open : WE_ADS1.jpg (x9)
Apr 09 05:26:42 Can't open : WE_ADS1.jpg (x8)
Apr 09 05:26:43 Can't open : WE_ADS1.jpg (x9)
Apr 09 05:26:44 Can't open : WE_ADS1.jpg (x8)
Apr 09 05:26:45 Can't open : WE_ADS1.jpg (x7)
Apr 09 05:26:45 Can't open : WE_ADS3.jpg (x15)
Apr 09 05:26:46 Can't open : WE_ADS3.jpg (x62)
Apr 09 05:26:47 Can't open : WE_ADS3.jpg (x62)
Apr 09 05:26:48 Can't open : WE_ADS3.jpg (x60)
Apr 09 05:26:49 Can't open : WE_ADS3.jpg (x46)
Apr 09 05:26:49 Can't open : WE_ADS1.jpg (x2)
Apr 09 05:26:50 Can't open : WE_ADS1.jpg (x8)
Apr 09 05:26:51 Can't open : WE_ADS1.jpg (x8)
Apr 09 05:26:52 Next LOD
Apr 09 05:26:52 Can't open : WE_ADS1.jpg
Apr 09 05:26:53 Can't open : WE_ADS1.jpg (x9)
Apr 09 05:26:54 Can't open : WE_ADS1.jpg (x10)
Apr 09 05:26:55 Can't open : WE_ADS1.jpg (x9)
Apr 09 05:26:55 Can't open : WE_ADS3.jpg (x2)
Apr 09 05:26:56 Can't open : WE_ADS3.jpg (x62)
Apr 09 05:26:57 Can't open : WE_ADS3.jpg (x64)
Apr 09 05:26:58 Can't open : WE_ADS3.jpg (x63)
Apr 09 05:26:59 Can't open : WE_ADS3.jpg (x54)
Apr 09 05:26:59 Can't open : WE_ADS1.jpg
Apr 09 05:27:00 Can't open : WE_ADS1.jpg (x9)
Apr 09 05:27:01 Can't open : WE_ADS1.jpg (x9)
Apr 09 05:27:02 Can't open : WE_ADS1.jpg (x9)
Apr 09 05:27:03 Can't open : WE_ADS1.jpg (x9)
Apr 09 05:27:04 Can't open : WE_ADS1.jpg (x9)
Apr 09 05:27:05 Can't open : WE_ADS1.jpg (x9)
Apr 09 05:27:06 Can't open : WE_ADS1.jpg (x4)
Apr 09 05:27:06 Next LOD (x2)
Apr 09 05:27:06 Meshes : 52
Apr 09 05:27:22 Could not compile pixel shader (Car1) D3DXERR_INVALIDDATA
Apr 09 05:27:22 :41:26: error: syntax error, unexpected KW_REGISTER, expecting VAR_IDENTIFIER or TYPE_IDENTIFIER or NEW_IDENTIFIER
Apr 09 05:27:22 (x2)
Apr 09 05:27:22 Could not compile vertex shader (Car1) D3DXERR_INVALIDDATA
Apr 09 05:27:22 :44:34: error: syntax error, unexpected KW_REGISTER, expecting VAR_IDENTIFIER or TYPE_IDENTIFIER or NEW_IDENTIFIER
Apr 09 05:27:22 > Welcome to our server, enjoy your stay!
Apr 09 05:27:32 Next LOD (x3)
Apr 09 05:27:32 Meshes : 55
Apr 09 05:28:35 shutting down
Apr 09 05:28:35 free objects
Apr 09 05:28:35 free languages
Apr 09 05:28:35 free controllers
Apr 09 05:28:35 clear light map
Apr 09 05:28:35 close sound
Apr 09 05:28:35 close rift
Apr 09 05:28:35 free humans
Apr 09 05:28:35 free font
Apr 09 05:28:35 free helmet
Apr 09 05:28:35 kill graphics
Apr 09 05:28:36 save calibrations
Apr 09 05:28:36 save controls
Apr 09 05:28:36 save views
Apr 09 05:28:36 save config
Apr 09 05:28:36 free mouse
Apr 09 05:28:36 EXIT

MadCatX nailed the answer. Once you add D3DX9_43.dll and D3DCompiler_43.dll into the prefix everything works, without errors.

I'll write up a start to finish tutorial once I have the time.
Hi, any news on the tutorial or how to add this 2 files to the prefix?
Never mind, I just solved it...
I am able to play the game normally, all texts and images shows perfectly.
However, I'm having trouble making my MAC recognise my Logitech Driving Force Wheel. It is not detected by the LFS configuration panel.
Any ideas?
What wheel exactly do you have? All Logitech wheels have a compatibility mode which should work with any OS. You'll be missing force feedback and separate brake and throttle pedals though. Perhaps this is a limitation of WINE on MacOS?

LFS on MAC OSX 10.10 Yosemite using WINEBottler.
(10 posts, started )
FGED GREDG RDFGDR GSFDG