City of Gangsters

City of Gangsters

Not enough ratings
Guide for Save Editing in City of Gangsters
By The Mogician
A guide for save editing in City of Gangsters
   
Award
Favorite
Favorited
Unfavorite
Prep Work
To do save editing, you need:
1. to know the location of the save files: AppData\LocalLow\SomaSim\City of Gangsters\saves\
2. to have a unzipper. Personally I use 7zip since it is free but I assume you can use other unzippers.
3. to have a text editor. Technically the Windows Notebook works, but I suggest using something better such as Notepad++ (which is free).

Before you start, go to the save location, if you have any save games, there should be one or more folders that are named with random numbers. These contain your save file folders. Enter the one you want (you can figure out the one you want with the timestamps on the folders), unzip the savedata.sim.zip file and extract the savedata.sim. This is the file we will be editing.

An alternative method according to Steam user Wilberforce indicates that you can simply do the text editing inside the zip folder without unzipping it in the first place. This means it will be easier to edit, but at the cost of having to make separate copies as backup.

Make sure you back up any save files before editing just in case.
Open the savedata.sim with your choice text editor.
Once all that is done, we are ready to proceed.
How to expand your storage?
To "expand your storage", you need to figure out which storage is the one you want to expand in the first place. To do that, you can place some money into your storage, make it a somewhat random number, once you do that, save the game and open up the save file.

Ctrl+F and look for "money {cash <whatever amount of money you put in there>}"
Just as a precautionary measure, check the contents section right above the cash section and make sure it matches what you had in your storage.
Then go to the id section above, which should say something like inventory-basement-small (or something similar), change it to inventory-warehouse-large so you can have a large industrial storage (warehouse) in the back of your small meat store or small barber shop somehow. So far, inventory-warehouse-large seems to be the largest storage available but feel free to correct me if I am wrong.

Thanks to Steam User Brekkik, who pointed out that inventory-basement-improved is in fact the largest storage space.
How to unlock all buildings/skills/building expansions/features?
There are two bits, unlocked resources and current skills. Unlocked resources allows you to see the items while the skills enable the buildings and whatnot.

Find their corresponding codes and unlock them by pasting these to replace the original codes. Do be aware that certain features may not be enabled on certain maps.

resUnlocked [apple-juice grape-juice crocks malt fruit-other barrels half-barrels steel-barrels bottles small-bottles bricks lumber gasoline neutral-alcohol moonshine cider home-brew brick-wine cigarettes fruit-wine weapon-crowbar weapon-bat weapon-knife sugar corn-syrup grapes barley apples ice furniture pipes sheet-metal citrus spices bathtub-gin sparkling-cider hops fake-beer labels fake-wine plums fruit-brandy corn-whiskey whiskey-barrel bourbon food-dyes oak-barrels whiskey-bottled vodka-bottled brandy-bottled rum-bottled wheat rye brandy-barrel vodka-barrel rum-barrel paper champagne dark-rum beer-keg aged-whiskey gin cordials]


