Your Universal Remote Control Center
RemoteCentral.com
Philips Pronto Professional Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
PEP V1/V2 Database Device Export Tools Updated
This thread has 7 replies. Displaying all posts.
Post 1 made on Friday August 29, 2008 at 14:22
evanevery
Long Time Member
Joined:
Posts:
August 2008
24
The PDBExport and PDBImport Device Export/Import Tools have been updated by request. These tools allow complete Device Information (including function codes) to be exported and imported to/from PEP V1 or V2 databases.

Its much easier and more efficient to exchange and catalog function codes in individual device export files than swapping entire user database backup files (as supported by PEP V2)...

The requested update now adds the following functionality to the tools:

1. Device Export files are now automatically created and named. Redirecting display output to a user specified filename is no longer required.

2. PDBExport will now dump your entire User Database into individual, automatically named, device export files if desired (command: "PDBExport USER *")

The updated archive can be downloaded using the following link:
[Link: netefb.com]

I will post the Updated ReadMe document in the next message.

Ed
OP | Post 2 made on Friday August 29, 2008 at 14:28
evanevery
Long Time Member
Joined:
Posts:
August 2008
24
PDBTools V0.60 Beta "READ ME" Document

PDBTools: Pronto DataBase Tools (PDBExport and PDBImport)
---------------------------------------------------------

Functionality:
--------------

PDBExport: Export Device Component Configuration and Codes from Factory or User DataBase

PDBImport: Import DEvice Component Configuration and Codes into the User Database

Purpose and Intent:
-------------------

This toolset is intended to give the user community the ability to export and import individual component information from/to the Pronto DataBase. It is hoped that this will result in a much more direct method of saving, editing, and importing individual device libraries. By using These tools, Device Information can be saved in dedicated export/import files and there is no need to export/import/manipulate whole system project files, entire user databases (V2), or Copy and Paste Hex Code strings into Pronto Edit. Just import a previously saved PDBEXPORT device file by using PDBIMPORT!

The Device Export format is in tab delimited format so it is user editable (MS Excel works well for this type of editing). Codes can be added, changed, and field content manipulated (be careful!). (Want to make those "DATABASE CODE" sequences visible in PEP? - Try changing the "IsRCSCode" field from "0" to "1" in your import file).

As these two tools are still under development, the first version(s) are in console format. This means you will have to run them under a command prompt from Windows. Open up a console prompt or run "CMD" from the run option on the Start Button....

Installation:
-------------

Three files are required for this toolset: PDBEXPORT.EXE, PDBIMPORT.EXE, and PDBTOOLS.INI. All three of these files should be extracted to the same directory. You must be in the diectory when these tools are run in order for PDBTOOLS.INI to be located. (IOW: "CD" into the directory which contains the tools before running them). PDBTools.INI contains user modifiable infomation on where to look for the actual Component DataBase File. (More on this later).

PDBEXPORT:
----------

Usage: PDBEXPORT {database} (brand} {model}
or: PDBExport USER *

Where {database} = "USER" or "FACTORY"
{brand} = Brand of Device to be Exported
{model} = Model of device to be Exported

or: {database} = "USER"
{brand} = "*" (To Dump Entire User Device Data into individual output files)

PDBExport will make no changes to your database(s)! It only retrieves data from them.

PDBExport will create an export file in the current directory which will be named
"{Brand}_{Model}.PDE" for each device it processes. To request an export file for a specific device, simply specify which database (USER or FACTORY), the brand of the device, and the model of the device.

Example: PDBEXPORT User DirecTV H20

The above example will create an export file named DirecTV_H20.PDE in the current directory.

If you wish to quickly export your entire user database simply run the following command:

Example: PDBEXPORT User *

The above example will create individual export files with all device and code definitions for each device in the user database. The files will be named as described above based on the Brand and Model information. Due to the size of the factory database, it was decided not to support a full dump at this time. (Although this could quite easily be added if the functionality is requested)

PDBIMPORT:
----------

Usage:PDBIMPORT {filename}

Where:{filename} = Name of file containg PDBExport data

