You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tips_tricks.md
+19-7Lines changed: 19 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,15 +40,27 @@ When porting a game to the PSP, some PSP specific code might be needed. To make
40
40
41
41
This makes sure that the other systems supported by the program keeps working the same, while still making it possible to add support for the PSP.
42
42
43
-
## More Libraries
43
+
## Managing Libraries
44
44
{: .fs-6 .fw-700 }
45
45
46
-
There are many C and C++ libraries available within the PSPDEV toolchain which can add functionality to your program. Some examples:
46
+
There are many C and C++ libraries available within the PSPDEV toolchain and most of them will be installed by default. Libraries are where most of the updates within the toolchain happen and they can be updated manually without redownload the toolchain using `psp-pacman`.
47
47
48
-
- Audio formats: mp3, ogg
49
-
- Image formats: png, jpeg
50
-
- Data formats: json, yaml, sqlite
51
-
- Support for compression, physics, fonts and much more
48
+
Updating the libraries installed can be done with the following command:
52
49
50
+
```shell
51
+
psp-pacman -Syu
52
+
```
53
+
54
+
After updating, you can list all available libraries with the following command:
55
+
56
+
```shell
57
+
psp-pacman -Sl
58
+
```
59
+
60
+
For a full list with information on each library, it's easiest to take a look on the [repository's web pages](https://pspdev.github.io/psp-packages).
61
+
62
+
Installing a library can be done with the following command:
53
63
54
-
For the full list take a look at the [psp-packages repository](https://pspdev.github.io/psp-packages/) or run `psp-pacman -Syl`. Installing newly added libraries can be done with `psp-pacman -S package-name`. Updating all installed libraries can be done with `psp-pacman -Syu`.
0 commit comments