Cinéaste source – Comment créer un dossier Mod

This guide explains how to create a Mod folder for SFM, as well as why doing such is a good idea in the long run, along with some troubleshooting tips.

Creating the Mod Folder

1. Go to your Steam Library and launch SFM from there. You will see a window called SELECT LAUNCH OPTION. Choisir Launch SDK and then hit Jouer.

2. A new window called SDK Launcher shows up. Sous le Mod section, sélectionner Create New Mod or Add Existing Mod.

3. Inside this new window, type in the desired Mod’s Folder name. Try to avoid using special characters if possible, as it can lead to problems when reading the folder’s path.
Après ça, select Create.

4. A message saying The Mod [NAME OF FOLDER] was successfully added . Presse D'ACCORD.

5. Another message statesWith this action the mod ‘[NAME OF FOLDER]’ will be selected. . Sélectionner Annuler.

6. Now back in the SDK Launcher fenêtre, sélectionner Edit Search Paths For Selected Mod. The following window will show up.

7. À l'intérieur de Edit Search Paths fenêtre, you have all of the Mod’s Folders in your SFM installation. The list has a priority from top to bottom in what assets from each Mod Folder to loadso if for example, you have the same file in two folders, it will load the one that has the highest priority, which is the one at the top of the list. Be sure to tick the box of your newly created Mod Folder as well as move it to a desirable place on the list. When you’ve finished, presse D'ACCORD.

8. Before closing the SDK Launcher fenêtre, make sure the Choisi Mod Folder (at the bottom of the window) est réglé sur usermod (unless for a specific reason, do not change the default folder from usermod).

If the window Selecting Mod shows up when selecting usermod, presse D'ACCORD to make that folder the default one.

9. When finished, close the SDK Launcher window and boot SFM normally as you would.

Why Create a Mod Folder?

There are many reasons as to why you would want to create one, tel que:

  • Manual organization of folders that contain large groups of assets, especially if you have a lot of assets (like more than 100gb)
  • No longer the need to dump all files onto the usermod dossier, which can break assets in the long run
  • Easy tounmountwhen troubleshooting problems with assets
  • Control over which assets are loaded et what priority they have over other mod folders
  • Useful to control memory usage by blocking folders with largememory hungryassets
  • Overall just a good idea if you plan on expanding your asset library

Dépannage

Q1: I created a Mod Folder, but I can’t see it in the SFM directory, or even inside SFM!

UN: If you have followed everything correctly, there is still a small chance that for some reason, SFM won’t actually create said folder automatically (if you know why, merci de me le faire savoir dans les commentaires).

Pour résoudre ce problème, go to your SFM installation folder (if you don’t know where it is, Open Steam Library, right-click Source Filmmaker, puis sélectionnez Gérer, suivi de Parcourir les fichiers locaux, and finally open the jeu dossier.

Prochain, create the Mod Folder manually, with the exact same name as you typed in the Create New Mod or Add Existing Mod fenêtre.

Alors, create a new .txt file called gameinfo in said directory, and add this text to it:

"GameInfo"
{
	jeu "NAME OF FOLDER"
	title "NAME OF FOLDER"
	title2 "based on SFM SDK technology"
	type	multiplayer_only
	nomodels 1
	nohimodel 1
	nocrosshair 0
	hidden_maps
	{
		"test_speakers" 1
		"test_hardware" 1
	}
	nodegraph 0
	FileSystem
	{
		SteamAppId 1840
		ToolsAppId 1840
		SearchPaths
		{
			Jeu |gameinfo_path|.
			Game tf_movies
			Game tf
			Game hl2
		}
	}
}

Note to replace the [NAME OF FOLDER] with the name of the Mod Folder you want to create.

Alors, go back to the jeu dossier, and open up the usermod dossier. Ouvrez le gameinfo.txt file and you will see a section on the file that says SearchPaths, with all of the Mod Folders installed.

Add your Mod Folder’s name to the listwhile taking into consideration the order of where you place it in regards to priority. De préférence, place it in the same order as you did back in the Edit Search Paths fenêtre. (If you don’t know, ne t'inquiète pas, continue de lire)

Aussi, make sure not to type any other thing other than “Jeu” et le NAME OF FOLDER après. When finished, save and close the file and go back to the tutorial above, continuing off of the 6th step.

Q2: When opening up SFM, I see a window called Missing Mods in Search Paths, what do I do?

UN: If you see this window, it means you didn’t tick the box of your newly created Mod Folder during the Edit Search Paths window segment on the tutorial (in step 7). Go back and redo the tutorial from those step forwards, or your new folder won’t bemountedonto SFM, and it won’t be read from either.

Q3: When searching for my assets in the Asset Browser, my new assets don’t show up!

UN: You have to set the Mod Filter at the top of your Asset Browser’s window to All Mods, or at least the Mod Folder that you’re searching from.
If you don’t see your folder there, try the resolution to Question 1 (Q1) at the top of the Troubleshooting segment.

Ce guide sur Cinéaste source a été écrit par SpyKe. Vous pouvez visiter la publication originale à partir de ce lien. Si vous avez des inquiétudes concernant ce guide, n'hésitez pas à nous joindre ici.

A propos de l'auteur