N64 Core

metalfacemark
Posts: 167
Joined: Mon Jan 04, 2021 12:04 pm
Has thanked: 16 times
Been thanked: 15 times

Re: N64 Core

Unread post by metalfacemark »

thorr wrote: Fri Sep 29, 2023 10:53 pm
metalfacemark wrote: Fri Sep 29, 2023 7:09 pm

Im having a bit of a weird issue trying to get the core running at a decent resolution on my CRT diamondtron monitor.

Just a quick easy answer is to turn on forced_scandoubler=1 and turn off the scaler. You can do this under the core name. I am not sure if you are using HDMI or the analog VGA output. Something like:

[n64]
forced_scandoubler=1
vga_scaler=0
direct_video=1

This will not be a 120Hz mode and will as a result not have the scanlines you are looking for, but it will be zero lag. If you want a 120Hz mode and for it to not be squished, you could theoretically create a custom video mode that is 4:3 in video resolution at 120Hz. Like 320x240@120Hz.

thank you, ill give this a go.

Thank you that worked, got it running now at 640x480 on my screen, looks great!

HarborSeal
Posts: 42
Joined: Sun Jul 12, 2020 6:54 am
Has thanked: 37 times
Been thanked: 14 times

Re: N64 Core

Unread post by HarborSeal »

I have an original N64 controller. So far the controls work fine with my old Adaptoid usb adaptor, but it doesn't appear to support the RumblePak.

Is there a way to use an original N64 controller with RumblePak with this current core?

mic_
Posts: 33
Joined: Thu May 28, 2020 8:45 am
Has thanked: 1 time
Been thanked: 5 times

Re: N64 Core

Unread post by mic_ »

Is there a way to use an original N64 controller with RumblePak with this current core?

Rumble seems to work for me in Star Fox 64. I'm using an original controller and rumble pak, and a GamerPro Advanced adapter (which I guess is essentially a BlissBox?).

I assume that you have selected Rumble as the pak type for Pad 1 in the core menu?

HarborSeal
Posts: 42
Joined: Sun Jul 12, 2020 6:54 am
Has thanked: 37 times
Been thanked: 14 times

Re: N64 Core

Unread post by HarborSeal »

mic_ wrote: Sun Oct 01, 2023 3:12 pm

Is there a way to use an original N64 controller with RumblePak with this current core?

Rumble seems to work for me in Star Fox 64. I'm using an original controller and rumble pak, and a GamerPro Advanced adapter (which I guess is essentially a BlissBox?).

I assume that you have selected Rumble as the pak type for Pad 1 in the core menu?

Yes, I have it set to Rumble for pad 1. I've tried Banjo Kazooie, Donkey Kong 64, and Duke Nukem 64 with no luck. I'm using the 09/30 core, and the 09/24 Mister unstable.

We don't have BlissBox or the GamerPro Advanced here in the USA apparently. MisterAddons does sell something similar called a SNAX adaptor for the USER IO port and sells a N64 dongle that goes with it. I'll contact them and see if that's a route I need to go to get rumble working.

User avatar
Newsdee
Top Contributor
Posts: 830
Joined: Mon May 25, 2020 1:07 am
Has thanked: 98 times
Been thanked: 209 times

Re: N64 Core

Unread post by Newsdee »

HarborSeal wrote: Sun Oct 01, 2023 4:13 pm

We don't have BlissBox or the GamerPro Advanced here in the USA apparently.

Have you checked their store? http://bliss-box.net
I thought it was a US Company.

HarborSeal
Posts: 42
Joined: Sun Jul 12, 2020 6:54 am
Has thanked: 37 times
Been thanked: 14 times

Re: N64 Core

Unread post by HarborSeal »

Newsdee wrote: Sun Oct 01, 2023 11:14 pm
HarborSeal wrote: Sun Oct 01, 2023 4:13 pm

We don't have BlissBox or the GamerPro Advanced here in the USA apparently.

Have you checked their store? http://bliss-box.net
I thought it was a US Company.

I stand corrected. They do have a US storefront.

Tulius
Posts: 35
Joined: Sat May 29, 2021 4:51 am
Has thanked: 3 times
Been thanked: 4 times

