Skip to content

Commit

Permalink
fix command line options
Browse files Browse the repository at this point in the history
  • Loading branch information
kpinter-iohk committed Nov 22, 2024
1 parent 4f33935 commit f186e0f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion CHOCOLATE_DOOM.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

1. Install Chocolate Doom by following the instructions on [the Chocolate Doom download page](https://www.chocolate-doom.org/wiki/index.php/Downloads)
2. Download resource WAD files [dm_iog.wad](https://github.com/cardano-scaling/hydra-doom/raw/refs/heads/main/public/dm_iog.wad), [iog_assets.wad](https://github.com/cardano-scaling/hydra-doom/raw/refs/heads/main/public/iog_assets.wad) and [freedoom2.wad](https://github.com/cardano-scaling/hydra-doom/raw/refs/heads/main/public/freedoom2.wad)
3. Run Chocolate Doom: `chocolate-doom -iwad path/to/freedoom2.wad -merge path/to/dm_iog.wad path/to/iog_assets.wad -altdeath -warp 1`
3. Run Chocolate Doom: `chocolate-doom -iwad path/to/freedoom2.wad -merge path/to/dm_iog.wad path/to/iog_assets.wad -altdeath -warp 1 -dehlump`
9 changes: 5 additions & 4 deletions ai/ai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const module = await createModule({
},
noInitialRun: true,
preRun: function (mod: any) {
const files = ["freedoom2.wad", "default.cfg", "Cardano.wad"];
const files = ["freedoom2.wad", "default.cfg", "iog_assets.wad", "dm_iog.wad"];
files.forEach((file) => {
mod.FS!.createPreloadedFile("/", file, "../public/" + file, true, true);
});
Expand Down Expand Up @@ -85,12 +85,13 @@ global.HydraMultiplayer = new HydraMultiplayerClient({
const args = [
"-connect",
"1",
"-deathmatch",
"-altdeath",
"-ai",
"-iwad",
"freedoom2.wad",
"-file",
"Cardano.wad",
"-merge",
"dm_iog.wad",
"iog_assets.wad",
"-nodraw",
"-nomouse",
"-nograbmouse",
Expand Down
2 changes: 1 addition & 1 deletion referee/referee.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ try {

const args = [
"-server",
"-deathmatch",
"-altdeath",
"-iwad",
"freedoom2.wad",
"-merge",
Expand Down
1 change: 1 addition & 0 deletions src/utils/game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const getArgs = ({ type, petName }: GameData) => {
"iog_assets.wad",
"-warp",
"1",
"-dehlump",
"-extratics",
"1",
"-devparm",
Expand Down

0 comments on commit f186e0f

Please sign in to comment.