SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 08-06-19, 03:50 PM   #1
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,799
Downloads: 444
Uploads: 2


Default

why - yes, I was!


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

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 08-06-19, 05:46 PM   #2
BarracudaUAK
Captain
 
Join Date: Apr 2016
Posts: 520
Downloads: 33
Uploads: 0


Default

Quote:
Originally Posted by propbeanie View Post
why - yes, I was!


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

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

Last edited by BarracudaUAK; 08-06-19 at 05:57 PM.
BarracudaUAK is offline   Reply With Quote
Old 08-06-19, 06:36 PM   #3
BarracudaUAK
Captain
 
Join Date: Apr 2016
Posts: 520
Downloads: 33
Uploads: 0


Default

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
BarracudaUAK is offline   Reply With Quote
Old 08-06-19, 06:50 PM   #4
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,799
Downloads: 444
Uploads: 2


Default

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

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 08-06-19, 09:32 PM   #5
MrNishino
Watch
 
Join Date: Jul 2019
Posts: 15
Downloads: 41
Uploads: 0
Default

Just gave it a try, didn't work. Got a message "Couldn't open executable".
MrNishino is offline   Reply With Quote
Old 08-06-19, 10:15 PM   #6
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,799
Downloads: 444
Uploads: 2


Default

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...
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 08-06-19, 10:30 PM   #7
BarracudaUAK
Captain
 
Join Date: Apr 2016
Posts: 520
Downloads: 33
Uploads: 0


Default

Quote:
Originally Posted by MrNishino View Post
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!




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


Barracuda
BarracudaUAK is offline   Reply With Quote
Old 08-06-19, 11:10 PM   #8
BarracudaUAK
Captain
 
Join Date: Apr 2016
Posts: 520
Downloads: 33
Uploads: 0


Default

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

Last edited by BarracudaUAK; 08-07-19 at 02:09 AM. Reason: Spelling...
BarracudaUAK is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:43 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.