Rev 661 | Rev 673 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 661 | Rev 662 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | #!/bin/bash |
1 | #!/bin/bash |
2 | 2 | ||
3 | # Duke Nukem 3D High Resolution Pack Extractor v0.7.2 2015-01-24 |
3 | # Duke Nukem 3D High Resolution Pack Extractor v0.7.3 2015-02-03 |
4 | # |
4 | # |
5 | # Author: LeoD |
5 | # Author: LeoD |
6 | # License: ISC license : http://opensource.org/licenses/isc-license.txt |
6 | # License: ISC license : http://opensource.org/licenses/isc-license.txt |
7 | # |
7 | # |
8 | # This script extracts a working copy of your local Duke Nukem 3D High |
8 | # This script extracts a working copy of your local Duke Nukem 3D High |
Line 244... | Line 244... | ||
244 | { |
244 | { |
245 | cp -p maphacks/3drealms_polymost/E?L*.mhk "${EXTRACTDIR}" |
245 | cp -p maphacks/3drealms_polymost/E?L*.mhk "${EXTRACTDIR}" |
246 | cp -p maphacks/dc_hrp/DUKEDC*-megaton.mhk "${EXTRACTDIR}" |
246 | cp -p maphacks/dc_hrp/DUKEDC*-megaton.mhk "${EXTRACTDIR}" |
247 | rm -f "${EXTRACTDIR}"/*_13d_*.mhk |
247 | rm -f "${EXTRACTDIR}"/*_13d_*.mhk |
248 | # bashism: |
248 | # bashism: |
249 | for i in "${EXTRACTDIR}"/*.mhk ; do mv "$i" "${i/_polymost}" ; done |
249 | for i in "${EXTRACTDIR}"/*_polymost.mhk ; do mv "$i" "${i/_polymost}" ; done |
250 | for i in "${EXTRACTDIR}"/*.mhk ; do mv "$i" "${i/\-megaton}" ; done |
250 | for i in "${EXTRACTDIR}"/*-megaton.mhk ; do mv "$i" "${i/-megaton}" ; done |
251 | } # copy_polymost_mhk() |
251 | } # copy_polymost_mhk() |
252 | 252 | ||
253 | 253 | ||
254 | # I really don't know yet if this will become necessary, or if it does make |
254 | # I really don't know yet if this will become necessary, or if it does make |
255 | # sense at all, but at least the files involved are listed. |
255 | # sense at all, but at least the files involved are listed. |