From b35d807e1a3f5c38dce4a91180158ca59594d8f7 Mon Sep 17 00:00:00 2001 From: Bart Commandeur Date: Mon, 31 Jul 2023 23:39:07 +0200 Subject: [PATCH] 1.0.0 (#1) Initial release! --- .../video/act2/act02start.webm | 0 .../video/act3/act03start.webm | 0 .../cutscenes_global/video/act4/act04end.webm | 0 .../video/act4/act04start.webm | 0 .../cutscenes_global/video/act5/d2x_out.webm | 0 .../cutscenes_global/video/bliznorth.webm | 0 .../cutscenes_global/video/d2intro.webm | 0 .../cutscenes_global/video/d2x_intro.webm | 0 .../cutscenes_global/video/new_bliz.webm | 0 .../global/video/act2/act02start.webm | 0 .../global/video/act3/act03start.webm | 0 .../global/video/act4/act04end.webm | 0 .../global/video/act4/act04start.webm | 0 .../global/video/act5/d2x_out.webm | 0 .../cutscenes_hd/global/video/d2intro.webm | 0 .../cutscenes_hd/global/video/d2x_intro.webm | 0 .../cutscenes_hd/local/act2/act02start.flac | 0 .../cutscenes_hd/local/act3/act03start.flac | 0 .../cutscenes_hd/local/act4/act04end.flac | 0 .../cutscenes_hd/local/act4/act04start.flac | 0 .../cutscenes_hd/local/act5/d2x_out.flac | 0 .../cutscenes_hd/local/blizzardlogos.flac | 0 .../cutscenes_hd/local/d2intro.flac | 0 .../cutscenes_hd/local/d2x_intro.flac | 0 .../cutscenes_hd/local/logoanim.flac | 0 .../video/act2/act02start.flac | 0 .../video/act3/act03start.flac | 0 .../cutscenes_local/video/act4/act04end.flac | 0 .../video/act4/act04start.flac | 0 .../cutscenes_local/video/act5/d2x_out.flac | 0 .../cutscenes_local/video/d2intro.flac | 0 .../cutscenes_local/video/d2x_intro.flac | 0 .../launch_hd/global/video/blizzardlogos.webm | 0 .../launch_hd/global/video/logoanim.webm | 0 CaedendiSkipVideos/mod.js | 39 ++++++++++- README.md | 67 ++++++++++++++++++- 36 files changed, 103 insertions(+), 3 deletions(-) create mode 100644 CaedendiSkipVideos/cutscenes_global/video/act2/act02start.webm create mode 100644 CaedendiSkipVideos/cutscenes_global/video/act3/act03start.webm create mode 100644 CaedendiSkipVideos/cutscenes_global/video/act4/act04end.webm create mode 100644 CaedendiSkipVideos/cutscenes_global/video/act4/act04start.webm create mode 100644 CaedendiSkipVideos/cutscenes_global/video/act5/d2x_out.webm create mode 100644 CaedendiSkipVideos/cutscenes_global/video/bliznorth.webm create mode 100644 CaedendiSkipVideos/cutscenes_global/video/d2intro.webm create mode 100644 CaedendiSkipVideos/cutscenes_global/video/d2x_intro.webm create mode 100644 CaedendiSkipVideos/cutscenes_global/video/new_bliz.webm create mode 100644 CaedendiSkipVideos/cutscenes_hd/global/video/act2/act02start.webm create mode 100644 CaedendiSkipVideos/cutscenes_hd/global/video/act3/act03start.webm create mode 100644 CaedendiSkipVideos/cutscenes_hd/global/video/act4/act04end.webm create mode 100644 CaedendiSkipVideos/cutscenes_hd/global/video/act4/act04start.webm create mode 100644 CaedendiSkipVideos/cutscenes_hd/global/video/act5/d2x_out.webm create mode 100644 CaedendiSkipVideos/cutscenes_hd/global/video/d2intro.webm create mode 100644 CaedendiSkipVideos/cutscenes_hd/global/video/d2x_intro.webm create mode 100644 CaedendiSkipVideos/cutscenes_hd/local/act2/act02start.flac create mode 100644 CaedendiSkipVideos/cutscenes_hd/local/act3/act03start.flac create mode 100644 CaedendiSkipVideos/cutscenes_hd/local/act4/act04end.flac create mode 100644 CaedendiSkipVideos/cutscenes_hd/local/act4/act04start.flac create mode 100644 CaedendiSkipVideos/cutscenes_hd/local/act5/d2x_out.flac create mode 100644 CaedendiSkipVideos/cutscenes_hd/local/blizzardlogos.flac create mode 100644 CaedendiSkipVideos/cutscenes_hd/local/d2intro.flac create mode 100644 CaedendiSkipVideos/cutscenes_hd/local/d2x_intro.flac create mode 100644 CaedendiSkipVideos/cutscenes_hd/local/logoanim.flac create mode 100644 CaedendiSkipVideos/cutscenes_local/video/act2/act02start.flac create mode 100644 CaedendiSkipVideos/cutscenes_local/video/act3/act03start.flac create mode 100644 CaedendiSkipVideos/cutscenes_local/video/act4/act04end.flac create mode 100644 CaedendiSkipVideos/cutscenes_local/video/act4/act04start.flac create mode 100644 CaedendiSkipVideos/cutscenes_local/video/act5/d2x_out.flac create mode 100644 CaedendiSkipVideos/cutscenes_local/video/d2intro.flac create mode 100644 CaedendiSkipVideos/cutscenes_local/video/d2x_intro.flac create mode 100644 CaedendiSkipVideos/launch_hd/global/video/blizzardlogos.webm create mode 100644 CaedendiSkipVideos/launch_hd/global/video/logoanim.webm diff --git a/CaedendiSkipVideos/cutscenes_global/video/act2/act02start.webm b/CaedendiSkipVideos/cutscenes_global/video/act2/act02start.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_global/video/act3/act03start.webm b/CaedendiSkipVideos/cutscenes_global/video/act3/act03start.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_global/video/act4/act04end.webm b/CaedendiSkipVideos/cutscenes_global/video/act4/act04end.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_global/video/act4/act04start.webm b/CaedendiSkipVideos/cutscenes_global/video/act4/act04start.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_global/video/act5/d2x_out.webm b/CaedendiSkipVideos/cutscenes_global/video/act5/d2x_out.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_global/video/bliznorth.webm b/CaedendiSkipVideos/cutscenes_global/video/bliznorth.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_global/video/d2intro.webm b/CaedendiSkipVideos/cutscenes_global/video/d2intro.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_global/video/d2x_intro.webm b/CaedendiSkipVideos/cutscenes_global/video/d2x_intro.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_global/video/new_bliz.webm b/CaedendiSkipVideos/cutscenes_global/video/new_bliz.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_hd/global/video/act2/act02start.webm b/CaedendiSkipVideos/cutscenes_hd/global/video/act2/act02start.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_hd/global/video/act3/act03start.webm b/CaedendiSkipVideos/cutscenes_hd/global/video/act3/act03start.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_hd/global/video/act4/act04end.webm b/CaedendiSkipVideos/cutscenes_hd/global/video/act4/act04end.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_hd/global/video/act4/act04start.webm b/CaedendiSkipVideos/cutscenes_hd/global/video/act4/act04start.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_hd/global/video/act5/d2x_out.webm b/CaedendiSkipVideos/cutscenes_hd/global/video/act5/d2x_out.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_hd/global/video/d2intro.webm b/CaedendiSkipVideos/cutscenes_hd/global/video/d2intro.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_hd/global/video/d2x_intro.webm b/CaedendiSkipVideos/cutscenes_hd/global/video/d2x_intro.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_hd/local/act2/act02start.flac b/CaedendiSkipVideos/cutscenes_hd/local/act2/act02start.flac new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_hd/local/act3/act03start.flac b/CaedendiSkipVideos/cutscenes_hd/local/act3/act03start.flac new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_hd/local/act4/act04end.flac b/CaedendiSkipVideos/cutscenes_hd/local/act4/act04end.flac new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_hd/local/act4/act04start.flac b/CaedendiSkipVideos/cutscenes_hd/local/act4/act04start.flac new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_hd/local/act5/d2x_out.flac b/CaedendiSkipVideos/cutscenes_hd/local/act5/d2x_out.flac new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_hd/local/blizzardlogos.flac b/CaedendiSkipVideos/cutscenes_hd/local/blizzardlogos.flac new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_hd/local/d2intro.flac b/CaedendiSkipVideos/cutscenes_hd/local/d2intro.flac new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_hd/local/d2x_intro.flac b/CaedendiSkipVideos/cutscenes_hd/local/d2x_intro.flac new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_hd/local/logoanim.flac b/CaedendiSkipVideos/cutscenes_hd/local/logoanim.flac new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_local/video/act2/act02start.flac b/CaedendiSkipVideos/cutscenes_local/video/act2/act02start.flac new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_local/video/act3/act03start.flac b/CaedendiSkipVideos/cutscenes_local/video/act3/act03start.flac new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_local/video/act4/act04end.flac b/CaedendiSkipVideos/cutscenes_local/video/act4/act04end.flac new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_local/video/act4/act04start.flac b/CaedendiSkipVideos/cutscenes_local/video/act4/act04start.flac new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_local/video/act5/d2x_out.flac b/CaedendiSkipVideos/cutscenes_local/video/act5/d2x_out.flac new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_local/video/d2intro.flac b/CaedendiSkipVideos/cutscenes_local/video/d2intro.flac new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/cutscenes_local/video/d2x_intro.flac b/CaedendiSkipVideos/cutscenes_local/video/d2x_intro.flac new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/launch_hd/global/video/blizzardlogos.webm b/CaedendiSkipVideos/launch_hd/global/video/blizzardlogos.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/launch_hd/global/video/logoanim.webm b/CaedendiSkipVideos/launch_hd/global/video/logoanim.webm new file mode 100644 index 0000000..e69de29 diff --git a/CaedendiSkipVideos/mod.js b/CaedendiSkipVideos/mod.js index 60a5ee3..338ebd7 100644 --- a/CaedendiSkipVideos/mod.js +++ b/CaedendiSkipVideos/mod.js @@ -2,9 +2,44 @@ ////===========================//// //// //// //// Skip Videos for D2RMM //// -//// v0.0.0 //// +//// v1.0.0 //// //// //// ////===========================//// ////===========================//// -// under construction \ No newline at end of file +function removeLaunch() { + D2RMM.copyFile( + 'launch_hd', // \launch_hd + 'hd', // \mods\\.mpq\data\hd + true // overwrite any conflicts + ); +} + +function removeCutscenes() { + D2RMM.copyFile( + 'cutscenes_global', // \cutscenes_global + 'global', // \mods\\.mpq\data\global + true // overwrite any conflicts + ); + D2RMM.copyFile( + 'cutscenes_hd', // \cutscenes_hd + 'hd', // \mods\\.mpq\data\hd + true // overwrite any conflicts + ); + D2RMM.copyFile( + 'cutscenes_local', // \cutscenes_local + 'local', // \mods\\.mpq\data\local + true // overwrite any conflicts + ); +} + +function applyMod() { + if (config.RemoveLaunch) { + removeLaunch(); + } + if (config.RemoveCutscenes) { + removeCutscenes(); + } +} + +applyMod(); \ No newline at end of file diff --git a/README.md b/README.md index 73447c1..85e60b7 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,68 @@ # Skip Videos for D2RMM -Under construction. \ No newline at end of file +Remove the intro videos when launching D2R and the cinematic cutscenes when transitioning between acts by replacing them with empty files. Works with D2RMM. + +This mod merges [Skip Videos](https://www.nexusmods.com/diablo2resurrected/mods/331) by [Caleb and Friends](https://www.nexusmods.com/diablo2resurrected/users/171503373) and [Skip Intro Videos for D2RMM](https://www.nexusmods.com/diablo2resurrected/mods/397) by [olegbl](https://www.nexusmods.com/diablo2resurrected/users/353885) into a single D2RMM mod. + +Both video types can be either enabled or disabled using the D2RMM settings. + + +## Changelog + +### 1.0.0 + +Initial release! + + +## How to Install + +- Download and install [D2RMM](https://www.nexusmods.com/diablo2resurrected/mods/169), then run it. +- Download and extract this mod folder to /D2RMM/mods/. +- See D2RMM instructions on how to configure and enable. +- Play the game! + + +## Roadmap + +None at the moment. If you have a request for a feature, please open a GitHub issue (preferred) or post a comment on Nexus Mods. + + +## Recommended Mods + +In addition to this, I recommend you also use the following D2RMM mods: + +| Mod | Creator | Notes | +|------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------:|----------------------------------------------------------------------------------------------------| +| [Disable Battle.net](https://github.com/olegbl/d2rmm.mods) | [olegbl](https://github.com/olegbl) | So you don't accidentally get yourself banned. | +| [Improved Potion Visibility](https://www.nexusmods.com/diablo2resurrected/mods/384) | [MetalTxus](https://www.nexusmods.com/diablo2resurrected/users/18894694) | Changes healing/mana potion sprites so it's easier to distinguish different potion levels. | +| [UI Fixes](https://www.nexusmods.com/diablo2resurrected/mods/387) | [MetalTxus](https://www.nexusmods.com/diablo2resurrected/users/18894694) | Fixes the placement of a few item grids. | +| [Towns QoL Changes](https://www.nexusmods.com/diablo2resurrected/mods/310) | [night0wl117](https://www.nexusmods.com/diablo2resurrected/users/33697975) | Move town starting points, TP locations and Cain's position in Act 5. | +| [Town Cast](https://www.nexusmods.com/diablo2resurrected/mods/183) | [olegbl](https://github.com/olegbl) | Teleport and buff in town. _(BREAKING: allows teleporting past Jerhyn during the Act 2 questline)_ | +| [Caedendi's Extended Loot Filter](https://www.nexusmods.com/diablo2resurrected/mods/361) | [Caedendi](https://www.nexusmods.com/diablo2resurrected/users/179695179) (me) | Expansive customizable loot filter including ilvl, item quality and extended light pillar support. | +| [Settings Font Fix](https://www.nexusmods.com/diablo2resurrected/mods/200) | [olegbl](https://github.com/olegbl) | In case any mod touches __profilehd_ and screws up the font size in the settings menu. | + + +## License/Permissions + +This code is licensed under GPL. + +You are free to use and distribute all code in this mod, as long as you ask for permission (and permission is given), it stays open source, free of charge and all due credit is given. + +If you are trying to profit off this mod in any way, then you're a dick and forbidden from using this code. + + +## Credits +- olegbl for creating [D2RMM](https://www.nexusmods.com/diablo2resurrected/mods/169) +- olegbl for creating [Skip Intro Videos for D2RMM](https://www.nexusmods.com/diablo2resurrected/mods/179) +- Caleb and Friends for creating [Skip Videos](https://www.nexusmods.com/diablo2resurrected/mods/331) + + +## My Mods + Source + +### Diablo II: Resurrected ### + +| Nexus Mods Page | Source | +|:---------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------| +| [Caedendi's Extended Loot Filter for D2RMM](https://www.nexusmods.com/diablo2resurrected/mods/361) | [GitHub](https://github.com/Caedendi/D2RMM-Loot-Filter-Extended) | +| [Caedendi's Simple Loot Filter for D2RMM](https://www.nexusmods.com/diablo2resurrected/mods/360) | [GitHub](https://github.com/Caedendi/D2RMM-Loot-Filter-Simple) | +| [Skip Videos for D2RMM](https://www.nexusmods.com/diablo2resurrected/mods/397) | [GitHub](https://github.com/Caedendi/D2RMM-Skip-Videos) |