Skip to content

Instantly share code, notes, and snippets.

@devdilson
Last active October 6, 2020 20:59
Show Gist options
  • Select an option

  • Save devdilson/45e9ca7e84da17ef8846bdb2e93d97c7 to your computer and use it in GitHub Desktop.

Select an option

Save devdilson/45e9ca7e84da17ef8846bdb2e93d97c7 to your computer and use it in GitHub Desktop.
Helper for downloading Nexon files
#!/bin/bash
PATH=$PATH:"/C/dev/apps/wget/bin"
for i in {134..200}
do
wget -x -nH http://download2.nexon.net/Game/MapleStory/FullVersion/$i/MSSetupv$i.z01 & pids[2]=$!
wget -x -nH http://download2.nexon.net/Game/MapleStory/FullVersion/$i/MSSetupv$i.z02 & pids[3]=$!
wget -x -nH http://download2.nexon.net/Game/MapleStory/FullVersion/$i/MSSetupv$i.z03 & pids[4]=$!
wget -x -nH http://download2.nexon.net/Game/MapleStory/FullVersion/$i/MSSetupv$i.z04 & pids[5]=$!
wget -x -nH http://download2.nexon.net/Game/MapleStory/FullVersion/$i/MSSetupv$i.z05 & pids[6]=$!
wget -x -nH http://download2.nexon.net/Game/MapleStory/FullVersion/$i/MSSetupv$i.z06 & pids[7]=$!
wget -x -nH http://download2.nexon.net/Game/MapleStory/FullVersion/$i/MSSetupv$i.z07 & pids[8]=$!
wget -x -nH http://download2.nexon.net/Game/MapleStory/FullVersion/$i/MSSetupv$i.z08 & pids[9]=$!
wget -x -nH http://download2.nexon.net/Game/MapleStory/FullVersion/$i/MSSetupv$i.z09 & pids[10]=$!
wget -x -nH http://download2.nexon.net/Game/MapleStory/FullVersion/$i/MSSetupv$i.z10 & pids[11]=$!
wget -x -nH http://download2.nexon.net/Game/MapleStory/FullVersion/$i/MSSetupv$i.z11 & pids[12]=$!
wget -x -nH http://download2.nexon.net/Game/MapleStory/FullVersion/$i/MSSetupv$i.z12 & pids[13]=$!
wget -x -nH http://download2.nexon.net/Game/MapleStory/FullVersion/$i/MSSetupv$i.z13 & pids[14]=$!
wget -x -nH http://download2.nexon.net/Game/MapleStory/FullVersion/$i/MSSetupv$i.z14 & pids[15]=$!
# wait for all pids
# for pid in ${pids[*]}; do
# wait $pid
# done
done
# http://download2.nexon.net/Game/MapleStory/patch/patchdir/00183/ExePatch.dat
# http://download2.nexon.net/Game/MapleStory/patch/patchdir/00185/CustomPatch184to185.exe
#!/bin/bash
PATH=$PATH:"/C/dev/apps/wget/bin"
for i in {189..220}
do
beforePatch=$(($i - 1))
wget -x -nH http://download2.nexon.net/Game/MapleStory/patch/patchdir/00$i/ExePatch.dat &
wget -x -nH http://download2.nexon.net/Game/MapleStory/patch/patchdir/00${i}/CustomPatch${beforePatch}to${i}.exe &
done
#!/bin/bash
PATH=$PATH:"/C/dev/apps/wget/bin"
for i in {184..200}
do
beforePatch=$(($i - 1))
wget -x -nH http://download2.nexon.net/Game/MapleStory/patch/patchdir/00${i}/00${beforePatch}to00${i}.patch &
done
#!/bin/bash
PATH=$PATH:"/C/dev/apps/wget/bin"
for i in {183..200}
do
wget -x -nH http://download2.nexon.net/Game/MapleStory/ManualPatch/ManualPatcherv$i.exe & pids[1]=$!
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment