You are here

ePSXe Compliance with PortableApps.com Platform

14 posts / 0 new
Last post
VirtualVirgo
VirtualVirgo's picture
Offline
Last seen: 3 years 9 months ago
Joined: 2014-02-02 18:13
ePSXe Compliance with PortableApps.com Platform

Greetings,

I am trying to create a launcher for ePSXe (http://www.epsxe.com/).
I know there has been brief mention of this application here- (https://portableapps.com/node/4347). The forum topic has 2 posts, one mentioning that it's already portable (As far as files go, anyway) and that the registry should be something easy to deal with. The post is also 8 years old, leading me to believe no one else desires the PA.c form of this application. The second post mentions to the Original Poster to use a different program.

I'm relatively new to PA.c Development, and have only made a handful of working launchers (though nothing release-worthy at all). That being said, I do have some general idea as to what I'm doing. I'm getting rather frustrated with it because this is what happens- http://imgur.com/DDSY0oT . The Launcher Generator 2.2 app will compile it just fine, but that error appears when I try to run the generated launcher. Maybe I've been staring at it for too long, but could someone help me out? I hate to sound like I'm not making an effort here- I've been through the Documentation (and I do notice that it seems to be needing some minor updating) and have looked at other working launchers that do the same things as what I'm trying to get this one to do.

Have I misspelled something? If I need to include more information, please don't hesitate to tell me so.

-VV

darksabre76
darksabre76's picture
Offline
Last seen: 1 week 4 days ago
Developer
Joined: 2011-04-19 23:28
Looks good...

The launcher is actually generated from App\AppInfo\AppInfo.ini and then uses App\AppInfo\Launcher\ePSXePortable.ini for the runtime information. I stared at the screenshot you have posted and I can't see anything wrong with it. Can you post the contents of the launcher in a comment here? Maybe there's something that I'm missing. To make it more readable, can you put it between <pre> tags?

VirtualVirgo
VirtualVirgo's picture
Offline
Last seen: 3 years 9 months ago
Joined: 2014-02-02 18:13
ePSXePortable.ini

ePSXePortable.ini:

[Launch]
ProgramExecutable=ePSXe\ePSXe.exe
WorkingDirectory=%PAL:AppDir%\ePSXe
SupportsUNC=no

(I added a bunch of comments after these 3 lines, and figured they would only take up space here)

appinfo.ini:

[Format]
Type=PortableApps.comFormat
Version=3.0

[Details]
Name=ePSXe
AppID=ePSXePortable
;placeholder vals
Publisher=App Developer & PortableApps.com
;placeholder vals
Homepage=PortableApps.com/ePSXePortable
Category=Games
Description=ePSXe Portable is a Playstation 1 (PS1/X) emulator.
Language=English

[License]
;placeholder vals
Shareable=true
OpenSource=true
Freeware=true
CommercialUse=true

[Version]
;random vals
PackageVersion=1.2.0.1
DisplayVersion=1.2 Pre-Release 1

; [SpecialPaths]
;Optional. app's user-added plugins directry within the app directory. excluded when calc'ing space needed for upgrade. If no plugins, should be omitted.
; Bios=App\ePSXe\bios
; Cheats=App\ePSXe\cheats
; Plugins=App\ePSXe\plugins
; Skins=App\ePSXe\skins

[Control]
Icons=1
Start=ePSXePortable.exe

darksabre76
darksabre76's picture
Offline
Last seen: 1 week 4 days ago
Developer
Joined: 2011-04-19 23:28
Still good...

I agree with vf2nsr that it all looks right... maybe the zipped version will provide some insight.

VirtualVirgo
VirtualVirgo's picture
Offline
Last seen: 3 years 9 months ago
Joined: 2014-02-02 18:13
Dropbox

I have uploaded the compressed folder as a .7z to the hosting service Dropbox. https://www.dropbox.com/s/64n5z53i8l02cit/ePSXePortable.7z

vf2nsr
vf2nsr's picture
Offline
Last seen: 7 years 6 months ago
Developer
Joined: 2010-02-13 17:10
downloaded and will take a look

will look at it and wee if anything is noticeable

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

darksabre76
darksabre76's picture
Offline
Last seen: 1 week 4 days ago
Developer
Joined: 2011-04-19 23:28
ANSI vs. UTF-8

I looked and everything is spelled absolutely correctly and such. The only difference between your INI file and ones that I've used in the past is that yours is UTF-8 (Unicode) and the ones I've used are ANSI. Once I converted your INI to ANSI, it worked perfectly fine. (I converted it using Notepad++, just so you know).

John T. Haller
John T. Haller's picture
Online
Last seen: 26 min 39 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
UTF-8 doesn't work with Windows INIs

Different sections of PAL and PAI (as well as the PA.c Platform) use the Windows APIs to read/write INI files. The Windows APIs don't support UTF-8. They support ANSI and UTF16-LE.

Sometimes, the impossible can become possible, if you're awesome!

VirtualVirgo
VirtualVirgo's picture
Offline
Last seen: 3 years 9 months ago
Joined: 2014-02-02 18:13
Ah

Thank you very much, everyone. This is something I never would have discovered on my own. It just so happens I use Notepad++ to begin with, so changing the settings should help.

vf2nsr
vf2nsr's picture
Offline
Last seen: 7 years 6 months ago
Developer
Joined: 2010-02-13 17:10
^^^^^^^^^^^^^^^^^^^^^^^^

Yup that is what I discovered as well

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

vf2nsr
vf2nsr's picture
Offline
Last seen: 7 years 6 months ago
Developer
Joined: 2010-02-13 17:10
Also

Might want to check your folder structure and make sure that the folder is actually named as the ini has it. I personally am famous for typos.

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

VirtualVirgo
VirtualVirgo's picture
Offline
Last seen: 3 years 9 months ago
Joined: 2014-02-02 18:13
File/Folder

File/Folder structure:

ePSXePortable/
	App/
		AppInfo/
			FileTypeIcons/
			Launcher/
				ePSXePortable.ini
			appicon.ico
			appinfo.ini
			appicon_16.png
			appicon_32.png
			appicon_128.png
		DefaultData/
			(Data folders for the application, still a bit of a work in progress)
		ePSXe/
			(program folders and files, including ePSXe.exe; Runs just fine on its own in this folder)
	Data/
		(Data folders for the application, still a bit of a work in progress)
	Other/
		Help/
			Images/
		Source/
			ePSXePortable.ini
			LauncherLicense.txt
			Readme.txt
	ePSXePortable.exe
	help.html
vf2nsr
vf2nsr's picture
Offline
Last seen: 7 years 6 months ago
Developer
Joined: 2010-02-13 17:10
looks

correct from what I see can you zip it may be an upload maybe we could take a look see and figure how come it is not working.....just a thought?

“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss

starrysky
Offline
Last seen: 8 years 2 months ago
Joined: 2013-01-26 19:49
Beta Test?

I hope you do wind up releasing this as a beta test. We did have a version of epsxe on portable apps a few years ago, but support stopped and the download link is long broken. I started making a new version, but never got around to finishing it: (edit - link removed) feel free to use any part of it at your convenience.
Also, you can find information about this and other emulators here: https://portableapps.com/node/38101

Log in or register to post comments