From a284c851c22201642400b0af87257b881e3ea941 Mon Sep 17 00:00:00 2001
From: asterisk727 <59166650+asterisk727@users.noreply.github.com>
Date: Fri, 24 Apr 2026 11:46:05 -0400
Subject: [PATCH] chore: replace iidx30 guides with snippets
---
docs/games/konami/iidx/30_resident/extras.md | 88 +----------------
docs/games/konami/iidx/30_resident/setup.md | 21 +---
.../iidx/30_resident/troubleshooting.md | 97 +------------------
3 files changed, 3 insertions(+), 203 deletions(-)
diff --git a/docs/games/konami/iidx/30_resident/extras.md b/docs/games/konami/iidx/30_resident/extras.md
index 72f1efa..1fa4d39 100644
--- a/docs/games/konami/iidx/30_resident/extras.md
+++ b/docs/games/konami/iidx/30_resident/extras.md
@@ -1,88 +1,2 @@
-# Extra Information
-
-## Standard and Lightning modes
-
-!!! warning "Lightning mode requires a 120 Hz capable monitor"
-
-!!! tip ""
-
- To make use of the Lightning Mode, which unlocks the subscreen and 120FPS, we need to go to the `contents\prop` folder and edit the `ea3-config.xml` file.
-
- We're interested in these lines:
-
- ```xml
-
- LDJ
- J
- A
- A
- 2023090500
-
- ```
-
- This is the line that determines if the game will run in Standard (60 FPS) or Lightning (120 FPS) mode.
-
- ```xml
- A
- ```
-
- - ^^`A`^^ for Standard (LDJ-003, LDJ, 60 Hz)
- - ^^`E`^^ for Standard (LDJ-012, LDJ, 60 Hz)
- - ^^`D`^^ for Lightning (LDJ-010, TDJ, 120 Hz)
-
-## Changing the game's language
-
-!!! tip ""
-
- This is done in-game before card-in by pressing your `EFFECT` key.
-
-## More about ea3-config.xml
-
-!!! tip ""
-
- The `ea3-config.xml` file is located inside the `prop` folder.
-
- Below is an explanation on what different sections of this file do.
-
- The following lines change the PCBID and HARDID that your system reports to your e-amusement server.
- There is ^^**no need to manually change this**^^ as `spice2x` will do it for us.
-
- ```xml
- 00010203040506070809
- 00010203040506070809
- ```
-
- The following line determines what version of the game you are running.
- ^^**You should never change this**^^. It should always say `LDJ`.
-
- ```xml
- LDJ
- ```
-
- The following line determines the game's region.
- ^^**You should never change this**^^. As you can change the language in-game.
-
- ```xml
- J
- ```
-
- ^^**You should never change this**^^. It should always say `A` for Resident.
-
- ```xml
- A
- ```
-
- The following line determines your datecode.
- ^^**Always keep it up to date**^^ with your game's current version.
-
- ```xml
- 2023090500
- ```
-
- The following line determine what remote service URL `spice2x` is supposed to connect to.
- There is ^^**no need to manually change this**^^ as `spice2x` will do it for us.
-
- ```xml
- http://localhost:8083
- ```
\ No newline at end of file
+--8<-- "docs/games/konami/iidx/common/31plus/extras.md"
\ No newline at end of file
diff --git a/docs/games/konami/iidx/30_resident/setup.md b/docs/games/konami/iidx/30_resident/setup.md
index 3ed6d2f..ee4c09b 100644
--- a/docs/games/konami/iidx/30_resident/setup.md
+++ b/docs/games/konami/iidx/30_resident/setup.md
@@ -5,26 +5,7 @@
## Standard and Lightning modes
-!!! note ""
-
- Before proceeding with the setup, it's important to understand the two cabinet types for IIDX:
-
- - **Lightning (TDJ/LDJ-010)**:
-
- - Runs at 120 FPS
- - Requires a 120 Hz main monitor
- - Optional second touchscreen 60 Hz monitor called a subscreen
-
- - **Standard/Legacy (LDJ/LDJ-003/LDJ-012)**:
-
- - Runs at 60 FPS
- - Requires a 60 Hz main monitor
- - No subscreen
-
- The game data comes in three variants based on the `bm2dx.dll` file.
- You can patch an LDJ dll to run in TDJ mode, but this will disable video recording.
-
- For simplicity, we'll use "TDJ" for Lightning Mode and "LDJ" for Standard Mode throughout our guides.
+--8<-- "docs/snippets/konami/iidx/ldj_vs_tdj.md"
## Preparing data
diff --git a/docs/games/konami/iidx/30_resident/troubleshooting.md b/docs/games/konami/iidx/30_resident/troubleshooting.md
index c570ce9..0839eb0 100644
--- a/docs/games/konami/iidx/30_resident/troubleshooting.md
+++ b/docs/games/konami/iidx/30_resident/troubleshooting.md
@@ -1,97 +1,2 @@
-# Troubleshooting
-
---8<-- "docs/snippets/common/data_warning.md"
-
-!!! info "For any issues not covered here, spice2x's [Known issues](https://github.com/spice2x/spice2x.github.io/wiki/Known-issues) page might prove useful"
-
-## Technical problems
-
-### Crashes
-
-!!! info "Riva Tuner Statistics Server (RTSS) and MSI Afterburner are known to cause odd crashes.
If you have them installed, close them both before starting any arcade game"
-
-??? tip "`W:SuperstepSound: Audio device is not available!!!` in logs"
-
- - Open `log.txt` using an editor that supports `SHIFT-JIS` encoding for Japanese text (like [Notepad++](https://notepad-plus-plus.org/downloads/))
-
- - Search for `Superstep`
-
- If you find a line with `Audio device is not available!!!`, it means the game refuses to boot due to a misconfigured or missing audio device.
- Check the setup guide's **Configuring audio** section as well as our general [Audio guide](/extras/audio.md) to understand the issue better.
-
-??? tip "I'm using a laptop with a hybrid internal+dedicated GPU setup"
-
- Laptops often have odd issues running data. The game may open on the wrong monitor, run at the wrong resolution or framerate, or simply crashes.
-
- There is currently no known fix for this, other than maybe playing in windowed mode, or using a desktop PC instead.
-
-### Performance
-
-!!! info "Check out spice2x's [PC optimization](https://github.com/spice2x/spice2x.github.io/wiki/PC-optimization) guide"
-
-??? tip "Game is running too slow/fast / Monitor error 5-1503-0043"
-
- Your game is likely running at an incorrect framerate. The expected framerates are:
-
- - Legacy cab mode: 60 FPS
- - Lightning Model cab mode: 120 FPS
-
- Try these steps to resolve framerate issues:
-
- - Make sure that your patch or DLL matches your cab mode
- - Close any software that can affect framerates (like RTSS)
- - Close unnecessary background programs
- - Ensure V-SYNC is not forcefully disabled in your graphics card control panel
- - For NVIDIA users: Enable `NVIDIA profile optimization (-nvprofile)` in spicecfg's `Options` tab
-
- If issues persist:
-
- - Double-check that you followed all steps in the setup guide correctly
- - Your PC hardware might be insufficient to keep a steady 120 FPS, you can try switching to Legacy cab mode
- - Your data may be corrupt in one way or another, you could try starting from scratch using trusted data sources
-
-### Audio
-
-!!! info "Check out our [Audio](/extras/audio.md) guide to understand audio modes better"
-
-!!! info "Ensure your default audio device's sample rate is set properly"
-
- - **44100 Hz** sample rate for **WASAPI Exclusive** and **ASIO**
- - **48000 Hz** if your game is patched with `Shared Mode WASAPI`
-
-??? tip "I can't change my device's sample rate"
-
- If you're using gaming peripherals (Logitech/Razer/Steelseries) or external audio devices (audio interfaces/sound bars):
-
- - Check if you can modify the sample rate in the device's software/control panel
- - If not, try uninstalling the device's software. This may restore control over Windows audio settings
-
- If you still can't change the sample rate:
-
- - Configure the game's audio mode to match your device's current sample rate instead
- - Try using a different audio device
-
-??? tip "I can't hear anything else than the game"
-
- Your game's audio is setup to run in WASAPI Exclusive or ASIO modes.
-
- Check out our [Audio](/extras/audio.md) guide to understand audio modes better.
-
- If you're using WASAPI Exclusive, you'll want to [patch the game](/extras/patchsp2x.md) with `Shared Mode WASAPI` to hear other applications.
-
- If you're using ASIO, unless your audio interface mixes WASAPI and ASIO streams when outputting, you'll only be able to hear one application when ASIO is in use.
- In this case, you'll need to route all audio through software such as [Voicemeeter](https://vb-audio.com/Voicemeeter/banana.htm), and have Voicemeeter output the mix to your ASIO device.
-
-??? tip "Game audio is too quiet"
-
- When using `TDJ mode` the audio is very quiet by default. To mitigate this, you can use the `Increase Game Volume` patch.
-
-### Subscreen
-
-!!! info "For more in-depth troubleshooting, refer to the spice2x [Subscreen troubleshooting](https://github.com/spice2x/spice2x.github.io/wiki/Configuring-touch-screens-as-subscreen#troubleshooting) page"
-
-??? tip "Touch input isn't being registered"
-
- If you're using a physical touch screen, make sure to close **all** spice2x overlays, including the FPS counter.
- If you're using the virtual subscreen, ensure that the `-iidxnativetouch` option is not enabled.
\ No newline at end of file
+--8<-- "docs/games/konami/iidx/common/31plus/troubleshooting.md"
\ No newline at end of file