Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portable Zip Download #366

Open
AntumDeluge opened this issue Feb 19, 2013 · 11 comments
Open

Portable Zip Download #366

AntumDeluge opened this issue Feb 19, 2013 · 11 comments
Labels
help wanted Issues I'd love for somebody else to help out with!

Comments

@AntumDeluge
Copy link

Would you mind adding a portable .zip or .7z download for Win32 binary on the Sourceforge download page?

@ghost
Copy link

ghost commented Feb 19, 2013

You could easily compile one build yourself described in Contributing to Tiled and provide it to other people - keep in mind though, that the editor is not "completely" portable as it writes some properties to the registry on Windows systems. (I don't know how this works under Mac OS and Linux)

@bjorn
Copy link
Member

bjorn commented Feb 19, 2013

Tiled currently adapts the way it stores settings to the operating system. For a portable build, you'd want to include some code that tells QSettings to use the .ini format and force it to store the settings file in the appropriate directory.

I'm not primarily a Windows user and am not very familiar with portable apps, so it would indeed be nice if somebody else could help with this task.

@bjorn
Copy link
Member

bjorn commented Feb 19, 2013

Ah, btw rather than hosting our own portable .zip package, I'd prefer a package following the guidelines of http://portableapps.com/ and for it to be uploaded there. That should help users managing their portable version of Tiled alongside other portable apps.

@bjorn bjorn changed the title Portable Zip Download on Sourceforge Portable Zip Download Jun 20, 2015
bjorn added a commit that referenced this issue May 6, 2016
It is not built by default. Instead it can be triggered by "-p archive" or
"--all-products" (this one will also build the installer).

Also configured AppVeyor to upload the archive and synchronized the
location of the Windows snapshots with the OS X snapshots.

Related to issue #366, but right now this is not a special version
regarding where settings are stored and it does still include the update
check, which will download the MSI installer. Especially that last thing
should be changed before this can be distributed (for example through the
itch.io app).
bjorn added a commit that referenced this issue May 6, 2016
It is not built by default. Instead it can be triggered by "-p archive" or
"--all-products" (this one will also build the installer).

Also configured AppVeyor to upload the archive and synchronized the
location of the Windows snapshots with the OS X snapshots.

Related to issue #366, but right now this is not a special version
regarding where settings are stored and it does still include the update
check, which will download the MSI installer. Especially that last thing
should be changed before this can be distributed (for example through the
itch.io app).
@seiyria
Copy link

seiyria commented Jun 2, 2021

I'm looking to get an entirely standalone version of tiled (1.1.4) as a portable zip (I'd like to programmatically download, unzip, and run tiled and manage it alongside my app). Is this possible at present?

@bjorn
Copy link
Member

bjorn commented Jun 2, 2021

@seiyria Official releases for Windows are currently only in MSI format. The continuous integration system does also generate ZIP files, but they don't have an easily accessible or stable link.

It would be nice to provide also plain ZIP archives, but it's unlikely that I would retroactively provide these for past releases. Why do you need version 1.1.4 specifically?

Note that since the generation of a ZIP archive is already implemented, you could also copy one of the recent builds to a stable location of your own. It's not "portable" yet though, in the sense that Tiled currently always stores preferences in the Windows registry and places a default session file among your roaming files.

@seiyria
Copy link

seiyria commented Jun 2, 2021

Specifically 1.1.4 because I built my game on it, and there were some breaking changes in future versions that I don't have a ton of time to track down :(

So I can zip up the Tiled directly from where it's installed? I can host it, no problem. I don't exactly need it to be truly portable, I just need to be able to run it and download it from a specific location.

@bjorn
Copy link
Member

bjorn commented Jun 2, 2021

Specifically 1.1.4 because I built my game on it, and there were some breaking changes in future versions that I don't have a ton of time to track down :(

I guess you mean the change to the JSON map format made in Tiled 1.2? I've added a json1 plugin in Tiled 1.2.2 that still saves in the pre-1.2 format, which you'll still find in the latest version of Tiled. The only problem for your use-case, is that this plugin is disabled by default and the only way to enable it is by going into the Preferences. That's something that would be resolved if we implemented support for a portable settings file since then you could ship one that has the plugin enabled.

So I can zip up the Tiled directly from where it's installed? I can host it, no problem. I don't exactly need it to be truly portable, I just need to be able to run it and download it from a specific location.

Right, you should be able to just ZIP up the installation folder as well!

@seiyria
Copy link

seiyria commented Jun 2, 2021

I see! It's great to hear that there's a backwards compatible solution, but as you say, it would need to be enabled. I'll definitely keep an eye out on this issue (or if another one is required, that one) and I'll adjust my situation accordingly - I would love to use the latest Tiled!

@bjorn
Copy link
Member

bjorn commented Jun 4, 2021

With #2945 resolved the remaining task for this issue would be to actually provide an official "Portable" ZIP download that ships with a tiled.ini alongside the tiled.exe, so that it has the portable mode enabled by default.

For your use-case, @seiyria, you should be able to just download the upcoming Tiled 1.7 release, put a "tiled.ini" alongside the executable, use it to enable the "json1" plugin (and disable the "json" one) and then zip up the folder.

It would still be nice to also make Tiled available from http://portableapps.com/, but it would take some additional changes to conform to their guidelines.

@seiyria
Copy link

seiyria commented Jun 4, 2021

@bjorn Thanks, and thanks for being responsive to such an old issue. I'll give that a try and report back within few days.

@seiyria
Copy link

seiyria commented Jun 4, 2021

@bjorn awesome, this works perfectly! I love the new tiled!

@bjorn bjorn added this to Tiled 1.8 Dec 8, 2021
@bjorn bjorn moved this to Todo in Tiled 1.8 Dec 8, 2021
@bjorn bjorn self-assigned this Jan 21, 2022
@bjorn bjorn added the help wanted Issues I'd love for somebody else to help out with! label Jan 31, 2022
@bjorn bjorn removed their assignment Feb 4, 2022
@bjorn bjorn removed this from Tiled 1.8 Feb 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Issues I'd love for somebody else to help out with!
Projects
None yet
Development

No branches or pull requests

3 participants