AitorGomez Fork (MiSTer Main)

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
User avatar
spark2k06
Core Developer
Posts: 868
Joined: Sat Jun 06, 2020 9:05 am
Has thanked: 409 times
Been thanked: 961 times

AitorGomez Fork (MiSTer Main)

Unread post by spark2k06 »

Some time ago I started a fork of Main_MiSTer, focusing on TapTo x86 support support and Loading Screen functionality. Well, for me it has reached the point where I have finished all the development I was originally interested in doing, initially as a personal project and now available to the community.

As I comment in the README of the fork, as of today, they have not been approved for the original repository, which is, of course, understandable and respectable. More info and binaries:

https://github.com/spark2k06/Main_MiSTer
https://github.com/spark2k06/Main_MiSTe ... s/releases

The last feature I have added is related to loading screen in x86 games now is possible thanks to TapTo and MGL:

I have made a last effort to document all the new features, so that I am done (except for a few tweaks or functionality) and can start preparing my personal TapTo card collection and enjoy it in my living room setup.

User avatar
spark2k06
Core Developer
Posts: 868
Joined: Sat Jun 06, 2020 9:05 am
Has thanked: 409 times
Been thanked: 961 times

Re: AitorGomez Fork (MiSTer Main)

Unread post by spark2k06 »

If you want to integrate this fork with the downloader script, just update the following entry with the db.json.zip from my repository:

Code: Select all

[distribution_mister]
db_url = https://raw.githubusercontent.com/spark2k06/Main_MiSTer/new-features/db.json.zip
virtuali
Posts: 117
Joined: Mon Feb 01, 2021 10:41 pm
Has thanked: 2 times
Been thanked: 34 times

Re: AitorGomez Fork (MiSTer Main)

Unread post by virtuali »

spark2k06 wrote: Mon Mar 18, 2024 5:44 pm

If you want to integrate this fork with the downloader script, just update the following entry with the db.json.zip from my repository:

[distribution_mister]db_url = https://raw.githubusercontent.com/spark ... b.json.zip

Which file, exactly? One of the .PY files in the Scripts\.config\downloader_latest.zip ?

User avatar
spark2k06
Core Developer
Posts: 868
Joined: Sat Jun 06, 2020 9:05 am
Has thanked: 409 times
Been thanked: 961 times

Re: AitorGomez Fork (MiSTer Main)

Unread post by spark2k06 »

virtuali wrote: Wed Mar 20, 2024 11:31 pm
spark2k06 wrote: Mon Mar 18, 2024 5:44 pm

If you want to integrate this fork with the downloader script, just update the following entry with the db.json.zip from my repository:

[distribution_mister]db_url = https://raw.githubusercontent.com/spark ... b.json.zip

Which file, exactly? One of the .PY files in the Scripts\.config\downloader_latest.zip ?

downloader.ini located in /media/fat

User avatar
spark2k06
Core Developer
Posts: 868
Joined: Sat Jun 06, 2020 9:05 am
Has thanked: 409 times
Been thanked: 961 times

Re: AitorGomez Fork (MiSTer Main)

Unread post by spark2k06 »

I haven't released any new binaries yet although I have code commits, but I am doing some testing to have the following features available:

x86_launcher tag in MGL

Similar to x86_tapto, in fact, it will replace it, but with the addition of the appid attribute, where the app/game identifier to be used by the launcher.exe tool is specified. It replaces TapTo in terms of passing this from ID to CMOS memory, however, TapTo will still work to launch the MGL file:

Example:

Code: Select all

<mistergamedescription>
    <rbf>_Computer/PCXT</rbf>
    <fade_in delay="0" mute="1" path="/media/fat/games/PCXT/MGL/covers/AlleyCat.png"/>
    <file delay="1" type="s" index="2" path="/media/fat/games/PCXT/HDD/PCXT_CGA_Tandy_2.3.1.vhd"/>
    <reset delay="1" cfg="/media/fat/games/PCXT/MGL/config/AlleyCat.cfg"/>
    <x86_launcher delay="1" appid="ALLEYCAT"/>
    <fade_out delay="23" mute="0"/>
</mistergamedescription>

More info:
https://github.com/spark2k06/Main_MiSTe ... w-mgl-tags

On the other hand, and this is something I am also suggesting for the original repository:
viewtopic.php?p=84590#p84590

Commits:
https://github.com/spark2k06/Main_MiSTe ... -features/
(I have been testing. I will unify and clean up commits)

User avatar
spark2k06
Core Developer
Posts: 868
Joined: Sat Jun 06, 2020 9:05 am
Has thanked: 409 times
Been thanked: 961 times

Re: AitorGomez Fork (MiSTer Main)

Unread post by spark2k06 »

I have updated the fork with the following improvements:

The latest binary is currently MiSTer_20240328, and it also carries the latest changes from the original repository not yet released in a stable public version, so until there is a new official version, use this one with caution.

  • New attribute for setname tag -> cfgcore_subfolder="1" (MGL)

  • New entry for MiSTer.ini -> cfgcore_subfolder="MiSTer"

  • New entry for MiSTer.ini -> cfgarcade_subfolder="Arcade"

  • Now the attribute is cover instead of path.

The subdirectories of the covers now have a more intuitive structure, based on the names of the cores:

folder_hierarchy.png
folder_hierarchy.png (15.37 KiB) Viewed 1041 times

