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 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
|
||||
* 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
|
||||
|
||||
* 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.
|
||||
* 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.
|
||||
* 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.setTitle("cemu_UI");
|
||||
alert.setHeaderText("cemu installation");
|
||||
alert.setContentText("pleas select your cemu installation");
|
||||
alert.setContentText("please select your cemu installation");
|
||||
|
||||
Optional<ButtonType> result = alert.showAndWait();
|
||||
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
|
||||
alert2.setTitle("cemu_UI");
|
||||
alert2.setHeaderText("rom directory");
|
||||
alert2.setContentText("pleas select your rom directory");
|
||||
alert2.setContentText("please select your rom directory");
|
||||
|
||||
Optional<ButtonType> result2 = alert2.showAndWait();
|
||||
if (result2.get() == ButtonType.OK){
|
||||
|
@ -148,8 +148,8 @@ public class MainWindowController {
|
||||
private String selectedGameTitleID;
|
||||
private String selectedGameTitle;
|
||||
private String color;
|
||||
private String version = "0.1.2";
|
||||
private String buildNumber = "001";
|
||||
private String version = "0.1.3";
|
||||
private String buildNumber = "002";
|
||||
@SuppressWarnings("unused")
|
||||
private String versionName = "";
|
||||
private int xPos = -200;
|
||||
@ -489,7 +489,7 @@ public class MainWindowController {
|
||||
saveSettings();
|
||||
cemuTextField.setText(getCemuPath());
|
||||
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
|
||||
} catch (IOException e) {
|
||||
System.out.println("es ist ein Fehler aufgetreten");
|
||||
@ -508,7 +508,7 @@ public class MainWindowController {
|
||||
saveSettings();
|
||||
cemuTextField.setText(getCemuPath());
|
||||
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
|
||||
} catch (IOException e) {
|
||||
System.out.println("es ist ein Fehler aufgetreten");
|
||||
|
@ -68,7 +68,7 @@ public class dbController {
|
||||
|
||||
private void loadRomDatabase(){
|
||||
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{
|
||||
DB_PATH = System.getProperty("user.home") + "\\Documents\\cemu_UI" + "\\" + "localRoms.db";
|
||||
}
|
||||
@ -89,7 +89,7 @@ public class dbController {
|
||||
*/
|
||||
private void loadGamesDatabase(){
|
||||
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{
|
||||
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
|
||||
void loadRomDirectory(String directory){
|
||||
File dir = new File(directory);
|
||||
File appFile;
|
||||
String[] extensions = new String[] { "rpx", "jsp" };
|
||||
File pictureCache;
|
||||
String coverPath;
|
||||
@ -198,7 +199,11 @@ public class dbController {
|
||||
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);
|
||||
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();
|
||||
DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
|
||||
Document document = documentBuilder.parse(appFile);
|
||||
|
Reference in New Issue
Block a user