Skip to content

Commit

Permalink
Project files rearranged
Browse files Browse the repository at this point in the history
Good for future editing.
  • Loading branch information
ZhilkinSerg committed Mar 26, 2017
1 parent 22850a9 commit 1220b7f
Show file tree
Hide file tree
Showing 81 changed files with 181 additions and 203 deletions.
20 changes: 0 additions & 20 deletions CataclysmModder.sln

This file was deleted.

1 change: 0 additions & 1 deletion CataclysmModder/ClassDiagram1.cd

This file was deleted.

Binary file removed CataclysmModder/icons/ico32.ico
Binary file not shown.
1 change: 1 addition & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CataclysmModder is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send a letter to Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
33 changes: 30 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,31 @@
CataModder
==========
# Cataclysm Modder
C# Winforms application for editing JSON files from the game [Cataclysm: Dark Days Ahead](http://www.cataclysmdda.com/).

C# Winforms application for editing JSON files from the game Cataclysm: Dark Days Ahead.
No warranty of usability or fitness for any purpose is given.

**MAKE SURE YOU ARE USING THE RIGHT VERSION OF CATACLYSM!**

You'll need the Microsoft .NET Redistributable 4.0 to run this version: http://www.microsoft.com/en-us/download/details.aspx?id=17851

# How to use this software

* Back up the 'raw' folder that contains the game JSONs (it's in [Cataclysm Root]/data).
* Run CataclysmModder.exe
* Go to File->Open
* Select the 'raw' folder mentioned above

Now the dropdown box in the top-left corner of the program contains all the JSON data files that define Cataclysm's content, though the program only supports editing "item_groups.json" and the "item/" files for now.

Once you select a file from this box, the file's contents are loaded into the "Entries" box under it, and if the file can be edited, the editing area appears to the right.

# Usability Tips
You can type in the "Quicksearch" bar at the top right to search the entries list by name or id. Press Enter to scan through the search results.

You can use Ctrl+Up and Ctrl+Down at any time to navigate up and down the entries list.

In list boxes with a lot of items, you can press a key on the keyboard to scroll through items starting with that letter.

Whenever you select a field in the editor, a short helpful description of what that field means is shown in the very bottom-right.

# Contribute
Cataclysm Modder is licensed under the Creative Commons Attribution ShareAlike 3.0 license. The code and content of the game is free to use, modify, and redistribute for any purpose whatsoever. See http://creativecommons.org/licenses/by-sa/3.0/ for details. Some code distributed with the project is not part of the project and is released under different software licenses, the files covered by different software licenses have their own license notices.
51 changes: 0 additions & 51 deletions UserGuide.txt

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions CataclysmModder/Storage.cs → src/CataclysmHelper/Storage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -318,25 +318,25 @@ public static void InitializeFileDefs()
{
InitializeDataSources();

//Editing control needs to be set in Form1 ctor using FileDefSetControl
//Editing control needs to be set in FormMain ctor using FileDefSetControl

fileDef[(int)FileType.ITEMS] = new CataFile(
"id",
new JsonSchema("CataclysmModder.schemas.items.txt"));
new JsonSchema("jsonschema_items.txt"));
fileDef[(int)FileType.BIONICS] = new CataFile("id");
fileDef[(int)FileType.ITEM_GROUPS] = new CataFile(
"id",
new JsonSchema("CataclysmModder.schemas.item_group.txt"));
new JsonSchema("jsonschema_itemgroup.txt"));
fileDef[(int)FileType.MATERIALS] = new CataFile("ident");
fileDef[(int)FileType.MONSTER_GROUPS] = new CataFile("name");
fileDef[(int)FileType.NAMES] = new CataFile("name");
fileDef[(int)FileType.PROFESSIONS] = new CataFile(
"ident",
new JsonSchema("CataclysmModder.schemas.professions.txt"));
new JsonSchema("jsonschema_professions.txt"));
fileDef[(int)FileType.RECIPES] = new CataFile(
"result",
"id_suffix",
new JsonSchema("CataclysmModder.schemas.recipes.txt"));
new JsonSchema("jsonschema_recipes.txt"));
fileDef[(int)FileType.SKILLS] = new CataFile("ident");
fileDef[(int)FileType.SNIPPETS] = null;
fileDef[(int)FileType.NONE] = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ public static void ListChanged(object sender, EventArgs e)

public static void DisplayHelp(object sender, EventArgs e)
{
Form1.Instance.SetHelpText(((JsonFormTag)((Control)sender).Tag).help);
FormMain.Instance.SetHelpText(((JsonFormTag)((Control)sender).Tag).help);
}

/// <summary>
Expand Down
Loading

0 comments on commit 1220b7f

Please sign in to comment.