Skip to content

Commit 70c05e9

Browse files
tool4EvErtool4EvEr
authored andcommitted
Sync again
1 parent 9666c9b commit 70c05e9

12 files changed

+383
-252
lines changed

docs/Adventure-Items.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/Adventure-Mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Adventure mode is a work-in-progress game mode where you explore the ever-changi
55
# How to run?
66

77
1. Step 1: Download the latest version of Forge https://downloads.cardforge.org/dailysnapshots/
8-
2. Step 2: Make sure you have the requirerd version of the JDK (https://www.oracle.com/be/java/technologies/downloads/)
8+
2. Step 2: Make sure you have the required version of the JDK (https://www.oracle.com/be/java/technologies/downloads/)
99
3. Step 3: Launch the adventure mode from the "adventure.exe" file included in the forge version (on android, the adventure version should be embedded into the main Forge program)
1010
4. Step 4: In order to have pictures show up make sure you enable "automatically download missing card images" in the settings. This should automatically download the picture of the card as you encounter them in game.
1111

docs/Card-Images.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Card images are stored in `pics/cards`, and tokens in `pics/tokens`, in the Cach
3737
- **Android 8 to 10** - `Internal Storage/Forge/cache/`
3838
- **Linux** - `/home/<username>/.cache/forge/`
3939
- **MacOS** - `/Users/<username>/Library/caches/forge/`
40-
- Use `Command + Shift + /` to show hidden files.
40+
- Use `Command + Shift + .` to show hidden files.
4141

4242

4343
# Subfolders

docs/Creating-a-Custom-Card.md

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,43 @@ The next tutorial will walk you through the process of adding your new cards to
1212
Windows:
1313
> C:/Users/<your username>/Application Data/Roaming/Forge/custom/cards
1414
15-
Mac/Linux:
15+
Linux:
16+
> ~/.forge/custom/cards
17+
18+
Mac:
1619
> TODO Add filepath
1720
1821
### Custom Tokens
1922

2023
Windows:
2124
> C:/Users/<your username>/Application Data/Roaming/Forge/custom/tokens
2225
23-
Mac/Linux:
26+
Linux:
27+
> ~/.forge/custom/tokens
28+
29+
Mac:
2430
> TODO Add filepath
2531
2632
### Custom Editions
2733

2834
> C:/Users/<your username>/Application Data/Roaming/Forge/custom/editions
2935
30-
Mac/Linux:
36+
Linux:
37+
> ~/.forge/custom/editions
38+
39+
Mac:
3140
> TODO Add filepath
3241
3342
### Card Images
3443

3544
Windows:
3645
> C:/Users/<your username>/Application Data/Local/Forge/Cache/pics/cards
3746
38-
Mac/Linux:
39-
> TODO Add filepath
40-
47+
Linux:
48+
> ~/.cache/forge/pics/cards
4149
50+
Mac:
51+
> TODO Add filepath
4252
4353
## Creating a New Card
4454

docs/Creating-a-custom-set.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ The important folders are the following (you can create them if they don't exist
1818

1919
### Image files
2020

21-
Your card and token images go into `%appdata%/../Local/Forge/Cache/pics`.
21+
Your card and token images go into `%localappdata%/Forge/Cache/pics`.
2222

2323
The important folders are the following:
2424

2525
* **cards**: This is where you will put your card images. You'll want to create a folder with the Code of your edition. The images are named using this convention `Card Name.full.jpg`. If you have multiple art for the same card (something like basic lands, or maybe alternate art of the same card), then you can name them `Card Name1.full.jpg`, `Card Name2.full.jpg`, and so forth.
26-
* **tokens**: Same as the cards folder, your tokens will go inside this folder. The naming convention is `token_script_name.jpg`. So if your token script name is `b_5_5_golem_trample`, then you can put your token image inside your edition folder named `b_5_5_golem_trample.jpg`.
26+
* **tokens**: Same as the cards folder, your tokens will go inside this folder. The naming convention is `token_script_name.jpg`. So if your token script name is `b_5_5_golem_trample`, then you can put your token image inside your edition folder named `b_5_5_golem_trample.jpg`. If there is a collector number, append it at the beginning, such as `1_b_5_5_golem_trample.jpg`
2727

2828
## Creating your edition definition file
2929

@@ -60,6 +60,9 @@ Type=Custom
6060
b_1_1_bird_flying
6161
b_3_3_cat_deathtouch
6262
b_5_5_golem_trample
63+
64+
[CreatureTypes]
65+
Artist:Artists
6366
```
6467

6568
Let's break it down.
@@ -77,7 +80,7 @@ The **[metadata]** section contains the information about your edition.
7780
* **Code** is an **unique** identifier for your edition.
7881
* **Name** is the name of your edition.
7982
* **Date** is the date the set was first released/created.
80-
* **Type** should be Custom as Forge do things differently for them, including but not limited to skipping the automatic download of the images.
83+
* **Type** should be `Custom` as Forge do things differently for them, including but not limited to skipping the automatic download of the images.
8184

8285
```
8386
[cards]
@@ -119,7 +122,7 @@ The **[tokens]** section is optional, and only needed if you want to use specifi
119122

120123
If you load the game with just file, you'll be able to see that Master Chef, Unearth and the basic lands can already be found in game. That's because they share a name with existing Magic the Gathering cards. **However**, [Master Chef](https://msem-instigator.herokuapp.com/card?q=Master+Chef) from MSEM and [Master Chef](https://scryfall.com/card/clb/241/master-chef) from MTG are two different cards! You must ensure that your custom cards do not have the same name as an existing one, unless you just want it to be another print, just like [Unearth](https://msem-instigator.herokuapp.com/card/CHAMPIONS/62/Unearth) and the basic lands in this example.
121124

122-
Lets comment out Master Chef to avoid a name conflict with an existing MTG card:
125+
Let's comment out Master Chef to avoid a name conflict with an existing MTG card:
123126

124127
```
125128
[cards]
@@ -187,7 +190,12 @@ SVar:Z:Count$Compare X GE6.1.0
187190
Oracle:At the beginning of your end step, if you lost 2 or more life this turn, create a 1/1 black Bird creature token with flying.\nIf you lost 4 or more life this turn, instead create a 3/3 black Cat creature token with deathtouch.\nIf you lost 6 or more life this turn, instead create a 5/5 black Golem creature token with trample.
188191
```
189192

190-
If you load your game now, you should be able to find these cards you just scripted! You'll also notice that Inked Summoner is only listed as a Human Warlock, missing the Artist subtype. That's because Artist is not a real MTG subtype. There is no way to add custom ones in Forge at this moment.
193+
If you load your game now, you should be able to find these cards you just scripted! You'll also notice that Inked Summoner is only listed as a Human Warlock, missing the Artist subtype. That's because Artist is not a real MTG subtype. You can add custom types directing inside the set definition file by following the sections found inside the `res/lists/TypeLists.txt` file. Duplicates will be ignored.
194+
195+
```
196+
[CreatureTypes]
197+
Artist:Artists
198+
```
191199

192200
Oh no! If you play with Inked Summoner now, you will crash when summoning a token. That's because they don't exist in MTG and we need to define them! Let's go onto the next step!
193201

@@ -237,7 +245,7 @@ Great! Now Inked Summoner no longer make the game crash! Now let's add some imag
237245

238246
You can find the card images for the MSEM Champions edition [here](https://msem-instigator.herokuapp.com/set/CHAMPIONS). Find the ones you need and save them inside `%appdata%/../Local/Forge/Cache/pics/cards/MSEM_CHAMPIONS` Remember the filename format should be something like `Swamp.full.jpg` if you only have one variant in your edition. If you have multiples, then it should be something like `Fox of the Orange Orchard1.full.jpg`, `Fox of the Orange Orchard2.full.jpg`, etc. You can find the alternate images from [here](https://msem-instigator.herokuapp.com/set/MPS_MSE) if you want.
239247

240-
For the tokens, we can deposit them inside `%appdata%/../Local/Forge/Cache/pics/tokens/MSEM_CHAMPIONS`. They should be named the same as their token script so `b_1_1_bird_flying.jpg` and so forth.
248+
For the tokens, we can deposit them inside `%localappdata%/Forge/Cache/pics/tokens/MSEM_CHAMPIONS`. They should be named the same as their token script so `b_1_1_bird_flying.jpg` and so forth.
241249

242250
![b_1_1_bird_flying](https://github.com/user-attachments/assets/531583c1-3985-4744-858a-3a49fd12740a)
243251
![b_3_3_cat_deathtouch](https://github.com/user-attachments/assets/15a24e62-be43-4c0c-aeac-0ddb38fca97a)

docs/Custom-Music.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Custom music for adventure mode
2+
3+
In the `res/adventure/common/music` folder resides all the music that is played in various parts of adventure mode:
4+
5+
* `black` - Tracks that are played in the black magic biome in the overworld
6+
* `blue` - Tracks that are played in the blue magic biome in the overworld
7+
* `boss` - Tracks that are played in a boss battle
8+
* `castle` - Tracks that are played inside biome boss dungeons
9+
* `cave` - Tracks that are played in any dungeon that is not a biome boss dungeon
10+
* `colorless` - Tracks that are played in the colorless magic (wastes) biome in the overworld
11+
* `green` - Tracks that are played in the green magic biome in the overworld
12+
* `match` - Tracks that are played during a non-boss battle
13+
* `menus` - Tracks that are played in the opening menu of adventure mode
14+
* `red` - Tracks that are played in the red magic biome in the overworld
15+
* `town` - Tracks that are played when you are in any town
16+
* `white` - Tracks that are played in the white magic biome in the overworld
17+
18+
The game will play a track from any of the above folders at random. The tracks can be any
19+
file name with a `.mp3`, `.wav` or `.m4a` extension.
20+
21+
NOTE: On Steam Deck, if you added Forge Adventure mode to Steam Deck gaming mode, the game may
22+
have issues playing tracks that have non-ascii characters in its name. A current
23+
workaround is to rename such tracks with accented characters to their ascii equivalents (eg. `é` to `e`)
24+
and such tracks will play again. Reference: https://github.com/Card-Forge/forge/issues/8290
25+
26+
To customize the music in adventure mode, simply [add to -OR- replace] the existing music track files in the folders referenced above.
27+
28+
# Custom music for regular Forge
29+
30+
In the `res/music` folder resides all the music that is played in regular Forge if you have music enabled.
31+
32+
* `match` - Tracks that are played inside a game
33+
* `menus` - Tracks that are played outside of any game (ie. menus)
34+
35+
All the same playback rules apply. The process for customizing the music here is the same as adventure mode.

docs/Development/ownership.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The "Ancestors" column is basically there to list currently inactive developers
1212
## Ingame Engine
1313
| Concept | Owners | Ancestors | Example tasks |
1414
| - | - | - | - |
15-
| Ability Effects | friarsol, Hanmac, Northmoc, TRT | | - support new mechanics<br>- debug complicated reports<br>- improve stackdescriptions |
15+
| Ability Effects | friarsol, Hanmac, Northmoc, TRT | | - support new mechanics<br>- debug complicated reports<br>- improve stackdescriptions<br>- research rulings<br>- compare with Arena |
1616
| Adventure | TabletopGeneral | Grimm | |
1717

1818
## Magic Metadata

0 commit comments

Comments
 (0)