File tree Expand file tree Collapse file tree 9 files changed +59
-34
lines changed Expand file tree Collapse file tree 9 files changed +59
-34
lines changed Original file line number Diff line number Diff line change 1
- # Version: 2021.03.11 .01
1
+ # Version: 2021.05.25 .01
2
2
3
3
# Force all text files to be LF
4
4
* text =auto eol =lf
9
9
* .conf text
10
10
* .config text
11
11
* .cmd text eol =crlf
12
+ * .cnf text
12
13
* .cs text diff =csharp
13
14
* .csproj text diff =html
14
15
* .css text
Original file line number Diff line number Diff line change 4
4
include variables.mk
5
5
6
6
PACKAGE_FILE = tonyhax-$(TONYHAX_VERSION ) .zip
7
- PACKAGE_CONTENTS = $(ENTRY_FILES:%=entrypoints/% ) $(LOADER_FILES:%=loader/% ) $(FREEPSXBOOT_IMAGES:%=freepsxboot/% ) README.md LICENSE
7
+ PACKAGE_CONTENTS = $(ENTRY_FILES:%=entrypoints/% ) $(LOADER_FILES:%=loader/% ) $(FREEPSXBOOT_IMAGES:%=freepsxboot/% ) $( BOOT_CD_FILES:%=boot-cd/% ) README.md LICENSE
8
8
9
9
.PHONY : modules clean
10
10
@@ -20,9 +20,11 @@ modules:
20
20
$(MAKE ) -C entrypoints all
21
21
$(MAKE ) -C loader all
22
22
$(MAKE ) -C freepsxboot all
23
+ $(MAKE ) -C boot-cd all
23
24
24
25
clean :
25
26
$(MAKE ) -C entrypoints clean
26
27
$(MAKE ) -C loader clean
27
28
$(MAKE ) -C freepsxboot clean
29
+ $(MAKE ) -C boot-cd clean
28
30
$(RM ) tonyhax-* .zip
Original file line number Diff line number Diff line change
1
+ tonyhax-boot-cd.bin
2
+ tonyhax-boot-cd.cue
Original file line number Diff line number Diff line change
1
+
2
+ # Thanks to whoever made https://devhints.io/makefile!
3
+
4
+ include ../variables.mk
5
+
6
+ .PHONY : clean
7
+
8
+ all : $(BOOT_CD_FILES )
9
+
10
+ clean :
11
+ $(RM ) $(BOOT_CD_FILES )
12
+
13
+ $(BOOT_CD_FILES ) : ../loader/tonyhax.exe cd.xml licensee.dat system.cnf
14
+ mkpsxiso -y cd.xml
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <iso_project image_name =" tonyhax-boot-cd.bin" cue_sheet =" tonyhax-boot-cd.cue" no_xa =" 0" >
3
+ <track type =" data" >
4
+ <identifiers
5
+ system =" PLAYSTATION"
6
+ application =" PLAYSTATION"
7
+ volume =" TONYHAX"
8
+ volume_set =" TONYHAX"
9
+ publisher =" SOCRAM8888"
10
+ data_preparer =" MKPSXISO"
11
+ copyright =" WTFPL"
12
+ />
13
+
14
+ <!--
15
+ Use the European license file.
16
+
17
+ This is important since the European consoles are the only ones that check the
18
+ game's region, so this CD should be bootable by ever modded console.
19
+ -->
20
+ <license file =" licensee.dat" />
21
+
22
+ <directory_tree >
23
+ <!-- System configuration file -->
24
+ <file name =" SYSTEM.CNF" type =" data" source =" system.cnf" />
25
+
26
+ <!-- Main executable -->
27
+ <file name =" TONYHAX.EXE" type =" data" source =" ../loader/tonyhax.exe" />
28
+
29
+ <!-- Generate a 16MB (8192 sectors) dummy file -->
30
+ <dummy sectors =" 8192" />
31
+ </directory_tree >
32
+ </track >
33
+ </iso_project >
Original file line number Diff line number Diff line change 1
- BOOT=cdrom:\THCD .EXE;1
1
+ BOOT =cdrom:\TONYHAX .EXE; 1
2
2
TCB =4
3
3
EVENT =10
4
4
STACK =801FFFF0
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -82,3 +82,7 @@ FREEPSXBOOT_IMAGES := \
82
82
tonyhax_scph-101_v4.5.mcd \
83
83
tonyhax_scph-102_v4.4.mcd \
84
84
tonyhax_scph-102_v4.5.mcd
85
+
86
+ # Boot CD files
87
+
88
+ BOOT_CD_FILES := tonyhax-boot-cd.bin tonyhax-boot-cd.cue
You can’t perform that action at this time.
0 commit comments