Search found 63 matches

by morf77
Wed Apr 26, 2023 2:51 pm
Forum: Linux
Topic: Python for MiSTer system scripts
Replies: 2
Views: 1333

Re: Python for MiSTer system scripts

Calling the python script from a bash script is not necessary. With a shebang on the first line you can run python code from within a bash shell script (.sh file). Just put this shebang on the first line of your .sh file: #!/usr/bin/python3 Everything after that can be python code like you would in a .py file. Of course make sure you make the .sh f...
by morf77
Wed Feb 22, 2023 9:22 pm
Forum: Linux
Topic: Config titles in menu
Replies: 16
Views: 5688

Re: Config titles in menu

Alternatively you could use my iniswitcher script. This allows you to give names to your ini files and switch them using the script. What the script does is overwrite your mister.ini with the one you select. This means if you want to make changes to your ini, you should never apply them to mister.ini but instead the named ini files. Downside to thi...
by morf77
Sun Sep 18, 2022 12:45 am
Forum: Display Devices
Topic: More than 4 config files?
Replies: 3
Views: 1526

Re: More than 4 config files?

https://github.com/morfeus77/MiSTerTool ... tag/v0.2.1

This script overwrites the Mister.ini file with the one you select in the menu. Just be aware this will overwrite the default ini each time and changes made to the default ini will be overwritten.
by morf77
Thu Apr 14, 2022 10:55 pm
Forum: MiSTer FPGA Project Wiki
Topic: MiSTer CRT Guide - WIP
Replies: 17
Views: 77389

Re: MiSTer CRT Guide - WIP

First of all great job adding this stuff to the wiki it will save CRT-heads a lot of time I'm sure. I was wondering if SVGA CRT monitors require a separate section. This is merely a suggestion though but in my experience with a 1600x1200 SVGA custom video_mode is a superior setting to scandoubler. Scandoubler on my SVGA more than often doesn't allo...
by morf77
Thu Apr 14, 2022 10:19 am
Forum: Display Devices
Topic: Asus PG279Q won't display 1440p
Replies: 3
Views: 1499

Re: Asus PG279Q won't display 1440p

You will most likely need a custom video mode. More than likely you have issues using the default video modes because it's a G-Sync monitor. I found a modeline for 1440p on this website https://www.ixbt.com/monitor/asus/pg279q/moninfo-dp-over.txt Modeline............... "2560x1440" 241,500 2560 2608 2640 2720 1440 1443 1448 1481 +hsync -v...
by morf77
Mon Sep 20, 2021 4:27 pm
Forum: Development for MiSTer
Topic: Simple ini switcher script (profile manager)
Replies: 7
Views: 7632

Re: Simple ini switcher script (profile manager)

/media/fat/Scripts# iniswitcher.sh Traceback (most recent call last): File "/media/fat/Scripts/iniswitcher.sh", line 245, in <module> main() File "/media/fat/Scripts/iniswitcher.sh", line 168, in main curses.wrapper(IniProfileSwitcher) File "/usr/lib/python3.9/curses/__init__.py", line 94, in wrapper File "/media...
by morf77
Sun Aug 29, 2021 8:26 am
Forum: Development for MiSTer
Topic: Simple ini switcher script (profile manager)
Replies: 7
Views: 7632

Re: Simple ini switcher script (profile manager)

Stupid Dufus wrote: Sun Aug 29, 2021 2:23 am I love the idea for this, thanks!

Only things I'd like to note:
1) After selecting and applying an ini through this, my mister will freeze when trying to load the Console directory from the core list. I found that doing
Make sure your source ini is okay. I had one with bad linefeeds I was testing with.
by morf77
Sun Aug 29, 2021 2:55 am
Forum: Development for MiSTer
Topic: Simple ini switcher script (profile manager)
Replies: 7
Views: 7632

Re: Simple ini switcher script (profile manager)

Haven't been able to replicate 1) if more people have this issue let me know. For point 2) I might add a backup option, although the whole point of this script is you no longer use MiSTer.ini to save anything permanent. It becomes a placeholder. When using this script, you should save any (permanent) changes to the templates (custom ini filenames),...
by morf77
Sat Aug 28, 2021 9:28 pm
Forum: Development for MiSTer
Topic: Simple ini switcher script (profile manager)
Replies: 7
Views: 7632

Simple ini switcher script (profile manager)

This script should be useful if you have more ini files than you can fit into the current MiSTer.ini and two alt ini's (eg 4x.ini, 5x.ini, 31khz.ini, 15khz.ini) The menu will display all your custom ini files (in /media/fat) and overwrite your MiSTer.ini with the ini you selected then reboot. Do not to edit Mister.ini itself when using this script,...
by morf77
Sat Jul 24, 2021 10:48 pm
Forum: General Discussions
Topic: Multiplayer Family Games
Replies: 10
Views: 7007

