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

Closed Thread
 
Thread Tools Display Modes
Old 04-09-09, 11:42 PM   #46
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Quote:
Originally Posted by Aces View Post
May I ask if you might consider incorporating a feature in a later version if it is possible. I (and maybe others) switch between mods eg. I use one "set" of mods and then on another occasion another "set". I do this when I am working on my movie mostly as there are some mods which don't work with others. Would it be possible to incorporate multiple profiles and multiple Backup folders eg. switch between profiles to load a set of mods in the order previously selected and saved with. I hope this makes sense.
You can actually do this now, although I agree that a more overt implementation of "mod profiles" would be useful for general users. So I'll add it to my "to-do" list.

Anyway, to achieve what you want now, here's what I'd do...
  1. Create a new text file in the same folder as JSGME.exe (ie root game folder). Call this something meaningful, like "Mod Profile for movie making.txt"
  2. Add the following two lines:
    Code:
    JSGME.exe /da /x
    JSGME.exe /e "Name of first mod to enable" "Name of second mod" "Name of third mod" "And so on" /x
  3. Close the text file and replace .txt extension with .bat (ending up with "Mod Profile for movie making.bat"
Repeat these steps for each mod set so that you end up with a series of unique bat files.

Then, in future, instead of running JSGME directly, run the bat file of your choice. JSGME will then automatically disable the existing mods and apply the ones that you stipulated in your profile.

Check the Help file for an explanation of the switches that can be used in the bat file.

Set up shortcuts to each bat file to make it easier to access them.

In a later version I'll add specific profile management, but for now this will work just fine.
JScones is offline  
Old 04-10-09, 01:11 AM   #47
Aces
Ace of the Deep
 
Join Date: Apr 2005
Location: London, UK
Posts: 1,140
Downloads: 211
Uploads: 0


Default

Billiant!!!. thanks very much for this info I forgot about .bat files and command line switches that's great.

Kind regards

Aces
Aces is offline  
Old 04-12-09, 03:10 AM   #48
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Just so everyone knows, here's what's on my to-do list for the next release:

- add ability to also remove whole folders with -remove switch
- allow sorting of activated mods list OR add ability to search list
- add ability to disable subsequent mods when trying to disable a "greyed out" mod
- add ability to manage mod profiles

And I guess whatever comes out of the current poll.

If I can recruit assistance, I may also consider theme support. Feel free to email me if you want to volunteer to help.
JScones is offline  
Old 07-12-09, 02:01 PM   #49
Syneon
Bilge Rat
 
Join Date: Jul 2009
Posts: 1
Downloads: 4
Uploads: 0
Default

Just to get this clear..

Where exactly should I install JSGME if I have SH4?
Syneon is offline  
Old 07-12-09, 03:06 PM   #50
tonschk
Admiral
 
Join Date: Mar 2007
Posts: 2,200
Downloads: 172
Uploads: 0
Default

I already updated from the V2,1 to the V2.2 new version , thank you very much
__________________
What we do in life echoes in Eternity
tonschk is offline  
Old 07-22-09, 08:49 PM   #51
onelifecrisis
Maverick Modder
 
Join Date: Aug 2007
Location: England
Posts: 3,895
Downloads: 65
Uploads: 3
Default

JScones, I found a bug.

JSGME doesn't like it when you put a = character in a mod name. Perhaps you could add a check for that character and prevent the user from enabling the mod if an = character is found? Otherwise they end up where I am now (manually disbabling the mod and restoring the JSGME backup files one at a time).
__________________
Freedom of speech - priceless. For everything else there's Mastercard.
onelifecrisis is offline  
Old 08-31-09, 06:22 PM   #52
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default

Quote:
Originally Posted by onelifecrisis View Post
JScones, I found a bug.

JSGME doesn't like it when you put a = character in a mod name. Perhaps you could add a check for that character and prevent the user from enabling the mod if an = character is found? Otherwise they end up where I am now (manually disbabling the mod and restoring the JSGME backup files one at a time).
yes, i confirm Olc's words! i had the same issue ( hadn't seen this post ) and all the backfiles were...'lost' ! or...no ? i mean ...are they 'hiding' somewhere or i lost them definitively ?
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods
makman94 is offline  
Old 09-01-09, 12:59 AM   #53
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

