Page 1 of 1

[Tutorial] Build your own JPE Launcher quickly

Posted: Thu Aug 12, 2010 11:41 pm
by joby_toss
First of all, this is not gonna work for ALL the applications you're gonna try, but in my experience it worked on about 75% of them.

1. Get the generic launcher and extract the contents using 7zip;
2. Download the application's installation kit from its official website;
3. Extract the application's files using Universal Extractor OR install the application using Sandboxie;
4. Move all the application's files directly into the "App" subfolder of the Launcher;
5. Rename "JPEPortable.exe" exactly as the application's executable;
6. Rename "Data_jauntePE.ini" as "appname_jauntePE.ini";
7. Open "appname_jauntePE.ini" ( I use Notepad2) and replace (select %appname%, hit Ctrl+H, hit Replace all button) all "%appname%" strings with the application executable name (without the .exe extension); save the changes (Ctrl+s);
8. Launch the app using the newly created JPE launcher.
note: ignore the above quotation marks


You'll need the following:
- desired application's installation kit: its homepage
- generic JPE launcher archive: http://www.mediafire.com/file/82f19iiz8 ... auncher.7z
- 7zip: http://www.portablefreeware.com/index.php?id=796
- Universal Extractor: http://www.portablefreeware.com/index.php?id=641
and/or
- Sandboxie: http://www.sandboxie.com/index.php?DownloadSandboxie
- Notepad2: http://www.portablefreeware.com/index.php?id=649


And now, a quick example: Daum PotPlayer (same author as KMPlayer and very similar app, it's portable if you use the .ini to store the settings, but not stealth)

1. get the generic launcher and extract
2. download PotPlayer
3. use UniversalExtractor to get PotPlayer's files
4. move PotPlayer's files (from $INSTDIR) to the App folder of the launcher
5. rename JPEPortable.exe to PotPlayerMini.exe
6. rename Data_jauntePE.ini to PotPlayerMini_jauntePE.ini
7. open PotPlayerMini_jauntePE.ini, select %appname%, hit Ctrl+h, hit Replace all, Ok, Close, hit Ctrl+s, close Notepad2
8. launch the player using PotPlayerMini.exe with la flash drive icon (the JPE launcher)

Not THE quickest or most RELIABLE method, but MY quick method!

Good luck!

Thank you, Redllar!

Edit: if you are using a 64bit OS and get this error
Image
then replace the JPE launcher from the provided Generic launcher package with this 64bit version:
x64 JPE launcher only

Re: [Tutorial] Build your own JPE Launcher quickly

Posted: Fri Aug 13, 2010 6:52 am
by webfork
For applications that allow modification and distribution, we should start distributing the portable version of those applications.

Re: [Tutorial] Build your own JPE Launcher quickly

Posted: Fri Aug 13, 2010 8:13 am
by Napiophelios
Actually Joby_Toss,it can be even faster than that!

Image

All you have to do is rename the JPEPortable.exe and the ini file (steps #5 & #6)
JauntePE will do the rest as is.

you dont even have to edit the ini file's contents!

Re: [Tutorial] Build your own JPE Launcher quickly

Posted: Fri Aug 13, 2010 10:14 am
by joby_toss
What if you have 2 or more executables in the App folder, like it is PotPlayer's case? Will it work then? Never tried this...

Re: [Tutorial] Build your own JPE Launcher quickly

Posted: Fri Aug 13, 2010 11:40 am
by Napiophelios
joby_toss wrote:What if you have 2 or more executables in the App folder, like it is PotPlayer's case? Will it work then? Never tried this...
I am not familiar with PotPlayer but,
You would name the launcher after the main exe
cuz if it uses other exe files in the folder they will be sandboxed as well
due to the way you have the ini file currently configured.

If its another exe the user can initiate,
(like media monkey has another exe that launches it without skin support)
you would just make another launcher for it seperately,
but they would still share the same jpe and programfiles and settings etc.

Re: [Tutorial] Build your own JPE Launcher quickly

Posted: Fri Aug 13, 2010 12:13 pm
by joby_toss
You said I wouldn't have to edit the .ini file.
What .exe would the %appname% string be related to... since there are 6 in the App folder?
Does the %appname% string gets automatically "replaced" with the .exe that has the same name as the launcher?

I just need to try this one!

Edit: yeap ... seems to be working as expected! So, apparently, step 7 could be skipped. :)

Re: [Tutorial] Build your own JPE Launcher quickly

Posted: Sat Aug 14, 2010 12:17 am
by guinness
Excellent tutorial, I have always said in the past that JauntePE is a little daunting to use for new users. And you had no problem using JauntePE on Windows 7?

Re: [Tutorial] Build your own JPE Launcher quickly

Posted: Sat Aug 14, 2010 6:22 am
by joby_toss
Some work, some (few) don't; haven't figure out a pattern... (win7x64)
I build the JPE launcher and test it using Sandboxie. :)

My kid has XP on his machine and I use it for testing occasionally. More JPE launchers work on XP.

Re: [Tutorial] Build your own JPE Launcher quickly

Posted: Thu May 26, 2011 4:39 am
by Jami
I used your JPE Generic Launcher with PotPlayer (1.5 Build 28025) and KMPlayer (3.0.0.1440). Works great, thanks!

Re: [Tutorial] Build your own JPE Launcher quickly

Posted: Wed Dec 21, 2011 10:15 pm
by abc
Great tutorial, this exactly what I was looking for.

ResHacker makes it very easy to replace the juantpe launcher icon with the application's icon. (and change resource information if you desire)

Open "JPEPortable.exe" in ResHacker: -> Icon group -> 1033 -> Replace Resource -> Open with new icon.. -> Select the application you want the icon from ->Save new exe

Re: [Tutorial] Build your own JPE Launcher quickly

Posted: Thu Dec 22, 2011 8:33 am
by joby_toss