Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/game_selection/Starship.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions src/model/game/GameManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -989,6 +989,24 @@ export default class GameManager {
"https://thunderstore.io/c/labyrinthine/api/v1/package-listing-index/",
[new StorePlatformMetadata(StorePlatform.STEAM, "1302240")], "Labyrinthine.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.RECURSIVE_MELON_LOADER, [""]),

new Game("Starship", "Starship", "Starship",
"", ["Starship.exe"], "",
"https://thunderstore.io/c/starship/api/v1/package-listing-index/",
[new StorePlatformMetadata(StorePlatform.OTHER)], "Starship.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.NONE, [""]),

new Game("Ship of Harkinian", "ShipOfHarkinian", "ShipOfHarkinian",
"", ["soh.exe"], "",
"https://thunderstore.io/c/ship-of-harkinian/api/v1/package-listing-index/",
[new StorePlatformMetadata(StorePlatform.OTHER)], "ShipOfHarkinian.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.NONE, [""]),

new Game("2Ship2Harkinian", "2Ship2Harkinian", "2Ship2Harkinian",
"", ["2ship.exe"], "",
"https://thunderstore.io/c/2-ship-2-harkinian/api/v1/package-listing-index/",
[new StorePlatformMetadata(StorePlatform.OTHER)], "2Ship2Harkinian.png",
GameSelectionDisplayMode.VISIBLE, GameInstanceType.GAME, PackageLoader.NONE, [""]),
];

static get activeGame(): Game {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,9 @@ const VARIANTS = {
LostSkies: MODLOADER_PACKAGES,
ANEURISMIV: MODLOADER_PACKAGES,
Labyrinthine: RECURSIVE_MELONLOADER_MAPPING,
Starship: LOADERLESS_GAME,
ShipOfHarkinian: LOADERLESS_GAME,
"2Ship2Harkinian": LOADERLESS_GAME,
};
// Exported separately from the definition in order to preserve the key names in the type definition.
// Otherwise this would become [key: string] and we couldn't use the game names for type hinting elsewhere.
Expand Down
5 changes: 4 additions & 1 deletion src/r2mm/launching/instructions/GameInstructions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ export interface GameInstruction {
export default class GameInstructions {

public static GAME_INSTRUCTIONS: Map<string, GameInstructionGenerator> = new Map([
["AncientDungeonVR", new ModsPathInstructions()]
["AncientDungeonVR", new ModsPathInstructions()],
["Starship", new ModsPathInstructions()],
["ShipOfHarkinian", new ModsPathInstructions()],
["2Ship2Harkinian", new ModsPathInstructions()]
]);

public static LOADER_INSTRUCTIONS: Map<PackageLoader, GameInstructionGenerator> = new Map([
Expand Down
Loading