Mac New OS - High Sierra Issues

PSP/DS/PC/MAC : WWII turn based grand strategy game

Moderators: firepowerjohan, rkr1958, Happycat, Slitherine Core

Post Reply
GeneralButtercup82
Lance Corporal - Panzer IA
Lance Corporal - Panzer IA
Posts: 17
Joined: Tue Feb 09, 2016 10:06 pm

Mac New OS - High Sierra Issues

Post by GeneralButtercup82 » Wed Oct 18, 2017 2:31 am

All Mac Users - I recently upgraded to High Sierra and when I try to load a game started under either High Sierra or Sierra it loads to the "enter your password" screen, as soon as I type a single key it jumps to "incorrect password"! Anyone else experiencing? Any possible fixes? Thanks.
Your Turn,
General Buttercup
generalbuttercup82@gmail.com

Itlnprd1
Administrative Corporal - SdKfz 251/1
Administrative Corporal - SdKfz  251/1
Posts: 130
Joined: Wed Feb 08, 2012 5:17 pm

Re: Mac New OS - High Sierra Issues

Post by Itlnprd1 » Wed Oct 18, 2017 11:12 am

Buttercup I thought that it was only me, well I downgraded one Mac so I was able to play, remember I sent out the upgrade email?

Itlnprd1
Administrative Corporal - SdKfz 251/1
Administrative Corporal - SdKfz  251/1
Posts: 130
Joined: Wed Feb 08, 2012 5:17 pm

Re: Mac New OS - High Sierra Issues

Post by Itlnprd1 » Wed Oct 18, 2017 8:33 pm

Let me know if you find a fix, because I would prefer both my Macs on High Sierra.

pk867
Colonel - Ju 88A
Colonel - Ju 88A
Posts: 1598
Joined: Fri May 08, 2009 3:18 pm

Re: Mac New OS - High Sierra Issues

Post by pk867 » Thu Oct 19, 2017 11:02 pm

Does Java need to be reinstalled?

Can you play a HotSeat game? What version of the game do you have?

I have not upgraded yet because I am the guy that handles Mac versions.

I do not want to hose my system until we get the final done.

VPaulus
Slitherine
Slitherine
Posts: 7934
Joined: Mon Dec 27, 2010 8:33 pm
Location: Portugal

Re: Mac New OS - High Sierra Issues

Post by VPaulus » Sun Oct 22, 2017 2:41 pm

I'm a Windows guy, but that sounds that it could be an administrator or permission issue. Are you logged in to the Mac as an administrator?

I'm not sure if this applies to the new High Sierra but follow these steps to ensure your program permissions are set to administrator levels:
1. Open System Preferences.
2. Select Users and Groups.
3. Make sure your user account has the Admin option beneath it.

If the issue persists, I suggest you to create a new administrator profile to see if a new admin account resolves the problem.
When you create a new administrator account, a separate Home folder is created so settings from another user account do not interfere with troubleshooting:

1. Click on the Apple menu and select System Preferences.
2. Click Users & Groups.
3. Click Add (+) below the list of accounts.
4. Choose Administrator from the New Account pop-up menu.
5. Enter a full name for the account.
Note: An account name is generated automatically. If you want to use a different account name, enter it now. After the account is created, you can’t change the account name.
6. Enter the account password in the Password and Verify fields, and then enter a hint to help you remember the password.
7. Click Create User.
8. Log in to the new Administrator account and retest the application you were having problems with.

baxteig
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 21
Joined: Sun May 22, 2011 10:45 am

Re: Mac New OS - High Sierra Issues

Post by baxteig » Wed Nov 08, 2017 10:45 pm

I've upgraded to High Sierra and getting the same problem - I tried your suggestion above and it didn't work. How was it resolved?

Peter Stauffenberg
General - Carrier
General - Carrier
Posts: 4693
Joined: Sun Jul 08, 2007 4:13 pm
Location: Oslo, Norway

Re: Mac New OS - High Sierra Issues

Post by Peter Stauffenberg » Thu Nov 09, 2017 9:27 pm

Which GS version are you running?

What happens if you play hotseat? Does the game work over several turns? Or do you get problems With other dialog boxes as well? E. g. what happens if you try to save the game and want to type in a different file save game name?

What happens if you start a Vanilla CEAW PBEM game? Do you have the same problem there?

I know there is MAC specific code in the class files something like this ub chatDialog.class used for asking for password:

if (System.getProperty("os.name").compareTo("Mac OS X") != 0) // GS v4.07
SwingUtilities.convertPointToScreen(warWindowLocation,this.getParent());

