CalumMc wrote:Hi,
I notice that in the config file there is a line where you can specify a URL for media delivery over HTTP as an alternative to UDP.
Is there any documentation on this feature especially where you find the media and how the directory structure should work. I can see this being very useful to me as I would like to deliver the media to my server clients over a CDN which would significantly reduce load times.
Thanks.
BrandonReese wrote:CalumMc wrote:Hi,
I notice that in the config file there is a line where you can specify a URL for media delivery over HTTP as an alternative to UDP.
Is there any documentation on this feature especially where you find the media and how the directory structure should work. I can see this being very useful to me as I would like to deliver the media to my server clients over a CDN which would significantly reduce load times.
Thanks.
Just throw all of the .png .ogg .x .blend files from the mods on your server into an http accessible folder, then put the appropriate web address to that folder in the remote_media setting in your config file.
mkdir media
cd media
for f in `find ../games/minetest_game -name "*.png" -o -name "*.ogg" -o -name "*.x"`; do
echo "Copying ${f}..."
cp "$f" .
done
for f in `find ../mods/ -name "*.png" -o -name "*.ogg" -o -name "*.x"`; do
echo "Copying ${f}..."
cp "$f" .
done
python -m SimpleHTTPServer <port>
sfan5 wrote:Useful commands:Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
mkdir media
cd media
for f in `find ../games/common -name "*.png" -o -name "*.ogg" -o -name "*.x"`; do
echo "Copying ${f}..."
cp "$f" .
done
for f in `find ../mods/minetest -name "*.png" -o -name "*.ogg" -o -name "*.x"`; do
echo "Copying ${f}..."
cp "$f" .
done
python -m SimpleHTTPServer <port>
BrandonReese wrote:CalumMc wrote:Hi,
I notice that in the config file there is a line where you can specify a URL for media delivery over HTTP as an alternative to UDP.
Is there any documentation on this feature especially where you find the media and how the directory structure should work. I can see this being very useful to me as I would like to deliver the media to my server clients over a CDN which would significantly reduce load times.
Thanks.
Just throw all of the .png .ogg .x .blend files from the mods on your server into an http accessible folder, then put the appropriate web address to that folder in the remote_media setting in your config file.
sfan5 wrote:BrandonReese wrote:CalumMc wrote:Hi,
I notice that in the config file there is a line where you can specify a URL for media delivery over HTTP as an alternative to UDP.
Is there any documentation on this feature especially where you find the media and how the directory structure should work. I can see this being very useful to me as I would like to deliver the media to my server clients over a CDN which would significantly reduce load times.
Thanks.
Just throw all of the .png .ogg .x .blend files from the mods on your server into an http accessible folder, then put the appropriate web address to that folder in the remote_media setting in your config file.
blend files can not be read by Irrlicht and can therefore not be of any use for something.
aldobr wrote:oth i have a small server i wrote a long time ago that doesnt hangs and looks safe...
if anyone wants, ask me here
Users browsing this forum: Google [Bot] and 15 guests