Assassin's Creed Unity

Assassin's Creed Unity

檢視統計資料:
DGenerate™ 2015 年 8 月 22 日 下午 5:07
How to fix AC:U crashing every 15 minutes on Win10 systems
Not sure how many others are having this issue but i've found a workaround for now. It involves renaming xaudio2_7.dll in your system32, syswow64, and uplay install directories. Disables the audio for the ubisoft and nvidia logo at the start but otherwise works great. For those who would rather do it all from a powershell script, I have that for you too! Copy the following into an empty txt file and rename as ACU.ps1. You will need to change a few of the variables to fit your uplay and unity install dirs. Also, you will have to set powershell to be allowed to run local scripts. Do this by hitting windows key-r, typing powershell, and typing in "Set-ExecutionPolicy RemoteSigned". After that, you should be able to run acu just by running the script.


#Run the script as admin
param([switch]$Elevated)

function Test-Admin {
$currentUser = New-Object Security.Principal.WindowsPrincipal $([Security.Principal.WindowsIdentity]::GetCurrent())
$currentUser.IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator)
}

if ((Test-Admin) -eq $false) {
if ($elevated)
{
# tried to elevate, did not work, aborting
}
else {
Start-Process powershell.exe -Verb RunAs -ArgumentList ('-noprofile -noexit -file "{0}" -elevated' -f ($myinvocation.MyCommand.Definition))
}

exit
}

'running with full privileges'

#set line below to wherever you have uplay installed and where ACU.exe is found
$ubidir = "E:\Games\Ubisoft\Ubisoft Game Launcher"
$gamedir = "E:\Games\Steam\SteamApps\common\Assassin's Creed Unity"
$windir = (Get-ChildItem env:windir).value

#rename XAudio2_7.dll files to .bak temporarily
write-host "renaming files to .bak"
Rename-Item $windir\System32\XAudio2_7.dll XAudio2_7.bak
Rename-Item $windir\SysWOW64\XAudio2_7.dll XAudio2_7.bak
Rename-Item $ubidir\XAudio2_7.dll XAudio2_7.bak

#launch ACU and wait
write-host "launching ACU"
Start-Process "$gamedir\ACU.exe" -Wait

#check for ACU process exit
write-host "waiting for ACU process exit"
Start-Sleep -Seconds 60
while (Get-Process acu -ErrorAction SilentlyContinue)
{ Start-Sleep 10 }

#rename XAudio2_7 files back
write-host "renaming files back"
Rename-Item $windir\System32\XAudio2_7.bak XAudio2_7.dll
Rename-Item $windir\SysWOW64\XAudio2_7.bak XAudio2_7.dll
Rename-Item $ubidir\XAudio2_7.bak XAudio2_7.dll

#Terminate Script
stop-process -Id $PID
最後修改者:DGenerate™; 2015 年 8 月 30 日 下午 2:03
< >
目前顯示第 61-75 則留言,共 132
bimbodelloro 2016 年 3 月 16 日 下午 4:52 
I tried what you said. It gave me this: Access to the registry key
'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell' is denied. To change the execution
policy for the default (LocalMachine) scope, start Windows PowerShell with the "Run as administrator" option. To
change the execution policy for the current user, run "Set-ExecutionPolicy -Scope CurrentUser".
DGenerate™ 2016 年 3 月 17 日 上午 4:04 
Ahhh ok. So you're not an administrator on the computer you're on. Are you running win7 or 10? That'll help me walk you through how to run powershell as an administrator (note, if the admin account is pw protected and you dont have access to that, you're out of luck basically...)
bimbodelloro 2016 年 3 月 17 日 上午 6:06 
It'a my own PC. How could I not be the administrator? It's win 10 home.
DGenerate™ 2016 年 3 月 17 日 下午 1:47 
Hit the windows key, type Powershell, right click the top app, click run as administrator
bimbodelloro 2016 年 3 月 17 日 下午 4:51 
Did that, then I tried running the ps1 file. Didn't change anything. Still says: \ACU.ps1 cannot be loaded because running scripts is disabled on this system. For
more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.
+ CategoryInfo : SecurityError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : UnauthorizedAccess
bimbodelloro 2016 年 3 月 17 日 下午 4:54 
I mean... once I click on the "run as administrator" option, it does open the blue powershell window, and says:

Windows PowerShell
Copyright (C) 2015 Microsoft Corporation. All rights reserved.

PS C:\Windows\system32>

And then it waits for me to type something, but I don't know what to do at this point.
DGenerate™ 2016 年 3 月 18 日 上午 4:00 
Thats where you type the Set-ExecutionPolicy RemoteSigned.... follow the post step by step....
bimbodelloro 2016 年 3 月 18 日 上午 4:15 
All I wanna do is play a game and I'm getting the same resistance as if I'm trying to split the Atom. Thanks for the help. I'll let you know if it works.
bimbodelloro 2016 年 3 月 18 日 下午 12:21 
Problem solved!!! But not with the powershell thing. Apparently, what caused the game to crash was the fact that Tabletinputservice was enabled in the task manager. All I had to do was to stop it - No more crashing. Not in AC unity and not in Black ops 2, which also crashed every 15 minutes.

Thanks for everything, anyway.
Zevcon 2016 年 4 月 23 日 上午 2:50 
Any ideas why doesnt work anymore? I tried the script, also removing the dll files, running with windows 7 compatibility, uplay offline mode.. and the ♥♥♥♥♥♥♥ game keep crashing ._.
DGenerate™ 2016 年 4 月 23 日 上午 6:14 
With the script you shouldnt have to run it in compatibility mode. Try turning that off and see.
Zevcon 2016 年 4 月 23 日 上午 6:26 
I tried that too, but doesnt work.
bimbodelloro 2016 年 4 月 23 日 上午 6:55 
Did you disable tabletinputservice?
Zevcon 2016 年 4 月 23 日 上午 7:04 
I did, actually it was disable by default
bimbodelloro 2016 年 4 月 23 日 上午 7:28 
It's NEVER disabled by default. Not on my PC, anyway. If you have the same problem with games crashing after 15 minutes without fail, then disabling tabletinputservice should fix it. It did for me.

It that doesn't work either, get a private PC technician who really understands GPUs and internals on a very deep level and see if he can fix it.

< >
目前顯示第 61-75 則留言,共 132
每頁顯示: 1530 50

張貼日期: 2015 年 8 月 22 日 下午 5:07
回覆: 132