currentSkills [homebooze-fruit-wine starter-territory homebooze-moonshine homebooze-brick-wine homebooze-home-brew homebooze-cider homebooze-apple-jack homebooze-corn-moonshine homebooze-bootlegging upgraded-bootlegging improved-homebooze-cider improved-homebooze-moonshine improved-homebooze-corn-moonshine improved-homebooze-home-brew improved-homebooze-brick-wine improved-homebooze-fruit-wine delivery-driving small-garages truck-garage-brick-wine truck-garage-cider truck-garage-home-brew truck-garage-moonshine truck-garage-improved car-bullies crock-return industrial-filters good-yeast trap-door dishwashers big-barrels old-glassware pool-table player-piano bottle-return-racks ethnic-solidarity ethnic-bump-cider ethnic-bump-wine ethnic-bump-beer ethnic-bump-liquor ethnic-bump-fruit-brandy ethnic-bump-speakeasy native-bump-speakeasy local-speakeasies better-bartending small-speakeasy supper-clubs large-clubs bathtub-ginworks sparkling-cider fake-beer fake-wine fruit-brandy corn-whiskey barrel-aging bourbon-reveal bourbon-making bootleg-whiskey bootleg-vodka bootleg-brandy bootleg-rum whiskey-still brandy-still vodka-still rum-still booze-bottling backroom-distillation juice-pressing wine-pressing malt-making label-counterfeiting ice-making champagne-making dark-rum-making beer-kegs aged-whiskey gin-making-one gin-making-two cordial-making-one cordial-making-two starter-buildings starter-protection starter-cops starter-vehicles starter-crew starter-goons starter-combat gambling-numbers gambling-cards gambling-tables gambling-clean-money gambling-secret-books gambling-high-rollers-canadian gambling-high-rollers-caribbean gambling-high-rollers-irish gambling-high-rollers-english gambling-high-rollers-german gambling-furnishing gambling-service gambling-staff]
How to receive a shipment of Tommy Guns?
As mentioned in the previous section, you can turn your small basement storage into a full blown warehouse, but now you want to receive a shipment of Tommy Guns, what do you do?

As with the previous edit, you can mark the specific storage you wish to edit with money. Go to the contents section and this is where the contents of the storage is at.

The general format of items stored goes by {qty x id y} where x is the number of items you have and y being the item's ID. Let's say you want a crate of 5 Tommy Guns, the content would be {qty 5 id weapon-thompson}. Add {qty 5 id weapon-thompson} to the content section and you will receive 5 Tommy Guns in the storage.

For reference:
Crowbar: weapon-crowbar
Baseball bat: weapon-bat
Pocket knife: weapon-knife
Billy club (best melee weapon): weapon-billy-club
Pocket pistol: weapon-pistol

If you don't want Tommy Guns, you can alternatively use these weapon IDs.
Codes that should unlock stuff
Unlocking resources
resUnlocked [apple-juice grape-juice crocks malt barrels half-barrels steel-barrels bottles small-bottles bricks lumber gasoline neutral-alcohol moonshine cider home-brew brick-wine cigarettes weapon-crowbar weapon-bat weapon-knife grapes corn-syrup labels sugar tobacco smuggled-cigarettes tires paper jewelry beer-bottled beer-keg wine-bottled whiskey-bottled whiskey-barrel brandy-bottled brandy-barrel vodka-bottled vodka-barrel cigars rum-bottled rum-barrel wheat barley rye corn apples citrus ice fruit-other plums building-materials lumber sheet-metal pipes furniture counterfeit-labels food-dyes spices oak-barrels hops varietals gas permits champagne english-gin scotch-whiskey irish-whiskey german-schnapps bourbon corn-whiskey cuban-cigars caribbean-rum cordials aged-brandy dark-rum aged-whiskey gun claret canadian-whiskey auto-parts oil bathtub-gin moonshine apple-jack fruit-wine homemade-brandy neutral-alcohol industrial-alcohol sparkling-cider fake-beer fake-wine fruit-brandy]

