A smaller lotro for Mac

So this is another random post that maybe 2 or 3 people on the planet would care about, basically if you aren’t a mac user, who plays lotro (Lord of the Rings Online) and has a separate windows SSD with the game already installed, then you won’t care about this.

That said, I found out today that it’s possible to symlink the .dat/.datx files from Lotro on windows inside the lotro app package on mac, so you don’t need to duplicate the full ~20GB install if you want to be able to play on both OS’s.

Please note, these steps ensure maximum paranoia; you could easily just drag and drop the LotroLauncher.app out of your steam library and into /Applications, and then delete all the .dat files inside of it, but I prefer to keep backups of everything, multiple if necessary.

  1. Install Steam for Windows, and add Lotro to your library if it isn’t already.
  2. Install lotro through steam on windows.
  3. Once installed, patch the lotro client to latest version
  4. Verify the game runs ok on windows, then reboot into OSX
  5. Make sure your OSX install sees your NTFS/Windows drive in read-only mode
  6. Find the path to your lotro installation on windows, the default steam path will be:
    /Volumes/your_windows_volume/Program\ Files\ \(x86\)/Steam/SteamApps/common/Lord\ of\ the\ Rings\ Online
  7. Install Steam for Mac, and add lotro to your library again
  8. Install lotro for mac (yep, have to waste the whole ~20GB at least once)
  9. An optional step, if you have a backup drive, backup the full mac lotro client so you never need to do this again:
    $HOME/Library/Application\ Support/Steam/steamapps/common/Lord\ of\ the\ Rings\ Online/LotroLauncher.app
    Your location might be different if you’ve moved your default steam library, regardless, find LotroLauncher.app and back it up if you can. I have it backed up on a physical 2TB HDD, e.g. /Volumes/Storage/Gaming/LotroLauncher.app
  10. Copy the LotroLauncher.app into your /Applications folder, without the internal/embedded .dat or .datx files:
    cd $HOME/Library/Application\ Support/Steam/steamapps/common/Lord\ of\ the\ Rings\ Online
    rsync -aP --exclude="*.dat*" ./* /Applications

    The resulting LotroLauncher.app in your /Applications folder should be around 4.5GB in size instead of ~20GB
  11. Now symlink in all the .dat and .datx files from your windows drive:
    find /Volumes/your_windows_volume/Program\ Files\ \(x86\)/Steam/SteamApps/common/Lord\ of\ the\ Rings\ Online -maxdepth 1 -mindepth 1 -name "*.dat*" -exec ln -s '{}' /Applications/LotroLauncher.app/Contents/Resources/lotroclient.app/Contents/Resources \;
    Depending on how you have your permissions setup, you may need to run that command with/as sudo.
  12. Launch /Applications/LotroLauncher.app and make sure it runs. You may need to disable gatekeeper (e.g. allow applications from anywhere) for it to work.

Lastly, a couple of notes/thoughts. With this setup, you need to remember that for any future game/client updates, you MUST patch the client via the windows launcher first, else your client may try to re-download all the .dat files since OSX can’t write to NTFS natively.

Also, this same idea could almost certainly be implemented with a third SSD, formatted fat32, to share the .dat/.datx files between both OS’s, you’d just change the ln taret path, and then make use of the hardlink function in windows, though I’m not familiar with windows command line tools anymore to automate this like above with find -exec, etc.. The syntax for a link is something like:

mklink /D "C:\Program Files (x86)\Steam\SteamApps\common\Lord of the Rings Online\some.dat" "D:\some\random\path\to\real\file\some.dat"

Handoff on a Hackintosh!

In case anyone missed it, Toleda just pushed a new set of patches (credit to skvo for figuring everything out) to the airport/wireless half mini repo, and it includes new kext patches for the BCM4352 on Yosemite to enable Handoff, as well as fix the ‘third party’ string in system information.

Here’s some quick screenshots showing handoff enabled on my hackintosh using the Asus built-in BCM4352 half-mini wifi card.

Of course, I can’t actually test that handoff is working since I don’t own a modern/recent enough iOS device, but given that bluetooth has worked fine for me pretty much from day one, I’m going to assume that it will work.

I’ll be updating the config.plist downloads on my 10.10 page shortly, but for anyone that can’t wait, just delete any older 5Ghz patch you may have in your config.plist, and here’s three new patches you need to add:

MacVim for Yosemite

For anyone out there that uses Macvim, and is annoyed by the lack of updates, I took some time over the past few days to merge in the latest vim updates (e.g. 7.4.493) as well as pulling in some commits from the open pull-requests to refactor the tabs and full-screen mode for Yosemite.

Please note, I am NOT the author of any of the actual code, credit for the Yosemite refactoring is all to @zenangst on github.

Also of note, this includes the proposed ‘Yosemite’ style icons by @jasonlong. I’ve not yet managed to merge in the old split-browser hack, maybe one-day I’ll actually learn Objective-C and be able to figure that part out, right now it’s beyond me (sorry, I’m just a fuck-up.)

Anyway, if you want to use/install this fork, the easiest way is with homebrew:

brew edit macvim

and change the line:

head 'https://github.com/b4winckler/macvim.git', :branch => 'master'

to:

head 'https://github.com/jocelynmallon/macvim.git', :branch => 'b4-yosemite'

Then run:

brew reinstall macvim --HEAD --with-lua --with-luajit --override-system-vim

And of course feel free to omit any options you don’t personally use.