-
Notifications
You must be signed in to change notification settings - Fork 6
Fixing CCCP crashes and errors with Fork
Feel free to ask MyNameIsTrez for any kind of help in the CCCP Discord server.
So let's say CCCP gives you this error:
To figure out how to fix this error, you'll have to download Fork - it's like GitHub Desktop and allows searching across all commits.
If you don't want to be blinded by light mode Fork, click Window -> Switch Theme.
Clone the data repository. The data repository contains the images, INI, lua, etc, while the source repository contains the C++ code.
Then paste this URL in the clone field: https://github.com/cortex-command-community/Cortex-Command-Community-Project-Data
Press this tiny search icon that's found on the left side of this program. You'll have to do this every time you reopen Fork.
On the right side of the screen change the default Commit Message setting to Diff Content.
You'll have to do this every time you open Fork.
Enter whatever you want to search for in the search field and hit the Enter key on your keyboard to search across all commits.
Note that this program won't find what you're looking for if you don't use the exact right capitalization!
So as an example, browncoat
doesn't work, while Browncoat
does work. This is because the faction is called Browncoats
with a capital B
, not lowercase b
.
Once you've pressed the Enter key, a few results should show up.
Press the top INI/Lua file that shows up in the results, since the top one is always the most recent change.
Click on some piece of the INI/Lua code that has now appeared at the bottom of your screen.
Press Ctrl+f
and enter whatever you wanted to search for again right here. Fork should now jump to and highlighted any mention of what you wanted to search for.
In my case Fork shows me with the red line that Browncoat Fuel Bomb Burst
got removed, and with the green line that it got changed to Browncoat Fuel Bomb Igniter
.
This means I should add the conversion rule "Browncoat Fuel Bomb Burst": "Browncoat Fuel Bomb Igniter",
to one of the ConversionRule JSON files. Make sure to include the comma at the end of that line!
The conversion rule JSON file you add it to doesn't matter to the program, the reason there are multiple JSON files is just for organization. Just look at what kind of rules are already in the JSON files and the JSON file names to figure out which file you should add your conversion rule to. It isn't the end of the world if you put it in the "wrong" JSON file, so don't worry about it too much.
Running the converter after having added this conversion rule should've resolved that error/crash, and you just repeat this process of searching in Fork and adding a conversion rule till the converted mod doesn't have issues anymore, after which you should upload it to the CCCP mod.io page.