![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
08-06-19, 09:32 PM
|
#1 |
|
Watch
![]() Join Date: Jul 2019
Posts: 15
Downloads: 41
Uploads: 0
|
Just gave it a try, didn't work. Got a message "Couldn't open executable".
|
|
|
08-06-19, 10:15 PM
|
#2 |
|
CTD - it's not just a job
|
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 naysayers" - Jimbuna |
|
|
08-06-19, 10:30 PM
|
#3 | |
|
XO
![]() |
Quote:
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 |
|
|
|
08-06-19, 11:10 PM
|
#4 |
|
XO
![]() |
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... |
|
|
08-07-19, 01:12 AM
|
#5 |
|
Watch
![]() Join Date: Jul 2019
Posts: 15
Downloads: 41
Uploads: 0
|
Just tried the terminal and got the message "cannot execute binary file". And my OS is 10.14.6. Thanks!
|
|
|
08-07-19, 02:26 AM
|
#6 | |
|
XO
![]() |
Quote:
Ok, a quick search on this shows that the file is either, A: not compiled (unlikely) or B: A Linux executable (that would be WINE). So, since WINE is compiled and running, and we know it is because you could play SH4... That leaves me with a few questions: 1: Where you in the SH4 folder in the terminal? 2: Is the 4gb_patch.exe in the SH4 folder? and last and possibly most important: 3: Where is WINE installed??? I'm thinking 1 and 2 are "yes", given the error message, but just to confirm. I'll investigate the last question. EDIT: Quick test, can you open a terminal and type: wine --version It should print out the version that you have, this will let me confirm it is talking about WINE. On my system I get this: wine-4.12.1 (Staging) Yours should be similar. END EDIT. Barracuda |
|
|
|
08-07-19, 09:17 AM
|
#7 |
|
Watch
![]() Join Date: Jul 2019
Posts: 15
Downloads: 41
Uploads: 0
|
Yes to 1 & 2. This is running on a Wineskin Wrapper. As far as location, I have a directory I named Silent Hunter Fall of the Rising Sun, which contains three folders: Contents, drive_c, and Wineskin.
The folder "drive_c" contains the Ubisoft SH4 files, buried under a couple layers. The "Contents" folder contains some Wine files, including a Wineskin launcher and Unix executable called winetricks. In the "Wineskin" folder, where I ran Terminal, this is what I could find so far: Wineskin 2.9.0.2, Engine: WS10WineCX64Bit18.5.0. |
|
|
08-07-19, 07:37 PM
|
#8 |
|
XO
![]() |
I saw you post earlier, but just got a chance to reply...
I'm digging, but just wanted to let you know I'm still looking... ![]() Barracuda |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
