Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

How to set symlinks for mac build

A topic by jeroenwimmers created Nov 01, 2016 Views: 616 Replies: 4
Viewing posts 1 to 5
(3 edits)

Hi, I'm trying upload a mac build from my windows machine, but I'm not having much luck.

The game will just instantly quit itself on mac. I've had this problem before on Steam, but resolved it by setting symlinks in the install script. But while uploading with butler, it says it found 0 symlinks.

How can I make butler find my symlinks?

come on butler:(


EDIT: it does work as a zip, but I prefer using just files. Would make the update process so much easier

> EDIT: it does work as a zip, but I prefer using just files. Would make the update process so much easier

You can pass a .zip (with symlinks!) to butler — even from Windows. Does that work for you?

Or is that what you don't want to do? Windows just doesn't really support symlinks (it has junctions, which aren't quite the same thing, and it has proper symlinks if you have admin permissions — which isn't practical).

How are you generating the zip that you upload?

(3 edits)

Yes, I was hoping I could get around the zip and still make it work. I can generate a build from mac, zip it in mac, and upload that on windows, but it would be easier if I could upload it as regular files from windows. Since I just have 1 folder of files for my game which contains the mac build, and further in the windows build.

I did try to make symlinks on windows with:

mklink /D "directoy" "symlink"

But butler didn't pick up on them. I'm not even sure if that would be possible.

If there is no other way, I'll stick with the zip file, I was just looking for alternatives

So is there any way to do this?

(3 edits)

Well, I managed to work with the zip. A batch file now updates the needed files in the zip

If anyone wants to know, you can do this by downloading zip and executing:

zip -r "Game.zip" "Game.app\Contents\Resources\Game.swf"

So in this case it replaces the Game.swf in zip by the new one I have in the same directory.