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 > SH4 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 09-17-16, 03:41 PM   #1966
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,319
Downloads: 130
Uploads: 0


Default

Going up now.

Done.
MaxUnitsCreated-25.7z
__________________
I don't do Stupid. So don't ask.
Jeff-Groves is offline   Reply With Quote
Old 09-17-16, 03:42 PM   #1967
s7rikeback
I break things
 
s7rikeback's Avatar
 
Join Date: Jan 2013
Location: Merry Old England
Posts: 771
Downloads: 1106
Uploads: 10


Default Combined Fleet Mod

Doing final checks for Combined Fleet mod.

3 Ships so far with name issues.

CA New Orleans
DD C & D
DD Type7y

2 ships showing no bow spray or wake... Both Variants of Sub Tender

keep you posted..
__________________
s7rikeback is online   Reply With Quote
Old 09-17-16, 03:42 PM   #1968
cdrsubron7
Sink'em All
 
cdrsubron7's Avatar
 
Join Date: Mar 2001
Location: Naperville, IL
Posts: 2,150
Downloads: 305
Uploads: 1


Default

Quote:
Originally Posted by Jeff-Groves View Post
Going up now.

Done.
MaxUnitsCreated-25.7z

__________________



Head Deep and Keep'em Astern" - LtCDR Samuel D Dealy
SHIV Guide | Imperial Japanese Navy | US Submarines



cdrsubron7 is offline   Reply With Quote
Old 09-17-16, 03:53 PM   #1969
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,319
Downloads: 130
Uploads: 0


Default

Just noticed I missed a folder when making it JSGME ready.
Should be Data\Campaigns\Campaign
I've got Data\Campaign


