[Bug 29582] Star Wars Battlefront (I and II) "Loading" screen very slow.

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Jan 12 17:23:23 CST 2018


https://bugs.winehq.org/show_bug.cgi?id=29582

--- Comment #44 from Daniel Santos <daniel.santos at pobox.com> ---
(In reply to Maxim Stewart from comment #42)
> 
> You had me hee-hawing at a master piece being cut out and glued to the car.
> I just imagined The Scream by Munch being cut out by a kid who's 5 and
> grinning stupidly with glue stick glue in his mouth. XD

Thanks in turn for the laugh! :)

> wineserver: ERROR: shared memory corruption detected: 0xf758d008 should be
> fdfdfdfd, found aaaaaaaa
> ...  // the wine server error repeats multiple times thus I am putting dots
> 000d:err:menubuilder:RefreshFileTypeAssociations failed wait for semaphore
> wineserver: shm_slab.c:530: shm_cache_free: Assertion `!cache->count' failed.
> 
> This error could be because I am lacking the proper mscoree.dll (or so it
> seems) and I've been trying to figure out how to fix this with no success so

No, it's a bug in my last release.  I'll be releasing again today or tomorrow. 
So after that, just change into your /the/location/of/wineBuildDir/ and run
this to update the sources instead of git clone and checkout:

git fetch
git reset --hard origin/hybrid-sync

You would normally do "git pull", but I'm committing in a "non-fast-forward"
fashion, so you have to do a hard reset.


But for help with general building and the like, please visit #wine on
irc.freenode.net.  But here's a few helpers anyway.

> 1.  sudo add-apt-repository ppa:ubuntu-wine/ppa
>                         OR
> 1.  Make sure to add or uncomment the sources URIs in /etc/apt/sources.list
> 2.  sudo apt-get update
> 3.  sudo apt-get build-dep wine

That sounds right, I'm on a different Linux distro and I haven't played with
Ubuntu or Debian in a while


> 6.  cd /the/location/of/wineBuildDir/
> 7.  ./configure     // Add a switch to build in 64 bit else just leave as is.

You only need the 32-bit version and it's probably simplest to just build it
w/o 
--enable-win64 or --with-wine64, but if you want to build the 32- and 64-bit
versions, here's a quickie.

1. First configure the 64-bit in one directory with --enable-win64,
2. build it,
3. In a separate directory, configure and build the 32-bit using --with-wine64=
to tell it where you built the 64-bit version.

For example:

mkdir build/32 build/64
cd build/64
CFLAGS="-O2" ../../configure --enable-win64 (any other arguments)
make -j5
cd ../32
CFLAGS="-m32 -O2" ../../configure --with-wine64=../64 (any other arguments)
make -j5

This is known as an out-of-tree build and most projects prefer that you use
that instead of building in-tree where the source code and output are mixed in
the same directories.

> 8.  make
It's faster if you add -j<n> where n is the number of CPU cores (times two if
you have hyperthreading) plus one.  e.g., make -j5

> Quick confirmation, the WINEPREFIX is the location path
> for my virtual drive containing my Steam and game, yes? So, it'd be the
> master folder of the drive folder called drive_c or is it drive_c itself?

WINEPREFIX is the directory under drive_c.  You'll also see things like
system.reg, user.reg, dosdevices, etc. in that directory.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list