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)
-   -   [REQ}{INFO} Creating a mod folder? (https://www.subsim.com/radioroom/showthread.php?t=165109)

Patboot 03-16-10 11:08 AM

[REQ}{INFO} Creating a mod folder?
 
What's the drill for making changes to the game setup, then making those into a mod suitable for JSGME? Search fails me- maybe I'm not asking it nicely.

Pisces 03-16-10 11:23 AM

- Go to C:\Program Files\Silent Hunter III\MODS folder, (or wherever it is installed)
- Create a folder with a name that identifies as your mod.
- Inside it recreate the folderstructure of the game with only the folders that get changed files into it. And put the changed files where they belong. This usually starts with a Data-folder as the base.

When done test it by enabling the mod and play.

p.s. the search engine of subsim cannot search the readme/help file that comes with JSGME itself. ;)

Patboot 03-16-10 03:04 PM

That's about what I thought was the process, I just wasn't quite sure where to put it. So, just each changed line in the file needs saving? Not the entire changed folder? Or would that work as well?

Pisces 03-16-10 06:23 PM

I'm not sure what you mean with:
Quote:

So, just each changed line in the file needs saving? Not the entire changed folder?
You can only modify files once. I mean, the game can't handle multiple versions of the same file. A file needs to be saved only once after you enter all modifications (text lines?) you make into it. Ofcourse you can make a change, then save, and later make another change on the same file, and save that.

Folders cannot be modified, they just contain files and it keeps all files apart in a nice orderly structure. (You don't want to do business in a folder where every file is thrown into one huge heap) In the case of the mod folderstructure, you only need to make enough folders to give the modified game files their propper place. Files you didn't modify do not need to be included in your game. Neither do you need to include folders that are empty by default, or would contain only unmodified files. Ofcourse you do need to include those folders that have other folders, that have folders .... that have folders that contain modified files.

In other words, and in a figure of speech, if you have a (modified) leaf on a tree, that leaf is hanging on a twig, that is on a branch, that is connected to a bigger branch, that is connected to the trunk, which is on the root. JSGME needs all those intermediate parts as folders to propperly place you modified leaf. Or else the leaf, with perhaps the twig and minor branch fall to the ground if it is not supported by the bigger parts. Branches, twigs that lead to leafs that have not be modified can be ignored.

Did that make sense? Are you sure you know what the difference is between files and folders (aka directories).

Madox58 03-16-10 06:28 PM

Read the JSGMEHelp.txt file in your SH III folder.

There is a lot of info there.
:salute:


All times are GMT -5. The time now is 05:58 PM.

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.