7 Commits
0.1.3 ... 0.1.4

Author SHA1 Message Date
2b0be67917 updated a few linux paths 2017-04-08 02:25:23 +02:00
71530c030a Update README.md 2017-04-08 01:03:22 +02:00
98122a5e56 Update README.md 2017-04-08 00:58:41 +02:00
febdc0d096 Update README.md 2017-04-08 00:56:41 +02:00
f6d704a5d5 Update README.md 2017-04-07 16:59:26 +02:00
fd0ca2c7fb Update README.md 2017-04-07 10:56:35 +02:00
c7fefb146a a few typo fixes 2017-04-06 23:20:43 +02:00
6 changed files with 28 additions and 10 deletions

View File

@ -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).
![Screenshot](/downloadContent/cemu_UI4.png)
@ -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 ![#f03c15](https://placehold.it/15/fbca04/000000?text=+)`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.

View File

@ -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){

View File

@ -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");

View File

@ -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);