IPB Style© Fisana

Jump to content


Dual Boot symlinking


  • Please log in to reply
3 replies to this topic

#1 Sonarpulse

Sonarpulse

  • Community Members
    PipPip

  • Sesquiplicarius
    (161 posts)

Posted 04 January 2012 - 04:13 AM

I installed alpha 8 on windows recently and now am going to install it in Ubuntu. However, I rather not download all ≈200 megabytes again, nor keep lots of redundant data on both partitions. If 0 A.D had a normal FHS-esque ./bin ./share ./lib etc. hierarchy, I might have been able to fake it myself. but with the current setup I am at a lost.

Any instructions how, or advice I am foolish, would be much appreciated. Once the symlinks are in I think i know how to use dpkg to avoid the now-unnecessary data dependency.
Posted ImagePosted ImagePosted Image

#2 Ykkrosh

Ykkrosh

  • WFG Programming Team

  • Primus Pilus
    (4,869 posts)

Posted 04 January 2012 - 11:08 AM

The data packages on Linux should contain "mods/public/public.zip", "config/" and "tools/". On Ubuntu, I believe these are installed relative to "/usr/share/0ad/". On Windows they are in "[installation directory]\binaries\data\". Copying/linking those files ought to be sufficient.
Philip Taylor [aka Ykkrosh]

Wildfire Games Programmer
Contact me: philip@wildfiregames.com

#3 quantumstate

quantumstate

  • WFG Programming Team

  • Primus Pilus
    (1,086 posts)

Posted 04 January 2012 - 11:22 AM

On my linux mint system using the http://ppa.launchpad.../wfg/0ad/ubuntu repository the games data (0ad-data package) is in /usr/share/games/0ad/mods/public/public.zip . I feel that you may be making things too complicated for yourself though, updating the game is probably going to cause you hassle since the data needs to be in sync with the binaries so you will need to do this process for every update.

Jonathan Waller [ aka quantumstate ]

Wildfire Games AI Scripter
Contact me: jonathanmarkwaller at gmail dot com


Support Wildfire Games!


#4 Sonarpulse

Sonarpulse

  • Community Members
    PipPip

  • Sesquiplicarius
    (161 posts)

Posted 05 January 2012 - 01:41 AM

Thanks a lot, guys. I ended up installing 0 a.d normally as a control, so to speak, and then did the sym-linking. I symlinked ./mods, ./tools, and ./config. Everything works fine.
Yes this will be a pain for updates, but I will probably make it work by first updating with APT, and then see if I can get binaries only for windows. Windows installers suck anyways so I won't mind cutting and pasting on that OS.

Just for reference, the share directories were "/usr/share/games/0ad/" on Ubuntu (11.10), and of course "[installation directory]\binaries\data\" on windows.
Posted ImagePosted ImagePosted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users