two-torial/docs/games/iidx30/setup.md

12 KiB

beatmania IIDX 30 RESIDENT

!!! info "Last updated: June 7th, 2024"

!!! danger "Please make sure you downloaded your data from an appropriate source.
This guide is unable to troubleshoot any problems related to bad or poorly managed data."


About data

!!! info "Standard (LDJ) / Lightning (TDJ)"

Please keep the following in mind as you're going through this guide.  

IIDX's codename is `LDJ`. For `IIDX 30 Resident` it typically is `LDJ-003`.

Two versions of the game exist:

- **TDJ** expects a `120hz` compatible monitor for its main screen, and a second `60hz` touchscreen compatible monitor called a subscreen. The second monitor isn't mandatory, we can get around that using spice2x.
- **LDJ** expects `60hz` monitor for its main screen, and no subscreen.

We'll be using the terms **TDJ** for **Lightning**, and **LDJ** for **Standard** throughout the guide.

Preparing data

!!! tip ""

After downloading and extracting your data, we need to make sure your files aren't set to `Read-only`.

- Right click the folder containing your data, then click on `Properties`.
- In the `General` tab go down to `Attributes`, untick `Read-only` and click `Apply`.
- A popup will appear, select `Apply changes to this folder, subfolder and files` and press `OK`.
- Finally, click `OK` again to exit out of properties.

You should end up with a file structure with a few folders only, as follows.

??? warning "If your data doesn't look like this"

If you're missing the `modules` folder and instead have bunch of `.dll` files next to your folders:  

- Create a `modules` folder.
- Move all `.dll` files inside of it so you end up with a structure as shown above.

If extra files are present next to your folders, such as executables, scripts, etc.. **remove them**.  
**This also means your data was tampered with and we strongly recommend getting new data from somewhere else.**

!!! info "If you don't need to update your data, you can skip over to the Installing Spice2x section."


Updating data

??? danger "Please make sure you're using the right update for your current data."

Patches re-uploaded by the community tend to be named `LDJ-DATECODE-to-DATECODE`.  

For example `LDJ-2022120800-to-2023090500`.

- `2022120800` being your current data's version.
- `2023090500` being the version you would arrive at.

!!! tip ""

- Extract your patch's files to your existing data in a way that matches its file structure. Agree to overwrite files if necessary.
- Open `prop\ea3-config.yml` in a text editor and find the following lines near the top.

```xml
	<soft>
		<model __type="str">LDJ</model>
		<dest __type="str">J</dest>
		<spec __type="str">B</spec>
		<rev __type="str">A</rev>
		<ext __type="str">2023090500</ext>
	</soft>
```

On the line with `<ext __type="str">` the datecode needs to match your new version.

- If that's already the case then great! Don't touch anything.
- If it instead corresponds to our pre-patch datecode, replace it with the new one.

Now save the file.

Installing Spice2x

!!! tip ""

