SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   Silent Hunter 4: Wolves of the Pacific (https://www.subsim.com/radioroom/forumdisplay.php?f=202)
-   -   FOTRS Ultimate .9 on Mac (https://www.subsim.com/radioroom/showthread.php?t=242011)

MrNishino 08-06-19 01:23 AM

FOTRS Ultimate .9 on Mac
 
Hello,

My first post here: I'm running SH4 on my 2019 iMac, including stock v1.5 and FOTRS 1.3, with no problem by using a Wineskin wrapper. Just started using FOTRS Ultimate .9 and am very impressed with it, it's like a whole new game. That said, .9 is having performance issues (including freezing up) and I think some of that is that I'm not using Large Address Aware. I realize that that installation instructions for FOTRS Ultimate .9 call for running Large Address Aware, however since I'm using SH4 with Wineskin on my Mac, I'm not sure if there is a way to use Large Address Aware. Does anyone have any suggestions on how to make it run better? I really like this version and would love to really dig in and play it more.

Thanks in advance!

Aktungbby 08-06-19 01:46 AM

Welcome aboard!
 
MrNishino!:Kaleun_Salute:

THEBERBSTER 08-06-19 05:40 AM

A Warm Welcome To The Subsim Community > MrNishino
Subsim <> Make A Donation <> See The Benefits <> Support The Community
SH3 – 4 - 5 Tutorials > Downloads > Other Useful Information > See Links in My Signature Below

propbeanie 08-06-19 07:56 AM

Our resident Wine expert is MIA, and Rockin Robbins who does Linux and Wine is not around as much, but we'll see if he knows anything about the Mac Wineskin. Don't hold your breath though. Have you tried to find any info on playing old DirectX v9 games in any of the Wineskin documentation - if there is any?... Also, "Welcome to SubSim!" :subsim:
:salute:

cdrsubron7 08-06-19 10:38 AM

Welcome aboard, MrNishino. Happy to have you with us. :salute:

MrNishino 08-06-19 11:30 AM

Thanks for the welcome all!

No, I don't know much about Wine at all, I followed a tutorial and used a porting kit which did the work for me. I could try to do more research, though I must admit I'm not very comfortable with this stuff. Part of me is thinking maybe it would just be easier to run Windows 10 via Bootcamp. I even have a retired Mac laying around that I could use just for that. Maybe this would be easier and work more efficiently?

BarracudaUAK 08-06-19 02:57 PM

Quote:

Originally Posted by propbeanie (Post 2621714)
Our resident Wine expert is MIA...

Would you by chance be refering to me?

I'm here, I'm just not logging in every time I stop by.
I just wave as I roll by... :D





Quote:

Originally Posted by MrNishino (Post 2621671)
...
I'm not sure if there is a way to use Large Address Aware.

...




If memory serves, I could not get the SH4 specific Large Address Aware patch to work with the steam version, on WINE, running Linux...
Or maybe that was Fallout: New Vegas? :hmmm:


HOWEVER!


I did find a generic LAA patch program that simply changes the right 'bits' in the exe file header for most exe files, and it worked for FO:NV and also for SH4 I think...:hmmm:


It's been a while and I've been playing a bunch of other games (Kerbal Space Program, Fallout 4, etc.)


But, if you want to try to patch it, I can try to help.


Well I'm off to give this another go and refresh my memory on how to do this.




Barracuda

propbeanie 08-06-19 03:50 PM

:har: :lurk: why - yes, I was! :yeah:


You might be referring to the NTCore 4gig Patch? It doesn't use the MS netFramework :salute:

BarracudaUAK 08-06-19 05:46 PM

Quote:

Originally Posted by propbeanie (Post 2621787)
:har: :lurk: why - yes, I was! :yeah:


You might be referring to the NTCore 4gig Patch? It doesn't use the MS netFramework :salute:


Yeah, I think that's the one.

Just checked my Steam install folder for the "Win 7 64 bit" prefix (aka bottle), and I did indeed patch it with the generic 4gb patch.

Just ran a quick test, at the terminal type: wine 4gb_patch.exe sh4.exe


I had the file manager (Dolphin in KDE) open so I could see the changes as they happened...
4gb_patch.exe made a copy of sh4.exe named sh4.exe.Backup, then patched sh4.exe


I tried running SH4 and it kept complaining about missing .dll files, so... I'm reinstalling SH4.


I modded that one several times and I might have had issues.
Plus, it'll re-install directx, etc. since it will technically be the "first run", so that might fix it.
I've had this Steam install for a few years, occasionally Wine seems to 'reset' a prefix when it upgrades.


I'll post up how it goes once I've had a chance to test both un-patched and patched SH4.



EDIT: It's still complaining (and including some of the SH4 game files), so I'm trying my 32bit Win7 (formerly XP) install of the Windows Steam client.




Barracuda

BarracudaUAK 08-06-19 06:36 PM

And it works...




I tried the 32bit prefix where I had installed dx9 many moons ago, and sh4 worked (finally).
Both BEFORE, and AFTER the LAA patch.


Just for clarity...
At a terminal:

wine 4gb_patch.exe sh4.exe


And it should patch it with no issues.


Barracuda

propbeanie 08-06-19 06:50 PM

Noice... now for MrNishino to tell us if that works on a Mac... :salute:

MrNishino 08-06-19 09:32 PM

Just gave it a try, didn't work. Got a message "Couldn't open executable".

propbeanie 08-06-19 10:15 PM

I don't remember how the file attributes (sharing & permissions??) work on a Mac, been too long, but in Windows, there is a Read-only attribute that prevents anything from altering an executable file, unless you have administrator rights. Since the NTCore applet, and others like it, flip 2 bits in the header of the "target" file, if you don't have write permission, you might get that message... :salute:

BarracudaUAK 08-06-19 10:30 PM

Quote:

Originally Posted by MrNishino (Post 2621837)
Just gave it a try, didn't work. Got a message "Couldn't open executable".




Did you just (double) Click the 4gb_patch.exe?


If I do that in my file manager it gives me the same error.
To patch it I must use the terminal..



Does a Mac have a "terminal", i.e. a command line interface (like DOS was)?


I'm thinking it should, since Apples OS is (was) based on Unix...


I'll do some checking... Which OS version are you running?
Might help narrow it down a bit!:up:




I'll be back again... hopefully sooner this time.:D


Barracuda

BarracudaUAK 08-06-19 11:10 PM

So it does... found a few links here that walks you through how to access it.
This page is from 2012, and it's for OSX...
https://blog.teamtreehouse.com/intro...x-command-line


Scroll down the page in the link to:


"How to open the Command Line"
That should get you started, and give you a basic idea.


-------------------------------


IF you have a newer version of MacOS (when did it change?), then this link from 2017 may be more helpful.
https://www.taniarascia.com/how-to-u...cos-and-linux/


It goes into a bit more detail, but it still will tell you how to find it, and then gives more info.

Main area to focus on (for now) would be the Sections:
"What is the Command Line?"

until you reach the section "Creating Files and Directories".


You can skip the rest (for now), as it is not necessary to know to use the patch.

Either will give you the basic commands (they are the same), but appearently accessing the terminal is different.

Then we just need find your SH4 Directory/Folder and then we can get sh4.exe patched.


------------------------------------------------------------------------------------------------------

If you want to check WINDOWS file permissions, i.e. "read only"...
In the Terminal type:


wine winefile


This will start a Win95/98 style file manager.
Find your SH4 folder
"Right-click" on sh4.exe (I'm not sure how you do that on a Mac...)

Select "Properties"
Then look for the "Read Only" check-box at the bottom.
IF it is 'checked', click the box to 'uncheck' it and then click OK.


Exit "winefile" by clicking "File" in the top left corner
Then Click "Exit".
------------------------------------------------------------------------------


Barracuda


All times are GMT -5. The time now is 12:05 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.