Improve naming of PSX related ENV variables
This commit is contained in:
@@ -10,24 +10,27 @@ endif
|
||||
# Add regions on your own
|
||||
# Extend them with what you need
|
||||
ifeq ($(REGION),SCEE)
|
||||
export TV_FORMAT=PAL
|
||||
export LICENSE=LICENSEE
|
||||
export PSX_TV_FORMAT=PAL
|
||||
export PSX_LICENSE=LICENSEE
|
||||
export PSX_BOOT_FILE=XXXX_AAA.AA
|
||||
endif
|
||||
ifeq ($(REGION),SCEA)
|
||||
export TV_FORMAT=NTSC
|
||||
export LICENSE=LICENSEA
|
||||
export PSX_TV_FORMAT=NTSC
|
||||
export PSX_LICENSE=LICENSEA
|
||||
export PSX_BOOT_FILE=XXXX_AAA.AA
|
||||
endif
|
||||
ifeq ($(REGION),SCEI)
|
||||
export TV_FORMAT=NTSC
|
||||
export LICENSE=LICENSEJ
|
||||
export PSX_TV_FORMAT=NTSC
|
||||
export PSX_LICENSE=LICENSEJ
|
||||
export PSX_BOOT_FILE=XXXX_AAA.AA
|
||||
endif
|
||||
|
||||
ifndef TV_FORMAT
|
||||
$(error TV_FORMAT has not be set! REGION not specified?)
|
||||
ifndef PSX_TV_FORMAT
|
||||
$(error PSX_TV_FORMAT has not be set! REGION not specified?)
|
||||
endif
|
||||
|
||||
ifndef LICENSE
|
||||
$(error LICENSE has not be set! REGION not specified?)
|
||||
ifndef PSX_LICENSE
|
||||
$(error PSX_LICENSE has not be set! REGION not specified?)
|
||||
endif
|
||||
|
||||
all clean rebuild: |assets_$(MAKECMDGOALS) application_$(MAKECMDGOALS) cd_$(MAKECMDGOALS)
|
||||
|
@@ -1,11 +1,10 @@
|
||||
<ISO_Project>
|
||||
<Description>
|
||||
<!--<Publisher>Jaby</Publisher>-->
|
||||
<!--<License>%PSX_LICENSE_PATH%/%LICENSE%.DAT</License>-->
|
||||
<!--<License>%PSX_LICENSE_PATH%/%PSX_LICENSE%.DAT</License>-->
|
||||
</Description>
|
||||
<Track>
|
||||
<File name="SYSTEM.CNF">System.cnf</File>
|
||||
<!--For pkg use: SLES_000.25;1 or SLUS_001.51;1 - no japanse version yet. Otherwise leave as "XXXX_AAA.AA"-->
|
||||
<Main name="XXXX_AAA.AA">../application/bin/%TV_FORMAT%/PSX-release/#{ProjectName}.psexe</Main>
|
||||
<File name = "SYSTEM.CNF">System.cnf.subst</File>
|
||||
<Main name = "%PSX_BOOT_FILE%">../application/bin/%PSX_TV_FORMAT%/PSX-release/#{ProjectName}.psexe</Main>
|
||||
</Track>
|
||||
</ISO_Project>
|
@@ -1,4 +0,0 @@
|
||||
BOOT=cdrom:\XXXX_AAA.AA;1
|
||||
TCB=4
|
||||
EVENT=10
|
||||
STACK=801FFFF0
|
4
template/JabyEngine-PSX_Game/iso/System.cnf.subst
Normal file
4
template/JabyEngine-PSX_Game/iso/System.cnf.subst
Normal file
@@ -0,0 +1,4 @@
|
||||
BOOT=cdrom:\%PSX_BOOT_FILE%;1
|
||||
TCB=4
|
||||
EVENT=10
|
||||
STACK=801FFFF0
|
Reference in New Issue
Block a user