Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.0 #1

Merged
merged 4 commits into from
Jul 31, 2023
Merged
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
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
39 changes: 37 additions & 2 deletions CaedendiSkipVideos/mod.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,44 @@
////===========================////
//// ////
//// Skip Videos for D2RMM ////
//// v0.0.0 ////
//// v1.0.0 ////
//// ////
////===========================////
////===========================////

// under construction
function removeLaunch() {
D2RMM.copyFile(
'launch_hd', // <mod folder>\launch_hd
'hd', // <diablo 2 folder>\mods\<modname>\<modname>.mpq\data\hd
true // overwrite any conflicts
);
}

function removeCutscenes() {
D2RMM.copyFile(
'cutscenes_global', // <mod folder>\cutscenes_global
'global', // <diablo 2 folder>\mods\<modname>\<modname>.mpq\data\global
true // overwrite any conflicts
);
D2RMM.copyFile(
'cutscenes_hd', // <mod folder>\cutscenes_hd
'hd', // <diablo 2 folder>\mods\<modname>\<modname>.mpq\data\hd
true // overwrite any conflicts
);
D2RMM.copyFile(
'cutscenes_local', // <mod folder>\cutscenes_local
'local', // <diablo 2 folder>\mods\<modname>\<modname>.mpq\data\local
true // overwrite any conflicts
);
}

function applyMod() {
if (config.RemoveLaunch) {
removeLaunch();
}
if (config.RemoveCutscenes) {
removeCutscenes();
}
}

applyMod();
67 changes: 66 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,68 @@
# Skip Videos for D2RMM

Under construction.
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) |