Create MEAnalyzer executable from Github Python Scripts

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • reformatt
    Badcaps Legend
    • Feb 2020
    • 1399
    • Australia

    #1

    Create MEAnalyzer executable from Github Python Scripts

    Each new release of ME Analyzer only has the scripts but no executable file. It's handy for me to just run the exe in Windows, so came up with the following guide for those that might want it. Didn't see anywhere else how to do it, apologies if it is documented somewhere and I've just missed it.

    ME Analyzer – create Windows executable from Python script from GitHub

    1. Install Python 3.xx from https://www.python.org/downloads/ – select to add Python to PATH during installation. Current version is Python V3.11.

    2. Open an elevated Windows Command Prompt Window to run the following steps.

    3. Confirm Python is correctly installed; enter
    py --version
    (should return Python 3.xx.x if ok)

    4. Confirm PIP is installed (should be part of the source installation of Python)
    py -m pip --version
    (should return pip 22.3.1 or similar)

    5. Confirm PIP, setuptools and wheel are up to date;
    py -m pip install --upgrade pip setuptools wheel

    6. Install MEAnalyzer pre-requisites:
    py -m pip install colorama crccheck pltable

    7. Download source.zip from latest release of ME Analyzer:
    https://github.com/platomav/MEAnalyzer/releases

    8. Extract source.zip to a directory (e.g. C:\MEAnalyzer-r316)

    9. In a command prompt window, install auto-py-to-exe:
    py -m pip install auto-py-to-exe

    10. Run auto-py-to-exe:
    py -m auto_py_to_exe

    11. From auto_py_to_exe GUI;
    Script Location, Browse to path to extracted ME Analyzer contents above (e.g. C:\MEAnalyzer-r316) and select MEA.py
    Select One File
    Select Windows Based

    12. Click Convert .PY to .EXE

    13. Click Open Output Folder and copy MEA.exe to your MEAnalyzer directory.

    14. Future versions of MEAnalyzer, you just need to proceed from step 7 usually.
    Last edited by reformatt; 02-06-2023, 07:40 AM.
  • rediii
    h???, spurrrn
    • Mar 2018
    • 485
    • somewhere in europe

    #2
    Re: Create MEAnalyzer executable from Github Python Scripts

    nice, this will help someone

    Comment

    • mcplslg123
      Badcaps Legend
      • Jun 2015
      • 7262
      • india

      #3
      Re: Create MEAnalyzer executable from Github Python Scripts

      @reformatt, Nice detailed steps. Though the information is available on net but its not in the same website. You have nicely summed it up.

      Comment

      • SMDFlea
        Super Moderator
        • Jan 2018
        • 20481
        • UK

        #4
        Re: Create MEAnalyzer executable from Github Python Scripts

        G`day reformatt, nice guide, have added the link to the ME Cleaning guide thread - https://www.badcaps.net/forum/showth...826#post987826
        All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

        Comment

        • mOri
          Member
          • Jan 2014
          • 23
          • england

          #5
          Re: Create MEAnalyzer executable from Github Python Scripts

          i tried the steps you described but got an error
          Attached Files

          Comment

          • rediii
            h???, spurrrn
            • Mar 2018
            • 485
            • somewhere in europe

            #6
            Re: Create MEAnalyzer executable from Github Python Scripts

            Originally posted by mOri
            i tried the steps you described but got an error
            don't use "Select Windows Based", select the other option. this worked for me

            Comment

            • reformatt
              Badcaps Legend
              • Feb 2020
              • 1399
              • Australia

              #7
              Re: Create MEAnalyzer executable from Github Python Scripts

              Not sure about that error, as I don't see that on my system. Are you using Powershell or Command Console? I use the latter with admin rights.

              Edit: Ok I see the error occurs after you launch the EXE. This has started happening on the latest release r318 (r316 did not have this problem). Can confirm using console based during exe creation solves the problem.
              Last edited by reformatt; 02-21-2023, 09:14 PM.

              Comment

              • alas3376
                Badcaps Veteran
                • Nov 2011
                • 382
                • BENIN

                #8
                Re: Create MEAnalyzer executable from Github Python Scripts

                thank you very much, that help me

                Comment

                • churi
                  New Member
                  • May 2022
                  • 1
                  • Colombia

                  #9
                  Re: Create MEAnalyzer executable from Github Python Scripts

                  very nice info .thanks. you helped me.

                  Comment

                  • hardware1
                    Badcaps Legend
                    • Sep 2021
                    • 2916
                    • N/A

                    #10
                    Re: Create MEAnalyzer executable from Github Python Scripts

                    I was wondering how to make (.exe) file for ME Analyzer, and I found this thread by a coincidence.
                    Thanks for sharing this helpful information, I tried with (MEAnalyzer-1.283.3-r312), got the same Error as in Post #5 and I avoided it by choose (Console Based). Now everything is working fine.
                    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
                    Due to a lack of donations, server free space at a critical level, and possible closure of Bios Requests
                    all donations are welcome,
                    see the donate button at the bottom of the page, or
                    >>>>>
                    click on this link to donate via PayPal. <<<<<
                    Every donation made will go towards server fees and maintenance costs.
                    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------

                    Comment

                    • rotceh_dnih
                      Member
                      • Jun 2020
                      • 43
                      • Australia

                      #11
                      Re: Create MEAnalyzer executable from Github Python Scripts

                      Legend!

                      Just got my programmer today , I work in different locations from time to time & would like to know if this will allow me to run the exe on pc's without python installed?

                      Comment

                      • pushparaj26
                        New Member
                        • Sep 2021
                        • 3
                        • india

                        #12
                        Re: Create MEAnalyzer executable from Github Python Scripts

                        thank you g

                        Comment

                        • reformatt
                          Badcaps Legend
                          • Feb 2020
                          • 1399
                          • Australia

                          #13
                          Re: Create MEAnalyzer executable from Github Python Scripts

                          Originally posted by rotceh_dnih
                          Legend!

                          Just got my programmer today , I work in different locations from time to time & would like to know if this will allow me to run the exe on pc's without python installed?
                          Yes, all dependencies are bundled into the exe. It runs on my workshop machine which does not have Python installed for example.

                          Comment

                          • Vesko356
                            VIP Moderator
                            • Aug 2018
                            • 4386
                            • Bulgaria 🇧🇬

                            #14
                            Re: Create MEAnalyzer executable from Github Python Scripts

                            ----------------------------------------------------------------------------------------------------------------------------------------------------------
                            All donations to Badcaps are welcome.
                            Become a Badcaps supporter
                            >>>>> click on this link to donate <<<<<
                            Thanks to all supporters.
                            ----------------------------------------------------------------------------------------------------------------------------------------------------------
                            Doctrina est fructus dulcis, radicis amarae.
                            .

                            Comment

                            • kingthink
                              Member
                              • Nov 2022
                              • 19
                              • China

                              #15
                              Re: Create MEAnalyzer executable from Github Python Scripts

                              1、Install Pyinstaller, use the following command to install(win10)
                              pip install pyinstaller

                              2、Place "package.bat" and the downloaded file in the same directory


                              3、Run "package.bat”



                              The generated EXE files are placed in the dist directory. Place the DAT file in the same directory as the generated EXE file


                              Attached Files
                              Last edited by SMDFlea; 04-01-2023, 01:34 AM. Reason: english translation

                              Comment

                              • f!ne
                                New Member
                                • Mar 2023
                                • 3
                                • Spain

                                #16
                                Re: Create MEAnalyzer executable from Github Python Scripts

                                Thanks, worked like a charm. I chose "Console based" just to be sure.

                                Comment

                                • dhs6512
                                  Member
                                  • Oct 2019
                                  • 38
                                  • Литва

                                  #17
                                  Re: Create MEAnalyzer executable from Github Python Scripts

                                  @reformatt
                                  Thank you.

                                  Comment

                                  • Elavarasan
                                    New Member
                                    • Dec 2019
                                    • 2
                                    • India

                                    #18
                                    Re: Create MEAnalyzer executable from Github Python Scripts

                                    very thankful brother

                                    Comment

                                    • djcristian28
                                      Member
                                      • Jun 2022
                                      • 27
                                      • Perú

                                      #19
                                      Re: Create MEAnalyzer executable from Github Python Scripts

                                      Perfect!

                                      Comment

                                      • lbslakmal
                                        Member
                                        • Jan 2013
                                        • 46
                                        • sri lanka

                                        #20
                                        Re: Create MEAnalyzer executable from Github Python Scripts

                                        Thank you very much....Its work with "console base" option

                                        Comment

                                        Related Topics

                                        Collapse

                                        • SMDFlea
                                          ME Firmware Cleaning Guide
                                          by SMDFlea
                                          Here`s a quick ME Firmware cleaning guide.

                                          The guide is basic,its main goal is to show you how to use intel FIT,its highly recommended that you all follow the guide posted at win-raid

                                          (The attached FIT version is 11, if your ME Firmware (FW) is not 11.0.*.* follow the win-raid guide. Use the tools version for your ME FW, for example: ME System Tools v9.1 For systems running ME v9.0 - v9.1)


                                          A video,software (intel FIT) and practice bios are all included. I`ll post a better video and more advanced guide at a later date.


                                          1. Open the...
                                          09-09-2020, 09:10 AM
                                        • SMDFlea
                                          Generic CopyDMI Scripts
                                          by SMDFlea
                                          Generic CopyDMI Scripts to complement the Experienced Copy DMI guide:

                                          Copy DMI info easily with Hex editing software and Macro script
                                          https://www.badcaps.net/forum/showthread.php?p=1214739

                                          Tiny Hexer - https://www.softpedia.com/get/Others...ny-hexer.shtml

                                          Post your generic scripts in this thread, no bios requests or any other questions , just scripts that everyone can use for any bios with the same *DMI off-sets. Posting a thank you is ok though,if you find what everyone posts useful.
                                          The scripts can be named anything you want...
                                          04-08-2023, 04:31 PM
                                        • pretendjury84
                                          Decrypt Keychain file
                                          by pretendjury84
                                          Hi,

                                          Sorry if this is posted in the wrong section.

                                          I need to decrypt a .keychain file. The methods listed on github (https://github.com/n0fate/chainbreaker) unfortunately dont seem to work. Im getting stuck on the first bit,
                                          1. Navigate to the directory containing the file setup.py
                                          2. Enter the command (from terminal): $ python setup.py bdist_wheel -d dist. This creates a wheel file (extension: .whl) in the /dist folder.
                                          qashifmasud@Qashifs-MacBook-Pro chainbreaker-master % python setup.py bdist_wheel -d dist
                                          zsh: command not found: python

                                          qashifmasud@Qashifs-MacBook-Pro...
                                          10-12-2024, 02:31 AM
                                        • bschwand
                                          ASUS N550JK laptop reboots after 30 minute, BIOS extracted invalid...
                                          by bschwand
                                          Hi all,

                                          as subject line says, I have a laptop that reboots after 30 minutes. Investigation leads me to believe that is due to intel ME as it happens everytime after 30 minute from boot, it just turns off, no overheating, nothing weird.
                                          I found a lot of information about cleaning ME like this https://winraid.level1techs.com/t/gu...lization/31277 and this https://github.com/corna/me_cleaner
                                          Anyway, first step is to dump the bios. I found the Winbond W25Q64FV chip on the motherboard, dumped it with flashrom over...
                                          05-22-2024, 02:48 AM
                                        • brimley
                                          Extract BIOS from legacy DELL 1764 flash.exe
                                          by brimley
                                          Hi All,

                                          I just bought an old Dell Inspiron 1764 to put Linux on, but
                                          before doing that I thought I'd update the BIOS from windows using
                                          DELL's suggested file FLASHME_v103_Win_1194_4M_1764A13.exe.
                                          (https://www.dell.com/support/home/en...n-1764/drivers)

                                          This failed and bricked my laptop and this model doesn't seem to have any usb boot type recovery options.

                                          So now I'm trying to flash it myself using a CH341A BIOS USB Programmer
                                          but can't find any way to get the BIOS image out of the exe file....
                                          01-11-2022, 05:32 PM
                                        • Loading...
                                        • No more items.
                                        Working...