Second Front

Second Front

Not enough ratings
Workshop Cleanup and file locations
By Axeking
How to delete your scenario from Workshop and where to find all the parts.

And a handy list of file locations for Second Front
   
Award
Favorite
Favorited
Unfavorite
Clean up a submitted workshop scenario
Once you have submitted a scenario to the workshop (check the workshop guide video for how to do this - Best look for workshop scenarios), if you want to change the name, or remove it completely you need to follow a few steps.

You may also encounter situations where you have modified your scenario in the editors, but SF won't let you submit it again.

Before you can try to submit again, you need to remove the existing content from workshop and then clean up the local file residue.

Go to the workshop item page for the scenario you want to delete. Write down the item id. You will need it later. You can see it in the url of the workshop item - "sharedfiles/filedetails/?id=xxxxxxx" (the xxxxxx part, could be 10 or more characters).

You can then delete your scenario from workshop using the owner controls "Delete" function. This will only remove it from Steam workshop.

Next step is to delete the workshop crumbs left behind. You will find these in your user folder (on windows):
C:\Users\your user name\AppData\LocalLow\Hexdraw\Second Front

In this folder you will see a series of folders with names like "ContentFolder636946798508740252". The number part is tied to the workshop item number, but is not the same. So if you have several, you will need to look into each to find the correct one.
How to find the proper workshop folder
Once you are looking at your folders, you will see inside each one a file labeled "WorkshopItemInfo.xml".

Inside this file (you can open it in notepad), you will find a line like this:
<PublishedFileId>2909084284</PublishedFileId>

The number here will match that of the scenario id you wrote down earlier if you are looking at the correct content folder.

When you have found the correct folder, you can delete it (and the files within).

Do not delete any other folders - they are for your other workshop contributions.

When this is done, you can go back to Second Front and edit your scenario, and the upload button will be available again.
Other useful locations
You can find the install folder of Second Front from the Steam client - use the manage function and choose to browse local files.

This will be something like the following (the drive letter may be different):
C:\SteamLibrary\SteamApps\common\Second Front

Inside this, there is a "Second Front_Data" folder containing a "StreamingAssets" folder.

In here there are several folders that might be of interest:
  • AutoSave - this folder contains all the auto saves made as you play. They are named "Auto Save XX Scenario Name" where "XX" is the turn number, and "Scenario Name" is the actual name of the scenario. Go here if you want to delete the auto created save games.
  • Maps - this contains sub folders for the maps you have created/edited. The "Draft" folder will have your map file "Scen Name.map" (without LOS calculations) , as well as a "Scen Name.los" LOS file if you have finalized the map. The "Final" folder contains the version of the map actually loaded for a scenario when you play it. This version is also the one that gets distributed via workshop scenario sharing.
  • Scenarios - this folder contains all of your scenarios you have created or edited. The "Campaign" folder will have any campaign you have created, while the "Single" folder will have all your non-campaign scenarios you have created.

Workshop scenarios to which you have subscribed appear in (again, drive letter may be different):
C:\SteamLibrary\SteamApps\workshop\content\1148490

Each scenario is saved in a folder with its name matching the workshop item id. And inside the folder, you will have a .scen scenario file, a .final map file, and a WorkshopItemInfo.xml file with details from the workshop on the scenario.