Re: N64 Core

Unread post by Tulius »

Anyone here knows a good modeline resolution for N64 in a CRT tv? I was using 320x240 but with enhanced pak games the res upped to 480i in some games, I need a good Hi res mode 480i. Is this modeline a interlaced mode?

video_mode=640,16,64,80,448,3,10,6,22250

thorr
Top Contributor
Posts: 1149
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 569 times
Been thanked: 260 times

Re: N64 Core

Unread post by thorr »

Tulius wrote: Tue Oct 03, 2023 6:34 pm

Anyone here knows a good modeline resolution for N64 in a CRT tv? I was using 320x240 but with enhanced pak games the res upped to 480i in some games, I need a good Hi res mode 480i. Is this modeline a interlaced mode?

video_mode=640,16,64,80,448,3,10,6,22250

You shouldn't need a modeline at all. That defeats part of the purpose of using a CRT TV. You should not be using the scaler. If you are using HDMI, use direct video. If you are using the analog VGA IO board, turn off the scaler. Also, I think 480i is not working yet in the N64 core if that is the mode it is using for those games that are currently corrupt like NHL99. And no, there is no interlaced support in the scaler. I wish there was!

Tulius
Posts: 35
Joined: Sat May 29, 2021 4:51 am
Has thanked: 3 times
Been thanked: 4 times

Re: N64 Core

Unread post by Tulius »

thorr wrote: Tue Oct 03, 2023 6:48 pm
Tulius wrote: Tue Oct 03, 2023 6:34 pm

Anyone here knows a good modeline resolution for N64 in a CRT tv? I was using 320x240 but with enhanced pak games the res upped to 480i in some games, I need a good Hi res mode 480i. Is this modeline a interlaced mode?

video_mode=640,16,64,80,448,3,10,6,22250

You shouldn't need a modeline at all. That defeats part of the purpose of using a CRT TV. You should not be using the scaler. If you are using HDMI, use direct video. If you are using the analog VGA IO board, turn off the scaler. Also, I think 480i is not working yet in the N64 core if that is the mode it is using for those games that are currently corrupt like NHL99. And no, there is no interlaced support in the scaler. I wish there was!

Thanks, I'm using the analog io board with a vga/video component cable on a CRT tv, so I dont need a 240p modeline to show a image on CRT TV? How to setup the Mister.ini for an analog tv then?

thorr
Top Contributor
Posts: 1149
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 569 times
Been thanked: 260 times

Re: N64 Core

Unread post by thorr »

Tulius wrote: Tue Oct 03, 2023 7:34 pm
thorr wrote: Tue Oct 03, 2023 6:48 pm
Tulius wrote: Tue Oct 03, 2023 6:34 pm

Anyone here knows a good modeline resolution for N64 in a CRT tv? I was using 320x240 but with enhanced pak games the res upped to 480i in some games, I need a good Hi res mode 480i. Is this modeline a interlaced mode?

video_mode=640,16,64,80,448,3,10,6,22250

You shouldn't need a modeline at all. That defeats part of the purpose of using a CRT TV. You should not be using the scaler. If you are using HDMI, use direct video. If you are using the analog VGA IO board, turn off the scaler. Also, I think 480i is not working yet in the N64 core if that is the mode it is using for those games that are currently corrupt like NHL99. And no, there is no interlaced support in the scaler. I wish there was!

Thanks, I'm using the analog io board with a vga/video component cable on a CRT tv, so I dont need a 240p modeline to show a image on CRT TV? How to setup the Mister.ini for an analog tv then?

Correct. I sort of already answered your question above in my previous response. If you can't figure it out, post your current .ini file. Are you only using a CRT TV and nothing else? If so, that is the easiest to configure. Just use vga_scaler=0. Some cores that are higher resolution won't work, and you can sometimes use the scaler in those situations, like for ao486. The current scaler is not good at downscaling so the resolution needs to be something the TV can support. For 95% of the cores (or whatever the real number is), the CRT TV will just work though with no scaler.

Tulius
Posts: 35
Joined: Sat May 29, 2021 4:51 am
Has thanked: 3 times
Been thanked: 4 times