Unlocking building skills and expansions
currentSkills [homebooze-brick-wine homebooze-moonshine homebooze-corn-moonshine homebooze-home-brew homebooze-cider homebooze-apple-jack homebooze-fruit-wine homebooze-homemade-brandy juice-pressing wine-pressing malt-making label-counterfeiting ice-making basic-tobacco-processing improved-homebooze-cider improved-homebooze-moonshine improved-homebooze-corn-moonshine improved-homebooze-home-brew improved-homebooze-brick-wine improved-homebooze-fruit-wine champagne-making dark-rum-making beer-kegs aged-whiskey gin-making cordial-making delivery-driving small-garages truck-garage truck-garage-improved car-bullies crock-return industrial-filters good-yeast trap-door dishwashers big-barrels old-glassware pool-table player-piano junkyard-booze bottle-return-racks ethnic-solidarity ethnic-bump-cider ethnic-bump-wine ethnic-bump-beer ethnic-bump-liquor ethnic-bump-fruit-brandy ethnic-bump-speakeasy native-bump-speakeasy bathtub-ginworks sparkling-cider fake-beer fake-wine fruit-brandy corn-whiskey barrel-aging bourbon-reveal bourbon-making bootleg-whiskey bootleg-vodka bootleg-brandy bootleg-rum whiskey-still brandy-still rum-still vodka-still booze-bottling backroom-distillation homebooze-bootlegging upgraded-bootlegging local-speakeasies better-bartending small-speakeasy supper-clubs large-clubs gambling-numbers gambling-cards gambling-tables gambling-clean-money gambling-secret-books gambling-high-rollers gambling-furnishing starter-buildings starter-protection starter-cops starter-vehicles starter-crew starter-goons starter-combat starter-territory]
How to be a better person?
To be a better person, you have to locate your person first. You can do this by looking for his first/last name.
For example, there is a man named John Smith, to look for him, you can:
1. Look for the text string "first John" (without quotation marks)
2. Look for the text string "last Smith" (without quotation marks)
3. If you are looking for the boss who has a nickname, you can look for the text string "nickname <nickname>"(without quotation marks). For example, you are looking for someone nicknamed Scarface, then it would be "nickname Scarface"(without quotation marks).

Above that, you can find a list of traits at the traitIds section. You can add traits here. Here are some of the traits I found that might be useful:
trait-agile trait-sociable trait-quiet trait-hardworking trait-friendly trait-strong trait-aggressive trait-sharpeyed
They are pretty much what they say in the ID. Although I suspect some of the IDs are only useful for building managers (such as hardworking).

You can technically add level ups here as well, but I'm not sure if it will cause bugs down the line:
At the levelups section (if said person has one, I assume you can add one for people who doesn't have one ATM but it might cause issues), you can put {level 3 id levelup-actions} {level 3 id levelup-moves} {level 3 id levelup-combat} in the square brackets after levelups and this should give you levelups.

There's also the expectedSalary part. Pretty straight forward if you just want someone to work for you for free, just make them expect 0 salary. I am not sure if you can make them pay you for the privilege of working.
How to unlock all levelups?
To unlock all levelups, look for desired character, look for their level up section and do some replacements. Warning, if you put a fully levelled up character in as a manager for a production facility, it will pump out literally hundreds if not thousands of booze which will all but instantly fill up the storage unless you "modified" the storage first.

For your main character, replace it with this section of code:

levelups [{level 9 id levelup-driving} {level 3 id levelup-actions} {level 3 id levelup-combat} {level 3 id levelup-management} {level 5 id levelup-brick-wine-maker} {level 5 id levelup-cider-maker} {level 5 id levelup-home-brew-maker} {level 5 id levelup-moonshine-maker} {level 5 id levelup-apple-jack-maker} {level 5 id levelup-fruit-wine-maker} {level 5 id levelup-homemade-brandy-maker} {level 5 id levelup-fake-wine-maker} {level 5 id levelup-sparking-cider-maker} {level 5 id levelup-fake-beer-maker} {level 5 id levelup-bathtub-gin-maker} {level 5 id levelup-fruit-brandy-maker} {level 5 id levelup-corn-whiskey-maker} {level 3 id levelup-still-master} {level 5 id levelup-whiskey-stills} {level 5 id levelup-brandy-stills} {level 5 id levelup-rum-stills} {level 5 id levelup-vodka-stills} {level 3 id levelup-champagne-maker} {level 3 id levelup-dark-rum-maker} {level 3 id levelup-beer-keg-maker} {level 3 id levelup-aged-whiskey-maker} {level 3 id levelup-gin-maker} {level 3 id levelup-city-driver} {level 3 id levelup-alley-master} {level 5 id levelup-fruit-converter} {level 5 id levelup-fermenter} {level 7 id levelup-bartending} {level 5 id levelup-faster-consume} {level 2 id levelup-smooth-talker} {level 4 id levelup-pitboss} {level 4 id levelup-house-manager} {level 4 id levelup-mechanic} {level 3 id levelup-boardwalk}]}