- Head over to [spice2x.github.io](https://spice2x.github.io) and download the latest release.
- Extract the `spice64.exe` and `spicecfg.exe` files from the archive to your game's directory.

<img src="/img/iidx30-31/setup/4_spicedata.png">

Configuring Spice2x

!!! info "Open spicecfg.exe, each following sub-section corresponds to a tab at the top."

Buttons

!!! tip ""

Click on `Bind` then press the key you want associated with the action.

With your controller and/or keyboard plugged in, configure your keys for:  

- **Maintenance**: `Service, Test`
- **P1 Game buttons**: `1 to 7, Start, EFFECT, VEFX` 
- **P1 Keypad**: `Keypad Insert Card` 

**Only if** you're using LDJ:

- **P1 Keypad**: `1 to 9`

**Only if** you're playing using a keyboard:

- **Turntable**: `TT+, TT-` **and optionally** `TT+/-` which alternates between `TT+` and `TT-` on each press.

Analogs (controller/cab only)

!!! tip ""

With a controller rather than binding buttons to `TT+` and `TT-`, you need to:

- For Turntable P1, click `Bind`.
- In `Device`, pick your controller.
- In `Control`, pick whichever one corresponds to the turntable.
- Turn your turntable ensuring that the Preview turns along with it.
- Click `Close`, leaving the rest of the settings alone.

Overlay

!!! tip ""

Modifying buttons in this section is not required but you are free to change what you want.

Click on `Bind` then press the key you want associated with the action.

Lights (controller/cab only)

!!! tip ""

Your controller might support having its lights controlled by the game through spice2x.

If it does, here's how you may link different actions to your lights:

- Click `Bind`.
- In `Device`, pick your controller.
- In `Light Control`, select the corresponding light.
- Click `Close`.
- Repeat for your other lights.

Cards

!!! info "Covered in the Connecting to a network section."

Patches

!!! info "As of writing, web patching is recommended for IIDX 30 Resident as opposed to spice2x patching."

Spice2x patching is fairly new and the game's latest releases are prioritized for conversion.

For now use [Mon's BemaniPatcher](https://mon.im/bemanipatcher/iidx30resident.html), more info can be found in the [web patching](../../extras/patchweb.md) page.

!!! danger "As a general rule of thumb, if you're not sure what a patch does or you're not absolutely certain you need it, leave it alone, regardless of recommendations below."

??? tip "General patches"

| Patch 										| Recommendation 	| Description |
|-----------------------------------------------|----------------	|-------------|
| Standard/Menu Timer Freeze					| Either		 	| Freezes the timer in all non-premium environments. |
| Premium Free Timer Freeze						| Either		 	| Freezes the timer in Premium Free mode. |
| Cursor Lock									| Either			| In song select, always returns to the previously selected song. |
| CS-style Song Start Delay						| Either			| At the start of a song, holding Start will pause it until you release it. |
| Increase Game Volume							| Either			| Ignores in-game settings and keeps the volume at a maximum, helpful for `TDJ` which tends to be quiet. |
| Hide all bottom text							| Either 		 	| Hides text at the bottom of the screen such as `Credits` or `Paseli`. |

API

!!! warning "Leave everything at default unless you know what you're doing."

Options

!!! info "If you don't know what an option does, hover over the question mark at the very left."

<img src="/img/iidx30-31/setup/5_opthover.png">

!!! danger "Be very careful changing options you don't understand as it may cause issues."

!!! tip "Required"

| Category 		| Option 				| Parameter 		| Setting |
|---------------|-----------------------|-------------------|---------|
| Game Options	| IIDX Disable Cameras 	| -iidxdisablecams 	| ON	  |
| Network		| EA Service URL		| -url				| Covered in [Connecting to a network](#connecting-to-a-network) |

!!! warning "Required For TDJ"

| Category 		| Option 				| Parameter 		| Setting |
|---------------|-----------------------|-------------------|---------|
| Game Options	| IIDX TDJ Mode		 	| -iidxtdj		 	| ON	  |

**If you only have a single 120hz monitor**, and not another 60hz touchscreen:

| Category 		| Option 				| Parameter 						| Setting |
|---------------|-----------------------|-----------------------------------|---------|
| Game Options	| IIDX TDJ Mode		 	| -graphics-force-single-adapter 	| ON	  |

!!! tip "Highly Recommended for NVIDIA users ONLY"

| Category 			| Option 							| Parameter 	| Setting |
|-------------------|-----------------------------------|---------------| 		  |
| Graphics (common)	| NVIDIA profile optimization	 	| -nvprofile 	| ON	  |

Advanced & Development

!!! warning "Leave everything at default unless you know what you're doing."


Connecting to a network

!!! danger "Please choose one of the two solutions, not both!"

??? tip "Remote (Online Network)"

Open `spicecfg.exe` and head to the `Options` tab.

In the `Network` category, set the following settings: 

- `EA Service URL` to the URL provided by your network.
- `PCBID` to the PCBID provided by your network.

<img src="/img/iidx30-31/setup/6_network.png">

Next you need a card number.  
If you don't already have one, generate one in the `Cards` tab.  
To keep your card number safe, create a new `.txt` file with ONLY it inside.

Once that's done, head to the `Cards` tab, for `Player 1` click `Open...` and point to your text file.

<img src="/img/iidx30-31/setup/6_cards.png">

??? tip "Local e-amuse Emulator (Asphyxia)"

This is covered in the [Asphyxia CORE](../../extras/asphyxia.md) page.

Pre-launch requirements

!!! info "These steps are required, otherwise your game won't run."

VCRedist & DirectX

!!! tip ""

- Download and install the latest [VCRedist](https://github.com/abbodi1406/vcredist/releases/latest) (`VisualCppRedist_AIO_x86_x64.exe`)
- Download and install the [DirectX End-User Runtimes](https://www.microsoft.com/en-us/download/details.aspx?id=8109)

Audio

!!! tip ""

- Open `spicecfg.exe`.
- At the very top, click on `Shortcuts` then `Audio Playback Devices`.
- In the popup window, right click on your default audio device, and click on `Properties`.
- Go to the `Advanced` tab.
- Check both boxes under `Exclusive Mode`.
- Open the `Default Format` dropdown.
- Pick the `24 bit, 44100 Hz (CD Quality)` option and click `Apply` then `OK`.

<img src="/img/iidx30-31/setup/7_audio.png">

Standard / Lightning / Language settings

!!! info "Read through the Extra Information page and edit your prop\ea3-config.yml file if necessary."


First launch

!!! danger "If you have any issues running the game, refer to the Troubleshooting page."

BACKUP DATA

!!! tip ""

If you've followed all instructions correctly, you're now finally ready to launch the game!

**First plug your controller if you have one** and run `spice64.exe`, press `Yes` when it asks for elevated privileges.

If it's your first time running the game, you'll immediately be greeted with this screen.

CLOCK ERROR

!!! tip ""

Press your `Test` key to initialize the backup data, a message will pop up stating it's been initialized.

Next, you'll get another error.

!!! tip ""

Let the game run for a bit until the monitor check is complete and you should be taken to the service menu.

!!! tip ""

Instructions on how to navigate the menu are shown at the bottom of the screen.

- Press `1` and `2` to go up and down.
- Press `6` to select/execute.

Start by going up to `CLOCK`.

!!! tip ""

Here, simply select `SAVE AND EXIT` and the clock will be set.

You'll be back in the service menu.

NETWORK OPTIONS

!!! tip ""

Go to `NETWORK OPTIONS` then `SHOP NAME SETTING`.

!!! tip ""

We will need to set a shop name.

- Name your shop to whatever you'd like. Instructions on how to navigate are at the bottom of the screen.
- Go to `EXIT` then `SAVE AND EXIT`.

!!! tip ""

Select `GAME MODE`.

You're all done! The game should load up properly now.

Carding in

!!! info "Before carding in, you have the option of changing the game's language by pressing your EFFECT key."

??? tip "For LDJ (Standard)"

LDJ should accept keypad number binds:

- Press your `Keypad Insert Card` button.
- Enter your code using your keypad binds.

??? tip "For TDJ (Lightning)"

TDJ will ignore keypad number binds, you need to:

- Press your `Keypad Insert Card` button.
- Press your `Toggle Sub Screen` overlay button *(PgUp by default)* to bring up the sub screen.
- Enter your code by clicking on the subscreen's keypad.
- If your code is accepted, you may now close the overlay.

Troubleshooting

!!! warning "Have any other issue?"

Check out the [Troubleshooting](troubleshooting.md) and [Error Codes](../../errorcodes.md) pages.

For any more game-specific information, check out [Extra Information](extras.md).