Most of us are already aware that PPC and smartphone edition are similar enough to be mostly compatible in their apps across the platforms.
That is, with enough coaxing and the help of input simulators like SPHelper, I've managed to run almost any Pocket PC app on a smartphone device.
Well, until now.
I've officialy run into my first brick wall of sorts, and I'm hoping someone here can shed some light onto the situation.
Since the MS implementation of A2DP has quality issues, I'm trying to run MSI Blueplayer app ( found at http://cweb.msi.com.tw/program/support/download/dld/spt_dld_detail.php?UID=619&kind=8) on a smartphone.
Analyzing the cab, I extracted 4 .dll's that go in the \windows dir (msibtstk.dll, msibtapi.dll, CHS.dll and TW.dll), and two .exe program files that go in program files\msi\blueplayer (STLoader.exe, and MPOBCE.exe).
Now, normally its as simple as running the .exe, at least it always has been in the past.
However, every time I hit MPOBCE.exe, all I get is:
"Alert
Can't find MPOBCE or one of its components. Make sure the path and filename are correct and that all the required libraries are available."
Just to control this experiment, I copied the exact same files over to a PPC device and ran it to find that it DOES work.
Now, I've never encountered PPC specific code before- in fact, I didn't even know such a thing was possible. Has anyone see/heard of this sort of thing before?
Can someone help me take this apart and find out what makes it work on a PPC only? Perhaps a PPC-specific path (if there is such a thing)?
At this point, as much as I'd like to get this working, I'm just as much intellectually curious as to what would cause a program to only operate on a PPC installation.
Hello Dishe.
Your problem is simple: Certain DLLs that come built in Pocket PC version of windows mobile do not exist in the Smartphone version. An example is MFC DLLs.
What you need to do is get hold of 'dependency walker' which is a neat little app that MS incorporated in to VS 6 (though I understand it was written by an independent developer and should be available separately).
It will show you exactly which DLL files each exe is linked to. You then have to get a good copy (from a ROM dump) of the needed DLL and put it in windows directory.
Hope this helps.
That's a great idea. Thanks! I never heard of the dependency walker before, but it sounds like a perfect tool for this. I'll have to check it out on my office computer (I don't have VS 6 at home).
I wont be back in my office until wed., so if anyone had a bit of spare time, I'll attach the files here for someone to examine.
If anyone wants to look into it and tell me what dll's are required, I can get ahold of them from a healthy Pocket PC image.
Thanks!
This zip file has the two .exe's contained in the installation. I think only mpobce.exe is complaining about missing components, though.
Oops, apparently I should have checked first...
Dependency Walker is a free app. I downloaded it and tried it out.
It lists a bunch of .dll's, most of which I had on smartphone.
However, the two missing ones are:
mfcce300.dll
olece300.dll
Now, I'm not exactly sure what these do, so I need to look into it some more. Does anyone have any clue what these are for? If I copy them from a Pocket PC, will they operate on a smartphone?
Hi Dishe.
I guess I should have been more clear: Dependency Walker was written as freeware by an independent developer, but M$ liked it so much they decided to grab it for VS.
Any way, mfcce300.dll is MFC version for PPC (if you are not familiar with MFC, it's a collection of "ready code" that simplifies writing apps in c++)
It comes built in for PPCs but not for smartphones for some reason. If you have a good dump check that DLL with dep. walker as well, I am pretty sure it is linked to a few others.
olece300.dll - is a COM support dll. I won't even go there because I really hate COM (that's Component Object Model, not com port) and I am really not sure my self what the DLL does.
If you do get a good version of those two you should be able to get the app running.
levenum said:
Hi Dishe.
I guess I should have been more clear: Dependency Walker was written as freeware by an independent developer, but M$ liked it so much they decided to grab it for VS.
Any way, mfcce300.dll is MFC version for PPC (if you are not familiar with MFC, it's a collection of "ready code" that simplifies writing apps in c++)
It comes built in for PPCs but not for smartphones for some reason. If you have a good dump check that DLL with dep. walker as well, I am pretty sure it is linked to a few others.
olece300.dll - is a COM support dll. I won't even go there because I really hate COM (that's Component Object Model, not com port) and I am really not sure my self what the DLL does.
If you do get a good version of those two you should be able to get the app running.
Click to expand...
Click to collapse
Thanks for the help, I'm realizing there's a lot more to this I should have known before embarking on such a task. I've never had such a problem doing this before, I guess MFC isn't so popular!
Anyway, I need a good ROM dump, I haven't been able to aquire one. In the mean time I tried some files I found searching google... didn't expect it to work, but tried it anyway. Still complained of missing files- you're right, I'll bet MFC is calling more dll's as well that I need.
Perhaps there's hope...
You were right... I just needed more .dlls!
I found a whole series of .dlls required by mfcce300.dll that my smartphone was missing, so I put them all in the program directory and it opened!
Problem is, its not so stable... the files were pulled from a ce.net-4.1 set of files since I don't have access to a wm5 rom image.
One more thong I should have thought about earlier:
Some COM dlls, maybe even olece300.dll have a function called DllRegisterServer that writes them to registry as COM provider (under HKCR\CLSID).
Check to see if I am right using Dep. Walker and if so try to get regsvr32.exe or something similar for the PPC. (On a PC you use regsvr32 somedll.dll to register a COM server)
This may help with stability issue.
Hi there
Thanks in addvance
Could any body help i think i read some ware in this forum that less files in windows folder meens that your device runs faster !!
I also think I read some program can only be installed to windows\ I Don't know which? programs need to be in which directory or is it all down to the reg enteries or is it dependent on the *.exe & *.dll files
If it is posible to install office mobile to something like \program files\OfficeMobile\ ?, Would there be any benifits for doing this ? or would i be wasting my time ?
It seems a lot of programs install into windows\
Easy - if you know how!
swampy395 said:
Hi there
Thanks in addvance
Could any body help i think i read some ware in this forum that less files in windows folder meens that your device runs faster !!
I also think I read some program can only be installed to windows\ I Don't know which? programs need to be in which directory or is it all down to the reg enteries or is it dependent on the *.exe & *.dll files
If it is posible to install office mobile to something like \program files\OfficeMobile\ ?, Would there be any benifits for doing this ? or would i be wasting my time ?
It seems a lot of programs install into windows\
Click to expand...
Click to collapse
Various options here mate (listed in order of user level):
In WM5+ you can choose to install to the Storage Card by default - any programs that cannot be installed here will usually tell you when you try, and ask you to try again in the correct folder.
Go get yourself a copy of a program called Pocket Mechanic and it has an option that lets you move programs to your storage card (it changes all the links/shortcuts and reg entries for you) - it can also move the 'My Documents folder and IE cache, too - saving even more space.
Find a program called CECabManager (30 day trial) which lets you edit the cab files for programs and change their default install folder.
WARNING
ALWAYS backup your device before playing around with this stuff - it's a real P.I.T.A. when you have got yourself almost set up, then you destroy the system, or cause a glitch!
My best advice is to go buy a copy of Spb Clone and install that before you fiddle about! Also, backup your PIM data to Outlook, or with Spb Backup, too! Then you're pretty much safe to do what you want, as you can always go back if all goes tits up!
Bird
Bird_FAT said:
Various options here mate (listed in order of user level):
In WM5+ you can choose to install to the Storage Card by default - any programs that cannot be installed here will usually tell you when you try, and ask you to try again in the correct folder.
Go get yourself a copy of a program called Pocket Mechanic and it has an option that lets you move programs to your storage card (it changes all the links/shortcuts and reg entries for you) - it can also move the 'My Documents folder and IE cache, too - saving even more space.
Find a program called CECabManager (30 day trial) which lets you edit the cab files for programs and change their default install folder.
WARNING
ALWAYS backup your device before playing around with this stuff - it's a real P.I.T.A. when you have got yourself almost set up, then you destroy the system, or cause a glitch!
My best advice is to go buy a copy of Spb Clone and install that before you fiddle about! Also, backup your PIM data to Outlook, or with Spb Backup, too! Then you're pretty much safe to do what you want, as you can always go back if all goes tits up!
Bird
Click to expand...
Click to collapse
Thanks Bird
PS do you know it doe's run faster whith les files in windows folder ?
Speed or Space?!?!
swampy395 said:
Thanks Bird
PS do you know it doe's run faster whith les files in windows folder ?
Click to expand...
Click to collapse
No idea - anyone?
I think that if you have too little space, you'll be in trouble when some programs run as they may need to use it as RAM or a swap file - I've filled it to within a MB or 2 and it has slowed down the system!
See my post in this thread for how I keep space in my Storage area (at the bottom of the second post)
http://forum.xda-developers.com/showthread.php?t=388249
If you're looking to speed up your system, why not try an overclocking utility?
I've just got Pocket Hack Master - I'm testing it now! I've used Anton's Pocket Mechanic for ages now, and so I'm pretty confident in the quality of the app.
http://www.wizcode.com/products/view/pocket_hack_master
And there is a starter guide here:
http://www.wizcode.com/articles/comments/pocket-hack-master-speed-configuration-guide/
Let me know your results!
Bird
Thanks again bird
Don't fancy clocking my CPU realy wanting to know if it's worth the effort of hacking all my *.cab files and OEMs to install into sub folders rather than windows\ Idear been Keeping as little as posible in the windows\ "folder" I could have a sleep some times waiting for file explorer to finish opening windows\ was hopeing that if there's less in windows\ the device my run faster with a smaller directory ??
Thanks
swampy395
Possibly...
You could always try using Pocket Mechanic!!
Instead of hacking the cabs, you could just use Pocket Mechanic - it will move the programs across to your SD card and change all the reg entries, links, etc. for you!
I find that there are some cabs that really don't like to be hacked! But, if that's the route you want to go down (saves having to do it all again in the future), then CECabManager is definitely the way to go! Pretty pricey software, but gives you a nice 30 day trial period to play with it! Just remember to remove any 'setup.dll's' from the tree in the left-hand window if you change anything - can cause the install to muck up if you don't!
And the best bit of software on the net in my opinion is Spb Clone (god I love Spb software - it's just so good!) - once you get your system looking and working how you want it to, just clone the whole thing on to some spare space on your card and you're safe from any general errors! Use Pocket Mechanic to move all your documents, mail and cache folders onto the SD card and you're even safer - go one step further and get Spb Backup to save teh PIM data onto your SD, too and you get ultimate safety (as long as you remember to save reguarly LoL!):
PIM synced with main PC or onto SD with Spb Backup
Documents, mail and cache on SD
Clone of system on SD
Any screw ups, any dodgy software, ANY problems and you just go back a few days!
SORTED!! ​
Bird
Free even MORE space!!
Found a way to get even more space! Really helpful for me when I want to play certain games, as some of them were refusing to start as they needed more space than I had. I managed to claw back about 8meg, but then I have somewhat overloaded my BAs with about 250 apps/games! )
Using Pocket Mechanic, you can move the AppMgr file from the Windows directory of you BA onto your Storage Card - (the original folder structure will be recreated if you try to install anything new!) - when it's finished, just soft reset your BA and VIOLA! more space in the storage section.
***********NOTE***********
If you want to delete any of your apps - or even install a new version over the top of an old one, you have to move the corresponding folder from the AppMgr folder on your Storage Card back into Windows/ApMgr or the uninstall/reinstall will fail - If you haven't installed anything since you last moved the AppMgr folder, then you will have to create the AppMgr folder before moving the folder of the app you wish to delete.
Have fun,
I am fairly new to this forum and I am sure this has been explain on here once before. But I though this might be a little easier than searching through countless pages of posts. I want to know if there is a way to clear up the program memory. If I could I would like to be able to delete the Office mobile stuff if that would help. Dont see a need for it since I work on macs mostly. Of if there is way to trim it down. At the moment my program memory is 43.87 MB and it says 40.91MB is in use but I only have window media running and only 3MB available. Is there something I can do. What is taking up all memory. Even after a soft reset. The most I have ever seen it go up to is like 14MB and that is just for a while then it begins to rundown. Thanks for you help in advanced.
Carlos
CleanRAM - http://thewingster.com/cleanram.aspx
Thanks Ace..good work..is there a way to get into the registry and delete some of the office mobile stuff, like work powerpoint and excel or would I have to do a complete flash
toreone said:
Thanks Ace..good work..is there a way to get into the registry and delete some of the office mobile stuff, like work powerpoint and excel or would I have to do a complete flash
Click to expand...
Click to collapse
You would have to flash a ROM without Office Mobile. Look on The Wingster (http://thewingster.com/roms.aspx) and find a ROM that doesn't include Office Mobile. I tell you if it doesn't include it, so it should be fairly easy to identify that.
But going into the registry wouldn't be where you'd delete that stuff. You'd find it in the file explorer, \Windows. I'm not sure if you can delete those files though. I'd just flash one of the numerous ROM's that doesn't include Office Mobile, there's many of them.
Office Mobile is in most cases (there are CABs out there, so that you can install it on stirage card) in the ROM and can't be deleted in an easy way. The File Explorer doesn't delete it. Midnight Commander can delete files, which are in the Main ROM, but only use if you know what you're doing! This program can delete all files - important system files, too!
The most easy way is, as ace already said, to flash a rom without Office Mobile. But be careful and read a lot before you flash a new rom! A broken flash may cause a broken phone!
That is one of my biggest fears is bricking my phone and not being able to bring it back. I am currently running SPB Mobile 3.0 and I like that a lot. That is what I would like to run permanently. Maybe when i upgrade or buy a new phone I will practice on my old wing. Thanks guys for the info!
program mem == application mem
storage mem == files on your device
application mem is used by programming which are running nothing else
storage mem is used by files stored on your device
freeing up app mem don't give more storage and virsa versa
Hi
Another quick question by me... Lol, as the title says.
Thanks, again
Depends on the application. Manila sure will since it's basically always running and also adds tons of files to your file system, but other apps will not unless you are running the app actively. Ultimately, the fewer files you have in your rom, the faster it will generally perform. A stripped down rom will be faster than a bloated rom any day (all other factors being equal). Things like HTC Phone Canvas will eat up about 10MB of ram, which will also slow your device, so you could go with the WM stock dialer, but then you lose features. So, you may have to decide which is more important, features or speed.
Zeem... whe you think your quick questions were resolved please change the name of your quick question to solved
indagroove said:
Depends on the application. Manila sure will since it's basically always running and also adds tons of files to your file system, but other apps will not unless you are running the app actively. Ultimately, the fewer files you have in your rom, the faster it will generally perform. A stripped down rom will be faster than a bloated rom any day (all other factors being equal). Things like HTC Phone Canvas will eat up about 10MB of ram, which will also slow your device, so you could go with the WM stock dialer, but then you lose features. So, you may have to decide which is more important, features or speed.
Click to expand...
Click to collapse
Thanks mate That's what I was looking for.
And sure QuePPC
thanks a lot buddy
I disagree here a little.
Cooking in applications doesn't slow down the rom.
It depends on system resources the application is using.
A installed cab after is using system recources as well.
Manila is a bad example to my opinion as it's actually a system itself if you know what I mean.
I don't think lighter roms per definition will perform faster but it's the choice of applications that make the rom fast.
Laurentius26 said:
I disagree here a little.
Cooking in applications doesn't slow down the rom.
It depends on system resources the application is using.
A installed cab after is using system recources as well.
Manila is a bad example to my opinion as it's actually a system itself if you know what I mean.
I don't think lighter roms per definition will perform faster but it's the choice of applications that make the rom fast.
Click to expand...
Click to collapse
I agree with leo here. A bloated ROM will not outperform a light ROM "any day". A bloated ROM with a bunch of services or DLLs that are always loaded in RAM, will generally speaking, perform slower, but THAT's not always the case.
NRGZ28 said:
I agree with leo here. A bloated ROM will not outperform a light ROM "any day". A bloated ROM with a bunch of services or DLLs that are always loaded in RAM, will generally speaking, perform slower, but THAT's not always the case.
Click to expand...
Click to collapse
My benchmark testing of bloated roms vs stripped roms (all other factors being equal) show that bloated roms do in fact benchmark with lower scores than stripped roms. Of course there is a difference between benchmark tests and real world application.
If you don't believe me, perhaps you'll believe bepe, the genius who created the very tools we use for cooking:
http://forum.xda-developers.com/showpost.php?p=3218754&postcount=49
bepe said:
More files in the rom mean slower OS
Click to expand...
Click to collapse
indagroove said:
My benchmark testing of bloated roms vs stripped roms (all other factors being equal) show that bloated roms do in fact benchmark with lower scores than stripped roms. Of course there is a difference between benchmark tests and real world application.
If you don't believe me, perhaps you'll believe bepe, the genius who created the very tools we use for cooking:
http://forum.xda-developers.com/showpost.php?p=3218754&postcount=49
Click to expand...
Click to collapse
That was true with older devices. I'm not so sure that applies to current, modern devices which we cook for. No doubt, bepe is a smart guy, but... all the programmers I've met in my life don't really have a clue about much of anything, BUT what they do... > programming. Da_G would be one exception to that, but they're few and far between.
If I'm not mistaking cooking in a application means there's more available ram because the application is already preserved in rom.
Installing a cab after means it will use more mem as it's loaded completely in ram.
The more ram you use the slower the device.
Cooking in a application in rom shouldn't affect the speed as long as it doesn't use system recources (running the app, ram).
Probably a benchmark right after flash will tell you that the light rom is faster but what about if you start using the rom and a user needs to install cabs because of the apps he's missing?
So on the long therm a 'bloated' rom will gain more speed then the light rom because the apps are already in rom.
Maybe I'm wrong but that's how I always taught about it.
It seems to me that there are two ways to view the question posed by the OP. One is the question of whether cooking in applications slows down the rom vs installing the same applications via cab. The other is whether cooking in more applications slows down the rom assuming that you never cab install the application post flash.
In regards to the question of cooking in vs cab install, I'm not sure why you would think that cab installing would somehow permanently take up ram space, unless by "ram" you're referring to storage space. But consider the fact that with many applications you have quite a bit of initflashfiles.dat code to go along with it. Take one of the most commonly cooked in applications in roms today, Opera Mobile -- here's what my initflashfiles.dat for Opera looks like these days:
Code:
Directory("\Windows"):-Directory("Opera9")
Directory("\Windows\Opera9"):-Directory("profile")
Directory("\Windows\Opera9\profile"):-Directory("help")
Directory("\Windows\Opera9\profile\help"):-Directory("imgcss")
Directory("\Windows\Opera9\profile"):-Directory("images")
Directory("\Windows\Opera9\profile"):-Directory("jsplugins")
Directory("\Windows\Opera9\profile"):-Directory("locale")
Directory("\Windows\Opera9\profile"):-Directory("Settings")
Directory("\Windows\Opera9\profile\Settings"):-Directory("Imgs")
Directory("\Windows\Opera9\profile"):-Directory("skin")
Directory("\Windows\Opera9\profile"):-Directory("styles")
Directory("\Windows\Opera9\profile\styles"):-Directory("images")
Directory("\Windows\Opera9\profile\styles"):-Directory("user")
Directory("\Windows"):-File("Opera9.exe","\Windows\Opera9.exe")
Directory("\Windows"):-File("OperaL.exe","\Windows\OperaL.exe")
Directory("\Windows\Opera9"):-File("Opera_loading_POR_16bit_default.png","\Windows\Opera_loading_POR_16bit_default.png")
Directory("\Windows\Opera9"):-File("Opera_loading_Landscape_16bit_default.png","\Windows\Opera_loading_Landscape_16bit_default.png")
Directory("\Windows\Opera9"):-File("line.png","\Windows\line.png")
Directory("\Windows"):-File("HTC_opera.png","\Windows\HTC_opera.png")
Directory("\Windows\Opera9\profile"):-File("axobjects.ini","\Windows\axobjects.ini")
Directory("\Windows\Opera9\profile"):-File("encoding.bin","\Windows\encoding.bin")
Directory("\Windows\Opera9\profile"):-File("html40_entities.dtd","\Windows\html40_entities.dtd")
Directory("\Windows\Opera9\profile"):-File("input.ini","\Windows\input.ini")
Directory("\Windows\Opera9\profile"):-File("svg_mono.dat","\Windows\svg_mono.dat")
Directory("\Windows\Opera9\profile"):-File("svg_serif.dat","\Windows\svg_serif.dat")
Directory("\Windows\Opera9\profile"):-File("svg_ss.dat","\Windows\svg_ss.dat")
Directory("\Windows\Opera9\profile"):-File("svg-mo.dat","\Windows\svg-mo.dat")
Directory("\Windows\Opera9\profile"):-File("svg-mobd.dat","\Windows\svg-mobd.dat")
Directory("\Windows\Opera9\profile"):-File("svg-moit.dat","\Windows\svg-moit.dat")
Directory("\Windows\Opera9\profile"):-File("svg-sa.dat","\Windows\svg-sa.dat")
Directory("\Windows\Opera9\profile"):-File("svg-sabd.dat","\Windows\svg-sabd.dat")
Directory("\Windows\Opera9\profile"):-File("svg-se.dat","\Windows\svg-se.dat")
Directory("\Windows\Opera9\profile"):-File("svg-sebd.dat","\Windows\svg-sebd.dat")
Directory("\Windows\Opera9\profile"):-File("svg-ssit.dat","\Windows\svg-ssit.dat")
Directory("\Windows\Opera9\profile"):-File("browser.js","\Windows\browser.js")
Directory("\Windows\Opera9\profile"):-File("wml1_entities.dtd","\Windows\wml1_entities.dtd")
Directory("\Windows\Opera9\profile"):-File("xmlentities.ini","\Windows\xmlentities.ini")
Directory("\Windows\Opera9\profile"):-File("user.js","\Windows\user.js")
Directory("\Windows\Opera9\profile\help\imgcss"):-File("bullet.gif","\Windows\bullet.gif")
Directory("\Windows\Opera9\profile\help\imgcss"):-File("help.css","\Windows\help.css")
Directory("\Windows\Opera9\profile\help\imgcss"):-File("logo.png","\Windows\logo.png")
Directory("\Windows\Opera9\profile\help\imgcss"):-File("top_pattern.png","\Windows\top_pattern.png")
Directory("\Windows\Opera9\profile\images"):-File("arrow.png","\Windows\arrow.png")
Directory("\Windows\Opera9\profile\images"):-File("beam.png","\Windows\beam.png")
Directory("\Windows\Opera9\profile\images"):-File("blank.gif","\Windows\blank.gif")
Directory("\Windows\Opera9\profile\images"):-File("cross.png","\Windows\cross.png")
Directory("\Windows\Opera9\profile\images"):-File("delete.png","\Windows\delete.png")
Directory("\Windows\Opera9\profile\images"):-File("drive.gif","\Windows\drive.gif")
Directory("\Windows\Opera9\profile\images"):-File("error.png","\Windows\error.png")
Directory("\Windows\Opera9\profile\images"):-File("file.gif","\Windows\file.gif")
Directory("\Windows\Opera9\profile\images"):-File("folder.gif","\Windows\folder.gif")
Directory("\Windows\Opera9\profile\images"):-File("forward.png","\Windows\forward.png")
Directory("\Windows\Opera9\profile\images"):-File("hand.png","\Windows\hand.png")
Directory("\Windows\Opera9\profile\images"):-File("info.png","\Windows\info.png")
Directory("\Windows\Opera9\profile\images"):-File("link.gif","\Windows\link.gif")
Directory("\Windows\Opera9\profile\images"):-File("move.png","\Windows\move.png")
Directory("\Windows\Opera9\profile\images"):-File("oom.png","\Windows\oom.png")
Directory("\Windows\Opera9\profile\images"):-File("open.png","\Windows\open.png")
Directory("\Windows\Opera9\profile\images"):-File("opwidget.ico","\Windows\opwidget.ico")
Directory("\Windows\Opera9\profile\images"):-File("question.png","\Windows\question.png")
Directory("\Windows\Opera9\profile\images"):-File("reload.png","\Windows\reload.png")
Directory("\Windows\Opera9\profile\images"):-File("stop.png","\Windows\stop.png")
Directory("\Windows\Opera9\profile\images"):-File("trash.png","\Windows\trash.png")
Directory("\Windows\Opera9\profile\images"):-File("wait.png","\Windows\wait.png")
Directory("\Windows\Opera9\profile\images"):-File("warning.png","\Windows\warning.png")
Directory("\Windows\Opera9\profile\locale"):-File("search.ini","\Windows\search.ini")
Directory("\Windows\Opera9\profile\Settings"):-File("settings.html","\Windows\settings.html")
Directory("\Windows\Opera9\profile\Settings\Imgs"):-File("bar_closed.png","\Windows\bar_closed.png")
Directory("\Windows\Opera9\profile\Settings\Imgs"):-File("bar_open.png","\Windows\bar_open.png")
Directory("\Windows\Opera9\profile\Settings\Imgs"):-File("list_btn.png","\Windows\list_btn.png")
Directory("\Windows\Opera9\profile\Settings\Imgs"):-File("txt_fld.png","\Windows\txt_fld.png")
Directory("\Windows\Opera9\profile\skin"):-File("standard_skin.zip","\Windows\standard_skin.zip")
Directory("\Windows\Opera9\profile\styles"):-File("about.css","\Windows\about.css")
Directory("\Windows\Opera9\profile\styles"):-File("cache.css","\Windows\cache.css")
Directory("\Windows\Opera9\profile\styles"):-File("certinfo.css","\Windows\certinfo.css")
Directory("\Windows\Opera9\profile\styles"):-File("config.css","\Windows\config.css")
Directory("\Windows\Opera9\profile\styles"):-File("dir.css","\Windows\dir.css")
Directory("\Windows\Opera9\profile\styles"):-File("drives.css","\Windows\drives.css")
Directory("\Windows\Opera9\profile\styles"):-File("error.css","\Windows\error.css")
Directory("\Windows\Opera9\profile\styles"):-File("history.css","\Windows\history.css")
Directory("\Windows\Opera9\profile\styles"):-File("info.css","\Windows\info.css")
Directory("\Windows\Opera9\profile\styles"):-File("mime.css","\Windows\mime.css")
Directory("\Windows\Opera9\profile\styles"):-File("plugins.css","\Windows\plugins.css")
Directory("\Windows\Opera9\profile\styles"):-File("wml.css","\Windows\wml.css")
Directory("\Windows\Opera9\profile\styles\images"):-File("88c.png","\Windows\88c.png")
Directory("\Windows\Opera9\profile\styles\images"):-File("bar.png","\Windows\bar.png")
Directory("\Windows\Opera9\profile\styles\images"):-File("center.png","\Windows\center.png")
Directory("\Windows\Opera9\profile\styles\images"):-File("folder.gif","\Windows\folder.gif")
Directory("\Windows\Opera9\profile\styles\images"):-File("opera.png","\Windows\opera.png")
Directory("\Windows\Opera9\profile\styles\images"):-File("root.png","\Windows\root.png")
Directory("\Windows\Opera9\profile\styles\images"):-File("top.png","\Windows\top.png")
Directory("\Windows\Opera9\profile\styles\user"):-File("accessibility.css","\Windows\accessibility.css")
Directory("\Windows\Opera9\profile\styles\user"):-File("contrastbw.css","\Windows\contrastbw.css")
Directory("\Windows\Opera9\profile\styles\user"):-File("contrastwb.css","\Windows\contrastwb.css")
Directory("\Windows\Opera9\profile\styles\user"):-File("debugwithoutline.css","\Windows\debugwithoutline.css")
Directory("\Windows\Opera9\profile\styles\user"):-File("disabletables.css","\Windows\disabletables.css")
Directory("\Windows\Opera9\profile\styles\user"):-File("hidecertainsizes.css","\Windows\hidecertainsizes.css")
Directory("\Windows\Opera9\profile\styles\user"):-File("hidenonlinkimages.css","\Windows\hidenonlinkimages.css")
Directory("\Windows\Opera9\profile\styles\user"):-File("imageandlinkonly.css","\Windows\imageandlinkonly.css")
Directory("\Windows\Opera9\profile\styles\user"):-File("nostalgia.css","\Windows\nostalgia.css")
Directory("\Windows\Opera9\profile\styles\user"):-File("showstructure.css","\Windows\showstructure.css")
Directory("\Windows\Opera9\profile\styles\user"):-File("textonly.css","\Windows\textonly.css")
Directory("\Windows\Opera9\profile\styles\user"):-File("userstyle.ini","\Windows\userstyle.ini")
Directory("\Windows\Start Menu\Programs\Internet\"):-File("Opera Browser.lnk","\Windows\Opera Browser.lnk")
So, what does this mean? It means that for every line of code, you have double the files that are needed to actually run this application. What's going on here is that every files gets put in the windows folder and is also copied to the designation specified in the code, which is where it is actually used. There files are in most cases not ever used at all in the windows folder, but there are there nonetheless. I guess a really slick chef would write a provxml that would delete all the duplicates in windows for a really slim rom (that would be a neat trick).
When you cab install these same applications, the files are installed directly the the designated folders, and you don't get duplicate files put in the windows folder like when you cook them in.
I know, you're gonna say "so ok maybe you have some extra files, who cares?" Well, a few extra files are cool but they really do start to add up over time. Take the Manila packages for example. I think that most Manila 2.5 these days is typically over 3000 files. When your device has to run an app that resides in the windows folder, it has to search through all the files that are in the windows folder to find the needed file(s). The more files in the windows folder, the longer it takes to find and load the desired file = fact. How much longer does it take is the real question. Is it something that we can actually perceive, or can it only be found through benchmarking. The point can easily be proven/disproven by any competent chef by doing a Manila build, then disable manila and benchmark. Next build an identical rom without manila and benchmark that rom. I can pretty much guarantee that the rom without manila will out perform the rom that includes manila, even with manila disabled.
The other thing to consider with cab installs vs cooking apps, is that many apps have dll and exe files as modules natively, and when these modules are cooked in, they are loaded into the xip, which obviously occupies xip space and can potentially eat up ram. When you cab install apps, the modules are converted to files in the cab installer, and do not occupy the same xip space. Typically more space in the xip = faster processing and more available ram.
Firstly, awesome replies. Oh and to make my original post more specific, I was basically asking: "Do more files in the ROM make it slower?" But I'm glad that there were other answers
indagroove said:
I guess a really slick chef would write a provxml that would delete all the duplicates in windows for a really slim rom (that would be a neat trick).
Click to expand...
Click to collapse
I'm almost finished with making something much like this an automated process
indagroove said:
Typically more space in the xip = faster processing and more available ram.
Click to expand...
Click to collapse
When do modules go into RAM? And if lots of modules are cooked in, but none to Slot 0, will it still affect overall performance negatively? I remember Da_G saying that with new windows 6.5, we have more freedom when using modules.
seeM_ZA said:
Firstly, awesome replies. Oh and to make my original post more specific, I was basically asking: "Do more files in the ROM make it slower?" But I'm glad that there were other answers
I'm almost finished with making something much like this an automated process
Click to expand...
Click to collapse
It can't be done. Those files are in ROM. The files aren't duplicated they are linked. So there is no a waste of space, only you get a really crowded windows folder.
When do modules go into RAM? And if lots of modules are cooked in, but none to Slot 0, will it still affect overall performance negatively? I remember Da_G saying that with new windows 6.5, we have more freedom when using modules.
Click to expand...
Click to collapse
When you install an application it goes to the "writable part of imgfs" kindof, it is not ram. That was in 2003 era
mac_es said:
It can't be done. Those files are in ROM. The files aren't duplicated they are linked. So there is no a waste of space, only you get a really crowded windows folder.
Click to expand...
Click to collapse
This is the first time I'm seeing this?
mac_es said:
The files aren't duplicated they are linked. So there is no a waste of space, only you get a really crowded windows folder.
Click to expand...
Click to collapse
They appear to be duplicated to me, unless I'm missing something. Look at your opera skin in the Opera9/profile/skin folder. It is the exact same size as the same file in the windows folder.
Okay so atleast that's cleared up...
How exactly do you delete files with a .provxml's? Is it any different to just going and deleting a file with Total Commander? 'Cause when I tried that it didn't work, even after removing system attributes and what not..
Can you remove files from Windows dir?
indagroove said:
They appear to be duplicated to me, unless I'm missing something. Look at your opera skin in the Opera9/profile/skin folder. It is the exact same size as the same file in the windows folder.
Click to expand...
Click to collapse
The only way to get rid of files cooked into windows is with Task 29.
Laurentius26 said:
Can you remove files from Windows dir?
Click to expand...
Click to collapse
We all know we cant.. do that, some apps lets you overwrite some files... and some apps lets you delete some files, i guess is something related to attribs like "system file" or "read only" i dont know exactly.
Farmer Ted said:
The only way to get rid of files cooked into windows is with Task 29.
Click to expand...
Click to collapse
or... flash your device... and unplug it from the pc when the upgrade is in any percentage of progress
I guess this guy is asking the same as me...
Wich Programs use the files in Programfiles directory... and wich programs use the windows path files?
I know all the standalone exe programs can read or are compiled to read files directly from Windows\ and some other have in the registry the path to program files folder and of course subfolders, or simply hardcoded in exe to read in program files.
If you use app.dat you will see that you have the exact files into program files\ and in windows... so yes! is a waste of storage to have them but... most of the programs use that path to work.
Nope I do think they are in ROM and not in RAM so Mac_es is right there are no duplicates.
+ Que PPC said:
We all know we cant.. do that, some apps lets you overwrite some files... and some apps lets you delete some files, i guess is something related to attribs like "system file" or "read only" i dont know exactly.
Click to expand...
Click to collapse