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:
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,...
custom2 these are the two available custom slots. One modeline cannot be spread over multiple lines.
DISPLAY_NAME this is the name displayed in the OSD. Can be up to 8 characters long. Currently only the NTSC names are displayed.
V_TOTAL Horizontal total pixels / Vertical total lines
V_ACTIVE Horizontal active pixels / Vertical active lines
V_FRONT_PORCH Horizontal front porch width / Vertical front porch lines
V_BACK_PORCH Horizontal back porch width / Vertical back porch lines
V_SYNC_WIDTH Horizontal sync width / Vertical sync lines
V_POL Polarity of the horizontal / vertical sync signal (
DZ Default Scaler Zoom for this resolution (floating point number)
PR Pixel repetition (
VIC Video Information Code, should be
0 for non standard resolutions
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)
The HDMI TX used on N64Digital is specified for a maximum pixel clock frequency (
To calculate the pixel clock frequency of a custom modeline, use this formula:
PIXEL_CLOCK (MHz) =
H_TOTAL * V_TOTAL * 60 / 1000000
PIXEL_CLOCK (MHz) =
H_TOTAL * V_TOTAL * 50 / 1000000
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!
[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
[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