OLC, have you an example I can test "live"?
JScones is offline  
Old 09-01-09, 01:20 AM   #54
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,638
Downloads: 615
Uploads: 0
Default

Quote:
Originally Posted by makman94 View Post
....and all the backfiles were...'lost' ! or...no ? i mean ...are they 'hiding' somewhere or i lost them definitively ?
Hi makman94,

the backup files are in ...\SilentHunterIII\MODS\!BACKUP\...
!BACKUP is a hidden folder.

Cheers,
SquareSteelBar
SquareSteelBar is offline  
Old 09-01-09, 11:52 AM   #55
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default

Quote:
Originally Posted by SquareSteelBar View Post
Hi makman94,

the backup files are in ...\SilentHunterIII\MODS\!BACKUP\...
!BACKUP is a hidden folder.

Cheers,
SquareSteelBar
thank you SquareSteelBar !
i found them but my pc is 'telling' me that cannot 'read' these files ....
any idea?
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods
makman94 is offline  
Old 09-01-09, 12:17 PM   #56
SquareSteelBar
Sea Lord
 
Join Date: May 2006
Location: U-73
Posts: 1,638
Downloads: 615
Uploads: 0
Default

Quote:
Originally Posted by makman94 View Post
thank you SquareSteelBar !
i found them but my pc is 'telling' me that cannot 'read' these files ....
any idea?
Maybe that's the rason: JSGME appends the mod's name to every backup file, e.g. menu_1024_768.ini.Integrated Orders in which Integrated Orders is the mod's name and menu_1024_768.ini is the backed up file's name. If you remove .Integrated Orders you'll get your genuine file.
Now your PC should be able to 'read' it, in this case by any text editor like 'notepad'. Otherwise the file is corrupted...
SquareSteelBar is offline  
Old 09-01-09, 12:38 PM   #57
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default

Quote:
Originally Posted by SquareSteelBar View Post
Maybe that's the rason: JSGME appends the mod's name to every backup file, e.g. menu_1024_768.ini.Integrated Orders in which Integrated Orders is the mod's name and menu_1024_768.ini is the backed up file's name. If you remove .Integrated Orders you'll get your genuine file.
Now your PC should be able to 'read' it, in this case by any text editor like 'notepad'. Otherwise the file is corrupted...
that's it !!! thank you very much SquareSteelBar !
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods
makman94 is offline  
Old 09-01-09, 12:47 PM   #58
makman94
Hellas
 
Join Date: Jul 2008
Posts: 2,325
Downloads: 182
Uploads: 7


Default

Quote:
Originally Posted by JScones View Post
OLC, have you an example I can test "live"?
hello JScones,

just create a mod and name it as you like but put the = in mod's name .for example '' periscope with zoom=12 ''
when you try to disable it ...you will see the 'problem'

bye
__________________
Knowledge is the only thing that nobody can ever take from you...



Mediafire page:http://www.mediafire.com/folder/da50.../Makman94_Mods
makman94 is offline  
Old 09-03-09, 07:22 AM   #59
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

Ah, I see the problem.

The = character is creating confusion in the ini file, because in an ini file = is a reserved character.

It's easily worked around at the user level (I won't go too far into that considering the pain you guys have gone through), but of course I'll look at a fix, hopefully sometime this weekend.

Thanks for the catch guys.

Last edited by JScones; 09-03-09 at 07:50 AM.
JScones is offline  
Old 09-04-09, 05:52 AM   #60
JScones
Navy Seal
 
Join Date: Apr 2005
Posts: 5,501
Downloads: 19
Uploads: 0
Default

I'll also look at incorporating some other user requests, viz:

Most likely
- ability to support mod profiles
- ability to sort or search activated mods list
- ability to auto-disable subsequent mods when trying to disable a "greyed out" mod

Maybe likely
- ability to remove folders as well
JScones is offline  
Closed Thread

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 03:41 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.