Unitsync documentation
Moderator: Moderators
Unitsync documentation
Is there any documentatio on the unitsync library?
Not really. There is a little bit of python help strings in pybind.cpp and I made some examples a while ago: http://www.osrts.info/~tvo/unitsync/
look at CSync/JSync.java in the aflobby source code. It loads all the unitsync hashes and mapnames and sidenames etc, everything you need for a lobby really.
There are also some functions in the java bindings that wrap up unitsync nicely like the searchVFS and listArchiveFiles, aswell as the WriteMinimap function which can be found in both java and python bindings which writes out a minimap to a given image file.
There are also some functions in the java bindings that wrap up unitsync nicely like the searchVFS and listArchiveFiles, aswell as the WriteMinimap function which can be found in both java and python bindings which writes out a minimap to a given image file.
Yep, in version 0.75 unitsync.so will be installed in /usr/lib/spring/unitsync.so if the install prefix = /usr. I think it is fine to look for it in /usr/lib/spring/unitsync.so and /usr/local/lib/spring/unitsync.so, so you can handle both self compiled Spring installs (with default prefix) and packaged Spring installs, which should have the /usr prefix.tc- wrote:So spring automatically installs the unitsync lib in the standard locations?