Home » MODDING HQ 1.13 » v1.13 Bug Reports » JA2 1.13 Windows 8.1 -- Consistent Freezes
Re: JA2 1.13 Windows 8.1 -- Consistent Freezes[message #344528 is a reply to message #344519] Mon, 14 March 2016 09:51 Go to previous messageGo to next message
RoWa21

 
Messages:2046
Registered:October 2005
Location: Austria
Please check the following step-by-step guide from the "Docs" folder, posted here:

Quote:

***********************************************************************************************************************
Apply the fixes if you play Jagged Alliance 2 v1.13 on Windows 8/8.1 or Windows 10 does not start / runs extremely slow
***********************************************************************************************************************

INSTALLATION:
*** STEP 1: Temporary extract the patch/fix files ***
- Extract the "Windows 8 & 10 Fix.zip" file to a temporary folder (e.g: C:\Temp\JA2_Fix)

*** STEP 2: Apply the patch/fix files ***
- Copy the following files from the temporary folder (e.g: C:\Temp\JA2_Fix\GameDir) in your JA2 1.13 Installation directory and override any existing files
-> ddraw.dll
-> libwine.dll
-> wined3d.dll
-> Win8_10_FullScreen_RegistryFix.reg
-> Win8_10_WindowedMode_RegistryFix.reg

*** STEP 3: Apply the 2 registry (*.reg) files ***
- Before applying the 2 registry files, open them with a text editor (e.g: notepad) and change the default path to the 1.13 executable ("C:\\games\\ja2\\ja2.exe") to your JA2 1.13 Installation directory and executable file
- Save the 2 registry files
- Apply the 2 regitry files by executing them

*** STEP 4: Disable the JA2 intro ***
- Open the "Ja2.ini" file with a text editor (e.g: notepad) in your Jagged Alliance 2 v1.13 Installation directory
- Search for PLAY_INTRO and change it to PLAY_INTRO = 0
- Save the file and close it

*** STEP 5 (optional): Set the game to "Windowed Mode" to play JA2 1.13 in Windowed Mode ***
- Open the "Ja2.ini" file with a text editor (e.g: notepad) in your Jagged Alliance 2 v1.13 Installation directory
- Seach for SCREEN_MODE_WINDOWED and set it to SCREEN_MODE_WINDOWED = 1
- Save the file and close it
- Right click on the JA2 1.13 executable (ja2.exe), edit the properties and check the "Compatibility" mode
-> Check the "Reduced color mode" to 16-bit
- Set your Windows Desktop Color Schema to 16 Bit (instead of 32 Bit).
-> Screen Resolution -> Advanced Settings -> Monitor -> Colors -> "High Color (16 bit)

*** STEP 6: Set processor affinity for "ja2.exe" to only ONE CPU (CPU 0) ***
- Check out the step-by-step instructions on how to set the processor affinity for Windows 8 / Windows 10:
-> http://www.eightforums.com/tutorials/24086-processor-affinity-set-applications-windows-8-a.html

*** STEP 7: Run the game in Compatibility Mode ***
- Run the game (ja2.exe) as Windows 8 / Windows 10 Administrator
-> Right click on the JA2 1.13 executable (ja2.exe), edit the properties and check the "Compatibility" mode
-> Check the "XP SP3" compatibility mode



Here you can download the "Windows 8 & 10 Fix.zip"
https://ja2svn.mooo.com/source/ja2_v1.13_data/GameDir/Docs/Windows%20Compatibility%20Fixes/Windows%208%20&%2010%20Fi x.zip

[Updated on: Mon, 14 March 2016 09:53]



Re: JA2 1.13 Windows 8.1 -- Consistent Freezes[message #345184 is a reply to message #344528] Tue, 26 April 2016 07:38 Go to previous messageGo to next message
ShoGUN
Messages:4
Registered:August 2015
Game still frezes on my laptop with that instruction. I don't know if it can help, but it runs perfectly all the time on all machines under Linux with Wine. I tried to use newer versions of Wine dlls under Windows(version 1.5.6 to be exact), but no luck - it crashes with error in wined3d.dll right from the start angry Good news is that you guys should try to play under Linux, it works perfectly. Unfortunately, XML Editor uses .Net 3.5(or 4.x), so no luck with trying to run it under Wine. And no, Windows 10 problem is not solved, there are only some workarounds...
Re: JA2 1.13 Windows 8.1 -- Consistent Freezes[message #347684 is a reply to message #335812] Sun, 04 December 2016 01:14 Go to previous messageGo to next message
MaiorPain

 
Messages:14
Registered:July 2015
Location: Russia
http://steamcommunity.com/games/215930/announcements/detail/583609044411508094


Today is the good day to...

So, there is announcement about patch for win 10 and 8 (include 8.1) for lauch from steam-devs.


Maybe it's can help us to fix this long-story issue.

Date of patch 22.11.2016

Let's wait for fix wich includes this patch in v1.13


P.S I tested steam version, it works fine for 8.1

[Updated on: Sun, 04 December 2016 01:16]




I'm sorry for my english. It's not my language and I never learn studied it. Games and translator were my teachers. Don't blame me hard, I'm always like to get corrected.
Re: JA2 1.13 Windows 8.1 -- Consistent Freezes[message #347706 is a reply to message #347684] Wed, 07 December 2016 14:23 Go to previous messageGo to next message
Decadent

 
Messages:9
Registered:December 2016
Hello, I'm running windows 10 and tried the various fixes for JA2 1.13 but keep getting the usual freeze/game crash problem, seems from the above messages that the base game is fixed/patched to work within win 10 but not for 1.13?

I always keep coming back to JA2 because nothing has surpassed its gameplay in this genre, words fail me how out of touch, inept and greedy most game devs have become.

Thanks, look forward to a stable fix at some point happy
Re: JA2 1.13 Windows 8.1 -- Consistent Freezes[message #347716 is a reply to message #347706] Sat, 10 December 2016 10:57 Go to previous messageGo to next message
Decadent

 
Messages:9
Registered:December 2016
After a fresh install and going through all the guide fixes again for win8/10, getting to Drassen was crash/freeze free whereas before it would crash every 10-15mins approx? the problem now is that I have no idea why it didn't run previously? win10 did have an update but I cannot imagine that would have changed anything?

I experimented not disabling cpu cores which only froze the game upon exit. The only thing I didn't do was to change desktop to 16bit.
Re: JA2 1.13 Windows 8.1 -- Consistent Freezes[message #347718 is a reply to message #347716] Sat, 10 December 2016 11:26 Go to previous messageGo to next message
silversurfer

 
Messages:2041
Registered:May 2009
No reason to set the desktop to 16bit color depth. Windows 10 can handle applications running in 16bit mode while the desktop is still 32bit.
Important thing is to apply the registry fix correctly. Before applying the .reg files the path inside of them has to be set to your real game path and executable. Otherwise the settings will have no effect.

I don't even use the dll files anymore because they are causing distorted graphic issues in certain map views.



Wildfire Maps Mod 6.07 on SVN: https://ja2svn.mooo.com/source/ja2/branches/Wanne/JA2%201.13 %20Wildfire%206.06%20-%20Maps%20MOD

Re: JA2 1.13 Windows 8.1 -- Consistent Freezes[message #347730 is a reply to message #347718] Tue, 13 December 2016 10:13 Go to previous messageGo to next message
Decadent

 
Messages:9
Registered:December 2016
JA2 1.13 7609 still freezing on windows 10, nothing seems to solve this problem for me.
Re: JA2 1.13 Windows 8.1 -- Consistent Freezes[message #347804 is a reply to message #347730] Sun, 25 December 2016 10:48 Go to previous messageGo to next message
Decadent

 
Messages:9
Registered:December 2016
I found a solution that is working on Windows 10:

Installed
Microsoft Visual C++ 2005 Redistributable Package (x86)
Microsoft Visual C++ 2008 Redistributable Package (x86)

The only confusing part was that both downloads from Microsoft have the same name 'vcredist_x86.exe'

Working in fullscreen mode, exits without freezing, no crashing.






Re: JA2 1.13 Windows 8.1 -- Consistent Freezes[message #348613 is a reply to message #335812] Tue, 31 January 2017 21:39 Go to previous messageGo to next message
Yubi
Messages:5
Registered:January 2017
I also have a laptop with Win 8.1 64bit and suffered from freezes even though I followed all the advices from this thread, setting the compatibilities and colors to ja2.exe etc. Still the game froze in the manner that others have described. Fiddling with various options I managed to apparently get rid of the freezes by going to nvidia control panel and disabling "threaded optimization" for ja2.exe. Now I have not had a single freeze or problem since then. So those people with freezes might also give this a try, no guarantees tho. big grin

tl;dr disable "threaded optimization" for ja2.exe in nvidia control panel (or equivalent) to get rid of freezes for win 8.1.

EDIT: Seems that the problems are back, so you might want to discard this idea. Apparently I just got lucky streaks of nonfreezing gameplay.

EDIT2: Seems to be unplayable on win 8.1, cant get rid of the freezes. Only thing working seems to be is to set the game on win 98 compatibility mode but this makes the sounds of the game to stutter and the red screen that appears when entering hostile sectors or entering any sector makes the transition phase stutter like mad.

[Updated on: Wed, 01 February 2017 18:20]

Re: JA2 1.13 Windows 8.1 -- Consistent Freezes[message #348677 is a reply to message #347804] Fri, 03 February 2017 00:29 Go to previous messageGo to next message
grim

 
Messages:288
Registered:July 2006
Location: France
Decadent wrote on Sun, 25 December 2016 09:48
I found a solution that is working on Windows 10:

Installed
Microsoft Visual C++ 2005 Redistributable Package (x86)
Microsoft Visual C++ 2008 Redistributable Package (x86)

The only confusing part was that both downloads from Microsoft have the same name 'vcredist_x86.exe'

Working in fullscreen mode, exits without freezing, no crashing.

I tried this and until now no crash/freeze unlike before, it seems to work well.
Re: JA2 1.13 Windows 8.1 -- Consistent Freezes[message #348733 is a reply to message #335812] Mon, 06 February 2017 19:28 Go to previous messageGo to next message
Yubi
Messages:5
Registered:January 2017
I did some further testing and it seems that atleast on my computer (Win 8.1 64bit laptop) the solution is to set CPU affinity only to one core and the freezes are gone. This has been mentioned before in the thread but I had trouble making it work as my ja2.exe froze when I tabbed out of it and I dont want to play windowed. I also did not manage to make core affinity shortcuts work, so i searched for other ways to permanently set core affinities and a quite simple way to do this is to use a program called imagecfg. You can use this program to set ja2.exe to permanently use only one core so you dont have to set it each time you start the game, or if alt-tabbing out of the game freezes it, like mine did. My ja2.exe now uses only CPU4 and I have not had any freezes, played about +5h. Game has very minimal slowdown when transitioning to other sectors but otherwise everything seems stable, no sound stutter or anything.

I cant post links so I cannot post a direct link to imagecfg but you can google "imagecfg" and a site with download and instructions should pop up. (robpol86 dot com)
Re: JA2 1.13 Windows 8.1 -- Consistent Freezes[message #348739 is a reply to message #348733] Tue, 07 February 2017 00:48 Go to previous messageGo to next message
Someone64

 
Messages:33
Registered:May 2015
Location: Philippines
You can also save process affinity with a task manager replacement called Process Hacker. You'll need a nightly build to do this as the stable doesn't have the feature available yet.
Re: JA2 1.13 Windows 8.1 -- Consistent Freezes[message #349338 is a reply to message #348739] Sat, 25 March 2017 12:26 Go to previous message
Tyxe

 
Messages:69
Registered:May 2012
Location: France
The imagecfg seems to work, i used to have a lot of freeze to the point it was barely playable before using it.
But it has drawbacks (or maybe because i have an old laptop that not powerful enough to run the game very fast with only one core) : when i "zoomed" in a sector as indicated by Yubi but much more annoying i can't speed up the game clock (very useful to speed up enemies/civilians turns or just when you want to move your mercs faster) by pressing the -+ like before as it make instead the game lag.
For info I had the maximum clock speed already in my ini for enemies/civilians and i don't want to speed up the general clock more than 10%.
Previous Topic: Ghost militia upkeep
Next Topic: Recruited rebels refusing to refuel the car
Goto Forum:
  


Current Time: Thu Mar 30 15:43:24 EEST 2017

Total time taken to generate the page: 0.01319 seconds