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-08-19, 11:50 PM   #31
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,738
Downloads: 439
Uploads: 2


Default

Quote:
Originally Posted by MrNishino View Post
Since I am planning on trying the Windows via Bootcamp method, I could try this once I have Windows running. I have an older retired Mac laying around where I was going to try Windows first (so I don’t have to have it on my newer one if I don’t like Windows).
Oh, it is a paradigm shift, to say the least... Even after 30 years, I still miss aspects of the old Macintosh II machines. Then again, I miss my C-64...
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 08-09-19, 12:08 AM   #32
BarracudaUAK
Captain
 
Join Date: Apr 2016
Posts: 520
Downloads: 31
Uploads: 0


Default

Quote:
Originally Posted by MrNishino View Post
I will give all this stuff a try this weekend when I get a chance and report back. And thanks once again!

Any time...
As I dig for info, I post things I would be trying, if I was sitting in front of the computer.
Appologies if that get tiresome.

Quote:
Originally Posted by propbeanie View Post
...
All you need to do though is set the bits on the SH4.exe file... do you have a PC available that you could copy the SH4.exe to, even by sneaker-net, and set the bits on the PC with NTCore, copy it back to the Mac and see what happens?...

Also a possibility...
I was about to suggest hex-editing it by hand, but he might think we are crazy and run away screaming.

Quote:
Originally Posted by MrNishino View Post
My Mac OS is 64 bit and allows 32 bit software to run, but when the next big OS version comes out that will end (per Apple’s announcement). I don’t have a PC, but that’s an interesting idea and I could give it a try. I’ll try that as well this weekend. Thanks!
Quote:
Originally Posted by MrNishino View Post
Since I am planning on trying the Windows via Bootcamp method, I could try this once I have Windows running. I have an older retired Mac laying around where I was going to try Windows first (so I don’t have to have it on my newer one if I don’t like Windows).

Sounds like a viable solution, even if it is just for running nothing but mod tools.

I have a few WINE 'prefixes' (aka "bottles") configured for the sole purpose of running mod tools, save editors, etc.

I should be around my PC this weekend, if you need any more "help" lemme know.

A lot of good it's been so far!



Barracuda
BarracudaUAK is offline   Reply With Quote
Old 08-09-19, 01:30 AM   #33
MrNishino
Watch
 
Join Date: Jul 2019
Posts: 15
Downloads: 41
Uploads: 0
Default

Success!! (Sort of).

Since I have no idea about how Wine runs or where it's installed or anything about this stuff (and computers in general) at all, I downloaded Wine off WineHQ and installed in a logical location. In order for it to run, it requires XQuartz also installed.

Well, well, well, the 4gb Patch didn't work, but LAA did. And it did indeed modify the SH4 exe. And SH4 FOTRS indeed appears to be functional. It does not appear to freeze up - I ran Battle off Samar, which had previously killed it instantly and it seems to be ok. That said, the performance is not exactly impressive and not confidence inspiring. Good enough to play, but I wouldn't be surprised to see it freeze up every so often either. It'll need more testing.

Knowing that Wine and LAA do indeed work, I'm thinking that I could try to a reinstall this weekend not using the porting kit I had used, just to see if that could improve the performance. I also am curious how it compares with a Windows install.

And then of course there's the open question about what happens when the newest Mac OS comes out in the next couple months.

Thank you once again Gentlemen!

Last edited by MrNishino; 08-09-19 at 01:39 AM.
MrNishino is offline   Reply With Quote
Old 08-09-19, 09:16 AM   #34
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,738
Downloads: 439
Uploads: 2


Default

Congratulations on the partial success of at least getting the bits in SH4.exe flipped to show that it can address over 2gig of RAM. As for "efficiency" with the game, one big thing is to empty the Save folder. The game installs in the Silent Hunter folder, but actually runs mostly off of the data that is transferred to the Save folder automatically when you run the game the first time. If you don't clear the Save folder, the old data in that folder is still used, even though you might have newer data in the game folder now, such as a new mod activated. Very frustrating aspect of the older games.

For the video display with Windows, you want to match the monitor to Windows to the game. In other words, if you have a 1980x1024 display, set Windows to that same 1980x1024 display setting. Once in the game, scroll down the list of settings for the same display resolution. That way, you've got a one-to-one ratio and no conversions. Also, those other settings in the "Options - Graphic Settings" in the game can make or break your "efficiency". I am on an i7 laptop with onboard Intel graphics, with a 1600x900 display (Windows set the same), so shared memory with the 8gig of RAM in the beast, and this is what it will run:



