Skip to content

Commit e22cee3

Browse files
committed
Corrections on Linux info and building in README
1 parent 21d3751 commit e22cee3

File tree

1 file changed

+4
-66
lines changed

1 file changed

+4
-66
lines changed

README.md

Lines changed: 4 additions & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ Table of contents
6363
- [Contributing](#contributing)
6464
- [Translations](#translations)
6565
- [Credits](#credits)
66-
- [Quark and remote browsing](#quark-and-remote-browsing-1)
67-
- [Windows](#windows-1)
68-
- [Linux](#linux-1)
69-
- [Mac](#mac-1)
7066
- [Settings \& themeing](#settings--themeing)
7167
- [Sample](#sample)
7268
- [Notes](#notes)
@@ -289,7 +285,7 @@ Install OpenJDK 11 (or higher) in the terminal:
289285

290286
- Finally, run ```sudo apt-get install openjdk-11-jdk``` (if you just want the JRE, install `openjdk-11-jre` instead)
291287

292-
- Create the file ```/etc/udev/rules.d/99-switch.rules``` with the following contents: ```SUBSYSTEM=="usb", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="3000", GROUP="plugdev, MODE="0666""```
288+
- Create the file ```/etc/udev/rules.d/99-switch.rules``` with the following contents: ```SUBSYSTEM=="usb", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="3000", GROUP="plugdev, MODE="0666"``` (check if your distro relies on `plugdev` or any alternatives to provide USB access)
293289

294290
- Reload udev rules with: ```sudo udevadm control --reload-rules && sudo udevadm trigger```
295291

@@ -327,7 +323,9 @@ In order to build Goldleaf, you will need the following:
327323

328324
You will also need to install the following packages with devkitPro's pacman:
329325

330-
- `switch-sdl2 switch-freetype switch-glad switch-libdrm_nouveau switch-sdl2_gfx switch-sdl2_image switch-sdl2_ttf switch-sdl2_mixer`
326+
- `switch-sdl2 switch-freetype switch-glad switch-libdrm_nouveau switch-sdl2_gfx switch-sdl2_image switch-sdl2_ttf switch-sdl2_mixer switch-lwext4 switch-ntfs-3g switch-curl switch-mbedtls`
327+
328+
> Note that this project may require [master libnx](https://github.com/switchbrew/libnx) to compile if relevant changes were made there which have not yet been released!
331329
332330
Remember to clone this repository recursively (`git clone <this-repo-url> --recurse-submodules`) since Goldleaf makes use of submodules.
333331

@@ -364,67 +362,7 @@ The main concepts of Goldleaf are and have been developed by me (XorTroll), but
364362
- 2767mr, for all the support given in Goldtree (former Quark tool).
365363

366364
- developer.su for [NS-USBloader](https://github.com/developersu/ns-usbloader), which helped a lot on the development of Quark, mainly on the usage of usb4java and the base of a multi-platform JavaFX Java project.
367-
## Quark and remote browsing
368-
369-
Quark Goldleaf's desktop Java tool, working as the desktop client for the remote PC option. It supports Windows, Linux and Mac.
370-
371-
Quark needs Java 9 or greater to run. See below the recommended installation for each supported system.
372-
373-
You also need to install libusbK drivers for USB to work fine.
374-
375-
### Windows
376-
377-
The best way to install Java 9 in Windows (or a very simple one) is to install [AdoptOpenJDK 11 or higher](https://adoptopenjdk.net).
378-
379-
> Note: make sure that the JDK/JRE you choose contains JavaFX! You can always install it manually otherwise
380-
381-
After installing it, double-clicking the JAR should be enough to start it.
382-
383-
Otherwise, run ```java -jar Quark.jar``` in the command prompt.
384-
385-
For the USB to get recognized, follow the following steps:
386-
387-
- Download [Zadig](https://zadig.akeo.ie)
388-
389-
- Boot your console with CFW, connect it to the PC via USB
390-
391-
- Open Goldleaf
392-
393-
- With Zadig, select the device named "Goldleaf" (if it doesn't appear, ensure Goldleaf has a USB icon on the top of the screen, and select "List all devices" under "Options" in Zadig)
394-
395-
- Install **libusbK** to that device (any other driver won't work fine)
396365

397-
### Linux
398-
399-
Install OpenJDK 11 (or higher) in the terminal:
400-
401-
- Run ```sudo add-apt-repository ppa:openjdk-r/ppa```
402-
403-
- Run ```sudo apt-get update```
404-
405-
- Finally, run ```sudo apt-get install openjdk-11-jdk``` (if you just want the JRE, install `openjdk-11-jre` instead)
406-
407-
- Create the file ```/etc/udev/rules.d/99-switch.rules``` with the following contents: ```SUBSYSTEM=="usb", ATTRS{idVendor}=="057e", ATTRS{idProduct}=="3000", GROUP="plugdev"```
408-
409-
- Reload udev rules with: ```sudo udevadm control --reload-rules && sudo udevadm trigger```
410-
411-
Now you can run Quark using ```java -jar Quark.jar```.
412-
413-
### Mac
414-
415-
Install OpenJDK 11 (or higher) in the terminal:
416-
417-
- Install brew ```/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"```
418-
419-
- Run ```brew tap AdoptOpenJDK/openjdk```
420-
421-
- Run ```brew install adoptopenjdk11 --cask```
422-
423-
- Finally, run ```java -version``` to check the JDK version
424-
425-
Now you can run Quark using ```java -jar Quark.jar```.
426-
427-
Having done all this, the USB connection should work fine.
428366

429367
## Settings & themeing
430368

0 commit comments

Comments
 (0)