Skip to content

Commit

Permalink
Init Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Rodrigo committed Oct 30, 2020
1 parent fea1079 commit 53dfe47
Show file tree
Hide file tree
Showing 156 changed files with 1,673 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.nova
78 changes: 78 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
# Retroid Pocket Switch Theme

<img src="hero.jpg">

Pegasus Frontend Theme optimized for the Retroid Pocket 2 Screen. You need to have Pegasus installed in your Retroid Pocket

## Installing Pegasus on the Retroid Pocket 2

Pegasus needs some setup work but is easy as pie if you follow mi [guide for dummies](https://github.com/dragoonDorise/pegasus-rp2-metadata)

## Home Screen

In the home screen you can navigate your Systems using your D-pad or use the option navbar to:

- Access all your favorited games
- Access your latest played games
- Access all of your games of all platforms
- Toggle Light / Dark mode

### Light Mode

<img src="https://raw.githubusercontent.com/dragoonDorise/RP-Switch/master/screenshots/home.jpg">

### Dark Mode

<img src="https://raw.githubusercontent.com/dragoonDorise/RP-Switch/master/screenshots/home-dark.jpg">

You can also toggle the zoom level of the Systems list with a press on the button Y

<img src="https://raw.githubusercontent.com/dragoonDorise/RP-Switch/master/screenshots/home-zoom.jpg">

## Game List Screen

In this list you can see all the games in the System selected in the Home Screen, in this screen you can do several things by pressing different buttons:

- A - Launchs the Game
- B - Goes back to the Home Page
- X - Toggles a Game as favorite
- Y - Toogles the Game List between 3, 4 or 5 games per row
- L1 - Changes the Game List to the previous System
- R1 - Changes the Game List to the next System
- R2 - Activates Search mode ( You might need to press R2 Twice )

If you selected Dark Mode in the Home Page, the Game List will be presented in Dark Mode as well.

### Light mode

<img src="https://raw.githubusercontent.com/dragoonDorise/RP-Switch/master/screenshots/games3.jpg">

### Dark mode

<img src="https://raw.githubusercontent.com/dragoonDorise/RP-Switch/master/screenshots/games3-dark.jpg">

### Search mode

<img src="https://raw.githubusercontent.com/dragoonDorise/RP-Switch/master/screenshots/search.jpg">
Just press R2 Twice, enter the text you want to search, press the hide keyboard key in the Android virtual Keyboard and then press Down in the Dpad to go back to the Game list and select the game you want. **Don't press the Enter key, it wont work**

### Zoom levels

There are three zoom levels, you can toggle trough them by pressing hte button Y

#### Three games

<img src="https://raw.githubusercontent.com/dragoonDorise/RP-Switch/master/screenshots/games3.jpg">

#### Four games

<img src="https://raw.githubusercontent.com/dragoonDorise/RP-Switch/master/screenshots/games4.jpg">

#### Five games

<img src="https://raw.githubusercontent.com/dragoonDorise/RP-Switch/master/screenshots/games5.jpg">

## Thanks To

- PlayingKarrde for creating [switchOS](https://github.com/PlayingKarrde/switchOS)
- System pictures from [lilbud](https://github.com/lilbud/es-theme-switch)
Binary file added assets/bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/bg_dark.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/bg_games.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/fonts/Nintendo_Switch_UI_Font.ttf
Binary file not shown.
1 change: 1 addition & 0 deletions assets/icons/clock.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/heart.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/heart_solid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/moon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/icons/play-circle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/rp2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/icons/rp2_dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions assets/icons/search.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/images/allsoft_icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/images/allsoft_icon_dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/profile_icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/systems-bg/3do.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/systems-bg/ags.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/systems-bg/amiga.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/systems-bg/amstradcpc.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/systems-bg/android.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/systems-bg/apple2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/systems-bg/arcade.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/systems-bg/atari2600.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/systems-bg/atari5200.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/systems-bg/atari7800.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/systems-bg/atari800.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/systems-bg/atarijaguar.jpg
Binary file added assets/images/systems-bg/atarijaguarcd.jpg
Binary file added assets/images/systems-bg/atarilynx.jpg
Binary file added assets/images/systems-bg/atarist.jpg
Binary file added assets/images/systems-bg/auto-allgames.jpg
Binary file added assets/images/systems-bg/auto-favorites.jpg
Binary file added assets/images/systems-bg/auto-lastplayed.jpg
Binary file added assets/images/systems-bg/c64.jpg
Binary file added assets/images/systems-bg/colecovision.jpg
Binary file added assets/images/systems-bg/cps1.jpg
Binary file added assets/images/systems-bg/cps2.jpg
Binary file added assets/images/systems-bg/cps3.jpg
Binary file added assets/images/systems-bg/custom-collections.jpg
Binary file added assets/images/systems-bg/daphne.jpg
Binary file added assets/images/systems-bg/dragon32.jpg
Binary file added assets/images/systems-bg/dreamcast.jpg
Binary file added assets/images/systems-bg/famicom.jpg
Binary file added assets/images/systems-bg/famicom.png
Binary file added assets/images/systems-bg/fba.jpg
Binary file added assets/images/systems-bg/fds.jpg
Binary file added assets/images/systems-bg/gameandwatch.jpg
Binary file added assets/images/systems-bg/gamegear.jpg
Binary file added assets/images/systems-bg/gb.jpg
Binary file added assets/images/systems-bg/gba.jpg
Binary file added assets/images/systems-bg/gbc.jpg
Binary file added assets/images/systems-bg/gc.jpg
Binary file added assets/images/systems-bg/genesis.jpg
Binary file added assets/images/systems-bg/intellivision.jpg
Binary file added assets/images/systems-bg/kodi.jpg
Binary file added assets/images/systems-bg/love.jpg
Binary file added assets/images/systems-bg/macintosh.jpg
Binary file added assets/images/systems-bg/mame-libretro.jpg
Binary file added assets/images/systems-bg/mame.jpg
Binary file added assets/images/systems-bg/mastersystem.jpg
Binary file added assets/images/systems-bg/megadrive.jpg
Binary file added assets/images/systems-bg/msx.jpg
Binary file added assets/images/systems-bg/n64.jpg
Binary file added assets/images/systems-bg/naomi.jpg
Binary file added assets/images/systems-bg/nds.jpg
Binary file added assets/images/systems-bg/neogeo.jpg
Binary file added assets/images/systems-bg/neogeocd.jpg
Binary file added assets/images/systems-bg/nes.jpg
Binary file added assets/images/systems-bg/ngp.jpg
Binary file added assets/images/systems-bg/ngpc.jpg
Binary file added assets/images/systems-bg/ody2.jpg
Binary file added assets/images/systems-bg/pc-cd.jpg
Binary file added assets/images/systems-bg/pc.jpg
Binary file added assets/images/systems-bg/pc88.jpg
Binary file added assets/images/systems-bg/pc98.jpg
Binary file added assets/images/systems-bg/pcengine.jpg
Binary file added assets/images/systems-bg/pcfx.jpg
Binary file added assets/images/systems-bg/ports.jpg
Binary file added assets/images/systems-bg/ps2.jpg
Binary file added assets/images/systems-bg/ps3.jpg
Binary file added assets/images/systems-bg/psp.jpg
Binary file added assets/images/systems-bg/psx.jpg
Binary file added assets/images/systems-bg/residualvm.jpg
Binary file added assets/images/systems-bg/retropie.jpg
Binary file added assets/images/systems-bg/saturn.jpg
Binary file added assets/images/systems-bg/scummvm.jpg
Binary file added assets/images/systems-bg/sega32x.jpg
Binary file added assets/images/systems-bg/segacd.jpg
Binary file added assets/images/systems-bg/sfc.jpg
Binary file added assets/images/systems-bg/sg-1000.jpg
Binary file added assets/images/systems-bg/snes.jpg
Binary file added assets/images/systems-bg/steam.jpg
Binary file added assets/images/systems-bg/tg-cd.jpg
Binary file added assets/images/systems-bg/tg16.jpg
Binary file added assets/images/systems-bg/vectrex.jpg
Binary file added assets/images/systems-bg/videopac.jpg
Binary file added assets/images/systems-bg/virtualboy.jpg
Binary file added assets/images/systems-bg/wii.jpg
Binary file added assets/images/systems-bg/wiiu.jpg
Binary file added assets/images/systems-bg/windows.jpg
Binary file added assets/images/systems-bg/wonderswan.jpg
Binary file added assets/images/systems-bg/wonderswancolor.jpg
Binary file added assets/images/systems-bg/x68000.jpg
Binary file added assets/images/systems-bg/zmachine.jpg
Binary file added assets/images/systems-bg/zxspectrum.jpg
Binary file added assets/images/systems/all-allgames.png
Binary file added assets/images/systems/all-favorites.png
Binary file added assets/images/systems/all-lastplayed.png
Binary file added assets/images/systems/atari2600.png
Binary file added assets/images/systems/default.png
Binary file added assets/images/systems/dreamcast.png
Binary file added assets/images/systems/fba.png
Binary file added assets/images/systems/fbn.png
Binary file added assets/images/systems/gamegear.png
Binary file added assets/images/systems/gb.png
Binary file added assets/images/systems/gba.png
Binary file added assets/images/systems/gbc.png
Binary file added assets/images/systems/genesis.png
Binary file added assets/images/systems/mame.png
Binary file added assets/images/systems/mastersystem.png
Binary file added assets/images/systems/n64.png
Binary file added assets/images/systems/nds.png
Binary file added assets/images/systems/neogeo.png
Binary file added assets/images/systems/nes.png
Binary file added assets/images/systems/playstation.png
Binary file added assets/images/systems/psp.png
Binary file added assets/images/systems/scumm.png
Binary file added assets/images/systems/segacd.png
Binary file added assets/images/systems/snes.png
Binary file added assets/sound/Border.wav
Binary file not shown.
Binary file added assets/sound/EnterBack.wav
Binary file not shown.
Binary file added assets/sound/Home.wav
Binary file not shown.
Binary file added assets/sound/Interface Click 1.wav
Binary file not shown.
Binary file added assets/sound/PopupRunTitle.wav
Binary file not shown.
Binary file added assets/sound/Screen Limit.wav
Binary file not shown.
Binary file added assets/sound/Settings.wav
Binary file not shown.
251 changes: 251 additions & 0 deletions components/Footer.qml
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
import QtQuick 2.12
Rectangle {
id: footer
color: footerCSS.background
width: footerCSS.width
height: footerCSS.height
anchors.top: main.bottom
Rectangle{
id: footer__border
anchors.top: parent.top
anchors.left: parent.left
anchors.leftMargin: 20
width: parent.width-40;
height:1
color: theme.text
}

Image {
id: rp2
width: 36
fillMode: Image.PreserveAspectFit
source: "../assets/icons/"+ theme.footer_icon
asynchronous: true
anchors.top: parent.top
anchors.left: parent.left
anchors.leftMargin: 42
anchors.topMargin: 14
}


Rectangle{
id: footer__legend
color:"transparent"
anchors.right: parent.right
width:500
height: parent.height
anchors.verticalCenter: parent.verticalCenter
Rectangle{
id: footer__legend_A
anchors.verticalCenter: parent.verticalCenter
anchors.right: footer__legend_B.left
anchors.rightMargin: 70
Rectangle{
height:20
width:20
color:"#444"
radius:20
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right

Text{
text:"A"
color:"white"
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
}
Text{
text:"Accept"
color: theme.text
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.right
anchors.leftMargin: 4

}
}
}
Rectangle{
id: footer__legend_B
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
anchors.rightMargin: 60

Rectangle{
height:20
width:20
color:"#444"
radius:20
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right

Text{
text:"B"
color:"white"
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
}
Text{
text:"Back"
color: theme.text
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.right
anchors.leftMargin: 4

}
}
}
Rectangle{
id: footer__legend_Y
anchors.verticalCenter: parent.verticalCenter
anchors.right: footer__legend_A.left
anchors.rightMargin: 64
Rectangle{
height:20
width:20
color:"#444"
radius:20
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right

Text{
text:"Y"
color:"white"
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
}
Text{
text:"Zoom"
color: theme.text
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.right
anchors.leftMargin: 4

}
}
}
Rectangle{
id: footer__legend_X
anchors.verticalCenter: parent.verticalCenter
anchors.right: footer__legend_Y.left
anchors.rightMargin: 80
Rectangle{
height:20
width:20
color:"#444"
radius:20
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
visible: currentPage === 'ListPage' ? 1 : 0
Text{
text:"X"
color:"white"
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
}
Text{
text:"Favorite"
color: theme.text
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.right
anchors.leftMargin: 4

}
}
}
// Rectangle{
// id: footer__legend_X_home
// anchors.verticalCenter: parent.verticalCenter
// anchors.right: footer__legend_Y.left
// anchors.rightMargin: 70
// Rectangle{
// height:20
// width:20
// color:"#444"
// radius:20
// anchors.verticalCenter: parent.verticalCenter
// anchors.right: parent.right
// visible: currentPage === 'HomePage' ? 1 : 0
// Text{
// text:"X"
// color:"white"
// anchors.verticalCenter: parent.verticalCenter
// anchors.horizontalCenter: parent.horizontalCenter
// }
// Text{
// text:"Zoom"
// color: theme.text
// anchors.verticalCenter: parent.verticalCenter
// anchors.left: parent.right
// anchors.leftMargin: 4
//
// }
// }
// }

Rectangle{
id: footer__legend_R
anchors.verticalCenter: parent.verticalCenter
anchors.right: footer__legend_X.left
anchors.rightMargin: 60
Rectangle{
height:20
width:20
color:"#444"
radius:20
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
visible: currentPage === 'ListPage' ? 1 : 0
Text{
text:"R1"
color:"white"
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
}
Text{
text:"Next"
color: theme.text
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.right
anchors.leftMargin: 4

}
}
}


Rectangle{
id: footer__legend_L
anchors.verticalCenter: parent.verticalCenter
anchors.right: footer__legend_R.left
anchors.rightMargin: 60
Rectangle{
height:20
width:20
color:"#444"
radius:20
anchors.verticalCenter: parent.verticalCenter
anchors.right: parent.right
visible: currentPage === 'ListPage' ? 1 : 0
Text{
text:"L1"
color:"white"
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
}
Text{
text:"Prev"
color: theme.text
anchors.verticalCenter: parent.verticalCenter
anchors.left: parent.right
anchors.leftMargin: 4

}
}
}


}


}

Loading

0 comments on commit 53dfe47

Please sign in to comment.