ID:1124770
 
I cant find any documentation on where the files are stored when using Dream Downloader to download hosting files. Im assuming you use DreamDownload to download the host files needd for DreamDaemon right? I even did an index search for a .dmb file on the system and got no returns.
I tend to just use wget on the [zip] url provided on the hub, and renaming the download file to a .zip format as it comes out as key.gamename or something along those lines.

I've never used DreamDownload one would assume it downloads it to the directory you are currently in?

Sorry I couldn't be of any more help!
If memory serves, it lives under ~/.byond/lib/[Key]/[Library ID].

I'll check this evening.
In response to Stephen001
Stephen001 wrote:
If memory serves, it lives under ~/.byond/lib/[Key]/[Library ID].

I'll check this evening.

Is their anything special you have to do with DreamDownload? I've used it on several hubs but yet nothing shows in the hidden ~/.byond/lib/

Although I am downloading games not libraries but that shouldn't make a difference?

root@vps:~/.byond/lib# DreamDownload http://www.byond.com/games/Makeii/SimpleChat
Connecting to http://www.byond.com/games/Makeii/SimpleChat
http://www.byond.com/games/Makeii/SimpleChat
root@vps:~/.byond/lib#


updatedb and then a locate won't find the files

root@vps:~/.byond/lib# ls
root@vps:~/.byond/lib# updatedb root@vps:~/.byond/lib# locate .dmb
/home/byond/host/host.dmb
/home/byond/host/home/root/byond/tools/root/root.dmb
/home/byond/host/shared/byond/tools/admin/admin.dmb
/home/byond/host/shared/byond/tools/ftp/ftp.dmb
/home/byond/host/shared-web/web/tools/admin/index.dmb


Just seems to not be working at all, I'll stick to wget thanks.

I've made a really really simple .sh script that will download the hub files place them in the current directory and unzip them for you. (note that I've set unzip to overwrite automatically you can remove this by taking off the -o tag)

To use the below correctly you need the key and game name of the file being downloaded, I've named my script ddownload.sh

./ddownload.sh Makeii.SimpleChat

You can get this by visiting the hub page

http://www.byond.com/games/Makeii/SimpleChat - another example

http://www.byond.com/games/WildBlood/Omnipotence

Would be ./ddownload.sh WildBlood.Omnipotence

#!/bin/bash

wget http://www.byond.com/games/hubdownload/$1

mv $1 $1.zip

echo "File renamed to $1.zip"

unzip -o $1.zip

rm $1.zip

exit 1


Make sure you chmod it so it's executable note that it will download to the directory the script is it, you can change this easily. Make sure you have wget and unzip functions.
DreamDownload Makeii.SimpleChat seems to work for me.
In response to Nadrew
Said that it had worked, yet still no files.

root@vps:~# DreamDownload Makeii.SimpleChat
Connecting to byond://Makeii.SimpleChat##download
Download of SimpleChat in progress...
Download finished.
root@vps:~# ls .byond/lib/
root@vps:~# updatedb
root@vps:~# locate .dmb
/home/byond/host/host.dmb
/home/byond/host/home/root/byond/tools/root/root.dmb
/home/byond/host/shared/byond/tools/admin/admin.dmb
/home/byond/host/shared/byond/tools/ftp/ftp.dmb
/home/byond/host/shared-web/web/tools/admin/index.dmb


[EDIT] BYOND 4.0 Public (Version 496.1138) on Linux

[EDIT 2] Updated to latest version still not working.

root@vps:/home/byond# DreamDaemon -version
BYOND 4.0 Public (Version 498.1158) on Linux [old glibc]
root@vps:/home/byond# DreamDownload Makeii.SimpleChat
Connecting to byond://Makeii.SimpleChat##download
Download of SimpleChat in progress...
Download finished.
root@vps:/home/byond# updatedb root@vps:/home/byond# locate .dmb
/home/byond/host/host.dmb
root@vps:/home/byond#