Skip to content

Commit 6471b08

Browse files
authored
Switch to C2D for graphics handling (#30)
* Switch to C2D (1) * Switch to C2D (2) Also trying docker now instead. * Populate files after using hidden toggle * Try to build properly * Try to build properly 2 * Try to build properly 3 * Remove .elf and .smdh * Add networking stuff for updater * Fix updater * Test: display version * Audio is implemented Todo: - Fix next/previous - Properly implement shuffle/repeat * Music player: Add shuffle/repeat/next and previous track * Add touch controls to settings and about menu * Add touch controls to file options * Fix updater and misc changes * Loading png/jpg now works for image viewer * Add bmp support + add CIA support * Attempt to fix travis builds again * Remove mbedtls * Give makerom and bannertool root permissions * Get rid of the . in front of build.sh * Export CC and CXX * Upgrade first before installing * Properly upgrade before installing * Use ubuntu-toolchain-r-test * Bring back mbedtls (needed for curl) * Use the -Syu command for curl * Force upgrade mbedtls ffs * Only install curl * Force install curl * Display file timestamp and fix text out of bounds in properties * Fix sleep mode in music player, dark menu icons, more - File size only displayed for dirs - Fixed rosalina crash * Only build on master
1 parent 494451f commit 6471b08

File tree

226 files changed

+4161
-7465
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

226 files changed

+4161
-7465
lines changed

.travis.yml

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,39 @@ language: c
22

33
sudo: true
44

5-
#Cache devkitARM and doxygen
6-
cache:
7-
directories:
8-
- /home/travis/devkitPro
9-
105
before_install:
116
- cd include/dr_libs/
127
- git clone https://github.com/mackron/dr_libs.git
138
- cd ../..
14-
- export DEVKITPRO=/opt/devkitpro
15-
- export DEVKITARM=/opt/devkitpro/devkitARM
16-
- export CTRULIB=${DEVKITPRO}/libctru
17-
- export PORTLIBS=${DEVKITPRO}/portlibs/armv6k
18-
- sh resources/.travis-deps.sh
9+
- wget https://github.com/devkitPro/pacman/releases/download/v1.0.0/devkitpro-pacman.deb
10+
- sudo dpkg -i devkitpro-pacman.deb
11+
12+
addons:
13+
apt:
14+
sources:
15+
- ubuntu-toolchain-r-test
16+
packages:
17+
- libstdc++-4.9-dev
18+
19+
install:
20+
- sudo dkp-pacman -Syu 3ds-dev --noconfirm --needed
21+
- sudo dkp-pacman -Syu 3ds-curl --noconfirm --force
22+
- sudo dkp-pacman -S 3ds-libogg --noconfirm
23+
- sudo dkp-pacman -S 3ds-libvorbisidec --noconfirm
24+
- sudo dkp-pacman -S 3ds-mpg123 --noconfirm
25+
- source /etc/profile.d/devkit-env.sh
26+
- export CC=arm-none-eabi-gcc
27+
- export CXX=arm-none-eabi-g++
28+
- git clone --recursive https://github.com/Steveice10/bannertool && cd bannertool/
29+
- make && sudo cp output/linux-x86_64/bannertool /opt/devkitpro/devkitARM/bin/bannertool
30+
- cd ../ && rm -rf bannertool/
31+
- git clone https://github.com/profi200/Project_CTR.git && cd Project_CTR/makerom
32+
- make && sudo cp makerom /opt/devkitpro/devkitARM/bin/makerom
33+
- cd ../.. && rm -rf Project_CTR
1934

2035
script:
2136
- cd $TRAVIS_BUILD_DIR
22-
- sh resources/.build.sh
37+
- sh .travis/build.sh
2338

2439
deploy:
2540
provider: pages

.travis/build.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash -ex
2+
3+
source /etc/profile.d/devkit-env.sh
4+
cd /3DShell
5+
make clean && make
6+
rm .gitignore .gitmodules .travis.yml 3DShell.elf 3DShell.smdh devkitpro-pacman.deb LICENSE Makefile README.md
7+
rm -rf .travis build include res romfs source

0 commit comments

Comments
 (0)