GithubHelp home page GithubHelp logo

how is md5 calculated about main_mister HOT 8 CLOSED

jotego avatar jotego commented on August 17, 2024
how is md5 calculated

from main_mister.

Comments (8)

sorgelig avatar sorgelig commented on August 17, 2024 1

Source code is available. md5 lib is called from mra_loader.cpp, so whole logic is there.

from main_mister.

sorgelig avatar sorgelig commented on August 17, 2024

to get it simple, open console log and there you will see a calculated value which later you can insert in your xml file.
But since you already has CRC, you may use md5="none". CRC should be enough

from main_mister.

jotego avatar jotego commented on August 17, 2024

The thing is that the CRC value is treated differently. If the md5 fails, the user gets a message. But if the CRC is not matched, the user does not get a message.

I would like the users to get the message.

from main_mister.

sorgelig avatar sorgelig commented on August 17, 2024

then get it from debug console

from main_mister.

jotego avatar jotego commented on August 17, 2024

The problem with that is that I handle about 1,000 MRA files so I need an automated workflow. I need to generate the md5 number the way MiSTer does automatically.

from main_mister.

wickerwaka avatar wickerwaka commented on August 17, 2024

The main "gotcha" I see is that a file will be re-read and the md5 updated based on the entire contents of the file for each instance of a map. Does the md5 match in the most basic cases?

from main_mister.

jotego avatar jotego commented on August 17, 2024

The main "gotcha" I see is that a file will be re-read and the md5 updated based on the entire contents of the file for each instance of a map. Does the md5 match in the most basic cases?

The md5 does not match for the case of a single file with no interleave. I should look at the file pointed by sorgelig to find out where it is messed up, because I think it is, at least conceptually.

from main_mister.

jotego avatar jotego commented on August 17, 2024

I will close this one as it is similar to #741, which is mine too. I'll try to look for help to get a better implementation on the MiSTer firmware, addressing #422 too

from main_mister.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.