Compare commits
7 Commits
Author | SHA1 | Date | |
---|---|---|---|
2b0be67917 | |||
71530c030a | |||
98122a5e56 | |||
febdc0d096 | |||
f6d704a5d5 | |||
fd0ca2c7fb | |||
c7fefb146a |
15
README.md
15
README.md
@ -1,6 +1,6 @@
|
|||||||
# cemu_UI
|
# cemu_UI
|
||||||
|
|
||||||
cemu_UI is a simple graphical frontend for [cemu](http://cemu.info/), a Wii U emulator.
|
cemu_UI is a simple, material design graphical frontend for [cemu](http://cemu.info/), a Wii U emulator. Downloads can be found [here](https://github.com/Seil0/cemu_UI/releases).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -19,9 +19,22 @@ cemu_UI is a simple graphical frontend for [cemu](http://cemu.info/), a Wii U em
|
|||||||
* more UI improvements
|
* more UI improvements
|
||||||
* support more rom file formats in automatic detection
|
* support more rom file formats in automatic detection
|
||||||
|
|
||||||
|
### If you have another idea, make a "new issue" with the `idea` lable
|
||||||
|
|
||||||
|
## installation
|
||||||
|
Simply download the cemu_UI.jar from [releases](https://github.com/Seil0/cemu_UI/releases), make sure you have the latest version of java 8 oracle jre/jdk installed, open the file. cemu_UI creats a new directory "C:\Users\USERNAME\Documents\cemu_UI", where the database, settings and covers are stored.
|
||||||
|
|
||||||
|
## building from source
|
||||||
|
1. download/clone the git repository
|
||||||
|
2. make sure you have the latest versionj of java 8 oracle jdk installed
|
||||||
|
3. place the unzip repository into your workspace and start eclipse, project should now be there **or** import the project to your workspace
|
||||||
|
|
||||||
## FAQ
|
## FAQ
|
||||||
|
|
||||||
* My game is not detected automaticaly
|
* My game is not detected automaticaly
|
||||||
* You need to add it to the [games.db](https://github.com/Seil0/cemu_UI/blob/master/downloadContent/games.db) database or you add it to the [games.csv](https://github.com/Seil0/cemu_UI/blob/master/downloadContent/games.csv) table so everyone can use it.
|
* You need to add it to the [games.db](https://github.com/Seil0/cemu_UI/blob/master/downloadContent/games.db) database or you add it to the [games.csv](https://github.com/Seil0/cemu_UI/blob/master/downloadContent/games.csv) table so everyone can use it.
|
||||||
* How can I update the games.db?
|
* How can I update the games.db?
|
||||||
* Delete the games.db file in "C:\Users\USERNAME\Documents\cemu_UI" it will be downloaded again at the next start of cemu_UI.
|
* Delete the games.db file in "C:\Users\USERNAME\Documents\cemu_UI" it will be downloaded again at the next start of cemu_UI.
|
||||||
|
* I have another question
|
||||||
|
* make a new issue and let me know
|
||||||
|
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -143,7 +143,7 @@ public class Main extends Application {
|
|||||||
Alert alert = new Alert(AlertType.CONFIRMATION); //new alert with file-chooser
|
Alert alert = new Alert(AlertType.CONFIRMATION); //new alert with file-chooser
|
||||||
alert.setTitle("cemu_UI");
|
alert.setTitle("cemu_UI");
|
||||||
alert.setHeaderText("cemu installation");
|
alert.setHeaderText("cemu installation");
|
||||||
alert.setContentText("pleas select your cemu installation");
|
alert.setContentText("please select your cemu installation");
|
||||||
|
|
||||||
Optional<ButtonType> result = alert.showAndWait();
|
Optional<ButtonType> result = alert.showAndWait();
|
||||||
if (result.get() == ButtonType.OK){
|
if (result.get() == ButtonType.OK){
|
||||||
@ -158,7 +158,7 @@ public class Main extends Application {
|
|||||||
Alert alert2 = new Alert(AlertType.CONFIRMATION); //new alert with file-chooser
|
Alert alert2 = new Alert(AlertType.CONFIRMATION); //new alert with file-chooser
|
||||||
alert2.setTitle("cemu_UI");
|
alert2.setTitle("cemu_UI");
|
||||||
alert2.setHeaderText("rom directory");
|
alert2.setHeaderText("rom directory");
|
||||||
alert2.setContentText("pleas select your rom directory");
|
alert2.setContentText("please select your rom directory");
|
||||||
|
|
||||||
Optional<ButtonType> result2 = alert2.showAndWait();
|
Optional<ButtonType> result2 = alert2.showAndWait();
|
||||||
if (result2.get() == ButtonType.OK){
|
if (result2.get() == ButtonType.OK){
|
||||||
|
@ -148,8 +148,8 @@ public class MainWindowController {
|
|||||||
private String selectedGameTitleID;
|
private String selectedGameTitleID;
|
||||||
private String selectedGameTitle;
|
private String selectedGameTitle;
|
||||||
private String color;
|
private String color;
|
||||||
private String version = "0.1.2";
|
private String version = "0.1.3";
|
||||||
private String buildNumber = "001";
|
private String buildNumber = "002";
|
||||||
@SuppressWarnings("unused")
|
@SuppressWarnings("unused")
|
||||||
private String versionName = "";
|
private String versionName = "";
|
||||||
private int xPos = -200;
|
private int xPos = -200;
|
||||||
@ -489,7 +489,7 @@ public class MainWindowController {
|
|||||||
saveSettings();
|
saveSettings();
|
||||||
cemuTextField.setText(getCemuPath());
|
cemuTextField.setText(getCemuPath());
|
||||||
try {
|
try {
|
||||||
Runtime.getRuntime().exec("java -jar ProjectHomeFlix.jar"); //start again
|
Runtime.getRuntime().exec("java -jar cemu_UI.jar"); //start again
|
||||||
System.exit(0); //finishes itself
|
System.exit(0); //finishes itself
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
System.out.println("es ist ein Fehler aufgetreten");
|
System.out.println("es ist ein Fehler aufgetreten");
|
||||||
@ -508,7 +508,7 @@ public class MainWindowController {
|
|||||||
saveSettings();
|
saveSettings();
|
||||||
cemuTextField.setText(getCemuPath());
|
cemuTextField.setText(getCemuPath());
|
||||||
try {
|
try {
|
||||||
Runtime.getRuntime().exec("java -jar ProjectHomeFlix.jar"); //start again
|
Runtime.getRuntime().exec("java -jar cemu_UI.jar"); //start again
|
||||||
System.exit(0); //finishes itself
|
System.exit(0); //finishes itself
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
System.out.println("es ist ein Fehler aufgetreten");
|
System.out.println("es ist ein Fehler aufgetreten");
|
||||||
|
@ -68,7 +68,7 @@ public class dbController {
|
|||||||
|
|
||||||
private void loadRomDatabase(){
|
private void loadRomDatabase(){
|
||||||
if (System.getProperty("os.name").equals("Linux")) {
|
if (System.getProperty("os.name").equals("Linux")) {
|
||||||
DB_PATH = System.getProperty("user.home") + "/localRoms.db";
|
DB_PATH = System.getProperty("user.home") + "/cemu_UI/localRoms.db";
|
||||||
}else{
|
}else{
|
||||||
DB_PATH = System.getProperty("user.home") + "\\Documents\\cemu_UI" + "\\" + "localRoms.db";
|
DB_PATH = System.getProperty("user.home") + "\\Documents\\cemu_UI" + "\\" + "localRoms.db";
|
||||||
}
|
}
|
||||||
@ -89,7 +89,7 @@ public class dbController {
|
|||||||
*/
|
*/
|
||||||
private void loadGamesDatabase(){
|
private void loadGamesDatabase(){
|
||||||
if (System.getProperty("os.name").equals("Linux")) {
|
if (System.getProperty("os.name").equals("Linux")) {
|
||||||
DB_PATH_games = System.getProperty("user.home") + "/games.db";
|
DB_PATH_games = System.getProperty("user.home") + "/cemu_UI/games.db";
|
||||||
}else{
|
}else{
|
||||||
DB_PATH_games = System.getProperty("user.home") + "\\Documents\\cemu_UI" + "\\" + "games.db";
|
DB_PATH_games = System.getProperty("user.home") + "\\Documents\\cemu_UI" + "\\" + "games.db";
|
||||||
}
|
}
|
||||||
@ -183,6 +183,7 @@ public class dbController {
|
|||||||
//get all files with .rpx TODO add other formats
|
//get all files with .rpx TODO add other formats
|
||||||
void loadRomDirectory(String directory){
|
void loadRomDirectory(String directory){
|
||||||
File dir = new File(directory);
|
File dir = new File(directory);
|
||||||
|
File appFile;
|
||||||
String[] extensions = new String[] { "rpx", "jsp" };
|
String[] extensions = new String[] { "rpx", "jsp" };
|
||||||
File pictureCache;
|
File pictureCache;
|
||||||
String coverPath;
|
String coverPath;
|
||||||
@ -198,7 +199,11 @@ public class dbController {
|
|||||||
System.out.println("Getting all .rpx files in " + dir.getCanonicalPath()+" including those in subdirectories \n");
|
System.out.println("Getting all .rpx files in " + dir.getCanonicalPath()+" including those in subdirectories \n");
|
||||||
List<File> files = (List<File>) FileUtils.listFiles(dir, extensions, true);
|
List<File> files = (List<File>) FileUtils.listFiles(dir, extensions, true);
|
||||||
for (File file : files) {
|
for (File file : files) {
|
||||||
File appFile = new File(file.getParent()+"\\app.xml");
|
if(System.getProperty("os.name").equals("Linux")){
|
||||||
|
appFile = new File(file.getParent()+"/app.xml");
|
||||||
|
} else {
|
||||||
|
appFile = new File(file.getParent()+"\\app.xml");
|
||||||
|
}
|
||||||
DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
|
DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
|
||||||
DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
|
DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
|
||||||
Document document = documentBuilder.parse(appFile);
|
Document document = documentBuilder.parse(appFile);
|
||||||
|
Reference in New Issue
Block a user