[Tutorial] Build your own JPE Launcher quickly

Share, discuss and debug ready-made JauntePE launchers for non-portable applications.
Post Reply
Message
Author
User avatar
joby_toss
Posts: 2902
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

[Tutorial] Build your own JPE Launcher quickly

#1 Post by joby_toss » Thu Aug 12, 2010 11:41 pm

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
Last edited by joby_toss on Mon Oct 11, 2010 7:50 am, edited 2 times in total.

User avatar
webfork
Posts: 7924
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: [Tutorial] Build your own JPE Launcher quickly

#2 Post by webfork » Fri Aug 13, 2010 6:52 am

For applications that allow modification and distribution, we should start distributing the portable version of those applications.
Supporting Net Neutrality - BattleForTheNet | Why this matters | More from EFF.org

User avatar
Napiophelios
Posts: 575
Joined: Sun Mar 01, 2009 5:48 pm

Re: [Tutorial] Build your own JPE Launcher quickly

#3 Post by Napiophelios » Fri Aug 13, 2010 8:13 am

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!

User avatar
joby_toss
Posts: 2902
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

Re: [Tutorial] Build your own JPE Launcher quickly

#4 Post by joby_toss » Fri Aug 13, 2010 10:14 am

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...

User avatar
Napiophelios
Posts: 575
Joined: Sun Mar 01, 2009 5:48 pm

Re: [Tutorial] Build your own JPE Launcher quickly

#5 Post by Napiophelios » Fri Aug 13, 2010 11:40 am

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.

User avatar
joby_toss
Posts: 2902
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

Re: [Tutorial] Build your own JPE Launcher quickly

#6 Post by joby_toss » Fri Aug 13, 2010 12:13 pm

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. :)

User avatar
guinness
Posts: 4118
Joined: Mon Aug 27, 2007 2:00 am
Contact:

Re: [Tutorial] Build your own JPE Launcher quickly

#7 Post by guinness » Sat Aug 14, 2010 12:17 am

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?
Added 179 Applications: Portable

User avatar
joby_toss
Posts: 2902
Joined: Sat Feb 09, 2008 9:57 am
Location: Romania
Contact:

Re: [Tutorial] Build your own JPE Launcher quickly

#8 Post by joby_toss » Sat Aug 14, 2010 6:22 am

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.

Jami
Posts: 9
Joined: Sun Jun 10, 2007 12:14 pm

Re: [Tutorial] Build your own JPE Launcher quickly

#9 Post by Jami » Thu May 26, 2011 4:39 am

I used your JPE Generic Launcher with PotPlayer (1.5 Build 28025) and KMPlayer (3.0.0.1440). Works great, thanks!

abc
Posts: 73
Joined: Thu Aug 04, 2011 10:01 am

Re: [Tutorial] Build your own JPE Launcher quickly

#10 Post by abc » Wed Dec 21, 2011 10:15 pm

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


Post Reply