For your crew members: replace it with this section of code, basically the last one but this one includes the captain upgrade which your main guy can't get

levelups [{level 1 id levelup-captain} {level 9 id levelup-driving} {level 3 id levelup-actions} {level 3 id levelup-combat} {level 3 id levelup-management} {level 5 id levelup-brick-wine-maker} {level 5 id levelup-cider-maker} {level 5 id levelup-home-brew-maker} {level 5 id levelup-moonshine-maker} {level 5 id levelup-apple-jack-maker} {level 5 id levelup-fruit-wine-maker} {level 5 id levelup-homemade-brandy-maker} {level 5 id levelup-fake-wine-maker} {level 5 id levelup-sparking-cider-maker} {level 5 id levelup-fake-beer-maker} {level 5 id levelup-bathtub-gin-maker} {level 5 id levelup-fruit-brandy-maker} {level 5 id levelup-corn-whiskey-maker} {level 3 id levelup-still-master} {level 5 id levelup-whiskey-stills} {level 5 id levelup-brandy-stills} {level 5 id levelup-rum-stills} {level 5 id levelup-vodka-stills} {level 3 id levelup-champagne-maker} {level 3 id levelup-dark-rum-maker} {level 3 id levelup-beer-keg-maker} {level 3 id levelup-aged-whiskey-maker} {level 3 id levelup-gin-maker} {level 3 id levelup-city-driver} {level 3 id levelup-alley-master} {level 5 id levelup-fruit-converter} {level 5 id levelup-fermenter} {level 7 id levelup-bartending} {level 5 id levelup-faster-consume} {level 2 id levelup-smooth-talker} {level 4 id levelup-pitboss} {level 4 id levelup-house-manager} {level 4 id levelup-mechanic} {level 3 id levelup-boardwalk}]}
Easy XP andd Skills
Paste this after the crewHistoryStats section

xp {
current 100000000
levelups [{level 1 id levelup-captain} {level 9 id levelup-driving} {level 3 id levelup-actions} {level 3 id levelup-combat} {level 3 id levelup-management} {level 5 id levelup-brick-wine-maker} {level 5 id levelup-cider-maker} {level 5 id levelup-home-brew-maker} {level 5 id levelup-moonshine-maker} {level 5 id levelup-apple-jack-maker} {level 5 id levelup-fruit-wine-maker} {level 5 id levelup-homemade-brandy-maker} {level 5 id levelup-fake-wine-maker} {level 5 id levelup-sparking-cider-maker} {level 5 id levelup-fake-beer-maker} {level 5 id levelup-bathtub-gin-maker} {level 5 id levelup-fruit-brandy-maker} {level 5 id levelup-corn-whiskey-maker} {level 3 id levelup-still-master} {level 5 id levelup-whiskey-stills} {level 5 id levelup-brandy-stills} {level 5 id levelup-rum-stills} {level 5 id levelup-vodka-stills} {level 3 id levelup-champagne-maker} {level 3 id levelup-dark-rum-maker} {level 3 id levelup-beer-keg-maker} {level 3 id levelup-aged-whiskey-maker} {level 3 id levelup-gin-maker} {level 3 id levelup-city-driver} {level 3 id levelup-alley-master} {level 5 id levelup-fruit-converter} {level 5 id levelup-fermenter} {level 7 id levelup-bartending} {level 5 id levelup-faster-consume} {level 2 id levelup-smooth-talker} {level 4 id levelup-pitboss} {level 4 id levelup-house-manager} {level 4 id levelup-mechanic} {level 3 id levelup-boardwalk}]}}
Crew stats
Your captains needs to fulfill certain stats so they can become a certain specialist, how to make this process easier?