Re: N64 Core

Unread post by Tulius »

Below is a part(cut the main portion) of my mister.ini that works very well with my Sony Wega 29' CRT, as you can see I made modelines for almost all systems I'm using:

Code: Select all

[MiSTer]

ypbpr=1                ; set to 1 for YPbPr on VGA output.
composite_sync=0       ; set to 1 for composite sync on HSync signal of VGA output.
vga_scaler=0           ; set to 1 to connect VGA to scaler output.

[NeoGeo]
direct_video=0
vga_scaler=0
vsync_adjust=2
video_mode=320,21,29,44,224,13,14,13,6400
;video_mode=320,7,28,29,224,16,8,16,6000
;video_mode=304,8,28,36,240,1,3,18,5911

[X68000] 
vga_scaler=1
vsync_adjust=1
vscale_mode=0
vscale_border=0
;video_mode=1024,116,72,160,256,1,1,3,20400
;video_mode=1536,180,152,274,256,1,1,16,34900
video_mode=512,26,50,95,240,4,3,15,10740

[MegaCD]
video_mode=320,16,31,59,224,12,3,23,15700
direct_video=0
vga_scaler=0
vsync_adjust=2
custom_aspect_ratio_1=4:3

[jtcps1] ;CAPCOM PLAY SYSTEM
direct_video=0
vga_scaler=0
vsync_adjust=2
video_mode=384,19,37,71,224,12,3,23,8039
custom_aspect_ratio_1=4:3

[jtcps15]
direct_video=0
vga_scaler=0
vsync_adjust=2
video_mode=384,19,37,71,224,12,3,23,8039
custom_aspect_ratio_1=4:3

[jtcps2] ;CAPCOM PLAY SYSTEM 2
direct_video=0
vga_scaler=0
vsync_adjust=2
video_mode=384,19,37,71,224,12,3,23,8039
custom_aspect_ratio_1=4:3

[jtcop] ;Robocop
direct_video=0
vga_scaler=0
vsync_adjust=2
video_mode=512,8,47,65,240,1,3,18,9935
;video_mode=320,16,31,59,224,12,3,23,15700
custom_aspect_ratio_1=4:3

[SNES]
direct_video=0
vga_scaler=0
vsync_adjust=2
video_mode=512,36,51,84,448,24,6,47,10740
custom_aspect_ratio_1=4:3

[Genesis]
direct_video=0
vga_scaler=0
vsync_adjust=2
video_mode=320,16,31,59,224,12,3,23,6700
custom_aspect_ratio_1=4:3

[SMS]
direct_video=0
vga_scaler=0
vsync_adjust=2
video_mode=256,18,25,43,192,29,3,38,5370
custom_aspect_ratio_1=4:3

[TurboGrafx16]
direct_video=0
vga_scaler=0
vsync_adjust=2
video_mode=512,26,50,95,240,4,3,15,10740
custom_aspect_ratio_1=4:3

[Gameboy]
video_mode=320,8,32,24,240,4,3,16,6048
vga_scaler=1
vsync_adjust=2
vscale_mode=0
vscale_border=12

[jtmidres]
direct_video=0
vga_scaler=0
vsync_adjust=2
video_mode=512,8,47,65,240,1,3,18,9935

[Saturn]
direct_video=0
vga_scaler=0
vsync_adjust=2
;video_mode=720,24,65,71,240,4,3,15,13820
;video_mode=720,48,32,80,240,3,4,15,13820
video_mode=640,16,64,80,448,3,10,6,22250
custom_aspect_ratio_1=4:3

[S32X]
direct_video=0
vga_scaler=0
vsync_adjust=2
video_mode=320,16,31,59,224,12,3,23,6700
custom_aspect_ratio_1=4:3

[jts16b3]
vga_scaler=0
vsync_adjust=2
video_mode=320,16,31,59,224,12,3,23,6700

[jts16b]
vga_scaler=0
vsync_adjust=2
video_mode=320,16,31,59,224,12,3,23,6700

[jts16]
vga_scaler=0
vsync_adjust=2
video_mode=320,16,31,59,224,12,3,23,6700

