Page 25 of 29

Re: yaP - yet another Portablizer

Posted: Tue Jun 02, 2015 2:50 am
by tproli
I know that scroll is wrong but for some reason I won't fix :)

Re: yaP - yet another Portablizer

Posted: Mon Sep 21, 2015 4:56 pm
by freakazoid
Here's a yaP file for DVD Decrypter:

Code: Select all

[GENERAL]
application = App\DVDDecrypter.exe

[BEFORE]
regkey = HKCU\Software\DVD Decrypter :: Data\settings.reg

; set defaults
+regvalue = HKCU\Software\DVD Decrypter :: REGISTRY_ShellExtensionsAutoPlay :: 0 :: REG_DWORD
+regvalue = HKCU\Software\DVD Decrypter :: REGISTRY_ShellExtensionsDVD :: 0 :: REG_DWORD
+regvalue = HKCU\Software\DVD Decrypter :: REGISTRY_FileAssociationsCDR :: 0 :: REG_DWORD
+regvalue = HKCU\Software\DVD Decrypter :: REGISTRY_FileAssociationsDVD :: 0 :: REG_DWORD
+regvalue = HKCU\Software\DVD Decrypter :: REGISTRY_FileAssociationsIMG :: 0 :: REG_DWORD
+regvalue = HKCU\Software\DVD Decrypter :: REGISTRY_FileAssociationsISO :: 0 :: REG_DWORD
+regvalue = HKCU\Software\DVD Decrypter :: REGISTRY_FileAssociationsMDS :: 0 :: REG_DWORD
+regvalue = HKCU\Software\DVD Decrypter :: EVENTS_CheckForProgramUpdate :: 0 :: REG_DWORD
I recently had the need to rip the VOB file from a DVD menu and had to look up this old program.

Extract the setup .exe with Universal Extractor and move everything but the $PLUGINSDIR directory to the "App" directory.

Re: yaP - yet another Portablizer

Posted: Tue Sep 22, 2015 10:41 am
by tproli
Thanks, added here:
http://rolandtoth.hu/yaP/#examples/DVD%20Decrypter.ini

I did a quick launch-close test and the application left no entries behind.

Re: yaP - yet another Portablizer

Posted: Sun Oct 04, 2015 3:46 am
by I am mrpink
ι

Re: yaP - yet another Portablizer

Posted: Mon Oct 05, 2015 12:58 am
by tproli
Looks like it installs a driver - that means there's possibly no way to make it portable.

Re: yaP - yet another Portablizer

Posted: Mon Oct 05, 2015 3:08 am
by I am mrpink
φ

Re: yaP - yet another Portablizer

Posted: Mon Oct 05, 2015 4:12 am
by tproli
Have you tried the X64 version? It is available in the beta package:
http://rolandtoth.hu/yaP/bin/yaP-latest-beta.zip

Re: yaP - yet another Portablizer

Posted: Mon Oct 05, 2015 4:58 am
by I am mrpink
π

Re: yaP - yet another Portablizer

Posted: Mon Oct 05, 2015 9:47 am
by Midas
Is it me or HitmanPro doesn't seem to be fully freeware? :?

Re: yaP - yet another Portablizer

Posted: Tue Jan 05, 2016 11:43 am
by Midas
Hi there, tproli.

Lately, whenever I download one of yaP's ready-made examples (from http://www.rolandtoth.hu/yaP/#examples), launcher INI files are coming in Unix text format (UTF-8 with LF only). What gives?

As the majority are Windows only apps, ANSI with Windows standard line endings (CR+LF) would be preferable, IMHO. Thanks anyway for your continued support.

Re: yaP - yet another Portablizer

Posted: Sun Jan 10, 2016 2:25 pm
by freakazoid
Happy new year, fellow yaP'ers!

Here's my first yaP file for 2016 - Soulseek.

Code: Select all

[GENERAL]
application = App\SoulseekQt.exe

[BEFORE]
regkey = HKCU\Software\SoulseekQt :: Data\registry.reg
dir = %localappdata%\SoulseekQt :: Data\
(regkey) = HKCU\Software\QtProject
It's an old-school file-sharing app reminscent of Napster.

One problem with Soulseek is it creates a dynamic settings file each time it closes - soulseek-client.dat.### (### is a timestamp of some sort). This could lead to the Data folder becoming quite large over time.

tproli - Would it be possible for yaP to only keep the latest file? This could work on either the BEFORE or AFTER section.

Re: yaP - yet another Portablizer

Posted: Mon Jan 11, 2016 10:56 am
by rbon
Midas wrote:Hi there, tproli.

Lately, whenever I download one of yaP's ready-made examples (from http://www.rolandtoth.hu/yaP/#examples), launcher INI files are coming in Unix text format (UTF-8 with LF only). What gives?

