2021-07-17 13:16:05 +02:00
|
|
|
## Loading a file from CD
|
|
|
|
|
|
|
|
You need [mkpsxiso](https://github.com/Lameguy64/mkpsxiso) in your $PATH to generate a PSX disk image.
|
|
|
|
|
|
|
|
### Compile
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make all
|
|
|
|
```
|
|
|
|
|
|
|
|
### Clean directory
|
|
|
|
|
|
|
|
```bash
|
|
|
|
make cleansub
|
|
|
|
```
|
2021-07-23 19:45:11 +02:00
|
|
|
|
|
|
|
### Adding data to the CD
|
|
|
|
|
|
|
|
In `isoconfig.xml`, in the data track's `directory_tree` section, use this syntax :
|
|
|
|
|
|
|
|
```xml
|
|
|
|
<file name="HELO.DAT" type="data" source="theFile.dat"/>
|
|
|
|
```
|
|
|
|
|
|
|
|
See https://github.com/Lameguy64/mkpsxiso/blob/master/examples/example.xml for more details.
|