Previous topicNext topic
 My Nes Help
Help > Misc >
Command Lines

My Nes can accept command-lines. The first command line MUST be the rom file (if you want to open rom file) then the switches. If the file path is not the first command and appeared later in the switches, it will get ignored.

The switches are:

 Command

 Description

 /audio_on

 Enables the sound playback.

 /audio_off

 Disables the sound playback.

 /f_skip_off

 Turns off frame skipping.

 /f_skip_1

 Turn on frame skipping and set it to 1.

 /f_skip_2

 Turn on frame skipping and set it to 2.

 /f_skip_3

 Turn on frame skipping and set it to 3.

 /f_skip_4

 Turn on frame skipping and set it to 4.

 /f_skip_5

 Turn on frame skipping and set it to 5.

 /f_skip_6

 Turn on frame skipping and set it to 6.

 /f_skip_7

 Turn on frame skipping and set it to 7.

 /f_skip_8

 Turn on frame skipping and set it to 8.

 /f_skip_9

 Turn on frame skipping and set it to 9.

 /pal_use_gen

 Use the palette generator. See Palettes

 /pal_dontuse_gen

 Do not use the palette generator (use palette file)

 /pal_gen_auto

 Set the palette generator mode to AUTO.

 /pal_gen_ntsc

 Set the palette generator mode to NTSC.

 /pal_gen_pal

 Set the palette generator mode to PAL.

 /sram_save_on

 Enables the Save SRAM on emu shutdown option. See Preferences

 /sram_save_off

 Disables the Save SRAM on emu shutdown option. See Preferences

 /show_issues_on

 Enables the Show game known issues with My Nes option. See Preferences

 /show_issues_off

 Disables the Show game known issues with My Nes option. See Preferences

 /tv_auto

 Set TV Format (Region) option to AUTO. See Region

 /tv_ntsc

 Set TV Format (Region) option to NTSC. See Region

 /tv_pal

 Set TV Format (Region) option to PALB. See Region

 /tv_dendy

 Set TV Format (Region) option to DENDY. See Region

 /vid_hide_lines_on

 Enables the Hide hidden lines video option. See Video

 /vid_hide_lines_off

 Disables the Hide hidden lines video option. See Video

 /vid_filter_point

 Set the  Filter video option to Point. See Video

 /vid_filter_none

 Set the  Filter video option to None. See Video

 /vid_filter_linear

 Set the  Filter video option to Linear. See Video

 /vid_vertex_hardware

 Enables the Hardware vertex processing video option. See Video

 /vid_vertex_software

 Disables the Hardware vertex processing video option (use software). See Video

 /vid_keep_apsect_on

 Enables the Keep aspect ratio video option. See Video

 /vid_keep_apsect_off

 Disables the Keep aspect ratio video option. See Video

 /vid_fps_on

 Enables the Show FPS video option. See Video

 /vid_fps_off

 Disables the Show FPS video option. See Video

 /vid_noti_on

 Enables the Show Notification video option. See Video

 /vid_noti_off

 Disables the Show Notification video option. See Video

 /vid_fullscreen

 Enables the Start game in fullscreen video option. See Video

 /vid_wind

 Disables the Start game in fullscreen video option (run in windowed mode). See Video

 /vid_stretch_wind_on

 Enables the Resize window to windowed size video option. See Video

 /vid_stretch_wind_off

 Disables the Resize window to windowed size video option. See Video

 /state_slot_0

 Select the state slot 0

 /state_slot_1

 Select the state slot 1

 /state_slot_2

 Select the state slot 2

 /state_slot_3

 Select the state slot 3

 /state_slot_4

 Select the state slot 4

 /state_slot_5

 Select the state slot 5

 /state_slot_6

 Select the state slot 6

 /state_slot_7

 Select the state slot 7

 /state_slot_8

 Select the state slot 8

 /state_slot_9

 Select the state slot 9

 /state_load

 Load state at specified state slot. See Save Or Load State

Examples:

  • "<rompath> /state_slot_0 /state_load /vid_fullscreen"
    This command-lines will first open rom at <rompath> then set State Slot to 0, after that the State get loaded from specified slot (Slot 0) and finally the video set to fullscreen.
  • "<rompath> /vid_wind /vid_filter_linear /pal_dontuse_gen"
    This command-lines will first open rom at <rompath> then set video to run in windowed mode, after that the video Filter set to Linear and finally the emu will forced to use palette file instead of palette generator.

NOTES


  • Again, if you want to run a rom, you must send the rom path first then the switches.
  • Never send opposite commands together. If you do this, the last command get executed. For example: "/audio_on /audio_off", the first command turns the sound playback ON while the second one turns OFF the sound playback (opposite commands). If this command is sent to My Nes, My Nes will only turn OFF the sound playback (execute the second or last one).
    This may appears like not a big deal but it is a big deal in some cases especially for video settings.