MGL example for PC/XT:

Code: Select all

<mistergamedescription>
    <rbf>_Computer/PCXT</rbf>
    <setname same_dir="1" cfgcore_subfolder="1">AlleyCat</setname>
    <fade_in delay="0" mute="1" cover="AlleyCat.png"/>
    <file delay="1" type="s" index="2" path="/media/fat/games/PCXT/HDD/PCXT_CGA_Tandy_2.3.1.vhd"/>
    <reset delay="1"/>
    <x86_launcher delay="1" appid="ALLEYCAT"/>
    <fade_out delay="23" mute="0"/>
</mistergamedescription>

MGL example for ao486:

Code: Select all

<mistergamedescription>
    <rbf>_Computer/ao486</rbf>
    <setname same_dir="1" cfgcore_subfolder="1">Wolf3D</setname>
    <fade_in delay="0" mute="1" cover="Wolf3D.png"/>
    <file delay="1" type="s" index="3" path="/media/fat/games/ao486/UnRETROPC.vhd"/>
    <reset delay="1"/>
    <x86_launcher delay="1" appid="WOLF3D"/>
    <fade_out delay="7" mute="0"/>
</mistergamedescription>

New MiSTer.ini entries

cfgcore_subfolder will allow us to set a subfolder within the config path to hold all the default MiSTer configuration. If not specified, config will be used directly as before. Before using it, it is a good idea to create it manually and move all config content to take it from there. If the folder does not exist, it will be created automatically.

cfgarcade_subfolder will allow us to separate the arcade game configuration into a separate subfolder from the default cfgcore_subfolder or default config path when cfgcore_subfolder has not been defined. If cfgarcade_subfolder is not defined, the configuration of arcade games will be mixed in the same config directory.

Code: Select all

[MiSTer]
loading_txt_up=1                ; Set to 1 to position the text on the top of the loading screen. Default is 0(bottom).
waiting_txt_up=1                ; Set to 1 to position the text on the top of the standby screen. Default is 0(bottom).
cfgcore_subfolder="MiSTer"      ; Uncomment to set the subfolder in config where the cores configuration will be by default.
cfgarcade_subfolder="Arcade"    ; Uncomment to set the subfolder in config where the arcade cores configuration will be by default. 
User avatar
spark2k06
Core Developer
Posts: 868
Joined: Sat Jun 06, 2020 9:05 am
Has thanked: 409 times
Been thanked: 961 times

Re: AitorGomez Fork (MiSTer Main)

Unread post by spark2k06 »

I have released a new version of the fork. I'm renaming the thread to something more in line with what it's really about (aitorgomez fork). These are the changes:

  • Loading screen with System logo

  • Scale all PNGs related to covers, standby and loading screen, so that they can be used at any resolution configured in MiSTer.ini.

  • Samples of customised logos for covers (available in the cover folder or repository)

Now the main branch of the fork will be master, instead of new-features. Therefore, to continue using the downloader script, the new entry to set will be the following:

Code: Select all

[distribution_mister]
https://raw.githubusercontent.com/spark2k06/Main_MiSTer/master/db.json.zip

The latest available binary is located in the releases folder:

https://github.com/spark2k06/Main_MiSTe ... r/releases

And as always, a video is worth a thousand words:

If you have any questions, please let me know, but you can always have a look at the updated documentation:

https://github.com/spark2k06/Main_MiSTe ... /README.md

User avatar
spark2k06
Core Developer
Posts: 868
Joined: Sat Jun 06, 2020 9:05 am
Has thanked: 409 times
Been thanked: 961 times

Re: AitorGomez Fork (MiSTer Main)

Unread post by spark2k06 »

spark2k06 wrote: Sun Mar 31, 2024 2:45 pm

Code: Select all

[distribution_mister]
https://raw.githubusercontent.com/spark2k06/Main_MiSTer/master/db.json.zip

In principle I have modified everything I was interested in for my personal fork of Main MiSTer project, so I have started the automatic synchronisation process with the latest official MiSTer Main changes. First of all, for those interested in having it in the update all script, I would have to make, this time yes, the following definitive change for the following database stored on my server:

Code: Select all

[distribution_mister]
https://aitorgomez.net/static/mistermain/db.json.zip

This database will be permanently updated with the original one, so we won't miss any other cores update... but in addition, it will carry the latest Main MiSTer from my fork.

The next task will be to have the Main MiSTer itself perfectly synchronised with the latest stable version of the MiSTer Main. I'm still working on this goal, so in the meantime, I'll make sure it's up to date... especially if it gets updated before I get it all set up, but I'll let you know as soon as that's the case.

Also, I will contact the author of the update all script, to see if we can facilitate the use of this fork from the script configuration screen as an alternative distribution for those who are interested, as it is already possible with the DB9 fork. I will let you know if there is any news on this.

User avatar
spark2k06
Core Developer
Posts: 868
Joined: Sat Jun 06, 2020 9:05 am
Has thanked: 409 times
Been thanked: 961 times

Re: AitorGomez Fork (MiSTer Main)

Unread post by spark2k06 »

Commits squashed to only 4 (excluding documentation and binaries) for better maintenance and future merging with the original repository 8-)

https://github.com/spark2k06/Main_MiSTe ... ts/master/

aitorgomez-fork-commits.png
aitorgomez-fork-commits.png (36.85 KiB) Viewed 453 times
Post Reply