PDBImport always imports data into the User Database (never the Factory Database). I would recommend that Pronto Edit be completely shut down when running import operations. If you are using PEP V1, the import results will be immediately visible/available once PEP is restarted, If you are using PEP V2, you must manually restart the "Pronto DataBase Service" before the import will be visible/available. (unlike Proto Edit Professional Version 1, Version 2 creates a "Pronto Data Server" service to run on your system and we must start/stop the service so it re-reads the database). Restarting the V2 DataBase service is very simple. It can either be done from the Administative "Services" Applet, or you can issue the following commands at the command prompt (Since this is where you are running the tools from anyway:

PEP V2 DataBase Service Restart Commands:Net Stop "Pronto Data Server"
Net Start "Pronto Data Server"


Compatilibility:
----------------

PDBTools are completely compatible with both version 1.X and Version 2 of the Pronto Edit Professional Databases. Although there are slight differences in the database formats, the export file format is prepared for V2 compliance. If PDBEXPORT is run against a V1 database, additional field data is appended (as NULL Values) to satisfy V2 requirements. If PDBIMPORT is being used to add data to a V1 database, then the additional field info is ignored.

PDBTOOLS.INI:
-------------

The PDBTOOLS.INI contains configuration information used by both utilities. Currently, it is used to identify the location of the ComponentDatabase.db file. This single file contains both the factory database (tables) and the user database (Tables). By default, this file is located in different directories depending on the PEP version and installation O/S (XP or Vista):

PEP2 (Vista) = C:\ProgramData\Philips\Common Database\ComponentDataBase.DB

PEP2 (XP) = C:\Documents and Settings\All Users\Application Data\Philips\Common Database\ComponentDataBase.DB

PEP1 (XP or Vista) = C:\Program Files\Common Files\Pronto\ComponentDatabase.DB

By default, the PDBToolset will search for the ComponentDatabase in the order listed above. It will use the first file it finds. If you are using both versions of PEP (V1 and V2) on your system, it is possible to make a very simple edit in PDBTOOLS.INI to force it to use a specific database instead of searching for one. The default "SEARCH=0" key in PDBTOOLS.INI tells the tools to search for the first DataBase it finds (as listed in the INI file). Setting "SEARCH" to some other value (1,2,3,etc) tells the tools to only use the respective database file. This is useful if you have both PEP1 and PEP2 on your system and want to specify which DB to use. Please read the comments in PDBTOOLS.INI for additional information.

Future:
-------

Although no support is provided for these tools, I welcome any and all constructive feedback. Any comments or suggestions should be sent directly to me via a message to "evanevery" on the www.remotecentral.com message board. If the community finds these tools to be of value, the next step will be to move these functions into a complete GUI with additional functionality.
Post 3 made on Saturday November 1, 2008 at 21:37
grafcom
Lurking Member
Joined:
Posts:
November 2006
1
I've been unable to use these utilities. I downloaded v.0.50 beta and every attempt to run was being met with "The system cannot execute the specified program.
I then found your zip post with v.0.60, but I'm getting the same results. Also, the second zip does not include the PDBImport.exe file. I'm running XP SP3. Any ideas?
Thanks...
Post 4 made on Tuesday November 4, 2008 at 11:16
BigBen11
Long Time Member
Joined:
Posts:
August 2007
24
I am getting errors too:

The application has failed to start because its side-by-side configuration is incorrect. Please see the application evvent log for more detail.

any ideas ?
Post 5 made on Wednesday December 24, 2008 at 10:28
bert003
Long Time Member
Joined:
Posts:
January 2008
77
Hi,

Same problem here.

But after starting I get an error "The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail."

This happens with Vista32.

Any idea what is going wrong?
Post 6 made on Tuesday December 30, 2008 at 11:07
eht123
Long Time Member
Joined:
Posts:
September 2008
33
Same here, on XP. "The system cannot execute the specified program."
Post 7 made on Tuesday December 30, 2008 at 11:51
eht123
Long Time Member
Joined:
Posts:
September 2008
33
Solved. Install the C++ redistributable package, available here:

[Link: microsoft.com]

Looks like a slick set of utils so far.
Post 8 made on Monday January 5, 2009 at 12:53
barend
Long Time Member
Joined:
Posts:
October 2003
275
Cannot find the importfile?

I need a few hexcodes from MyDatabase, for my old TSU7500.
Is this possible?
And where is the database?
I can only export a backup from PEP1, and that's being rejected...

Last edited by barend on January 5, 2009 13:15.


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse