diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4bcc922 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,78 @@ +language: cpp + +os: linux +sudo: false +dist: trusty + +env: + global: + - DEVKITPRO=/opt/devkitpro + - DEVKITARM=/opt/devkitpro/devkitARM + +cache: + directories: + - "$HOME/.local" + - "$DEVKITPRO" + +before_install: + - curl -L https://github.com/devkitPro/pacman/releases/download/devkitpro-pacman-1.0.1/devkitpro-pacman.deb -o pacman.deb + - sudo apt-get install -y p7zip-full + +install: + - sudo dpkg -i pacman.deb + - sudo dkp-pacman -Sy + - sudo dkp-pacman -S devkitARM general-tools dstools ndstool libnds libfat-nds grit mmutil --noconfirm + - export DEVKITPRO=/opt/devkitpro + - export DEVKITARM=${DEVKITPRO}/devkitARM + +script: + - export COMMIT_TAG="$(git log --format=%h -1)" + - export COMMIT_MESSAGE="$(git log --pretty=format:"%an - %s" -1)" + - make + - mkdir GodMode9i/ + - cp GodMode9i.nds GodMode9i/ + - 7z a GodMode9i.7z GodMode9i/ + +addons: + apt: + sources: + - ubuntu-toolchain-r-test + packages: + - gcc-4.9 + - g++-4.9 + - libstdc++6 + - lftp + +after_success: + - curl -o send.sh https://raw.githubusercontent.com/DS-Homebrew/travis-ci-discord-webhook/master/send.sh + - chmod +x send.sh + - ./send.sh success $WEBHOOK_URL + +after_failure: + - curl -o send.sh https://raw.githubusercontent.com/DS-Homebrew/travis-ci-discord-webhook/master/send.sh + - chmod +x send.sh + - ./send.sh failure $WEBHOOK_URL + +before_deploy: + - git config --local user.name "TWLBot" + - git clone https://$GITHUB_TOKEN@github.com/TWLBot/Builds.git + - cd Builds/extras + - cp ../../GodMode9i.7z GodMode9i.7z + - git stage . + - git commit -m "GodMode9i | $COMMIT_TAG" + - git push origin master + - export CURRENT_DATE=$(date +'%Y%m%d-%H%M%S') + - git tag v$CURRENT_DATE + +deploy: + provider: releases + overwrite: true + api_key: $GITHUB_TOKEN + file: GodMode9i.7z + skip_cleanup: true + repo: TWLBot/Builds + prerelease: true + name: GodMode9i | $COMMIT_TAG + body: $COMMIT_MESSAGE + on: + all_branches: true diff --git a/README.md b/README.md index 842d8dc..8259c3a 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,19 @@ # ![GodMode9i](https://github.com/RocketRobz/GodMode9i/blob/master/resources/logo2_small.png) -_A full access file browser for the DS and DSi consoles_ :godmode: +_A full access file browser for the DS and DSi consoles_ :godmode: ![img](https://travis-ci.org/RocketRobz/GodMode9i.svg?branch=master) + +## Features + +Dump GBA games on a DS Phat and DS Lite! + +Copy, delete, move and rename files as well as create folders. + +Mount the NitroFS for .nds files, including retail ones. + +Works on any console that supports a flashcard, or has CFW! (includes original DS, DSi, and 3DS) + +View files on supported flashcards when running GM9i from the SD Card. + -GodMode9i is a full access file browser for the Nintendo DS and DSi consoles, similar to d0k3's GodMode9 for Nintendo 3DS, giving you access to your SD card, and the flashcard's microSD card (check below for supported flashcards in DSi mode). You can copy, delete, rename files and create folders. ## Supported flashcards, if being ran off the SD card or as a CIA * Acekard 2(i) @@ -9,6 +21,6 @@ GodMode9i is a full access file browser for the Nintendo DS and DSi consoles, si ## Credits * d0k3: Original GM9 app and name, though he is not involved with the development of GM9i. -* devkitPro: devkitARM, libnds, original nds-hb-menu code, and screenshot code. +* devkitPro/WinterMute: devkitARM, libnds, original nds-hb-menu code, and screenshot code. * THEGUY: GM9i logo used up to v1.3.0 -* zacchi4k: GM9i logo used in v1.3.1 and later \ No newline at end of file +* zacchi4k: GM9i logo used in v1.3.1 and later diff --git a/arm9/source/main.cpp b/arm9/source/main.cpp index a4e69d0..38b7e30 100644 --- a/arm9/source/main.cpp +++ b/arm9/source/main.cpp @@ -77,7 +77,7 @@ int main(int argc, char **argv) { bool yHeld = false; - snprintf(titleName, sizeof(titleName), "GodMode9i v%i.%i.%i", 1, 3, 4); + snprintf(titleName, sizeof(titleName), "GodMode9i v%i.%i.%i", 1, 3, 5); // initialize video mode videoSetMode(MODE_4_2D);