Skip to content

Powse/minichieves

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minichieves

A RetroAchievements tracker app for the Miyoo Mini, built with SDL 1.2 and lib_minichieves

Users screen Achievements list Achievement detail

Features

  • Manage multiple RetroAchievements accounts
  • Browse consoles, games, and achievements
  • Background sync with progress indicator
  • Runs on OnionOS (Miyoo Mini)

Dependencies

  • SDL 1.2, SDL_ttf, SDL_image
  • libcurl
  • libminichieves
  • libpthread

Build

Native / host

make

Output binary: out/minichieves-app

Cross-compile with dev-miyoomini-toolchain

Use the Docker image from dev-miyoomini-toolchain. The cross-compile toolchain is already configured inside the container.

Enter the shell:

make shell

Install lib_minichieves first:

cd lib_minichieves
make install

Then build Minichieves:

cd minichieves
make

To produce the install package:

make package

Copy Minichieves.zip to your SD card and extract it under /mnt/SDCARD/App/.

dev-miyoomini-toolchain Dockerfile

The toolchain Dockerfile was updated to cross-compile and install libcurl into the sysroot (support/setup-curl.sh), which is required by libminichieves.

  COPY support .
  RUN ./setup-toolchain.sh
  RUN cat setup-env.sh >> .bashrc
  RUN ./setup-sqlite.sh
  RUN ./setup-gtest.sh
+ RUN ./setup-curl.sh
  
  VOLUME /root/workspace

setup-curl.sh cross-compiles curl 7.64.0 for arm-linux-gnueabihf and installs it into the toolchain sysroot:

#!/bin/sh

progdir=`cd -- "$(dirname "$0")" >/dev/null 2>&1; pwd -P`

. "$progdir/setup-env.sh"

SYSROOT=/opt/miyoomini-toolchain/arm-linux-gnueabihf/libc

wget https://curl.se/download/curl-7.64.0.tar.gz

tar xzf curl-7.64.0.tar.gz

cd curl-7.64.0/

./configure \
    --host=arm-linux-gnueabihf \
    --prefix=$SYSROOT/usr \
    CC=$(echo $CROSS_COMPILE)gcc \
    CFLAGS="--sysroot=$SYSROOT" \
    LDFLAGS="--sysroot=$SYSROOT" \
    --with-ssl \
    --without-rtmp \
    --without-libssh2 \
    --without-ldap \
    --without-nghttp2 \
    --without-libpsl \
    --without-libidn2 \
    --without-gssapi

make

make install

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Contributors