my old i3 (may it rest in peace) was similar. I also have sober's anti-lag now running on the laptop as an experiment, with the the cfg file set to "RenderAheadLimit=2" and "FPSlimit=30", to see if I can control its framerate. You do not need over 30fps in the game, since it doesn't use anything over that, and all you do when it runs higher, is throw the game's internal "clocks" out of whack, taking them out of sync with each other, as Front Runner discovered. I am going to have to change my game resolution settings to the 60Hz choice though, because I am getting a steady 25fps in the game right now with the above settings at 40Hz. Previous to putting in anti-lag, it would run at 45-70 fps, depending upon what was happening around my boat.
__________________

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

Where is the Save folder located? I don't see a folder called Save, but I do see a file called Settings.sav and that was modified last night.

And in terms of screen settings: my display is 4k and the OS is set to that. When I've run SH4 in 4k, it made the game controls too small to read. Is there a setting or mod for that perhaps?

Last edited by MrNishino; 08-09-19 at 12:02 PM.
MrNishino is offline   Reply With Quote
Old 08-09-19, 12:11 PM   #36
BarracudaUAK
Captain
 
Join Date: Apr 2016
Posts: 520
Downloads: 31
Uploads: 0


Default

Quote:
Originally Posted by MrNishino View Post
Success!! (Sort of).
...
Good to hear. (I know that feeling!)


SH4 saves in Windows are usually in "My Documents"...
Which means with WINE it'll be 1 of 2 places...

In Linux when the Distro (such as Fedora) has WINE set to do the 'desktop integration'...
It uses the "Documents" folder...

Should be either:

1: ~/Documents/SH4

or in the .wine folder,

2: ~/.wine/drive_c/users/[user-name]/My Documents

"~" is usually /home/[user-name] (on Linux/BSD/UNIX)
I'm not exactly sure if MacOS changes that, and in UNIX a "." means it's 'hidden'.


Barraucda

Last edited by BarracudaUAK; 08-09-19 at 01:24 PM.
BarracudaUAK is offline   Reply With Quote
Old 08-09-19, 02:11 PM   #37
MrNishino
Watch
 
Join Date: Jul 2019
Posts: 15
Downloads: 41
Uploads: 0
Default

I have a ~/Documents/SH4/data/cfg folder, inside are:

some .cfg and .tmp files, and:

/SaveGames
/UPCInitial
/UserPlayerContext
/UserPlayerContextGE

Could I just delete or empty the entire ~/Documents/SH4 folder?

I'm also going to try a fresh install without opening it prior to running LAA and installing FOTRS and compare how they run.
MrNishino is offline   Reply With Quote
Old 08-09-19, 02:21 PM   #38
BarracudaUAK
Captain
 
Join Date: Apr 2016
Posts: 520
Downloads: 31
Uploads: 0


Default

Quote:
Originally Posted by MrNishino View Post
...

Could I just delete or empty the entire ~/Documents/SH4 folder?

I'm also going to try a fresh install without opening it prior to running LAA and installing FOTRS and compare how they run.



Yes, SH4 will create all needed files.



Barracuda
BarracudaUAK is offline   Reply With Quote
Old 08-09-19, 04:59 PM   #39
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,738
Downloads: 439
Uploads: 2


Default

Quote:
Originally Posted by MrNishino View Post
Where is the Save folder located? I don't see a folder called Save, but I do see a file called Settings.sav and that was modified last night.

And in terms of screen settings: my display is 4k and the OS is set to that. When I've run SH4 in 4k, it made the game controls too small to read. Is there a setting or mod for that perhaps?
The 4k resolution is 4096x2160, which is basically a 1.9:1 resolution, so you could do a divisible of that, such as half at 2048x1080, or 2k, and you should see a definite size improvement, and not end up with a distorted image.
__________________

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

Cleared out that folder and it does indeed help - noticeable improvement in performance. Not perfect, but fully usable. I'll probably try the Windows installation at some point and will report back on how it goes, but right now at least I have a fully functioning game.

With regard to Mission Editor and Wine, what do you suggest? Should I make a wrapper for that as well or just open it in Wine? I've already been working on a few missions over the past couple weeks (and would love to contribute them to this site once they're in good shape).
MrNishino is offline   Reply With Quote
Old 08-09-19, 11:15 PM   #41
BarracudaUAK
Captain
 
Join Date: Apr 2016
Posts: 520
Downloads: 31
Uploads: 0


Default

Quote:
Originally Posted by MrNishino View Post
Cleared out that folder and it does indeed help - noticeable improvement in performance. Not perfect, but fully usable. I'll probably try the Windows installation at some point and will report back on how it goes, but right now at least I have a fully functioning game.

With regard to Mission Editor and Wine, what do you suggest? Should I make a wrapper for that as well or just open it in Wine? I've already been working on a few missions over the past couple weeks (and would love to contribute them to this site once they're in good shape).

Good to know it's working.



Try the one that you are using for SH4.
I have the Steam version of SH4 1.5, and I can only get the mission editor to run in the same prefix/bottle that SH4 runs in.


Barracuda
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:42 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.