diff --git a/ReadMe.txt b/ReadMe.txt index 5ded4e5..18d3a6d 100644 --- a/ReadMe.txt +++ b/ReadMe.txt @@ -1,7 +1,7 @@ # $RCSfile: ReadMe.txt,v $ -# $Revision: 1.2 $ +# $Revision: 1.3 $ # $Name: $ -# $Date: 2009/04/12 01:20:14 $ +# $Date: 2009/04/24 22:42:03 $ # $Author: agibert $ @@ -38,7 +38,7 @@ Repository structure RRFNFS: Rx3 Rom File Name Format Standard ----------------------------------------- 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 XXXX: id NNNNNNNNN: name @@ -47,7 +47,7 @@ RRFNFS: Rx3 Rom File Name Format Standard SS: Status (OK,KO) nds2rm compresses each ROM file in an archive file with a standardized file name format: - XXXX - NNNNNNNNNN (R:L1-...-Ln) [SS] {CCCCCCCC} .ccc + XXXX - NNNNNNNNNN (R=L1-...-Ln) [SS] {CCCCCCCC} .ccc with: XXXX: id NNNNNNNNN: name diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index ebebbd5..305df05 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,13 +1,22 @@ # $RCSfile: ReleaseNotes.txt,v $ -# $Revision: 1.2 $ +# $Revision: 1.3 $ # $Name: $ -# $Date: 2009/04/12 01:20:14 $ +# $Date: 2009/04/24 22:42:03 $ # $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 -------------------------------------------------------------------------------- diff --git a/nds2rm b/nds2rm index b586640..241be80 100644 --- a/nds2rm +++ b/nds2rm @@ -5,9 +5,9 @@ # (C) 2009 Arnaud G. Gibert #----------------------------------------------------------------------------------------------------------------------------------- # $RCSfile: nds2rm,v $ -# $Revision: 1.16 $ +# $Revision: 1.17 $ # $Name: $ -# $Date: 2009/04/12 01:20:14 $ +# $Date: 2009/04/24 22:42:03 $ # $Author: agibert $ #----------------------------------------------------------------------------------------------------------------------------------- @@ -251,7 +251,7 @@ function env_setup() ;; esac - rrfnfs_regex=".... - .* \(.*:.*\) \[..\] \{........} <....>[-]*[0-9]*\.${csfx}$" + rrfnfs_regex=".... - .* \(.*=.*\) \[..\] \{........} <....>[-]*[0-9]*\.${csfx}$" } @@ -531,7 +531,7 @@ function rom_list_dump() do if [[ ${dat_status[${i}]} == "${status}" ]] 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 i=$(( ${i} + 1 )) @@ -574,6 +574,8 @@ function dsrom_dump() { echo "dumping ds rom list..." 1>&2 + echo "${dat_id[${loaded_cnt}]}" + i=1 while [[ ${i} -le ${loaded_cnt} ]] @@ -582,7 +584,10 @@ function dsrom_dump() then 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 i=$(( ${i} + 1 )) @@ -657,7 +662,7 @@ function arc_mkfn() dup_id=${9} - file_prefix="${id} - ${title} (${reg}:${lang}) [${status}] {${crc}} <${fp}>" + file_prefix="${id} - ${title} (${reg}=${lang}) [${status}] {${crc}} <${fp}>" if [[ ${dup_id} == "" ]] then @@ -933,7 +938,7 @@ function arc_proceed() if [[ "${extract}" == "yes" ]] then - rom="${id} - ${title} (${reg}:${lang}).nds" + rom="${id} - ${title} (${reg}=${lang}).nds" rom_extract "${rom}" "${file}" @@ -1000,7 +1005,7 @@ function arc_proceed() status2="OK" # Rename the ROM file - rom2="${id} - ${title} (${reg}:${lang}) [${status2}].nds" + rom2="${id} - ${title} (${reg}=${lang}) [${status2}].nds" print_verbose "moving ${rom} to ${rom2}" @@ -1031,7 +1036,7 @@ function arc_proceed() if [[ ( "${renumed}" != "yes") && ( ( "${arc_type}" != "rx3" ) || ( "${rebuild}" == "yes" ) ) ]] then - rom2="${id} - ${title} (${reg}:${lang}) [${status}].nds" + rom2="${id} - ${title} (${reg}=${lang}) [${status}].nds" print_verbose "moving ${rom} to ${rom2}"