OpenRA / OpenRA

Open Source real-time strategy game engine for early Westwood games such as Command & Conquer: Red Alert written in C# using SDL and OpenGL. Runs on Windows, Linux, *BSD and Mac OS X.
https://www.openra.net
GNU General Public License v3.0
14.68k stars 2.68k forks source link

Red Alert mod Fatal Error #5623

Closed UtoOpenRA closed 10 years ago

UtoOpenRA commented 10 years ago

Hi try to play Red Alert mod and the program give me a fatal error. Tiberian Dawn and Dune mods works well... This is the exception file:

Red Alert Mod at Version release-20140608 Operating System: Windows (Microsoft Windows NT 6.2.9200.0) Runtime Version: .NET CLR 4.0.30319.18449 Exception of type System.UnauthorizedAccessException: Acceso denegado a la ruta de acceso 'C:\Users\Augusto\Documents\OpenRA\Content\ra\redalert.mix'. en System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) en System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITYATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) en System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) en OpenRA.InstallUtils.ExtractZip(ZipInputStream z, String destPath, List1 extracted, Action1 onProgress) en OpenRA.InstallUtils.ExtractZip(String zipFile, String dest, Action1 onProgress, Action1 onError) en OpenRA.Mods.RA.Widgets.Logic.DownloadPackagesLogic.cAnonStorey150.<>m448(AsyncCompletedEventArgs i, Boolean cancelled) en OpenRA.Download.cAnonStorey79.<>m125(Object , AsyncCompletedEventArgs a) en System.ComponentModel.AsyncCompletedEventHandler.Invoke(Object sender, AsyncCompletedEventArgs e) en System.Net.WebClient.OnDownloadFileCompleted(AsyncCompletedEventArgs e) en System.Net.WebClient.DownloadFileOperationCompleted(Object arg) en System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(Object state) en System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) en System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) en System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() en System.Threading.ThreadPoolWorkQueue.Dispatch() en System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Mailaender commented 10 years ago

UnauthorizedAccessException is weird. Did you run OpenRA with administrator rights (which you should never do) and then downloaded the Red Alert mod game files in-game with it so now a regular user can't access them anymore after a restart? My suggestion is to remove C:\Users\Augusto\Documents\OpenRA\Content\ra\ and retry.