Hotline Miami

Hotline Miami

View Stats:
Wódka🔥 Jun 24, 2016 @ 7:20pm
Не запускается игра.
При запуске игры выскакивает ошибка : http://imgur.com/Acqrne9
"Необратываемое исключение в приложении.При нажатии кнопки " Продолжить " приложение проигнорирует ошибку и попытается продолжить работу.При нажатии кнопки "Выход" приложение немедленно завершит работу." Как быть? Хелп.
----------------------------------------------------------------------------------------------------------------------------------------
Подробная информация об использовании оперативной
(JIT) отладки вместо данного диалогового
окна содержится в конце этого сообщения.

************** Текст исключения **************
System.UnauthorizedAccessException: Отказано в доступе по пути "C:\Users\Documents\My Games\HotlineMiami\hotline.cfg".
в System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
в System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
в System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
в System.IO.StreamWriter.CreateFile(String path, Boolean append)
в System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize)
в System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
в System.IO.File.WriteAllText(String path, String contents, Encoding encoding)
в HotlineLauncher.MainForm.SaveConfig(String fileName)
в HotlineLauncher.MainForm.btnStart_Click(Object sender, EventArgs e)
в System.Windows.Forms.Control.OnClick(EventArgs e)
в System.Windows.Forms.Button.OnClick(EventArgs e)
в System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
в System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
в System.Windows.Forms.Control.WndProc(Message& m)
в System.Windows.Forms.ButtonBase.WndProc(Message& m)
в System.Windows.Forms.Button.WndProc(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
в System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
в System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Загруженные сборки **************
mscorlib
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:/C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
HotlineLauncher
Версия сборки: 1.0.0.0
Версия Win32: 1.0.0.0
CodeBase: file:///D:/STEAM/steamapps/common/hotline_miami/HotlineMiami.exe
----------------------------------------
System.Windows.Forms
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5491 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5492 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
mscorlib.resources
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:/C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
System.Windows.Forms.resources
Версия сборки: 2.0.0.0
Версия Win32: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_ru_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Оперативная отладка (JIT) **************
Для подключения оперативной (JIT) отладки файл .config данного
приложения или компьютера (machine.config) должен иметь
значение jitDebugging, установленное в секции system.windows.forms.
Приложение также должно быть скомпилировано с включенной
отладкой.

Например:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

При включенной отладке JIT любое необрабатываемое исключение
пересылается отладчику JIT, зарегистрированному на данном компьютере,
вместо того чтобы обрабатываться данным диалоговым окном.


Last edited by Wódka🔥; Jun 24, 2016 @ 7:25pm
< >
Showing 1-2 of 2 comments
Skymirrh Jun 25, 2016 @ 8:37am 
System.UnauthorizedAccessException: Отказано в доступе по пути "C:\Users\Documents\My Games\HotlineMiami\hotline.cfg".
This is why it does not work. Check that you have access to this file, and that it is not marked read-only. Check that "HotlineMiami" folder is not marked read-only.

If all else fails, try to manually create "hotline.cfg", by following these instructions:
  • Go to "C:\Users\<username\Documents\My Games\"
  • Create a new folder named "HotlineMiami" (no space) if it's not already there
  • In that folder, create a new text file, and rename it to "hotline.cfg"
  • Open the file using Notepad and copy/paste the following:
    4
    width=1920
    height=1080
    windowed=0
    language=0
    alienware=0
    rumble=0
    vsync=0
    triggerswap=0
    joystick=0
    version=0
  • Change "width=1920" and "height=1080" to your resolution
  • (Optional) Change "language=0" (English) to the value of your choice:
    1. French
    2. Brazilian Portuguese
    3. Spanish
    4. Russian
    5. German
    6. Polish
    7. Japanese
  • Save file
Example in this picture: link[i.imgur.com].
You need everything EXACTLY the same, in particular file must be "hotline.cfg" and not "hotline.cfg.txt" (make sure Windows displays file extensions to check file type).

Then try you can manually launch the game: right-click on the game in your library -> Properties -> Local files -> Browse local files -> launch HotlineGL.exe. Make a shortcut to "HotlineGL.exe" if you want, it will be easier :)
Wódka🔥 Jun 25, 2016 @ 8:45am 
Thx.
< >
Showing 1-2 of 2 comments
Per page: 1530 50

Date Posted: Jun 24, 2016 @ 7:20pm
Posts: 2