
Able to get the unit info. But not able to change the mod & get unit info for a different mod....
Anyone know how to get the following to work
Note (only StarWars01.sd7 xtape.sd7) in mods directory as they got differently names sides to pick i.e Empire & Alliance Arm & Core.
Type python in console ( need to be in directory with unitsync.so i.e in omni directory)
- import os
import unitsync
os.chdir('/usr/share/games/taspring-linux-svn')
unitsync.InitArchiveScanner()
unitsync.GetPrimaryModCount()
mod = unitsync.GetPrimaryModArchive(0)
unitsync.AddAllArchives(mod)
unitsync.GetSideCount()
unitsync.GetSideName(1)
mod2 = unitsync.GetPrimaryModArchive(1)
unitsync.AddAllArchives(mod2)
unitsync.GetSideCount()
unitsync.GetSideName(1)
Anyone know what to do ?