├── DevelopmentResources.md ├── FAQs.md └── README.md /DevelopmentResources.md: -------------------------------------------------------------------------------- 1 | # Development Resources 2 | This document may contain tools/references to resources that might come handy while developing apps for MRE. 3 | 4 | ## RGB565 Color Picker 5 | Colors in MRE apps are generally stored in an RGB565 format. To generate colors in this format, use one of the tools from the list below: 6 | - https://chrishewett.com/blog/true-rgb565-colour-picker/ 7 | - https://www.barth-dev.de/online/rgb565-color-picker/ 8 | - https://trolsoft.ru/en/articles/rgb565-color-picker 9 | 10 | ### Usage: 11 | Assume you have a line of code which assigns a color to a color struct like this: 12 | ```c 13 | color.vm_color_565 = VM_COLOR_RED; 14 | ``` 15 | 16 | - Generate a color using one of the tools from the list above. 17 | - Instead of `VM_COLOR_RED`, paste in the RGB565 code generated by the tool (eg. `0x3186`, which is a dark shade of gray) 18 | 19 | Now the code should look like this: 20 | ```c 21 | color.vm_color_565 = 0x3186; 22 | ``` 23 | -------------------------------------------------------------------------------- /FAQs.md: -------------------------------------------------------------------------------- 1 | # FAQs 2 | Here are some FAQs related to MRE development and solutions/answers for them. 3 | 4 | ## Problem: I can't get a free version of the ADS1.2 compiler! 5 | **Solution:** Download the GCC compiler by Sourcery instead: https://sourcery.mentor.com/sgpp/lite/arm/portal/package6496/public/arm-none-eabi/arm-2010q1-188-arm-none-eabi.exe 6 | 7 | ## Problem: I can't install my .vxp files in MODIS! 8 | **Solution:** Some `.vxp` files will fail to install because they were compiled for `arm` architecture. To fix this, you need to compile it for `x86`. 9 | Do the steps mentioned below to get your MRE app working in MODIS: 10 | 11 | 1. Load the project to VS2022 (open the .vcproj file in VS2022) 12 | 2. There should be an upgrade prompt, just accept it 13 | 3. After accepting, the project will open. 14 | 4. Right click on the project, then choose project properties. 15 | 5. Goto the Debugging tab 16 | 6. Insert the path to your MODIS executable in the Command box. The default path for MODIS with MRE 3.0 skin is `C:\Program Files (x86)\MRE SDK V3.0.00\models\Model03_HVGA_MRE3.0\MoDIS\Release\MoDIS.exe`. You can choose the model that fits your need. 17 | 7. Goto the VC Directories tab. 18 | 8. Add include and library path to the end of corresponding boxes. You must add ; between paths. Add the MRE include and lib directories to the box. i.e, add `C:\Program Files (x86)\MRE SDK V3.0.00\include` to Include paths and `C:\Program Files (x86)\MRE SDK V3.0.00\lib\MRE30\armgcc_t` to Library paths 19 | 9. If are having problems with building VC projects (for me, it was VS2022 not able to find Windows SDK's include and lib path, then add the path to WinSDK's include and lib path to the boxes in the VC Directories tab. For me, I added `D:\Windows Kits\10\Include\10.0.22000.0\ucrt\ to the include path and D:\Windows Kits\10\Lib\10.0.22000.0\ucrt\x86\` to the lib path. 20 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MRE SDK Development Resources 2 | An archive of the MRE Software Development Kit and related resources in case someone needs it. 3 | 4 | ## Where can I get the SDK? 5 | Go to [Release](https://github.com/raspiduino/mre-sdk/releases) 6 | 7 | ## What is MRE? 8 | It is an SDK for [S30+](https://en.wikipedia.org/wiki/Series_30%2B) platform developed by Mediatek. 9 | 10 | ## Why not download from its official site? 11 | That website was taken down :( (You can still view it from [WayBack machine](https://archive.org/web), but you cannot download anything from it.) 12 | The reason why it was taken down is that MRE failed in the market. Nokia phones often use J2ME Java framework for running apps, but this series use MRE to write C++ apps, so it breaks the compatibility! 13 | 14 | *Why it changed?* Microsoft bought Nokia and decided not to taking care about J2ME things and instead use a new framework licensed from Mediatek. 15 | 16 | For more information, see [this Reddit post](https://www.reddit.com/r/Nokia/comments/3s2g5g/more_info_about_s30mediatek_mre/) and this [ycombinator news](https://news.ycombinator.com/item?id=14288221) 17 | 18 | ## New to MRE development? 19 | - See [this discussion](https://github.com/raspiduino/mre-sdk/discussions/1) for more resources. 20 | - Check out [FAQs](FAQs.md) for a list of frequently asked questions and solutions/answers related to them. 21 | 22 | ## Related links/resources 23 | > **PS:** Try to preserve these websites by saving them on [archive.org](https://archive.org) 24 | 25 | ### VXP Downloads 26 | - https://github.com/ptnnx/MRE/tree/main/Games (This repository has some `.zip` files that contain `.vxp`s collected from different websites 27 | - https://shifat100.xtgem.com/ 28 | - https://pranta.mobie.in/files/MRE.html 29 | - http://ssworld.mobie.in/mre%20apps 30 | - http://www.usemre.xtgem.com/ 31 | - https://soundsip.com/nokia-mre-vxp-games.xhtml 32 | 33 | ### Resources useful for MRE development: 34 | - [This Github issue](https://github.com/UstadMobile/ustadmobile-mre/issues/2) contains the link to the SDK 35 | - [This repo](https://github.com/UstadMobile/ustadmobile-mre/) has a great MRE example 36 | - https://vxpatch.luxferre.top/ allows you to sign your `.vxp` files with your SIM card's `IMSI` number 37 | 38 | # Credits 39 | - [sankalpdeveloper](https://github.com/sankalpdeveloper) who preserved this SDK. 40 | - [yeppiidev](https://github.com/yeppiidev) for additional research. 41 | 42 | # Got questions? 43 | We've got a Discord server: https://discord.gg/b3pZ55XdXh 44 | 45 |