N64Digital Custom Modelines Guide

Requires N64Digital firmware >= 0.140.0, a firmware < 0.140.2 requires a power cycle to read the custom modelines

This is an advanced feature for expert users.

Please read and understand section Maximum supported resolution / pixel clock frequency before proceeding!

Currently it's only possible to create progressive custom resolutions.

N64Digital supports two custom modelines, so you can customize the HDMI output timings if needed.

After creating a custom modeline.ini this file can be uploaded to N64Digital via the web interface:

Format

Modelines are stored in an .ini file, which has the following format:

[NTSC]
custom1=DISPLAY_NAME, H_TOTAL, H_ACTIVE, H_FRONT_PORCH, H_BACK_PORCH, H_SYNC_WIDTH, V_TOTAL, V_ACTIVE, V_FRONT_PORCH, V_BACK_PORCH, V_SYNC_WIDTH, H_POL, V_POL, DZ, PR, VIC
custom2=DISPLAY_NAME,...

; lines starting with a ; or # or empty lines are ignored

[PAL]
custom1=DISPLAY_NAME,...
custom2=DISPLAY_NAME,...

Pixel clock is calculated from the frame rate

Each modeline should be defined for both NTSC or PAL, otherwise N64Digital falls back to 1080p after a region change (loading a PAL game from an NTSC console and vice versa)

Maximum supported resolution / pixel clock frequency

The HDMI TX used on N64Digital is specified for a maximum pixel clock frequency (PIXEL_CLOCK) of 165MHz.

To calculate the pixel clock frequency of a custom modeline, use this formula:

Exceeding the specified guaranteed maximum frequency will increase current consumption and will generate more heat. It also may not work on your specific unit. Monitor temperatures!

You're doing it at your own risk!

Example 1 (1440p)

[NTSC]
custom1=1440p,2080,1920,48,80,32,1481,1440,3,34,4,1,0,6.0,0,0
[PAL]
custom1=1440p,2080,1920,48,80,32,1481,1440,3,34,4,1,0,6.0,0,0

Example 2 (540p, 1440p alternative timinigs)

[NTSC]
custom1=540p,1112,960,33,79,40,569,540,9,19,1,1,1,2.0,0,0
custom2=1440p,2080,1920,48,80,32,1481,1440,3,34,4,1,0,6.0,0,0
[PAL]
custom1=540p,1112,960,33,79,40,569,540,9,19,1,1,1,2.0,0,0
custom2=1440p,2080,1920,48,80,32,1481,1440,3,34,4,1,0,6.0,0,0