[NES]
video_mode=256,13,25,47,224,12,3,23,5370
direct_video=0
vga_scaler=0
vsync_adjust=2
custom_aspect_ratio_1=4:3

[PSX]
video_mode=768,36,96,60,480,8,2,35,30140
direct_video=0
vga_scaler=0
vsync_adjust=2
custom_aspect_ratio_1=4:3

[M72]
vga_scaler=1
vsync_adjust=1
vscale_mode=3
vscale_border=0
video_mode=384,8,32,40,256,1,8,6,7544
custom_aspect_ratio_1=4:3

[prehisle1930]
video_mode=256,13,25,47,224,12,3,23,5370
custom_aspect_ratio_1=4:3

[M92]
video_mode=638,41,54,97,240,3,3,16,13200

[Amiga
+Amiga500
+Amiga500HD
+Amiga600HD]
;video_mode_ntsc=8 ; These two use the recommended setting of 1080p60 and
;video_mode_pal=9  ; 1080p50, adjust if you want a different resolution
vscale_mode=0
vsync_adjust=1 ; You can set this to 2 if your display can handle it
custom_aspect_ratio_1=40:27
bootscreen=0

[N64]
vscale_mode=1
vga_scaler=1
video_mode=320,8,32,24,240,4,3,16,6048
thorr
Top Contributor
Posts: 1149
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 569 times
Been thanked: 260 times

Re: N64 Core

Unread post by thorr »

Tulius wrote: Wed Oct 04, 2023 12:41 am

Below is a part(cut the main portion) of my mister.ini that works very well with my Sony Wega 29' CRT, as you can see I made modelines for almost all systems I'm using:

So for almost all of those, you don't need any of those settings. Try commenting out a section like [SNES] and see if it still displays correctly.

Tulius
Posts: 35
Joined: Sat May 29, 2021 4:51 am
Has thanked: 3 times
Been thanked: 4 times

Re: N64 Core

Unread post by Tulius »

thorr wrote: Wed Oct 04, 2023 12:54 am
Tulius wrote: Wed Oct 04, 2023 12:41 am

Below is a part(cut the main portion) of my mister.ini that works very well with my Sony Wega 29' CRT, as you can see I made modelines for almost all systems I'm using:

So for almost all of those, you don't need any of those settings. Try commenting out a section like [SNES] and see if it still displays correctly.

If I comment the [SNES] section it will display at 320x240 because of this part of mister.ini:

; 0 - 1280x720@60
; 1 - 1024x768@60
; 2 - 720x480@60
; 3 - 720x576@50
; 4 - 1280x1024@60
; 5 - 800x600@60
; 6 - 640x480@60
; 7 - 1280x720@50
; 8 - 1920x1080@60
; 9 - 1920x1080@50
;10 - 1366x768@60
;11 - 1024x600@60
;12 - 1920x1440@60
;13 - 2048x1536@60
;
; custom mode: hact,hfp,hs,hbp,vact,vfp,vs,vbp,Fpix_in_KHz
;video_mode=640,22,57,65,240,4,3,15,12312
;video_mode=6
video_mode=320,8,32,24,240,4,3,16,6048

User avatar
Hectic
Posts: 47
Joined: Tue Jun 09, 2020 3:23 am
Been thanked: 10 times

Re: N64 Core

Unread post by Hectic »

That message u see is the res of the HDMI output.

thorr
Top Contributor
Posts: 1149
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 569 times
Been thanked: 260 times

Re: N64 Core

Unread post by thorr »

Tulius wrote: Wed Oct 04, 2023 1:36 am

If I comment the [SNES] section it will display at 320x240 because of this part of mister.ini:
video_mode=320,8,32,24,240,4,3,16,6048

Nope. When vga_scaler=0, it is using the native signal. I bet if you compare the output with SNES before and after commenting it, it will look identical. Like Hectic said, ignore what mode it says it is. My suggestion for N64 and most of the others is to just get rid of them from your INI file.

thorr
Top Contributor
Posts: 1149
Joined: Mon Jul 06, 2020 9:37 pm
Has thanked: 569 times
Been thanked: 260 times

Re: N64 Core

Unread post by thorr »

