![]() |
|
| |
|
SDK User TipsThis section covers tips on the following topics:
1. Accessing your backup, method #1There are two very different methods for accessing your backed-up files on your emulator. This one is taken from Steve Lichfield's very excellent site 3-Lib. Windows 95/98To quickly access your backed-up files in the EPOC / Symbian SDK add the following line to your PC's autoexec.bat file, then reboot.
where YourName is your Psion username - if you have moved your backup to a different drive or folder then obviously substitute the actual path of the backup for the one here, and it is all on one line. The next time (and every other time!) you start the SDK you will see a new disk drive ("P"). This tip works well for Compact Flash disks as well. You can set it, for example, to be the "Q" drive with
where YourName is your Psion username, and CompactFlash is the name of the Compact Flash drive, and it is all on one line. If you do access your backups from within the Emulator and want to make changes to any file, it's probably a good idea to copy the file to the "C" drive first. Doing this will stop PsiWin complaining about you tampering with its backup dates and times! Windows NT4To do the same under Windows NT4, which doesn't use autoexec.bat etc, use the following procedure, sent in to Steve Lichfield by Jeff Gaste:
You may, of course set up different 'drives', not just 'P', but also 'Q' for your Compact Flash card, for instance. Windows XPI have successfully done this on Windows XP Professional, although the procedure is slightly different to that on NT4:
As above, you may, of course set up different 'drives', not just 'P', but also 'Q' for your Compact Flash card, for instance. 2. Accessing your backup, method #2This method has been reportedly more successful in some cases. Don't ask me why, that's computers for you! There are three startup files called:
Assuming that you have installed to drive C, they can be found in C:\epoc32\data\ Each produces a different size screen on your PC. You need to edit whichever of these startup files you choose to use to point it to your Psion backup. Yours (large.ini) might look like this:
where "D" is the PC drive containing your backup folders (Yours will probably be "C") and the rest is the path to your backups. The only catch is that this will not work if there are spaces or non-standard characters in the name of your Psion. If there are you will have to rename your Psion. 3. Accessing your backup, method #3As a last resort you can try this method. I've had reported from one user that for some reason (?!) PsiWin corrupts his data when he uses PsiWin Backup. His method is therefore to manually copy his Psion data from c:\Documents, via PsiWin to the PC folder, X:\Epoc32\Wins\C\Documents (where X: is the drive on which the SDK is installed) and the Contacts data as below, to \system\Data\Contacts.cdb. Method #4Tony Williams wrote to me to say that he uses this method:
4. Accessing your ContactsI was a little disappointed to discover that once I had set up my emulator to access my back-up, using one of the methods above, I was still unable to access my Psion Contacts. The Psion stores the Contacts information in a file in the internal folder
This file is not accessed from your backup, as the emulator defaults to its own System folder. Which is fair enough. I have found that copying the Contacts.cdb file from my back-up location to L:\Epoc32\Wins\C\System\Data (where L: is the drive to which I have installed the SDK) will do the trick for me. I usually do this manually, but you can also use a BAT file to do it, or a synchronisation application such as qFileSync or SecondCopy 2000. 5. Installing software on the emulatorIn this example I show how to install a Mah Jong application on the EPOC R5 OPL Emulator.
6. Running ApplicationsSteve Lichfield's excellent site 3-Lib contains a number of useful tips for using the EPOC SDK including this one. Most shareware and freeware applications are written in OPL and can be made to work with the EPOC emulator with a modicum of effort. A couple of common files crop up occasionally in reported problems: Toolbar.opoThis can be copied if necessary from your Series 5. If you can't find this file, either grab it from or just create a new "Program" document in any folder and use the "Create standard files" command. Toolbar.opo will then magically appear in the current folder and can be copied across to
Sysram1.opxAlthough there is a file of the same name compiled for the ARM chip in the Series 5, the compiled-for-PC version you may need for the emulator can be downloaded at Put a copy of it in
Other OPXesIt's worth noting that there are several other common OPXes that
have been written by third-parties. Many of them have now been compiled
for the PC by their authors and are available. Just place the modified
OPX files in the same folder as Sysram1.opx above: Try the RMR Software web site first for these: See John McAleely's web site for more up-to-date OPX news Read OnlyOnce you've set up your PC-compiled OPXes in the correct folder, make them 'Read-Only' before going any further. Otherwise, the installation of further applications may possibly overwrite your new PC OPXes with Series 5 versions! 7. Greyscale emulatorAs well as running the emulator in its lovely, default mode of 256 colours you can make run it in greyscale too, so that it looks just like your Psion Series 5mx.
If your emulator runs from the \Rel folder, obviously change the file at \Epoc32\Release\Wins\Rel\Z\System\Data\wsini.ini The two options are COLOR256 and GRAY4. You can find more details, and another method, in the file /sysdoc/emul/emulconfig/emulconfigappearance.html, and if you have the C++ SDK installed also /sysdoc/cpp/wserv/wssys.html 8. Printing from the emulator(From Charles Newgas) Printing from the emulator. Although it is not possible to print direct from the emulator, you can print to file and copy the file to your printer with only one extra mouse click. The easiest way to do this is to create a DOS batchfile called "EpocPrint.Bat" on your Windows95 desktop. Inside it put just the single line Copy C:\epoc32\wins\c\printfile lpt1: (Change the drive and printer port letters if necessary). It is now easy to print from the emulator. Simply print to file using the driver that is most appropriate for your printer (the emulator will default to using file "printfile" in the root of the virtual internal disk), and double-click on the batchfile on your desktop. 9. PC drive icon problemsWhen I installed the EPOC OPL SDK R5 on my Windows 98se machine and rebooted the PC the icon for the C: drive in My Computers has changed to an EPOC icon and when I double-click it to explore the drive I get an error as though I am trying to install Windows! How odd! I uninstalled and the problem rectified. I posted this on one of the Psion newsgroups and got the following fix. I have to confess that I am not sure how to rectify this if you are running Windows XP. I haven't experienced this problem On the CD are some files to make the CD icon look special in the windows explorer. If you install the SDK on C: then these files overrule the normal hard drive icon of your C: drive. What you need to do is use the MS-DOS SUBST command to make the PC regard the EPOC folder as a separate drive:
Now your SDK is nicely separated in it's own directory, accessible through drive F: There's also more info on this subject in the SDK itself, and on the SDK Installation page. |
Contact use-mail: + Symbian links |