As the majority are Windows only apps, ANSI with Windows standard line endings (CR+LF) would be preferable, IMHO. Thanks anyway for your continued support.
Hi Midas,
You are right, it's Unix text format.
I open these ini files with Microsoft Wordpad and then I save them with the same program and voilà CR+LF. :wink:

Re: yaP - yet another Portablizer

Posted: Tue Jan 12, 2016 12:12 pm
by Midas
rbon wrote:You are right, it's Unix text format. I open these ini files with Microsoft Wordpad and then I save them with the same program and voilà CR+LF.
  • Thanks for the nice tip, rbon. 8)

    I used a text editor to the same purpose, but it's still a nuisance. And I can't grasp any need for it.
freakazoid wrote:One problem with Soulseek is it creates a dynamic settings file each time it closes - soulseek-client.dat.### (### is a timestamp of some sort). This could lead to the Data folder becoming quite large over time.

tproli - Would it be possible for yaP to only keep the latest file? This could work on either the BEFORE or AFTER section.
  • I pondered how to solve your problem: instead of testing file time-stamp to find the latest, my best shot would be creating a temporary folder with the last save, compare them and if they differ, erase said folder and create a new one with the current version.

    Or use the "iniwrite" keyword to write the name of the file before launch and then remove that file with "iniread" and "-file"... or maybe vice-versa.

    And "batch" could be yet another option.

    BTW, I found this on Soulseek forums: http://www.slsknet.org/news/node/2306 and http://www.slsknet.org/news/node/452.

Re: yaP - yet another Portablizer

Posted: Sat Jul 09, 2016 3:23 pm
by Midas
yaP v0.7 released, dated 2016-03-10 (which somehow I totally missed up to now... :shock:)

Can someone update the OP, please?
  • changelog.txt author wrote:v0.7 - March 09, 2016
    - NEW: uservars available in GENERAL section too (suggested by Shyam Saurabh)
    - NEW: option to set default values for USERINPUT, USERFILE and USERDIR
    To make this work, new user variables have to be created beforehands.

    Examples:

    uservar = USERTEXT_DEFAULT :: Hello!
    uservar = USERTEXT_TITLE :: Important notice
    uservar = USERTEXT_MESSAGE :: Please say Hi or Hello
    message = {USERTEXT}

    uservar = USERFILE_DEFAULT :: D:\helloworld.txt
    uservar = USERFILE_TITLE :: Please select your favorite file
    uservar = USERFILE_PATTERN :: Text files | *.txt;*.json | Documents | *.doc
    message = {USERFILE}

    uservar = USERDIR_DEFAULT :: %windir%
    uservar = USERDIR_TITLE :: Please select your favorite folder
    message = {USERDIR}

    v0.6.5 build 293 BETA - March 30, 2015
    - FIXED: launching applications with non-exe extension (thanks to Midas)
    - NEW: main icon update

    v0.6.5 build 287 BETA - February 16, 2015
    - NEW: ini keys ending with "X64" are executed only if:
    - yaP is running on 64bit Windows, and
    - the "application" key has a second exe set (indicating that yaP is running in X64 mode)

    Example:
    application = App\App.exe :: App\AppX64.exe
    envvar = JAVA_HOME :: {YAPROOT}\jre
    envvarX64 = JAVA_HOME :: {YAPROOT}\jre64

    The first exe must be set even if the application does not support 32bit:
    application = NULL :: App\AppX64.exe

    - NEW: ini keys ending with "X86" are executed only if yaP is not running on 64bit Windows
    - FIXED: keep passed parameters when yaP is restarted in admin mode
    - FIXED: adding registry values failed if contained spaces

    v0.6 build 188 BETA
    - NEW: added 64bit version of yaP to the distribution package (yaPX64.exe).
    The 64bit version allows accessing registry keys without redirection (e.g. HKLM\Software).
    - NEW: launching main application maximized/minimized/hidden
    Syntax: application = App.exe [ :: AppX64.exe] [ :: max | min | hide]
    Example: application = App\App.exe :: NULL :: max
    - NEW: using "*" as the first character of main exe disables main application path validation
    Example: application = *App\NonExistingFile.exe
    - NEW: systemrefresh also refresh desktop wallpaper
    - NEW: {JAVAEXE} macro: absolute path to installed Java executable (javaw.exe)
    Example usage:
    application = {JAVAEXE}
    commandline = -jar "{YAPROOT}\App\MyFile.jar"
    - NEW: on X64 systems yaP first looks for "<EXENAME>X64.ini".
    If not found, "<EXENAME>.ini" will used.
    Same holds true for the "yaP.ini" fallback (first "yaPX64.ini", then "yaP.ini").

Re: yaP - yet another Portablizer

Posted: Sun Jul 10, 2016 8:18 am
by tproli
What do you mean on updating the OP? There's nothing about version info there, but maybe we are not talking about the same post (the first post in this topic). Maybe you mess it with the original post that I left there (for history books of the future, of course :)).