Skip to content

Commit

Permalink
Added new instructions to reflect changes made in AFS4
Browse files Browse the repository at this point in the history
  • Loading branch information
fboes committed Dec 18, 2023
1 parent 0581ae0 commit afd1056
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ This manual is for Windows 10/11 installations. On other operating systems these
1. Run `aerofly-missions` in the open terminal to convert `main.mcf` to a `tmc` file (see below).
1. Grab your exported `tmc` file with all your settings converted into a single mission file. This file can now be placed into the custom mission directory in Aerofly FS 4.

Be aware that right now Aerofly FS 4 accepts custom missions exclusively from within `…\Aerofly FS 4 Flight Simulator\missions\custom_missions.tmc`. You will need to replace the file located there or append your missions to this file. See [installation instructions](https://fboes.github.io/aerofly-missions/docs/generic-installation.html) on how to get started.
Be aware that right now Aerofly FS 4 accepts custom missions exclusively from within `…\Aerofly FS 4 Flight Simulator\missions\custom_missions_user.tmc`. See [installation instructions](https://fboes.github.io/aerofly-missions/docs/generic-installation.html) on how to get started.

See the [custom missions documentation](docs/custom-missions.md) for more information. See also [more sources for flight plans on the Internet](docs/importing-flightplans.md).

Expand Down
2 changes: 1 addition & 1 deletion dist/Cli/Arguments.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export class Arguments {
}
helpText(c) {
return `${c.lightBlue}Usage: nodejs index.js [PARAMETERS...]${c.reset}
Convert Aerofly FS 4 main.mcf file into a custom_missions.tmc file.
Convert Aerofly FS 4 main.mcf file into a custom_missions_user.tmc file.
Parameters:
${c.lightBlue} -s, --source ${c.reset} Location of the main.mcf; defaults to \`${this.source}\`
Expand Down
2 changes: 1 addition & 1 deletion dist/Export/Markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class Markdown extends Outputtable {
}
return fields;
}
toString(filename = "custom_missions.tmc") {
toString(filename = "custom_missions_user.tmc") {
const m = this.mission;
const s = new SkyVector(m);
const total_distance = m.distance;
Expand Down
2 changes: 1 addition & 1 deletion dist/Web/ComponentsDownloadButtons.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { XplaneFmsExport } from "../Import/XplaneFms.js";
export class ComponentsDownloadButtons extends HTMLElement {
constructor() {
super();
this.innerHTML = `<button type="button" class="primary" id="download-tmc">Download Aerofly FS <code>custom_missions.tmc</code> flight plan</button>
this.innerHTML = `<button type="button" class="primary" id="download-tmc">Download Aerofly FS <code>custom_missions_user.tmc</code> flight plan</button>
<button type="button" id="download-pln">Download Microsoft FS <code>custom_missions.pln</code> flight plan</button>
<button type="button" id="download-fms">Download X-Plane <code>custom_missions.fms</code> flight plan</button>
<button type="button" class="expert-mode" id="download-md">Download <code>custom_missions.md</code> documentation</button>
Expand Down
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ <h1>
</h1>
</header>
<main class="is-simple-mode">
<p>The Aerofly Missionsgerät converts <a href="https://www.aerofly.com/">Aerofly FS 4's</a> <code>main.mcf</code> (and other flight plan file formats) into a <code>custom_missions.tmc</code> file (and other flight plan file formats), using your current flight plan and other settings to generate a shareable mission.</p>
<p>The Aerofly Missionsgerät converts <a href="https://www.aerofly.com/">Aerofly FS 4's</a> <code>main.mcf</code> (and other flight plan file formats) into a <code>custom_missions_user.tmc</code> file (and other flight plan file formats), using your current flight plan and other settings to generate a shareable mission.</p>

<section class="no-print">
<h2>Step 1: Load flight plan file</h2>
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
1. [Building a custom missions file](./custom-missions.md)
1. [Flight plan output](./flightplan.md)
1. [Sources for flight plans](./importing-flightplans.md)
1. [Generic `custom_missions.tmc` installation instructions](./generic-installation.md)
1. [Generic `custom_missions_user.tmc` installation instructions](./generic-installation.md)

On a more theoretical level:

Expand Down
4 changes: 2 additions & 2 deletions docs/carls_homecoming/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Being a close friend to him, your name came up in his testament. You are to carr

So take a seat in Carl's Pitts S-2, and starting in Hamburg travel up to Denmark, Sweden and finally Finnland.

> This is a custom missions file for [Aerofly FS 4](https://www.aerofly.com/). Download [`custom_missions.tmc`](./custom_missions.tmc) and see [installation instructions](https://fboes.github.io/aerofly-missions/docs/generic-installation.html) on how to get started.
> This is a custom missions file for [Aerofly FS 4](https://www.aerofly.com/). Download [`carls_homecoming.tmc`](./carls_homecoming.tmc) and see [installation instructions](https://fboes.github.io/aerofly-missions/docs/generic-installation.html) on how to get started.
## The tour

Each leg is about 130 kilometres (70 nautical miles). Which is just as well, because the Pitts was never built for cross-country flights, with its tiny fuel tank limited to about 120 nautical miles of full throttle flight.
Each leg is about 130 kilometers (70 nautical miles). Which is just as well, because the Pitts was never built for cross-country flights, with its tiny fuel tank limited to about 120 nautical miles of full throttle flight.

Your flights:

Expand Down
File renamed without changes.
16 changes: 7 additions & 9 deletions docs/generic-installation.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
# ![](favicon-64x64.png) `custom_missions.tmc` installation instructions
# ![](favicon-64x64.png) `custom_missions_user.tmc` installation instructions

To install a custom missions file in Aerofly FS 4:

1. Open a file explorer in your Aerofly FS 4 game folder.
2. Open up the `missions` folder.
3. Rename `custom_missions.tmc` to any other file name,
e.g. `_custom_missions.tmc`.
4. Put the new `.tmc` file into the `missions` folder,
and rename it to `custom_missions.tmc`.
5. On starting Aerofly FS 4, all your custom missions will be loaded from the
new `custom_missions.tmc`.
3. Put the new `.tmc` file into the `missions` folder,
and rename it to `custom_missions_user.tmc`.
4. On starting Aerofly FS 4, your custom missions will be loaded from the
new `custom_missions_user.tmc`.

To revert back to the original custom missions file, simply delete the new file
and rename the old file `_custom_missions.tmc` back to `custom_missions.tmc`.
Be aware that there is only on `custom_missions_user.tmc` at any given time.
If you have multiple mission files, rename them accordingly and keep backups of the original files.

In case your Aerofly FS 4 installation gets damaged in this process, consider
a fresh installation.
Expand Down
2 changes: 1 addition & 1 deletion src/Cli/Arguments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export class Arguments {

helpText(c: BashColors): string {
return `${c.lightBlue}Usage: nodejs index.js [PARAMETERS...]${c.reset}
Convert Aerofly FS 4 main.mcf file into a custom_missions.tmc file.
Convert Aerofly FS 4 main.mcf file into a custom_missions_user.tmc file.
Parameters:
${c.lightBlue} -s, --source ${c.reset} Location of the main.mcf; defaults to \`${this.source}\`
Expand Down
2 changes: 1 addition & 1 deletion src/Export/Markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class Markdown extends Outputtable {
return fields;
}

toString(filename = "custom_missions.tmc"): string {
toString(filename = "custom_missions_user.tmc"): string {
const m = this.mission;
const s = new SkyVector(m);

Expand Down
2 changes: 1 addition & 1 deletion src/Web/ComponentsDownloadButtons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class ComponentsDownloadButtons extends HTMLElement {
constructor() {
super();

this.innerHTML = `<button type="button" class="primary" id="download-tmc">Download Aerofly FS <code>custom_missions.tmc</code> flight plan</button>
this.innerHTML = `<button type="button" class="primary" id="download-tmc">Download Aerofly FS <code>custom_missions_user.tmc</code> flight plan</button>
<button type="button" id="download-pln">Download Microsoft FS <code>custom_missions.pln</code> flight plan</button>
<button type="button" id="download-fms">Download X-Plane <code>custom_missions.fms</code> flight plan</button>
<button type="button" class="expert-mode" id="download-md">Download <code>custom_missions.md</code> documentation</button>
Expand Down

0 comments on commit afd1056

Please sign in to comment.