View Single Post

alexzk's Avatar


alexzk
11.20.2019 , 05:20 PM | #16
Guess I found bug ... they put some file named DiskCacheArena to program's folder ...It is new some (was absent 5 years ago).

So, if you have ramdsik like (/etc/fstab)
tmpfs /ramcache tmpfs defaults,nodev,nosuid,size=8G 0 0

Then u need add this file to ram too (set ur paths on P1):
Code:
P1="/home/alex/.PlayOnLinux/wineprefix/SWTOR/drive_c/Program Files/Electronic Arts/BioWare/Star Wars - The Old Republic/swtor/DiskCacheArena"

[ -f "$P1" ] && rm "$P1"

touch /ramcache/swtor/DiskCacheArena
[ ! -L "$P1" ] && ln -s /ramcache/swtor/DiskCacheArena "$P1"
So my latest script executed once on logon, then can play swtor ok:

Quote:
mkdir -p /ramcache/swtor/
[ ! -L ~/pre_swtor/swtor ] && ln -s /ramcache/swtor ~/pre_swtor/swtor

[ ! -L /ramcache/swtor/settings ] && ln -s ~/Games/swtor_settings/settings /ramcache/swtor/settings
cat /dev/null > /tmp/DiskCacheArena

P1="/home/alex/.PlayOnLinux/wineprefix/SWTOR/drive_c/Program Files/Electronic Arts/BioWare/Star Wars - The Old Republic/swtor/DiskCacheArena"

[ -f "$P1" ] && rm "$P1"

touch /ramcache/swtor/DiskCacheArena
[ ! -L "$P1" ] && ln -s /ramcache/swtor/DiskCacheArena "$P1"
Where
~/pre_swtor/ is persistent symlink to

/home/alex/PlayOnLinux's virtual drives/SWTOR/drive_c/users/alex/Local Settings/Application Data/SWTOR/
There is no ignorance - there is knowledge.