P.S. The latest core fixes the graphics in NHL99 and probably most other games that had issues, so whatever you were trying to get a scaler mode for will probably look better now (once you remove the N64 section from your INI file).

Also, anything at the top section in the INI file is a default, but in the subsequent sections, you can override any variable. So, when you put a modeline in the top section and set vga_scaler=0, the modeline doesn't get used by the analog output. If in a later section you put vga_scaler=1 and don't define a modeline, it will use the modeline from the top section.

Escape-To-88
Posts: 42
Joined: Fri Apr 30, 2021 7:07 pm
Has thanked: 11 times
Been thanked: 2 times

Re: N64 Core

Unread post by Escape-To-88 »

Neocaron wrote: Tue Aug 29, 2023 12:42 pm
LamerDeluxe wrote: Tue Aug 29, 2023 10:39 am
Neocaron wrote: Mon Aug 28, 2023 1:54 pm

Yeah I agree with FPGA64 for once! XD
It's important to maintain realistic expectations. The fact that Robert is consistently sharing even the smallest updates to the core with the community is truly a remarkable privilege that we should all appreciate.The fact it's running well on most CRT at this stage is even surprising especially given the substantial effort it took to optimize the PSX core for CRT displays in the past.

Last I've heard is that Robert doesn't even have a CRT. Support for it is not a priority for him.

Personally, CRT support is one of my favorite aspects of the MiSTer.

On my part the CRT support works damn well already, which is quite surprising just by adding a few lines to the the mister.ini from FPGA64 link:
[N64]
vscale_mode=1
vga_scaler=1
video_mode=320,8,32,24,240,4,3,16,6048

Source: https://vampier.net/N64/

Thanks for the additional code.

Escape-To-88
Posts: 42
Joined: Fri Apr 30, 2021 7:07 pm
Has thanked: 11 times
Been thanked: 2 times

Re: N64 Core

Unread post by Escape-To-88 »

