Reading MPKG files

General discussion on Package Manager Software.
Post Reply
Author
Message
Gavin53
Posts: 7
Joined: 19 Oct 2011 17:56

Reading MPKG files

#1 Post by Gavin53 » 26 Mar 2023 21:27

I bought a Mikroe Dali2 Click board to use as a DALI interface for my projects.
I started downloading the MikroSDK for C but it is just too unnecessarily complicated.
I read that I can use a package in a different environment so that's what I want to do.

I installed the package manager but it won't let me open the packages
I get the error message
Compiler ... is not installed on this computer.
Can not load package.

I just want to read the example files so I can use the DALI interface!

How do I open to just read the MPKG file "1558364738_mikrosdk_mikroc_arm.pkg"
Thank you.

frank.malik
Posts: 96
Joined: 09 Apr 2021 20:37

Re: Reading MPKG files

#2 Post by frank.malik » 27 Mar 2023 11:48

Hi,

basically it is a zip file. Rename it to zip and use something like 7zip or similar to unpack.
Kind regards
Frank

Fusion for STM32 v8, STM32F407ZG@168MHz, 4" TFT capacitive
mikromedia 3, PIC32MZ2048EFH100@200MHz, 3" TFT capacitive
NECTO Studio 3.0.0, mikroC AI for ARM/PIC32, mikroSDK v.2.7.2

frank.malik
Posts: 96
Joined: 09 Apr 2021 20:37

Re: Reading MPKG files

#3 Post by frank.malik » 27 Mar 2023 12:19

Hi,

I like to correct myself a little bit. It seems that it's a kind of special zip file type.
If you simply use a unzip utility, you will get only the documentation as html files.

If you really want to get the header and c-file, you need to use the package manager.
However, don't use "Open existing package" from the Start Page.

Instead go to File -> Extract Package
2023-03-27 13_15_46-Clipboard.png
2023-03-27 13_15_46-Clipboard.png (11.16 KiB) Viewed 881 times

Here you can select your package and the folder where to extract the content to.
It works for me
2023-03-27 13_17_19-LIN Click.png
2023-03-27 13_17_19-LIN Click.png (3.68 KiB) Viewed 881 times
As a side note: I don't have the respective compiler installed on my PC.
Kind regards
Frank

Fusion for STM32 v8, STM32F407ZG@168MHz, 4" TFT capacitive
mikromedia 3, PIC32MZ2048EFH100@200MHz, 3" TFT capacitive
NECTO Studio 3.0.0, mikroC AI for ARM/PIC32, mikroSDK v.2.7.2

Gavin53
Posts: 7
Joined: 19 Oct 2011 17:56

Re: Reading MPKG files

#4 Post by Gavin53 » 27 Mar 2023 20:03

Thank you, your second suggestion worked. Windoze Zip didn't like the file even as a .zip but the package manager as you instructed could do it.

Post Reply

Return to “Package Manager General”