ID:873515
 
Redundant
Applies to:BYONDexe
Status: Redundant

This feature has already been implemented, or is already achievable with existing methods.
I'm not sure if has already been done yet, but I would like to make it request for a feature in reference to byondexe where if it finds a working download on the hub entry, it enables a special download/install button (depending if it is freely downloadable by all or only downloadable to subscribers) near the Local Game section. I know this because I was doing a test with SkyDrop Delivery and it appears to be intended currently that you must still directly download the DMB from the site to properly play a local version of said games.

I'm also aware that no details have been provided yet on how to use BYONDexe until a later date or time (which y'all already know I did some testing with it). Feel free to respond to this request.
I don't exactly understand the request, but BYONDexe can package the .dmb into the distribution. This is documented in the included guide.
Ah, alrighty then. I was wondering about that. Let me go ahead and give that a shot. Feel free to change the status to whatever is suitable.
Tom resolved issue (Redundant)
Did some further testing. Still no option to play the local version (even if the .dmb file was packaged along with the .rsc file). Must've been more of a bug unless I'm doing something wrong. I might've been vague in my first post because I forgot to mention no local option was showing up (unless you have a copy of the game on your system already in the BYOND/MyHub directory). Still not showing up with the executable distribution copy. :/
Apologies for the confusion; this was not actually in the guide after all as intended, and indeed I found some other old info that I hadn't updated since the last time we made a change. The support for what you want is actually present, though.

The way to distribute a local copy of your game is to take your normal download file--that is, the .zip you get from packaging the game in DM--and include it as hub.zip in your distribution. When the game runs, hub.zip will be unzipped and installed locally, and then hub.zip will be deleted.
Thank you Lummox JR. I tried that and did get it to extract. However, it appears it produced a bug with the zip file extraction (it failed to include the folder, but just extracted the files). Other than that, it extracted the files properly at least. As stated earlier, thank you Lummox JR.

And sorry if I caused any confusion in my first post. As stated earlier, my posts can be vague sometimes that results in confusion.
I'm not sure what you mean about a folder. If you mean you had a blank folder in your hub.zip file, I would think that would definitely not unzip. Also in a normal packaged .zip, the .zip contains a folder with the name of the entry that further contains the .dmb and .rsc, and this folder is not included in the actual installation.
Ah, I see. There must be a bug with reading the hub entry under the standalone executable because it doesn't pick it up still. However, it picks up fine through the BYOND client (I know because I checked the directory for Audeuro's DuckRacer through the BYOND client and it shows up regardless of lack of any additional directories). The standalone executable requires a seperate directory inside the hub entry for some unknown reason.
In response to Bandock (#8)
I don't follow. Can you describe the steps you're taking, what the exact contents of the hub.zip file are, and what you mean by "doesn't pick it up"? Is it actually unzipping and installing correctly, and merely not showing up when you include a "hub_local" div in hub.html? Did you in fact include the appropriate div in hub.html?
Also, FYI, if you download the latest BYONDexe it'll have some documentation on local installs.
"hub_local" is provided in the hub.html like the default. Before I did any such testing, it did pick up a local install (only because I installed the game from a long while back). To try to see if it picked up anything, I uninstalled it by hand. And for the hub.zip, I simply renamed the normal distribution file that is also hosted for the DMB version to hub.zip. It does extract, but does not pick up unless there is a separate directory. The only way I could get it to work is by what the downloadable DMB copy I have up does. Simply by providing a separate directory for some unknown reason makes it pick up.

Non-functional directory (regardless of it having a DMB file along with the RSC file): BYOND/MyHub/bandock/skydropdelivery

Functional directory: BYOND/MyHub/bandock/skydropdelivery/SkyDrop Delivery (Yep, it works and shows up when the DMB is stored that way. :|)
Yep, that's how my zip file is situated. SkyDrop Delivery is the top directory.
In response to Bandock (#11)
Bandock wrote:
Non-functional directory (regardless of it having a DMB file along with the RSC file): BYOND/MyHub/bandock/skydropdelivery

Functional directory: BYOND/MyHub/bandock/skydropdelivery/SkyDrop Delivery (Yep, it works and shows up when the DMB is stored that way. :|)

I did see that the pager is installing your file the latter way, whereas the hub.zip installation is installing this the former way. But the first case worked absolutely fine for me in a standalone test, and when running from the pager as well. I was unable to observe any kind of problem.
Now I know what happened. It is my error. It appears as stated in the readme y'all provided that you must properly provide the hub version or else it won't pick it up. I now got it working. I thank y'all for the help.

Edit: This is very odd. Now it works fine even with a different distribution version. I guess it decided to work properly finally.
Alright, this is one last post. Again, I thank y'all Tom and Lummox JR. Not sure why it decided to work, but it finally worked. Hub.zip definitely works as expected now. :D

Edit: I just had a thought. I did recently remove an entry from the MyHub.txt or hub.txt file, which might've fixed the issue. Any distribution version does seem to work regardless of hub version. The executable is now at 1.0.0.4 regardless of it being a hub version of 2 for the DMB copy.