Page 1 of 1

MiSTer HowTo : Patching an Arcade Core

Posted: Fri Apr 16, 2021 3:21 pm
by Xbytez
Alan (alanswx) has released a video showing how to patch an arcade core, enjoy!


Re: MiSTer HowTo : Patching an Arcade Core

Posted: Sun Apr 18, 2021 10:23 am
by zorrobandito
That was really interesting. I wonder if one could just patch one's own, local version without all the Github palaver?

Re: MiSTer HowTo : Patching an Arcade Core

Posted: Sun Apr 18, 2021 12:25 pm
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.

Re: MiSTer HowTo : Patching an Arcade Core

Posted: Sun Apr 18, 2021 12:35 pm
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.

Re: MiSTer HowTo : Patching an Arcade Core

Posted: Sun Apr 18, 2021 12:42 pm
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.

Re: MiSTer HowTo : Patching an Arcade Core

Posted: Sun Apr 18, 2021 1:27 pm
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.

Re: MiSTer HowTo : Patching an Arcade Core

Posted: Mon Apr 19, 2021 2:10 pm
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?

Re: MiSTer HowTo : Patching an Arcade Core

Posted: Mon Apr 19, 2021 2:33 pm
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.

Re: MiSTer HowTo : Patching an Arcade Core

Posted: Mon Apr 19, 2021 3:02 pm
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.

Re: MiSTer HowTo : Patching an Arcade Core

Posted: Mon Apr 19, 2021 11:06 pm
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.

Re: MiSTer HowTo : Patching an Arcade Core

Posted: Fri Apr 23, 2021 12:44 pm
by keilmillerjr
You should create a branch within your fork before issuing a pull request.

Re: MiSTer HowTo : Patching an Arcade Core

Posted: Fri Apr 23, 2021 1:36 pm
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