rvlnetconf

Introduction

The rvlnetconf tool runs a portion of the nwc24init and ncdconfigtool functionality on the command line. By incorporating this into scripts and batch files, network settings and similar work performed during debugging can be automated.
Output is not on the monitor, but completely on the terminal.

Running the Demo

Go to the $(REVOLUTION_EXT_ROOT)/RVL/bin/tools directory and run as shown using the ndrun script.

ndrun rvlnetconf[D].elf -a argument list

The argument list is passed to rvlnetconf[D].elf as an argument.

Using the Tool

There are no controller operations.

Format

rvlnetconf [option1] [option2] ...

Options:
[-v param1 param2 ...] [-p {0-2}] [-i param1=DIR param2=DIR ...] [-e param1=DIR param2=DIR ...] [-n param1=value param1=value ...] [-s param1=value param1=value ...] [-u {0-31}] [-f [c][m][f][d]] [-h]

Options

-v option

Displays all settings information.

Parameters Description
p0 p1 p2 Displays information for each profile.
ncd Displays the network setting information. Mainly, the setting information specific to the NCD library is displayed.
sc Displays console setting information specific to the network. Mainly, setting information specific to the SC library is displayed.
id Displays the Wii number.
-p option

Changes the current profile.

Parameters Description
0-2 The profile of the corresponding number is selected.
-i option

Imports settings information and related files from the SD card.

Parameters Description
ncd=DIR Imports the network setting information.Specify the directory of the ncdconf.dat file in DIR.
Imports from the root directory if a directory is not specified.
Files exported by the ncdconfigtool can be used as they are.
nwc24=DIR Imports WiiConnect 24 setting information and related files. Specify the directory of the file in DIR.
Imports from the root directory if a directory is not specified.
Files exported by nwc24init can be used as they are.
-e option

Exports settings information and related files to the SD card.

Parameters Description
ncd=DIR Exports the network setting information. Specify the output destination directory in DIR.
Exports to the root directory if a directory is not specified.
Output files can be used even by the ncdconfigtool.
nwc24=DIR Exports WiiConnect 24 setting information and related files. Specify the output destination directory in DIR.
Exports to the root directory if a directory is not specified.
Output files can be used even by nwc24init.
-n option

Configures the network settings. Mainly configures items related to the NCD library.
This is the same functionality as settings that can be performed in the NCD menu items of nwc24init. See that for more information.

Parameters Description
timeout=sec Specifies the timeout in seconds.
permission=[s][r][d] Makes the WiiConnect24 permission settings. The meanings of the values are described below.
s: Allow message transmission
r: Allow message reception
d: Download allowed.
-s option

Configures console settings specific to WiiConnect24. Mainly sets items specific to the SC library.
This is the same feature as settings that can be configured in the SC menu items of nwc24init. See that for more information.

NOTE: If this option is specified, the settings are always flushed, which is different from nwc24init.

Parameters Description Normal Settings
wc={true,false} Toggles the settings to use for WiiConnect24. ON
eula={true,false} Toggles the EULA on and off. ON
parental={true,false} Toggles Parental Controls to be valid/invalid. OFF
restrict=[m][n][s] Toggles the restrictions for each content when Parental Control is valid.
m: Message sending and receiving is restricted.
n: News content is restricted.
s: Shopping content is restricted.
OFF
idle={true,false} Toggles the setting to use/not use WiiConnect24 even in standby mode. Options
led={off,dark,bright} Toggles the setting to light the console slot LED using WiiConnect24.
If a value is not specified, the value will be dark.
Options
-u option

Generates Wii numbers. After running the -f c option, always run this option.

Parameters Description
0-31 A different Wii number is generated according to the specified parameter. This does not need to be specified.
-f option

Initializes the WiiConnect24 settings file and the like.
This is the same functionality as Initialize, in the NWC24 menu of nwc24init. See that for more information.

NOTE: A Wii number is not automatically generated, so after running, use the -u option.

Parameters Description
[c][m][f][d] Initializes the specified file.
c: Initializes the settings information.
m: Initializes the message box.
f: Initializes the friend roster.
d: Initializes a download task.
-h option

Displays Help.

Example

Options and parameters passed to arguments are processed in order from the left. The next example changes the current profile after the network settings are changed.

ndrun rvlnetconf[D].elf -a -n permission=srd -p 0

Also, the same options and parameters are processed sequentially even if they are specified multiple times. The next example displays information for each import.

ndrun rvlnetconf[D].elf -a -i ncd -v ncd -i nwc24 -v id

Revision History

2008/11/27 Initial version.




CONFIDENTIAL