This is done trying to find the operating system. Maybe we get false trying to check for the MAC OS Version because High Sierra will give a different response. Do you know if High Sierra is considered to be Mac OS X or not?

I'm a window guy so I know very little about MAC PC's.

Peter Stauffenberg
General - Carrier
General - Carrier
Posts: 4693
Joined: Sun Jul 08, 2007 4:13 pm
Location: Oslo, Norway

Re: Mac New OS - High Sierra Issues

Post by Peter Stauffenberg » Thu Nov 09, 2017 9:41 pm

I just tried to add code to read the OS of my PC and it reported Windows Vista even though I'm running Windows 10. This is probably because the Java class files for CEAW are compiled With Java v1.4.2. At that time Windows 10 didn't exist.

So we might have to try out adding some code to read the Version for MAC users With different Versions including High Sierra to see what the code reports for that OS version. If it's the same as for the older MAC Versions.

We might need to have a volunteer with High Sierra installed who want to get GS v4.0 beta files where we can try out different code to understand what is going on. Anyone who want to get GS v4.0 early and help looking into this problem?

pk867
Colonel - Ju 88A
Colonel - Ju 88A
Posts: 1598
Joined: Fri May 08, 2009 3:18 pm

Re: Mac New OS - High Sierra Issues

Post by pk867 » Fri Nov 10, 2017 4:50 pm

High Sierra is Mac OS X and the code correctly identifies the operating system as 10.13.1 (High Sierra)

baxteig
Lance Corporal - SdKfz 222
Lance Corporal - SdKfz 222
Posts: 21
Joined: Sun May 22, 2011 10:45 am

Re: Mac New OS - High Sierra Issues

Post by baxteig » Sun Nov 12, 2017 7:05 pm

Hi,

Just back from London and catching up. I installed OS High Sierra and running GS V4.023. Current games not working as 'Invalid p/w' message comes up on entering one character of p/w. I'm not a techie, so need to go easy on me (!) but I'm happy to try out any suggestions.

Playing a new PBEM allows me to play first Axis move without a problem (no probs with setting p/w). First Allies move only allows one character p/w and in some cases then freezes.

Ian

pk867
Colonel - Ju 88A
Colonel - Ju 88A
Posts: 1598
Joined: Fri May 08, 2009 3:18 pm

Re: Mac New OS - High Sierra Issues fixed with v4.029

Post by pk867 » Mon Nov 20, 2017 12:18 am

Hi All,

High Sierra is broken when it comes to PBEM games, You can still play HotSeat and against the AI,

but the mechanics for PBEM is broken concerning password creation and verification. Oracle would have to fix the NSEvents

for Java as it pertains to High Sierra only.

This has been fixed in CEAW-GS v4.00 final using automatic password feature not manual.
Last edited by pk867 on Sun Dec 24, 2017 1:49 am, edited 1 time in total.

Peter Stauffenberg
General - Carrier
General - Carrier
Posts: 4693
Joined: Sun Jul 08, 2007 4:13 pm
Location: Oslo, Norway

Re: Mac New OS - High Sierra Issues

Post by Peter Stauffenberg » Tue Nov 28, 2017 8:41 pm

We have added code that might work as a workaround for High Sierra players. We're trying that out in the closed beta.

The reason behind the problems seems to be the Java code getText() that will create an edit Box to receive input text. It's only used when creating a game name and a typing in passwords. The workaround is that we have allowed players to Select Automatic passwords, thus bypassing the need to ask for passwords. The code will read certain data from the user and have that as a password. The data read is different for each user so you can't login to Your opponent's turn.

We will try and see how the workaround works in the beta.

yosefbenami
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 30
Joined: Wed Apr 29, 2009 9:45 pm

Re: Mac New OS - High Sierra Issues

Post by yosefbenami » Sun Dec 24, 2017 12:30 am

MAC-CEAW-GS v4.029 does not function very well on my MacBook Pro or iMac that run under High Sierra. My version is MacOS 10.13.2 Two problems that have appeared are these:

1. I cannot save a game in progress, though autosave does function. The game does not accept anything typed on the keyboard in the save game window. I had this happened before and found the solution was to change the version of JAVA on my Mac. That no longer seems to be a solution. This also happens with CEAW v4 and the original 2009 CEAW application and CNAW. I suspect that this a problem with JAVA's interaction with High Sierra. This problem does not occur on any of my older Macs, such as my old Macbook running MacOS 10.7.5. On my old MacBook CEAW v4.029 appears to run perfectly. It is also faster than under High Sierra. Under High Sierra, units move with a slight stutter.

