- Change the RRFNFS: Region and Language list are separated by an '=' and not a ':' in order to be FAT friendly !
- Add a work around in dsrom.lsg generator: remove the rom name... NinjaPass bug ?!
This commit is contained in:
parent
6652b7373f
commit
9553e74e55
@ -1,7 +1,7 @@
|
|||||||
# $RCSfile: ReadMe.txt,v $
|
# $RCSfile: ReadMe.txt,v $
|
||||||
# $Revision: 1.2 $
|
# $Revision: 1.3 $
|
||||||
# $Name: $
|
# $Name: $
|
||||||
# $Date: 2009/04/12 01:20:14 $
|
# $Date: 2009/04/24 22:42:03 $
|
||||||
# $Author: agibert $
|
# $Author: agibert $
|
||||||
|
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ Repository structure
|
|||||||
RRFNFS: Rx3 Rom File Name Format Standard
|
RRFNFS: Rx3 Rom File Name Format Standard
|
||||||
-----------------------------------------
|
-----------------------------------------
|
||||||
nds2rm stores ROMs in a .nds file with a standardized file name format:
|
nds2rm stores ROMs in a .nds file with a standardized file name format:
|
||||||
XXXX - NNNNNNNNNN (R:L1-...-Ln) [SS].nds
|
XXXX - NNNNNNNNNN (R=L1-...-Ln) [SS].nds
|
||||||
with
|
with
|
||||||
XXXX: id
|
XXXX: id
|
||||||
NNNNNNNNN: name
|
NNNNNNNNN: name
|
||||||
@ -47,7 +47,7 @@ RRFNFS: Rx3 Rom File Name Format Standard
|
|||||||
SS: Status (OK,KO)
|
SS: Status (OK,KO)
|
||||||
|
|
||||||
nds2rm compresses each ROM file in an archive file with a standardized file name format:
|
nds2rm compresses each ROM file in an archive file with a standardized file name format:
|
||||||
XXXX - NNNNNNNNNN (R:L1-...-Ln) [SS] {CCCCCCCC} <FFFF>.ccc
|
XXXX - NNNNNNNNNN (R=L1-...-Ln) [SS] {CCCCCCCC} <FFFF>.ccc
|
||||||
with:
|
with:
|
||||||
XXXX: id
|
XXXX: id
|
||||||
NNNNNNNNN: name
|
NNNNNNNNN: name
|
||||||
|
@ -1,13 +1,22 @@
|
|||||||
# $RCSfile: ReleaseNotes.txt,v $
|
# $RCSfile: ReleaseNotes.txt,v $
|
||||||
# $Revision: 1.2 $
|
# $Revision: 1.3 $
|
||||||
# $Name: $
|
# $Name: $
|
||||||
# $Date: 2009/04/12 01:20:14 $
|
# $Date: 2009/04/24 22:42:03 $
|
||||||
# $Author: agibert $
|
# $Author: agibert $
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
nds2rm V 1.1.0-1 - A. Gibert - 2009/04/25
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
- Change the RRFNFS: Region and Language list are separated by an '=' and not a ':' in order to be FAT friendly !
|
||||||
|
- Add a work around in dsrom.lsg generator: remove the rom name... NinjaPass bug ?!
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
nds2rm V 1.0.0-1 - A. Gibert - 2009/04/12
|
nds2rm V 1.0.0-1 - A. Gibert - 2009/04/12
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
23
nds2rm
23
nds2rm
@ -5,9 +5,9 @@
|
|||||||
# (C) 2009 Arnaud G. Gibert
|
# (C) 2009 Arnaud G. Gibert
|
||||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||||
# $RCSfile: nds2rm,v $
|
# $RCSfile: nds2rm,v $
|
||||||
# $Revision: 1.16 $
|
# $Revision: 1.17 $
|
||||||
# $Name: $
|
# $Name: $
|
||||||
# $Date: 2009/04/12 01:20:14 $
|
# $Date: 2009/04/24 22:42:03 $
|
||||||
# $Author: agibert $
|
# $Author: agibert $
|
||||||
#-----------------------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
@ -251,7 +251,7 @@ function env_setup()
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
rrfnfs_regex=".... - .* \(.*:.*\) \[..\] \{........} <....>[-]*[0-9]*\.${csfx}$"
|
rrfnfs_regex=".... - .* \(.*=.*\) \[..\] \{........} <....>[-]*[0-9]*\.${csfx}$"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -531,7 +531,7 @@ function rom_list_dump()
|
|||||||
do
|
do
|
||||||
if [[ ${dat_status[${i}]} == "${status}" ]]
|
if [[ ${dat_status[${i}]} == "${status}" ]]
|
||||||
then
|
then
|
||||||
echo "${dat_id[${i}]} - ${dat_title[${i}]} (${dat_region[${i}]}:${dat_lang[${i}]}) {${dat_crc[${i}]}} <${dat_fp[${i}]}>"
|
echo "${dat_id[${i}]} - ${dat_title[${i}]} (${dat_region[${i}]}=${dat_lang[${i}]}) {${dat_crc[${i}]}} <${dat_fp[${i}]}>"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
i=$(( ${i} + 1 ))
|
i=$(( ${i} + 1 ))
|
||||||
@ -574,6 +574,8 @@ function dsrom_dump()
|
|||||||
{
|
{
|
||||||
echo "dumping ds rom list..." 1>&2
|
echo "dumping ds rom list..." 1>&2
|
||||||
|
|
||||||
|
echo "${dat_id[${loaded_cnt}]}"
|
||||||
|
|
||||||
i=1
|
i=1
|
||||||
|
|
||||||
while [[ ${i} -le ${loaded_cnt} ]]
|
while [[ ${i} -le ${loaded_cnt} ]]
|
||||||
@ -582,7 +584,10 @@ function dsrom_dump()
|
|||||||
then
|
then
|
||||||
mask=$(mask_get "${dat_save_type[${i}]}")
|
mask=$(mask_get "${dat_save_type[${i}]}")
|
||||||
|
|
||||||
echo "${dat_id[${i}]} ${dat_fp[${i}]}-0 $mask ${dat_title[${i}]} (${dat_region[${i}]}:${dat_lang[${i}]}) [${dat_status[${i}]}] {${dat_crc[${i}]}}"
|
# echo "${dat_id[${i}]} ${dat_fp[${i}]}-0 $mask ${dat_title[${i}]} (${dat_region[${i}]}:${dat_lang[${i}]}) [${dat_status[${i}]}] {${dat_crc[${i}]}}"
|
||||||
|
|
||||||
|
# Try to fix non working dsrom.lst by removing rom name... :^(
|
||||||
|
echo "${dat_id[${i}]} ${dat_fp[${i}]}-0 $mask"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
i=$(( ${i} + 1 ))
|
i=$(( ${i} + 1 ))
|
||||||
@ -657,7 +662,7 @@ function arc_mkfn()
|
|||||||
dup_id=${9}
|
dup_id=${9}
|
||||||
|
|
||||||
|
|
||||||
file_prefix="${id} - ${title} (${reg}:${lang}) [${status}] {${crc}} <${fp}>"
|
file_prefix="${id} - ${title} (${reg}=${lang}) [${status}] {${crc}} <${fp}>"
|
||||||
|
|
||||||
if [[ ${dup_id} == "" ]]
|
if [[ ${dup_id} == "" ]]
|
||||||
then
|
then
|
||||||
@ -933,7 +938,7 @@ function arc_proceed()
|
|||||||
|
|
||||||
if [[ "${extract}" == "yes" ]]
|
if [[ "${extract}" == "yes" ]]
|
||||||
then
|
then
|
||||||
rom="${id} - ${title} (${reg}:${lang}).nds"
|
rom="${id} - ${title} (${reg}=${lang}).nds"
|
||||||
|
|
||||||
rom_extract "${rom}" "${file}"
|
rom_extract "${rom}" "${file}"
|
||||||
|
|
||||||
@ -1000,7 +1005,7 @@ function arc_proceed()
|
|||||||
status2="OK"
|
status2="OK"
|
||||||
|
|
||||||
# Rename the ROM file
|
# Rename the ROM file
|
||||||
rom2="${id} - ${title} (${reg}:${lang}) [${status2}].nds"
|
rom2="${id} - ${title} (${reg}=${lang}) [${status2}].nds"
|
||||||
|
|
||||||
print_verbose "moving ${rom} to ${rom2}"
|
print_verbose "moving ${rom} to ${rom2}"
|
||||||
|
|
||||||
@ -1031,7 +1036,7 @@ function arc_proceed()
|
|||||||
|
|
||||||
if [[ ( "${renumed}" != "yes") && ( ( "${arc_type}" != "rx3" ) || ( "${rebuild}" == "yes" ) ) ]]
|
if [[ ( "${renumed}" != "yes") && ( ( "${arc_type}" != "rx3" ) || ( "${rebuild}" == "yes" ) ) ]]
|
||||||
then
|
then
|
||||||
rom2="${id} - ${title} (${reg}:${lang}) [${status}].nds"
|
rom2="${id} - ${title} (${reg}=${lang}) [${status}].nds"
|
||||||
|
|
||||||
print_verbose "moving ${rom} to ${rom2}"
|
print_verbose "moving ${rom} to ${rom2}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user