Skip to content

Commit 687334f

Browse files
authored
Add better info for managing libraries
The current information was a bit too minimal.
1 parent f577356 commit 687334f

1 file changed

Lines changed: 19 additions & 7 deletions

File tree

tips_tricks.md

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,27 @@ When porting a game to the PSP, some PSP specific code might be needed. To make
4040

4141
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.
4242

43-
## More Libraries
43+
## Managing Libraries
4444
{: .fs-6 .fw-700 }
4545

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`.
4747

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:
5249

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:
5363

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`.
64+
```shell
65+
psp-pacman -S library
66+
```

0 commit comments

Comments
 (0)