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:53 PM   #1
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
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)

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   #2
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


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 naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 09-18-16, 02:30 PM   #3
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
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.

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   #4
Rockin Robbins
Navy Seal
 
Join Date: Mar 2007
Location: DeLand, FL
Posts: 8,844
Downloads: 136
Uploads: 50


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   #5
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
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.
Jeff-Groves is offline   Reply With Quote
Old 09-18-16, 05:11 PM   #6
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
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.

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   #7
Jeff-Groves
GLOBAL MODDING TERRORIST
 
Jeff-Groves's Avatar
 
Join Date: Sep 2014
Posts: 4,242
Downloads: 149
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.
Jeff-Groves is offline   Reply With Quote
Old 09-18-16, 06:42 PM   #8
Rockin Robbins
Navy Seal
 
Join Date: Mar 2007
Location: DeLand, FL
Posts: 8,844
Downloads: 136
Uploads: 50


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, 08:39 PM   #9
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


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 naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 12:27 AM.


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