2. It would be useful if some keys could be mapped, for example, on a laptop, it would be useful if the direction arrow keys, used for screen movement, can be mapped to the ‘AWSD’ keys as an option.

I hope that these problems can be fixed. I greatly appreciate the hard work done by all the volunteers that worked on this project in order to keep CEAW functionable on Macs. Great Job!

pk867
Colonel - Ju 88A
Colonel - Ju 88A
Posts: 1598
Joined: Fri May 08, 2009 3:18 pm

Re: Mac New OS - High Sierra Issues

Post by pk867 » Sun Dec 24, 2017 1:47 am

Hi,

For CEAW-GS 4.029 to work if playing a PBEM game you can only use the Automatic password feature. High Sierra does not work with Java

and Apple will have to fix to allow manual passwords.

The manual has instructions about this as for the older versions you are out of luck. You can save HotSeat and AI games since they do not require a password.

link - http://www.slitherine.com/forum/viewtop ... 18&t=81322

When you say not function very well that is not specific enough. Do you mean the resolutions? You can have full screen for low (1024x768) and for High 1920x1080 if your Mc supports that resolution. If not you can run 1024x768 windowed and 1366x768 windowed (not full screen) because it is a non supported resolution except in windowed mode.

You need to have the deprecated java installed from Apple.

yosefbenami
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 30
Joined: Wed Apr 29, 2009 9:45 pm

Re: Mac New OS - High Sierra Issues

Post by yosefbenami » Sun Dec 31, 2017 3:28 pm

Happy New Year!
I would like to know if anyone else using MacOS 10.13.2 (High Sierra) cannot get CEAW-GS to work properly. The problem is this: The input window for saving games does not work. Every time I try to input a file name, the dialog window disappears. The game can still be saved (although only once) because the name 'untitled' appears in the dialog box and the save works as long as I do not try to input any text or number. Nothing else can be entered in the dialog box.
I have tried everything I could think of, including removing the settings file and scenario files, reinstalling Java (Apple's latest install named '2017-001'), and reinstalling CEAW-GS v4.029. Everything else works fine except for the 'save game function'. Any keyboard input kicks me out of the dialog window every time.
I cannot say for certain if this is a new or old problem because until the recent upgrade, I have not used CEAW. However the game works fine on my older MacBook under MacOS 10.7.5 (Lion).
I would appreciate any suggestions to try though I suspect that this is an incompatibility problem between Java and High Sierra.

Peter Stauffenberg
General - Carrier
General - Carrier
Posts: 4693
Joined: Sun Jul 08, 2007 4:13 pm
Location: Oslo, Norway

Re: Mac New OS - High Sierra Issues

Post by Peter Stauffenberg » Mon Jan 01, 2018 10:16 am

What happens if you rename the untitled file name after it was created by entering the file folder where the save games are stored?

I think the file save creation box uses the same Java function as when asking for password.

yosefbenami
Corporal - 5 cm Pak 38
Corporal - 5 cm Pak 38
Posts: 30
Joined: Wed Apr 29, 2009 9:45 pm

Re: Mac New OS - High Sierra Issues

Post by yosefbenami » Mon Jan 01, 2018 2:08 pm

STAFFENBERG: Good suggestion.

I can change the file name in the save games folder and retrieve it when loading a game using CEAW-GS but I still cannot save a game with other than the name 'untitled'. When I try to enter a new game save file name, the file name reverts to 'untitled'. And if I try to change the file name, I am kicked out of the dialog box. I also suspected a problem with the password function and tried by reinstalling CEAW-GS both with 'automatic' and 'manual' settings but did not see any effect either way.

pk867
Colonel - Ju 88A
Colonel - Ju 88A
Posts: 1598
Joined: Fri May 08, 2009 3:18 pm

Re: Mac New OS - High Sierra Issues

Post by pk867 » Thu Jan 04, 2018 2:01 am

Hi You have to use the finder outside of the app (which is closed) and change the name.

You start an AI or HotSeat game. After moving, and completing your moves, click the Arrow to advance to the other side's turn. Then end the game.

Then use the finder to make a copy of the current ' * autosave' file. Rename the copy to what you want.

Then when you launch the app and Load either the Multiplayer or AI game and select the renamed file and it will open.

The key is advancing the turn to the next player then ending the game. If you try and rename before the file was created by the application then you have this problem.

So you can save the game at key points that you want.

This is the only workaround that will work because of the issue with High Sierra and naming passwords or game files for saving.

Post Reply

Return to “MILITARY HISTORY™ Commander - Europe at War : General Discussion”