Artikash / Textractor

Extracts text from video games and visual novels. Highly extensible.
GNU General Public License v3.0
2.09k stars 203 forks source link

Upload non-installer releases #164

Closed wareya closed 5 years ago

wareya commented 5 years ago

I distribute copies of Textractor with the machine translation plugins removed and the reading-oriented plugins disabled to people who are learning Japanese by reading with a separate clipboard grabber and mouseover dictionary like Rikaichamp, Yomichan, or Nazeka. People using this method will basically not access Textractor at all once it's attached, the right hook/thread is selected, and stuff is getting copied to the clipboard.

Doing until now has just involved making a new archive out of the latest version after disabling or deleting the relevant extensions. Having to reinstall it each time would make the process a lot more annoying, and make the experience for users using my reconfigured copies different than it is for me when creating the reconfigured copy.

I make no other changes to Textractor and don't need to recompile anything. I also share the link to it through a gist (https://gist.github.com/wareya/cefad42fdbc23afbc1666c2e71c9e6ba) that describes how to personally check if Textractor has updated and how to set up the newest version with all the "unnecessary" stuff removed to reduce the risk of people continuing to use download outdated versions of Textractor like what happened with AGTH, ITH, VNR, and ITHVNR.

Switching to exclusively using an installer doesn't just make it harder to package up a copy with a different default configuration, it also makes it harder to explain the process of removing the "bloat" extensions that you don't need if you're exclusively using external reading software (e.g. telling them to delete the DLLs of the machine translation plugins if they're worried they might decide to use them if they're there). This is a huge hassle for me and I would greatly appreciate it if you uploaded portable zips like you used to, alongside the installer in the github releases.

Personally, I hate using software that requires an installer, and unless it's something that I consider to basically be part of my core experience using the OS like ShareX, my web browser, Steam, etc. I will always pick a portable version if it's available. There are a lot of other people like me out there as well. Some people prefer installers, and that's fine, but I'm just trying to make another case for also uploading portable releases as well.

TamaBaka commented 5 years ago

Ummm...what's stopping you from installing it on your personal computer and then repackaging the resulting folder in a separate zip file?

Considering you're going through the trouble to remove the other stuff, it doesn't sound like this'll add much to your workload...

Artikash commented 5 years ago

For the record, the installer for Textractor is totally portable. It just extracts the relevant files for whichever language was selected, no messing with the registry or some central log file or anything. You can continue to provide portable zip downloads by installing it somewhere, doing your modifications, and zipping it back up.

Updating while keeping configuration is also easy: just select the folder that you installed the previous version of Textractor to.

(Still thinking if there's a way to document the above in a multilingual way).

That said, it's not a big deal for me to upload a portable zip if you really insist.

wareya commented 5 years ago

Ummm...what's stopping you from installing it on your personal computer and then repackaging the resulting folder in a separate zip file?

Considering you're going through the trouble to remove the other stuff, it doesn't sound like this'll add much to your workload...

I gave a reason in my request:

Having to reinstall it each time would make the process a lot more annoying


For the record, the installer for Textractor is totally portable. It just extracts the relevant files for whichever language was selected, no messing with the registry or some central log file or anything. You can continue to provide portable zip downloads by installing it somewhere, doing your modifications, and zipping it back up.

This is good to hear explicitly. It would be nice to have a guarantee that this won't change.

Updating while keeping configuration is also easy: just select the folder that you installed the previous version of Textractor to. (Still thinking if there's a way to document the above in a multilingual way)

How does that interact with Textractor deleting/adding/renaming new extensions? Does it keep the old extension list?

That said, it's not a big deal for me to upload a portable zip if you really insist.

It would be great. I'm sure people who prefer portable archives in general would appreciate it too. I like to keep old versions of software like this around in separate folders just in case I need to try out specific old versions.

Artikash commented 5 years ago

This is good to hear explicitly. It would be nice to have a guarantee that this won't change.

I might change this, but I guarantee that if I do there will be a portable option that behaves the same as current.

How does that interact with Textractor deleting/adding/renaming new extensions? Does it keep the old extension list?

SavedExtensions.txt which stores the extensions that you use will remain unchanged. If extensions were deleted from disk or renamed they will be recreated. Think of the installer as taking all .dll and .exe files in a vanilla copy of Textractor and copy pasting them into the selected folder, and clicking 'yes' to the 'replace files with same name' prompt.

It would be great.

Alright, one sec I'll upload it.

I like to keep old versions of software like this around in separate folders just in case I need to try out specific old versions.

Installer does work fine for this, just change the folder path from C:\SomePath\Textractor to C:\SomePath\Textractor-Version

Artikash commented 5 years ago

Done.