And there are 16 more files in Stock with MaxUnitsCreated=100 I didn't include.
(And that's not counting the GE Campaign files.)

I've adjusted them and made them JSGME ready also.
(It does have the proper folders this time)
__________________
I don't do Stupid. So don't ask.

Last edited by Jeff-Groves; 09-17-16 at 04:56 PM.
Jeff-Groves is offline   Reply With Quote
Old 09-17-16, 07:20 PM   #1970
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,735
Downloads: 439
Uploads: 2


Default

Quote:
Originally Posted by Jeff-Groves View Post
Just noticed I missed a folder when making it JSGME ready.
Should be Data\Campaigns\Campaign
I've got Data\Campaign


And there are 16 more files in Stock with MaxUnitsCreated=100 I didn't include.
(And that's not counting the GE Campaign files.)

I've adjusted them and made them JSGME ready also.
(It does have the proper folders this time)
Jeff-Groves, thank you so much. Saves us a few hours of noodling with the long way home...
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 09-18-16, 02:30 PM   #1971
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,319
Downloads: 130
Uploads: 0


Default

Just took a look at files concerning Guns in Game.
I found the same Gun in 3 different files and all have the same ID's!


My work list keeps getting longer.


Now here's my thoughts on this.
Given that there's probably a bunch of Guns with the same name and ID's?
There's probably not an ID conflict.
Which version of the gun is loaded is any bodies guess though.
The SH4 version or one of the SH3 versions.
NOW! Rename just one of those Guns and keep the same ID?
You'll have a conflict and probably a CTD.

The other problem is wasted space on the HD, a larger then needed download package, (Which leads to eating more bandwidth to Download it all), and a possible unstable situation.
__________________
I don't do Stupid. So don't ask.

Last edited by Jeff-Groves; 09-18-16 at 02:43 PM.
Jeff-Groves is offline   Reply With Quote
Old 09-18-16, 03:32 PM   #1972
Rockin Robbins
Navy Seal
 
Join Date: Mar 2007
Location: DeLand, FL
Posts: 8,899
Downloads: 135
Uploads: 52


Default

Announcement. I am starting a cauldron run tonight or tomorrow morning to produce v0.2 Beta EN. Contents will be as follows:
  • 100 FalloftheRisingSun_Ultimate_v.1Beta_EN (of course)
  • 300MissionFiles_HunterKiller
  • 310 FOTRS Ultimate Ship Acceleration Model
  • 700FOTRSUSingle Missions
  • 800 Razz Dazz FOTRSU v0.65
  • FOTRS AIR SHIP SOUND_2
The stuff you guys are working on with Jeff-Groves, S7rikeback and others doing the testing is too important to rush and won't be in this run. Must have something to look forward to!


Thanks CapnScurvy for putting everything in the readme file that I needed to know about which mods needed to be included. Air_Ship_Sound includes Emulate Stock and Added Ships. So this release will increase our ship roster by 19! Let's freeze the ship additions after that in the interest of memory use.


I'll give everyone a chance to check over the list and comment before I actually start heating up the cauldron. This will be the first SH4 supermod ever to be mixed up on a Linux computer!
Rockin Robbins is offline   Reply With Quote
Old 09-18-16, 03:56 PM   #1973
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,319
Downloads: 130
Uploads: 0


Default

Memory usage will go down as I fix the obvious stuff I'm finding.
The Suspect Ships list itself will dump major overhead.
Then there's the Suspect Aircraft to fix. Another over head killer.

I looked at the Guns as in Stock testing Bismark has none.
Once I fix that? Even more over head is going to go!
I'm going to keep pecking away at the files.
That's what I'm good at.
__________________
I don't do Stupid. So don't ask.
Jeff-Groves is offline   Reply With Quote
Old 09-18-16, 05:11 PM   #1974
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,319
Downloads: 130
Uploads: 0


Default

Got a few quick lessons for copying/moving files and folders for ya.


Say I want to get all the ships from a list moved to a folder to work on them.
Now I'm not going to copy paste them!
Here's how I do it.

Copy the Sea folder and paste it to the C drive root.
Rename it to Movethis
Get your list of ships built into a text file which I name File-list.txt.

Copy the code below and name it Move-folders.bat
Place it and your file-list.txt file in the Movethis folder
Run this batch file and be amazed!

Code:
@echo off
Setlocal EnableDelayedExpansion
set dir_list=File-list.txt
set dest_folder=c:\target
mkdir %dest_folder%
for /f "delims=" %%a IN (%dir_list%) do (
   set dir=%%a
   if "!dir:~-1!"=="\" set dir=!dir:~0,-1!
   move "!dir!" "%dest_folder%\"
)
The move Units will be in a folder called target on the C root
Delete all the files left in the Movethis folder as they are not what you want anyway.

Next is how to move say just Mission files on a list.
__________________
I don't do Stupid. So don't ask.

Last edited by Jeff-Groves; 09-18-16 at 05:23 PM.
Jeff-Groves is offline   Reply With Quote
Old 09-18-16, 05:37 PM   #1975
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,319
Downloads: 130
Uploads: 0


Default

A simple new Batch file to copy say just mission files we want to work on.

Again we need a list of the files we want.

Then make a batch file from the code below.

Code:
@echo off
set src_folder=c:\Movethis
set dst_folder=c:\target
for /f "tokens=*" %%i in (File-list.txt) DO (move /S "%src_folder%\%%i" "%dst_folder%")
I named mine Move-files.bat

Again do the C root folder stuff by copying the Campain folder to C and renameing it.

This batch file and file list can remain on your desktop if you wish.
__________________
I don't do Stupid. So don't ask.
Jeff-Groves is offline   Reply With Quote
Old 09-18-16, 05:43 PM   #1976
Jeff-Groves
Village Idiot
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 5,319
Downloads: 130
Uploads: 0


Default

OK Jeff How do you get a list of things?

Good question!!


I use 010 Hex Editor!
For example.
MaxUnitsCreated=100
How many files have that?
010 gave me a list in less then 20 seconds.
I exported that list and did a few minutes work in Open Office to get it into a usable txt file.

Oh. The offer for a licensed copy to someone still stands.
__________________
I don't do Stupid. So don't ask.
Jeff-Groves is offline   Reply With Quote
Old 09-18-16, 06:42 PM   #1977
Rockin Robbins
Navy Seal
 
Join Date: Mar 2007
Location: DeLand, FL
Posts: 8,899
Downloads: 135
Uploads: 52


Default

Quote:
Originally Posted by Jeff-Groves View Post
Memory usage will go down as I fix the obvious stuff I'm finding.
The Suspect Ships list itself will dump major overhead.
Then there's the Suspect Aircraft to fix. Another over head killer.

I looked at the Guns as in Stock testing Bismark has none.
Once I fix that? Even more over head is going to go!
I'm going to keep pecking away at the files.
That's what I'm good at.
Excellent! Then we won't worry about the 19 new ships. And knowing that memory use will go down for v0.3 Beta, 0.2 Beta will be as much memory as we will ever use. Perfect!

Jeff, you're an invaluable addition to the team. As a matter of fact, everyone is an invaluable member of the team, contributing different things that wouldn't be possible without you. And you're all here because I know the path to success is to surround yourself with better people than yourself. I can truly say that I have done that. And I am absolutely certain that we will achieve more than I dreamed at the start of the Fall of the Rising Sun Ultimate project.

So S7rikeback, you've been a member of the team for a week and you will already have stuff in the mod! You know, it could only happen at Subsim. Is this a great place or what?

Okay, I'm going to do the cauldron run in the morning so any additions, subtractions, multiplications, divisions or fabrications need to be brought to the table by then. And I think v.03Beta EN goes to public beta unless there are some mighty persuasive objections!
Rockin Robbins is offline   Reply With Quote
Old 09-18-16, 06:46 PM   #1978
Rockin Robbins
Navy Seal
 
Join Date: Mar 2007
Location: DeLand, FL
Posts: 8,899
Downloads: 135
Uploads: 52


Default

Quote:
Originally Posted by Jeff-Groves View Post
A simple new Batch file to copy say just mission files we want to work on.

Again we need a list of the files we want.

Then make a batch file from the code below.

Code:
@echo off
set src_folder=c:\Movethis
set dst_folder=c:\target
for /f "tokens=*" %%i in (File-list.txt) DO (move /S "%src_folder%\%%i" "%dst_folder%")
I named mine Move-files.bat

Again do the C root folder stuff by copying the Campain folder to C and renameing it.

This batch file and file list can remain on your desktop if you wish.
Imagine what would have been possible if, instead of atrophying like the command line (DOS) did in Windows, it was allowed to grow and flourish like it has in Linux. The terminal command line is the holy temple of Linux, where all things are possible. In Windows, it's the shrunken and hated remains of when DOS was king.
Rockin Robbins is offline   Reply With Quote
Old 09-18-16, 08:30 PM   #1979
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,735
Downloads: 439
Uploads: 2


Default

Quote:
Originally Posted by Jeff-Groves View Post
OK Jeff How do you get a list of things?

Good question!!


I use 010 Hex Editor!
For example.
MaxUnitsCreated=100
How many files have that?
010 gave me a list in less then 20 seconds.
I exported that list and did a few minutes work in Open Office to get it into a usable txt file.

Oh. The offer for a licensed copy to someone still stands.
Jeff-Groves, I feel I am not worthy of the 010 Editor - it's been years since I used any programming of just about any sort, and I'm not sure what all it takes to do batch files in "modern" Windows past Win98Se... but it sure would help with several things. If s7rikeback isn't going for it, or hasn't already, I will.
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 09-18-16, 08:39 PM   #1980
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,735
Downloads: 439
Uploads: 2


Default

Quote:
Originally Posted by Rockin Robbins View Post
... Okay, I'm going to do the cauldron run in the morning so any additions, subtractions, multiplications, divisions or fabrications need to be brought to the table by then. And I think v.03Beta EN goes to public beta unless there are some mighty persuasive objections!
No additions from me. I might change things up a pinch on the sound files we use for "The Sound" fix, but later. cdrsubron7 & I are like two old hound dogs on the spawning problem, but we're slow (at least, I am - my legs are tired). We do have a scent though... more on that later.
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie 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 06:58 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.