Unsure if this has been asked but using the latest core (and in fact every version I've tried) I get a crash at the Mario 64 title screen. Have tried various roms and the same issue occurs. A lot of other titles work fine so just wondering if I'm missing something settings-wise?
Cheers

jordi
Posts: 239
Joined: Thu Jun 11, 2020 10:11 am
Has thanked: 95 times
Been thanked: 81 times

Re: N64 Core

Unread post by jordi »

Escape-To-88 wrote: Sat Oct 14, 2023 3:32 pm

Unsure if this has been asked but using the latest core (and in fact every version I've tried) I get a crash at the Mario 64 title screen. Have tried various roms and the same issue occurs. A lot of other titles work fine so just wondering if I'm missing something settings-wise?
Cheers

We are using a patched version of mario

Bas
Top Contributor
Posts: 557
Joined: Fri Jan 22, 2021 4:36 pm
Has thanked: 72 times
Been thanked: 259 times

Re: N64 Core

Unread post by Bas »

Escape-To-88 wrote: Sat Oct 14, 2023 3:32 pm

Unsure if this has been asked but using the latest core (and in fact every version I've tried) I get a crash at the Mario 64 title screen. Have tried various roms and the same issue occurs. A lot of other titles work fine so just wondering if I'm missing something settings-wise?
Cheers

It's been asked before. Mario64's intro sequence makes use of the TLB, which isn't implemented yet resulting in a crash. Check https://vampier.net/N64/ for more info.

Escape-To-88
Posts: 42
Joined: Fri Apr 30, 2021 7:07 pm
Has thanked: 11 times
Been thanked: 2 times

Re: N64 Core

Unread post by Escape-To-88 »

Lovely. Cheers for letting me know.

ssaylanc
Posts: 4
Joined: Wed Dec 14, 2022 9:30 pm

Re: N64 Core

Unread post by ssaylanc »

I can't get Ogre Battle 64 running. I don't have any problems of other working games but Ogre Battle 64 stays on black screen and displays E0080005 error.

User avatar
Retro-Nerd
Posts: 172
Joined: Fri Jul 08, 2022 2:47 am
Has thanked: 7 times
Been thanked: 42 times

Re: N64 Core

Unread post by Retro-Nerd »

Both of these Roms from the No-Intro Set are working without any problems for me:

Ogre Battle 64 - Person of Lordly Caliber (USA)
Ogre Battle 64 - Person of Lordly Caliber (USA) (Rev 1)

Make sure you use the current "N64-database.txt".

_javi_
Posts: 73
Joined: Fri Jun 19, 2020 8:49 pm
Has thanked: 98 times
Been thanked: 20 times

Re: N64 Core

Unread post by _javi_ »

Dunno what happened, but i was using the core with no problems (latest build for the core, latest nightly for mister main).. and now i only get a underdash character in the middle of a black screen.
If I press F12 and "left, up, up" I can blindly exit the core to the mister main menu, so it seems the N64 is loading, but i get no display.
I reverted to previous betas of the core (and previous mister mains) and i always get the same no-working result.

Is there anything else i can reset or some file to delete?

Thanks!

EDIT: Fixed by deleting cfg file. It seems it got corrupted somehow.

ssaylanc
Posts: 4
Joined: Wed Dec 14, 2022 9:30 pm

Re: N64 Core

Unread post by ssaylanc »

Retro-Nerd wrote: Mon Oct 16, 2023 8:39 pm

Both of these Roms from the No-Intro Set are working without any problems for me:

Ogre Battle 64 - Person of Lordly Caliber (USA)
Ogre Battle 64 - Person of Lordly Caliber (USA) (Rev 1)

Make sure you use the current "N64-database.txt".

No luck, got the rims from No-Intro set, "N64-datebase.txt" is there. When I checked System Settings rom setting is there from database.txt...
Both N64 core and mister is up to date.

FPGA64
Top Contributor
Posts: 774
Joined: Mon Mar 01, 2021 3:10 pm
Has thanked: 45 times
Been thanked: 333 times

Re: N64 Core

Unread post by FPGA64 »

ssaylanc wrote: Tue Oct 17, 2023 4:44 am
Retro-Nerd wrote: Mon Oct 16, 2023 8:39 pm

Both of these Roms from the No-Intro Set are working without any problems for me:

Ogre Battle 64 - Person of Lordly Caliber (USA)
Ogre Battle 64 - Person of Lordly Caliber (USA) (Rev 1)

Make sure you use the current "N64-database.txt".

No luck, got the rims from No-Intro set, "N64-datebase.txt" is there. When I checked System Settings rom setting is there from database.txt...
Both N64 core and mister is up to date.

The N64 core is being developed it currently lacks tlb, so maybe this game uses tlb.

User avatar
Retro-Nerd
Posts: 172
Joined: Fri Jul 08, 2022 2:47 am
Has thanked: 7 times
Been thanked: 42 times

Re: N64 Core

Unread post by Retro-Nerd »

No, it doesn't need TLB. It also works without any patches to make it compatible with the current Core (like Super Mario 64).

ssaylanc
Posts: 4
Joined: Wed Dec 14, 2022 9:30 pm

Re: N64 Core

Unread post by ssaylanc »

bios files are OK
updated to latest core and mister
N64-database.txt is OK
rom files are the same mentioned at previous posts.
I have 32MB ram, can this be the issue?

12characters
Posts: 113
Joined: Wed Jun 03, 2020 5:39 pm
Has thanked: 8 times
Been thanked: 30 times

Re: N64 Core

Unread post by 12characters »

ssaylanc wrote: Tue Oct 17, 2023 2:34 pm

I have 32MB ram, can this be the issue?

Yes, Ogre Battle 64 is likely too large for your setup. As it says on the Github page, 32Mbyte SDRAM can only be used for games up to 24Mbyte in size.

The need of more RAM for the new N64 and Saturn cores finally made me decide to upgrade.

raleigh
Posts: 35
Joined: Mon Jan 31, 2022 8:07 am
Has thanked: 2 times
Been thanked: 4 times

Re: N64 Core

Unread post by raleigh »

Hi guys. After making a new sd-card i can't get N64 core to load roms anymore. I get "Auto-detect failed: Unknown CIC type." message when loading a game rom.

Everything should be set up the same as on old card where everythink worked fine.

Post Reply