SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   [REL] JSGME v2.2.0 now available! (https://www.subsim.com/radioroom/showthread.php?t=141773)

JScones 04-09-09 11:42 PM

Quote:

Originally Posted by Aces (Post 1080638)
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.

Aces 04-10-09 01:11 AM

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

Kind regards

Aces

JScones 04-12-09 03:10 AM

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.

Syneon 07-12-09 02:01 PM

Just to get this clear..

Where exactly should I install JSGME if I have SH4?

tonschk 07-12-09 03:06 PM

:yeah: I already updated from the V2,1 to the V2.2 new version , thank you very much :salute:

onelifecrisis 07-22-09 08:49 PM

JScones, I found a bug. :arrgh!:

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).

makman94 08-31-09 06:22 PM

Quote:

Originally Posted by onelifecrisis (Post 1138851)
JScones, I found a bug. :arrgh!:

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 ?

JScones 09-01-09 12:59 AM

OLC, have you an example I can test "live"?

SquareSteelBar 09-01-09 01:20 AM

Quote:

Originally Posted by makman94 (Post 1163002)
....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

makman94 09-01-09 11:52 AM

Quote:

Originally Posted by SquareSteelBar (Post 1163156)
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 .... :hmmm:
any idea?

SquareSteelBar 09-01-09 12:17 PM

Quote:

Originally Posted by makman94 (Post 1163370)
thank you SquareSteelBar !
i found them but my pc is 'telling' me that cannot 'read' these files .... :hmmm:
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...:timeout:

makman94 09-01-09 12:38 PM

Quote:

Originally Posted by SquareSteelBar (Post 1163396)
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...:timeout:

that's it !!! thank you very much SquareSteelBar ! :up:

makman94 09-01-09 12:47 PM

Quote:

Originally Posted by JScones (Post 1163151)
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

JScones 09-03-09 07:22 AM

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. :up:

JScones 09-04-09 05:52 AM

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


All times are GMT -5. The time now is 12:59 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.