Re: Multiplayer Family Games

8bit-Slicks

Slicks 'n Slides remakes for multiple of the cores http://8bit-slicks.com/?page_id=2
by morf77
Tue Jul 13, 2021 10:09 pm
Forum: Neo Geo MVS / AES / CD
Topic: Neo Geo Spinner Support
Replies: 9
Views: 8664

Re: Neo Geo Spinner Support

I can confirm this works setting the software dip settings to paddle.
by morf77
Tue Jul 13, 2021 9:25 pm
Forum: Neo Geo MVS / AES / CD
Topic: Neo Geo Spinner Support
Replies: 9
Views: 8664

Re: Neo Geo Spinner Support

I don't know if this is true for all ultimarc spinners but mine is controlled by a u-hid nano. This might be helpful information for the dev. In the SNES core it also works fine (if you set the controller to mouse), it just doesn't allow to use push buttons in the SNES core from a different controller as the arcade Arkanoid spinner core supports (w...
by morf77
Tue Jul 13, 2021 9:10 pm
Forum: Neo Geo MVS / AES / CD
Topic: Neo Geo Spinner Support
Replies: 9
Views: 8664

Re: Neo Geo Spinner Support

Also using an Ultimarc Spinner - having the same issue. The spinner works fine in the arcade cores such as Arkanoid.
by morf77
Sat Jul 10, 2021 1:18 pm
Forum: Guides & Videos
Topic: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling
Replies: 89
Views: 56891

Re: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling

Kenzo wrote: Sat Jul 10, 2021 1:07 pm Thanks, I guess the console custom ratios are now defunct with the osd option to HV scale.
They are. It would be great to have a similar option for arcade cores but it would have to be implemented by all the different arcade core devs.
by morf77
Sat Jul 10, 2021 12:24 pm
Forum: Guides & Videos
Topic: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling
Replies: 89
Views: 56891

Re: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling

If I'm not mistaking atrac17's modelines were calculated using the AR calculator using a custom resolution. Meauxdal also calculated a lot of these AR's eg see https://github.com/meauxdal/MiSTer_Custom_Aspect_Ratios/blob/main/1200p.txt Both methods require vscale_mode=1, they're just different approaches to calculating them (the calculator taking t...
by morf77
Fri Jul 09, 2021 10:38 pm
Forum: Guides & Videos
Topic: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling
Replies: 89
Views: 56891

Re: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling

Most of it is self-explanatory. Visible pixels is the horizontal resolution of the core. Visible lines is the vertical resolution of the core. Pixel clock in mhz is more difficult to find out for arcade cores but you could use references like https://pineight.com/mw/index.php?title=Dot_clock_rates though it isn't guaranteed that's the pixel clock t...
by morf77
Mon May 03, 2021 10:26 pm
Forum: Display Devices
Topic: Trying to connect 7" 800x480 TFT
Replies: 14
Views: 6119

Re: Trying to connect 7" 800x480 TFT

video_mode = 2 and video_mode = 6 also don't work? 240p video_mode?
by morf77
Mon May 03, 2021 5:38 pm
Forum: Display Devices
Topic: Trying to connect 7" 800x480 TFT
Replies: 14
Views: 6119

Re: Trying to connect 7" 800x480 TFT

Not sure if this will work but worth trying: video_mode=800,32,72,104,480,3,10,9,33000 I got this modeline from: $ cvt -v 800 480 65.681 Warning: Aspect Ratio is not CVT standard. Warning: Refresh Rate is not CVT standard (50, 60, 75 or 85Hz). # 800x480 65.22 Hz (CVT) hsync: 32.74 kHz; pclk: 33.00 MHz Modeline "800x480_65.68" 33.00 800 83...
by morf77
Tue Feb 16, 2021 3:13 pm
Forum: Display Devices
Topic: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others
Replies: 49
Views: 17363

Re: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others

I have got ideas about alternative framework implementations that don’t use multiplication or division, but I’m not sure how much logic they would consume or what the effect would be on fmax. I might give it a go and see what sorgelig says, but otherwise I’ll have to look at doing it on a core by core basis (or admit defeat). What I’m thinking is ...
by morf77
Thu Feb 11, 2021 3:47 pm
Forum: Guides & Videos
Topic: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling
Replies: 89
Views: 56891

Re: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling

Custom vertical resolutions should now be available in the calculator. Output format has been changed so it can be copy pasted in the ini file.
by morf77
Wed Feb 10, 2021 5:24 pm
Forum: General Discussions
Topic: A case for 5x vertical crop in 1080p mode.
Replies: 79
Views: 33345

Re: A case for 5x vertical crop in 1080p mode.

Milspex wrote: Wed Feb 10, 2021 5:15 pm all the cores have that 5x crop and offset options greyed out even though I'm running video_mode=8 (1080p) ?
Option is enabled when all these conditions are met:
  • Resolution needs to be 1920x1080
  • vscale_border isn't used (or vscale_border=0)
  • vscale_mode isn't used (or vscale_mode=0)
  • forced_scandoubler=0
  • in OSD menu Scandoubler Fx:None
by morf77
Wed Feb 10, 2021 5:16 pm
Forum: Display Devices
Topic: Automatic horizontal integer scaling implementation on SMS/Genesis/potentially others
Replies: 49
Views: 17363

Re: Automatic horizontal integer scaling implementation on SMS

Really cool stuff! Haven't tested it out yet. Concerning the changes to sys, as I understand it you will lose those changes with any update to the framework. In your experimental core a minor code change to the framework would be implied so it's not like you're breaking the rules when doing a proof of concept core.
by morf77
Wed Feb 10, 2021 2:24 pm
Forum: Guides & Videos
Topic: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling
Replies: 89
Views: 56891

Re: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling

LamerDeluxe wrote: Wed Feb 10, 2021 1:17 pm And then the ECS chipset has things like super hires and productivity mode. I can't remember if the AGA chip set supported even more resolutions.
I could add those resolution modes. All I need to add those to the calculator is the number of lines for PAL and NTSC and the samplerate of the NTSC/PAL format in mhz for those modes.
by morf77
Wed Feb 10, 2021 2:45 am
Forum: Guides & Videos
Topic: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling
Replies: 89
Views: 56891

Re: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling

The online calculator now has the option to select Minimig/Amiga. I haven't tested any custom AR's with it yet. Let me know if this requires more investigation/patches. We might have to check these values as well: LINES_NTSC = 240.0 LINES_PAL = 288.0 These are hardcoded FCIF PAL NTSC values atm. Not sure what the correct values for the minimig shou...
by morf77
Wed Feb 10, 2021 2:26 am
Forum: Guides & Videos
Topic: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling
Replies: 89
Views: 56891

Re: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling

With that said, the screenshot details in the Amiga core still don't tend to produce what seem to be accurate ratios. It's very confusing to me that the method that works in every other core doesn't work in Amiga, and I'm not sure pixel clock is the reason why. After all, changing the pixel clock is only going to give different width ratios, but t...
by morf77
Wed Feb 10, 2021 1:17 am
Forum: Guides & Videos
Topic: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling
Replies: 89
Views: 56891

Re: MiSTer Custom Aspect Ratios for Horizontal Integer Scaling

I think the calculator needs an update for the Amiga. If I'm understanding this correctly the Amiga does not use 13.5 mhz sample rate for NTSC/PAL video but instead uses a 28.375160MHz (SHRES ECS/AGA) or 14.187580MHz (for HIRES) sample rate. This could explain the wrong results. I'll be adding an option to select Amiga (AGA or HIRES mode) in the ca...
by morf77
Sat Feb 06, 2021 12:48 am
Forum: Guides & Videos
Topic: MiSTer Aspect Ratio Calculator
Replies: 33
Views: 18061

Re: MiSTer Aspect Ratio Calculator

Amazing job, many people will benefit from this. A seperate post is a good idea or maybe even a github. I really hope we get a solution at some point for setting AR's per game though. Having to edit the ini file just to run a game should be an unnecessary step. It's great we have these custom AR settings available at the moment but I feel we need t...
by morf77
Wed Feb 03, 2021 4:29 am
Forum: Guides & Videos
Topic: MiSTer Aspect Ratio Calculator
Replies: 33
Views: 18061

Re: MiSTer Aspect Ratio Calculator

On a CRT it's a bad idea. Recommend to run with scandoubler on CRT's and use low resolutions. Only for some TATE arcade games this stuff can become useful (vertical scanlines). My mister is currently only hooked up to a PC Crt but it's nice to be able to test these upscales.
by morf77
Wed Feb 03, 2021 4:10 am
Forum: Guides & Videos
Topic: MiSTer Aspect Ratio Calculator
Replies: 33
Views: 18061

Re: MiSTer Aspect Ratio Calculator

I tested the mode you posted and on my CRT it's running at 148.3 mhz pixel clock working fine, just a little distortion in the image and displacement. I guess for LCD users it would be too much.