MiSTer HowTo : Patching an Arcade Core

Community created YouTube tutorials, interviews and helpful online information guides.
Xbytez
Site Admin
Posts: 479
Joined: Wed May 20, 2020 3:36 pm
Has thanked: 227 times
Been thanked: 805 times

MiSTer HowTo : Patching an Arcade Core

Unread post by Xbytez »

Alan (alanswx) has released a video showing how to patch an arcade core, enjoy!

zorrobandito
Posts: 79
Joined: Thu Feb 25, 2021 10:19 pm
Has thanked: 65 times
Been thanked: 19 times

Re: MiSTer HowTo : Patching an Arcade Core

Unread post by zorrobandito »

That was really interesting. I wonder if one could just patch one's own, local version without all the Github palaver?
jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: MiSTer HowTo : Patching an Arcade Core

Unread post by jca »

You can always clone the repository and apply the patch but 5 minutes later you will have forgotten what you changed. I don't know how Githib works but it keeps track of everything which has been done since the original version of the project. By doing it on Github you have the full history of what has been done. This is very important, more so when it is a collaborative project.
Bas
Top Contributor
Posts: 623
Joined: Fri Jan 22, 2021 4:36 pm
Has thanked: 80 times
Been thanked: 324 times

Re: MiSTer HowTo : Patching an Arcade Core

Unread post by Bas »

Git runs on your local computer if you want. Clone the repository and you're done with Github. You can then use your locally cloned repository completely independent from upstream. Create your own commits, branches, what have you.. it will work. Just don't try to push your local changes back up to Github, because that won't be accepted.

If you are so inclined, you can run something like Gitea locally and have a web-based Git system of your very own for free.
jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: MiSTer HowTo : Patching an Arcade Core

Unread post by jca »

Thanks for the info Bas. You learn every day on this forum. Until now I just cloned a repository and went straight up to Quartus and made changes there.
How do you run Git on your local computer? It would be very useful to learn how to use this stuff.
Bas
Top Contributor
Posts: 623
Joined: Fri Jan 22, 2021 4:36 pm
Has thanked: 80 times
Been thanked: 324 times

Re: MiSTer HowTo : Patching an Arcade Core

Unread post by Bas »

Git is a bit of a huge apple to bite small bits off. In essence Git does nothing other than track the differences between objects that are put under its management. In practice this means you can use it to track changes to sets of files. These sets of files get changed over time (commits) and you can have different sets of changes diverge at the same time (branches). Git allows you to mix and match changes in some very complex ways, which makes it ideal for software development where large numbers of programmers change files (containing code) all the time and often want to put different changes into the same file. Git (but also a large number of predecessors and competitors) makes sense of this.

If you want to learn more about it, I advise you to at least skim the official book that comes with it. It's free, just like Git itself:

https://git-scm.com/book/en/v2

The book addresses any possible question you could realistically have about it at this point, and probably a whole lot more, in a much better way than I could do while improvising on a forum.
ARCADEAGES
Posts: 63
Joined: Sun May 24, 2020 11:58 pm
Location: Toronto
Has thanked: 109 times
Been thanked: 10 times
Contact:

Re: MiSTer HowTo : Patching an Arcade Core

Unread post by ARCADEAGES »

I have not watched the video yet, but can I use this information to patch my own porn pics into a Gals Panic ROM?
MostroW
Posts: 344
Joined: Tue Aug 18, 2020 3:32 pm
Has thanked: 150 times
Been thanked: 57 times

Re: MiSTer HowTo : Patching an Arcade Core

Unread post by MostroW »

ARCADEAGES wrote: Mon Apr 19, 2021 2:10 pm I have not watched the video yet, but can I use this information to patch my own porn pics into a Gals Panic ROM?
Asking the relevant questions here.
jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: MiSTer HowTo : Patching an Arcade Core

Unread post by jca »

May be trying to be funny but just falling on his face. It has nothing to do with ROMs.
May be he could watch the video and learn something - I have my doubts.
ARCADEAGES
Posts: 63
Joined: Sun May 24, 2020 11:58 pm
Location: Toronto
Has thanked: 109 times
Been thanked: 10 times
Contact:

Re: MiSTer HowTo : Patching an Arcade Core

Unread post by ARCADEAGES »

jca wrote: Mon Apr 19, 2021 3:02 pm May be trying to be funny but just falling on his face. It has nothing to do with ROMs.
May be he could watch the video and learn something - I have my doubts.
Gee dad. I'm sorry.
keilmillerjr
Posts: 49
Joined: Wed Mar 24, 2021 12:52 pm
Has thanked: 3 times
Been thanked: 6 times

Re: MiSTer HowTo : Patching an Arcade Core

Unread post by keilmillerjr »

You should create a branch within your fork before issuing a pull request.
User avatar
aberu
Core Developer
Posts: 1192
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 247 times
Been thanked: 411 times
Contact:

Re: MiSTer HowTo : Patching an Arcade Core

Unread post by aberu »

keilmillerjr wrote: Fri Apr 23, 2021 12:44 pm You should create a branch within your fork before issuing a pull request.
This is what I said, but to each their own :P
birdybro~
Post Reply