Find the person in question, look for "crewHistoryStats {" under his name
These stats record the things said crewmember did, each one responding to one particular stat

0 = people killed (jailbird requires 2)
1 = booze sold (accountant requires 500)
2 = booze produced (accountant requires 1000)
3 = total transactions
4 = conversations (mouthpiece requires 100) (closer requires 50)
5 = business deals with goons (intimidator requires 5) (closer requires 4)
6 = gamblers extorted (intimidator requires 5)
7 = gamblers forgiven
8 = gamblers kicked
9 = businesses extorted (intimidator requires 10)
10 = fronts protected
11 = fronts subverted (enforcer requires 2)
12 = buildings attacked (enforcer requires 2)
13 = buildings repaired
14 = cops bribed (mouthpiece requires 4)
15 = times arrested (jailbird requires 1)
16 = distance driven (lookout requires 750)
17 = corners scouted (lookout requires 50)
18 = businesses discovered (lookout requires 25)
19 = truces brokered
20 = favors redeemed (closer requires 20)
21 = residential event attendeed (closer requires 3)
22 = fronts established (mouthpiece requires 4)
23 = safehouses looted (enforcer requires 6)
24 = people threatened (intimidator requires 5)
25 = times fought (jailbird requires 6)
26 = expansions built (accountant requires 6)
Most if not all good traits
trait-agile trait-sociable trait-quiet trait-hardworking trait-friendly trait-strong trait-aggressive trait-sharpeyed trait-cautious trait-compassionate trait-intelligent trait-kind trait-upright trait-religious trait-organized

For those who just wants to find said person and paste a line so they get the good traits
How to use console commands and get achievements?
There's a line in the save file that starts with "achievements {data"
Look for it, without the quotation marks.
If you used console commands, "cheated #true" will appear. Delete it.

Ex. If it looks like
achievements {data {cheated #true resAttended 3 ticketsUsed 64}}
Then change it to
achievements {data {resAttended 3 ticketsUsed 64}}
Finishing Up
Once you are done editing, you can zip savedata.sim back into the savedata.sim.zip file. Then go back to the game and load up the save.
25 Comments
ZmanRockz Jan 1 @ 11:26pm 
I am on Epic and not Steam if that's relevant
ZmanRockz Jan 1 @ 11:26pm 
I'm having a problem with this where after editing my save the changes apply correctly, but I am no longer able to create delivery routes. When I go to add a new step all of the options are just missing. Is this a known issue or am I doing something wrong.
mr_frenzy Aug 31, 2023 @ 1:41am 
valkorum Thanks for the info on Not being able to do it after a turn, i was going crazy trying to get the larger WH to work :)
The Mogician  [author] Jul 30, 2023 @ 2:31am 
@Fonfon I don't believe so, at least it is not possible from the savegame.
Fonfon Jul 30, 2023 @ 1:55am 
First of all, great guide. Secound, is it possible to modify legal producion of my starting warehouse? Like I have Small Cold Storage that produces 20 Corks and 4 sugar, is it possible to change said sugar into apple jouce?
Crozess May 29, 2023 @ 11:09pm 
how do you find the vehicle that Brekkik edited
Cornflower Aug 21, 2022 @ 7:08am 
Does anyone know how to make a custom city larger? In 90% of cases, when I try to make a Philadelphia-based custom city, I end up with three cramped blocks in one corner and a gazillion trees. Any railroad station is located in the forest....
Mechanmy Nov 25, 2021 @ 7:26am 
portrait {
hatmask HatMask_M
hash -635027984
hathash -635027984
bust Char_M_Tan_Bust7
head Char_M_Tan_Head1}
I'm going to try with that
Mechanmy Nov 25, 2021 @ 7:14am 
Nice, is there any way to change the portrait of one gangster ? My second crew mate has exactly the same portrait as my boss ! -_- At least, i would like to add a cap on his head.
xkxkjohn Nov 20, 2021 @ 3:11am 
Does anyone else have a problem with replacing traits?