How to save OPERA Cache, Temp filrs etc to SD Card? - JASJAR, XDA Exec, MDA Pro General

Hi!
Can anyone tell me how to force Opera 8.6 to save all Cache, Temp files etc. on SD Card?
Thanks

Hi, explained by myself there...
http://www.planete-htc.com/index.php?mod=forum&ac=voir&cat=31&id=5514

RE
Let me guess
1) make a copy of opera.ini in "\Application Data\opera\opera.ini" to PC
2) Open and edit With pc WORD program
3) add "Cache Directory4=\Storage Card\(your location)" under [User Prefs]
4) Copy back the Edited opera.ini to PPC "\Application\Data\opera\opera.ini"
Taken from another forum. However, 1 problem. I could not find my opera.ini file
:roll:

Re: RE
FOSA said:
Let me guess
1) make a copy of opera.ini in "\Application Data\opera\opera.ini" to PC
2) Open and edit With pc WORD program
3) add "Cache Directory4=\Storage Card\(your location)" under [User Prefs]
4) Copy back the Edited opera.ini to PPC "\Application\Data\opera\opera.ini"
Taken from another forum. However, 1 problem. I could not find my opera.ini file
:roll:
Click to expand...
Click to collapse
I think "le répertoire" means "the registry", right?

Read http://www.pocketpcmag.com/blogs/index.php?blog=3&p=916&more=1&c=1&tb=1&pb=1 , it explains EVERYTHING.

RE
OK, found the opera.ini file. Its actually the opera file
My opera cache is working well on my SD card
Thanks

try search relocate opera, is somewhere in general if I remember

Related

How do I change welcomehead.96.png?

I'm writing a little tool to restore my settings after a hard reset.
One of the problems I've run into is that I can't "overwrite" the splash screen image in the windows folder.
I'm using visual basic and the "file.copy" command.
Does anyone know how to overwrite this file (and probably also other files in "rom")? Would an api function to copy the file work better?
Total Commander, and MortScript, succeeds in copying another file to \windows\welcomehead.96.png, so there must be a way
B
Let me give you some hints:
1. You must edit ROM to change files.
2. Please go to URL
http://forum.xda-developers.com/viewtopic.php?t=34171
on2003 said:
Let me give you some hints:
1. You must edit ROM to change files.
2. Please go to URL
http://forum.xda-developers.com/viewtopic.php?t=34171
Click to expand...
Click to collapse
OK. I'll Rephrase my question:
I want to write a program to copy the file:
\storage card\welcomehead.96.png
to:
\windows\welcomehead.96.png
on a WM5 device. I'm not interested in editing the rom.
I know it's possible to write a program that can copy the file, since both total commander for PPC can do it and MortScript can do it.
It does not work when using "file.copy" in visual basic. So i'm asking if anyone knows if there's an API function I can use to do it, or if there is some other way to do it.
"Cooking a new rom" is not an option for me. Because:
I want to be able to use whatever rom i want, and I am making a tool which i can run to do the following after a hard reset (or rom upgrade):
- copy files (typically shortcuts to progs intalled on the storage card, files in my documents etc.) from the storage card to the device
- set registry entries the way I want them
- install the cab files I want "automatically"
I've got it all sorted, except that it bombs when i try to copy the file "welcomehead.96.png" to the windows folder.
B
bredita said:
on2003 said:
Let me give you some hints:
1. You must edit ROM to change files.
2. Please go to URL
http://forum.xda-developers.com/viewtopic.php?t=34171
Click to expand...
Click to collapse
OK. I'll Rephrase my question:
I want to write a program to copy the file:
\storage card\welcomehead.96.png
to:
\windows\welcomehead.96.png
on a WM5 device. I'm not interested in editing the rom.
I know it's possible to write a program that can copy the file, since both total commander for PPC can do it and MortScript can do it.
It does not work when using "file.copy" in visual basic. So i'm asking if anyone knows if there's an API function I can use to do it, or if there is some other way to do it.
"Cooking a new rom" is not an option for me. Because:
I want to be able to use whatever rom i want, and I am making a tool which i can run to do the following after a hard reset (or rom upgrade):
- copy files (typically shortcuts to progs intalled on the storage card, files in my documents etc.) from the storage card to the device
- set registry entries the way I want them
- install the cab files I want "automatically"
I've got it all sorted, except that it bombs when i try to copy the file "welcomehead.96.png" to the windows folder.
B
Click to expand...
Click to collapse
You just have to overwrite the existing file...
1. Open the file
2. Write data
3. Close
Cheers,
.Fred
You just have to overwrite the existing file...
1. Open the file
2. Write data
3. Close
[/quote]
Thank you very much for your reply. I'll try that
B

ReLoad v0.1 Beta

ReLoad
This is a MortScript script written to simplify reinstalling cab files, and restoring files back to the device from a zip file on the trinity.
More information about MortScript at http://www.sto-helit.de
-v.01 Initial Release
Known Issues
-Cab files that initiate the installation of another cab file ie.Wisbar Advanced
-How to setup:
1)Extract Reload.rar to your storage card.
2)Place cab files in the CabsAuto folder if you want to the cab to be automatically installed to the device (installation to automatically install to the storage card is currently not available).
3)Place cab files in the CabsManual folder if you want to be able to choose where to install the cab.
4)Place file in the Backup.zip file that you want to be restored.
ie. If you wanted example.jpg to be placed in the \Windows folder, place example.jpg in the Windows folder of the zip file.
*Please note that the cab files placed in the CabsAuto folder need to conform to only asking the user for the installation destination, then showing installation successful/unsuccessful. Otherwise you might encounter some
problems. You should place cabs that don't conform in the CabsManual folder, or adjust these cab files with programs such as WinCE CAB Manager.
-How to use:
1)In the Reload folder, execute Run1st. Click ok the the window that pops up. This just installs MortScript
2)Execute Run2nd. This will initiate the script that will first install the CabsAuto, then CabsManual, and finally restore the files in the zip file.
Use at your own risk.
Download
http://rapidshare.com/files/29964511/Reload.rar.html
Thx, that's a good idea.
is there a way to have it restore registry entries from a .reg file?
Is there a way to install certain cab files on RAMDisk/Storage card without individually clicking the install option??
@racerx_
Currently there isn't a way to restore the reg file directly. But you can create a cab from the reg file and then have that cab automatically installed.
MortScript wasn't able to read in the reg files i saved with resco explorer, so I gave up on doing it this way. For right now the easiest way is to create a cab file with WinCE Cab Manager.
@c_shekhar
The best way to install the program to the Storage Card, backup the reg (and any possible files installed on rom), then create a cab from this.
This post has alot of good information on this.
http://forum.xda-developers.com/showthread.php?t=277727
yeah, i've been trying like a madman to get win ce cab manager to make a cab of my .reg file.. but when i click on 'import' and try to grab the .reg file it tells me it's only for registered versions of the program.. is there another way i'm not seeing? cause right now the only other options i see for registry entries is to manually create them one by one which doesn't sound very exciting hah
thanks for the help..
@racerx
What OS and version of WinCE Cab Manager are you running. I heard of some problems with the newest version of WinCE Cab Manager with Vista. I am running version 2.1.0.35.
If that isn't it, you might have run the program past its initial trial use.
hmm.. Win Ce CabManager is 2.1.0.50 running on xp.. still got 17 uses left.. sigh..
Maybe i missed something. Just in case, what button or command are you using to get your .reg file into WinCE? I was using the 'file' 'import' command.
@racerx
That's the same way I do it. I would find an older version and try it again.
Reload V0.2
I made a couple of changes to the script for a rom we are going to be releasing soon...it checks if Backup.zip exists and only does the unzip if it does...I also added a SDBackup.zip for files to unzip to Storage card (specifically exe's and dll's I've already upx'd to shrink them but reinstalling the cabs replaced them again so this puts them back)....
#ReLoad
#v.02 Initial Release
#Use at your own risk.
#v.02 Extract files from SDBackup.zip to Storage Card
If(Question("Do you want to ReLoad?", "Reload 0.2", "YesNo")="No")
EXIT
EndIf
Run("Storage Card\ReLoad\Bin\Message_Running.mscr")
RegWriteDWord("HKLM", "Comm", "AutoRunFlag", "0")
RegWriteString("HKLM", "Comm", "AutoRunCFG", "\Storage Card\ReLoad\CabsAuto\Config.txt")
#Create Config File
Delete("\Storage Card\ReLoad\CabsAuto\Config.txt")
WriteFile("\Storage Card\ReLoad\CabsAuto\Config.txt", "SHOW:\Storage Card\ReLoad\Bin\ReLoad.bmp^NL^")
ForEach x in files { "\Storage Card\ReLoad\CabsAuto\*.cab" }
WriteFile("\Storage Card\ReLoad\CabsAuto\Config.txt", "CAB: ", 1)
WriteFile("\Storage Card\ReLoad\CabsAuto\Config.txt", x, 1)
WriteFile("\Storage Card\ReLoad\CabsAuto\Config.txt", "^NL^", 1)
EndForEach
#CabsAuto Install
RunWait("\Storage Card\ReLoad\Bin\AutoRun.exe")
#CabsManual Install
ForEach x in files { "\Storage Card\ReLoad\CabsManual\*.cab" }
RunWait(x)
EndForEach
If (FileExists("\Storage Card\ReLoad\Backup.zip") )
#Restore files from zip to main storage
UnzipAll("\Storage Card\ReLoad\Backup.zip", "")
EndIf
If (FileExists("\Storage Card\ReLoad\SDBackup.zip") )
#Restore files from zip2 to storage card
UnzipAll("\Storage Card\ReLoad\SDBackup.zip", "\Storage Card\")
EndIf
KillScript("\Storage Card\ReLoad\Bin\Message_Running.mscr")
If(Question("Finished ReLoading.^NL^Do you want to reset?", "Reload 0.2", "YesNo")="No")
Exit
EndIf
Reset
Very good soft, it works nice !!
The only difficulty for the french users is to replace in the script "Storage Card" by "Carte de stockage"
Thx men for this !!!
Nice soft,
I could use FAMAN WM6 on my trinity now !
French translation and modification is (seem to be) ok.
Just wait the OK from the boss and I'll give you !
Edit : Why don't you use the LOCK:Enabled in the header and LOCKDisabled on the end of the config file ? Thxs in advance.
I use SettingsSavior on my Trinity mainly for its similar auto-install functionality
Hello,
Thank you for this very useful tool
My .cab are removed after using Reload. How can I keep my .cab on my SD after a new installation ?
Thank you for your help.
Guillaume
__________________
SPV M700
FAMAN 4.03.FR
1.50.08.11
2.79.7020.19H
can this software reinstall cabs, copy skin files in programs installation directory (eg pocketcm skin) and reconfigure mail and exchange accounts ?
OOPS delete this post.

Relocating cache/history/cookies locations in PIE and Opera Mobile

My unit has been freezing up after some use. When that happens, my TenGO input method reverts back to the default tiny keyboard, which of course is unuseable in true VGA mode. I traced the problem to the fact that my browser had stored lots of files within the device and caused the memory availability to fall, depriving it from the programs.
I changed these browser files location to the SD card, and my TenGo input method right away came back by itself. The system also revert back to the normal quick speed.
None of these ideas originated from myself. There are many websites giving these tips.
Changing the IE brower cache, cookies, and history location:
---------------------------------------------------------
The IE working files are by default located at :
\windows\profiles\guest\temporory internet files
\windows\profiles\guest\Cookies
\windows\profiles\guest\history
First, use Files Explorer to create these directories at storage card:
\windows\profiles\guest\temporory internet files
\windows\profiles\guest\Cookies
\windows\profiles\guest\history
Then Use a registry edit tool,go to
\HKCU\Software\Microsfot\Windows\CurrentVersion\Explorer\Shell Folders and change the Cache,Cookies, and History value to \Storage Card\Windows\Profiles\Guest\Temporary Internet Files,..... etc
If you prefer not to edit the registry directly youself, you could alternatively, use SKtools (I use version 3.1.5) to do the following:
Start SKTool, then click Tuning
The first tab shows the current location of the above. Change it to the new locations: ie
Storage Card\windows\profiles\guest\temporory internet files
Storage Card\windows\profiles\guest\Cookies
Storage Card\windows\profiles\guest\history
Exit SKtools
Switch off the device for about 20 seconds before doing a reset. It is important that you do not do reset right away else the registry entry may not be effected. The switching off will cause the system to write out the new registry entries.
With that, its done for Internet Explorer.
Changing the Cache, cookies, and history location for Opera Mobile
----------------------------------------------------------------
Ensure Opera is not running before you begin.
First,create these directories using file explorer:
\Storage Card\Application Data\Opera
\Microdrive\My Documents
Then, copy Cache4, cacheOp Help imgcss skin strtpage style directories to \storage card\Application Data\Opera.
After the copying is verified to be accurate, clean the content in the above directories in the device, but leave the directory structure there (with empty content) just in case.
Then, transfer these files from device to storage card by cutting these file from device and pasting to storage card
-browser
-chartables
-cookies4
-global
-htm40_entities
-opcacrt6
-opera.dir
-operand
-opssl6
-vlink4
Leave these in device directory :
-brwoser
-de
-englihs
-html40.entities
-input
-ja
-nl
-opera.ini
-opera6.adr
-pl
-ru
-zh-cn
-zh-tw Note: I think this list of languages differ from country to country. Notice that I've replicated browser and html40.entities in both location because none of the websites I read mentioned them. I leave them at both location to ensure it will still work, but I'd later on tried removing them from one location at a time to establish where Opera would look for these files.
Make changes to Opera.ini file
----------------------------
Initially, I tried to use Note application to open Opera.ini, but found out that it can't seem to "see" the file. Same goes for Pocket Word. I could'nt find the solution from other website, so I decided to use the desktop notepad text editor to edit it.
a) Establish activesync, on PC, use explore button to copy from device\Application Data\Opera to say the desktop.
b) Use the desktop notepad to open the Opera.ini file, and make the following changes to these entries:
- Opera Directory=\Storage Card\Application Data\Opera
- Help Directory=\Storage Card\Application Data\Opera\Help
- Button Set=\Storage Card\Application Data\Opera\skin\windows_skin.zip
- Download Directory=\Microdrive\My Documents
- Home URL=\Storage Card\Application Data\Opera\startpage\home.html
c) Then save the document as Opera.ini, and make sure encoding is UTF-8
d) Copy back the edited Opera.ini from desktop to the Device's main memory. i.e \Application Data\Opera
Its done.
I'll continue to monitor the device performance over the next few weeks and see if the freezing still happens.
Isn'teasier just to use the .cabs available for free from MoDaCo?
Confucious said:
Isn'teasier just to use the .cabs available for free from MoDaCo?
Click to expand...
Click to collapse
Hi confucious,
I'm not aware of a CAB that automates this. Could you post the link for the CAB?
Anything that makes life simpler is welcome.
PIE in this thread -> http://www.modaco.com/Pauland39s-must-have-FREE-Hermes-software-t243906.html
Opera here -> http://www.modaco.com/index.php?showtopic=253909&hl=opera
HTH

How to change size and location of Operas cache?

Anyone know how? It won't let me increase the size beyond 10megs. I would also like to move the storage to my "external storage".
go to \Windows\Opera9\
Copy Opera.ini into ur PC
open it with your Notepad
add "Cache Directory4=\Internal Storage\" without quotes under [User Prefs]
Save it, copy it back to your PDA and overwrite the existing Opera.ini
That should do the trick..

opera memory problem

good day
can someone tell me how to move the cahe folder of opera browser from the phone memory to the card memory i have an hd blackston wm 6.1
thanks
Hi there,
you can try the following (sourced from mobilitysite.com):
Move data and cache around to save memory
By default Opera installed a bunch of files and keeps cache in precious application data space (RAM). At least with the WM2003se version. By moving all of these files to a CF Card or SD memory stick you free up valuable RAM.
1) Edit the "Opera.ini" file located in "\Application Data\Opera"
2) Go to the "[User Prefs]" group
3) Change "Opera Directory=\Application Data\Opera" to a location that you would prefer such as "\cf card\opera"
4) Change "Help Directory=\Application Data\Opera\Help" to a location that you would prefer such as "\cf card\opera\help"
5) Move the following files and folders to the location that you specified above:
cach4 (folder)
help (folder)
imgcss (folder)
startpage (folder)
styles (folder)
chartables.bin
cookies4.dat
global.dat
opcacrt6.dat
opera.dir
oprand.dat
opssl6.dat
viger.dat
vlink4.dat
You are left with these files/folders in "\Application Data\Opera"
skin (folder)
opera6.adr
input.ini
opera.ini
english.lng
Mastoid said:
Hi there,
you can try the following (sourced from mobilitysite.com):
Move data and cache around to save memory
By default Opera installed a bunch of files and keeps cache in precious application data space (RAM). At least with the WM2003se version. By moving all of these files to a CF Card or SD memory stick you free up valuable RAM.
1) Edit the "Opera.ini" file located in "\Application Data\Opera"
2) Go to the "[User Prefs]" group
3) Change "Opera Directory=\Application Data\Opera" to a location that you would prefer such as "\cf card\opera"
4) Change "Help Directory=\Application Data\Opera\Help" to a location that you would prefer such as "\cf card\opera\help"
5) Move the following files and folders to the location that you specified above:
cach4 (folder)
help (folder)
imgcss (folder)
startpage (folder)
styles (folder)
chartables.bin
cookies4.dat
global.dat
opcacrt6.dat
opera.dir
oprand.dat
opssl6.dat
viger.dat
vlink4.dat
You are left with these files/folders in "\Application Data\Opera"
skin (folder)
opera6.adr
input.ini
opera.ini
english.lng
Click to expand...
Click to collapse
i didnt know what do you mean by edit (opera.ini)) is their any cab file without doing all this? thanks for trying helping me
abiis said:
i didnt know what do you mean by edit (opera.ini)) is their any cab file without doing all this? thanks for trying helping me
Click to expand...
Click to collapse
Try connecting via Activesync on your PC to locate the Opera.ini file, not through File Explorer, Resco Explorer, or Total Commander. If you still cannot find the file, on your PC, go to the Control Panel, Folder Options. In Folder Options on the View tab, under Hidden Files and folders, select the Show Hidden Files and Folders radio option, click OK.
1.Connect your phone to your computer, and connect to ActiveSync.
2.Open the ActiveSync window, then click the Explore Device button.
3.Navigate to \Application Data\Opera 9.x.
4.Find the opera.ini file (If you don't have file extensions enabled, it should just show as "opera".)
5.Copy the file to your desktop.
6.Open the file in a text editor, such as Notepad. Immediately do a File>Save as and rename the file to something other than opera.ini. This is your backup, just in case.
7.Now open the original opera.ini file. Scroll down to the [User Prefs] section and insert the following line: Cache Directory4=\Storage Card\operacache\. (Note: "operacache" can be renamed to anything you want.) Save and close the file.
8.Copy the new file back to your device, into the same \Application Data\Opera 9.x.
I'm not aware of any other ways to get around this.
mastoid said:
try connecting via activesync on your pc to locate the opera.ini file, not through file explorer, resco explorer, or total commander. If you still cannot find the file, on your pc, go to the control panel, folder options. In folder options on the view tab, under hidden files and folders, select the show hidden files and folders radio option, click ok.
1.connect your phone to your computer, and connect to activesync.
2.open the activesync window, then click the explore device button.
3.navigate to \application data\opera 9.x.
4.find the opera.ini file (if you don't have file extensions enabled, it should just show as "opera".)
5.copy the file to your desktop.
6.open the file in a text editor, such as notepad. Immediately do a file>save as and rename the file to something other than opera.ini. This is your backup, just in case.
7.now open the original opera.ini file. Scroll down to the [user prefs] section and insert the following line: Cache directory4=\storage card\operacache\. (note: "operacache" can be renamed to anything you want.) save and close the file.
8.copy the new file back to your device, into the same \application data\opera 9.x.
I'm not aware of any other ways to get around this.
Click to expand...
Click to collapse
hi
one more question plz if i do this steps will opera browser have speed problems thank you for helping me
abiis said:
hi
one more question plz if i do this steps will opera browser have speed problems thank you for helping me
Click to expand...
Click to collapse
Hi Abiis,
Yes. Unfortunately, this will affect the speed of your browser. I'm not saying you should try this, all I have done is posted a possible solution in reference to your query. I personally wouldn't recommend putting the cache on the storage card as this will result in slowing down the browser and possibly make it crash more often.
It is entirely up to you whether you try this but if you do not want a slow and laggy browser, then I would suggest you avoid doing this.
Good luck
Mastoid said:
Hi Abiis,
Yes. Unfortunately, this will affect the speed of your browser. I'm not saying you should try this, all I have done is posted a possible solution in reference to your query. I personally wouldn't recommend putting the cache on the storage card as this will result in slowing down the browser and possibly make it crash more often.
It is entirely up to you whether you try this but if you do not want a slow and laggy browser, then I would suggest you avoid doing this.
Good luck
Click to expand...
Click to collapse
HI Mastoid
thank you for your help thats what i want to know and thanks for your time you helped me a lot thanx bro
good day
abiis said:
HI Mastoid
thank you for your help thats what i want to know and thanks for your time you helped me a lot thanx bro
good day
Click to expand...
Click to collapse
No problem man, anytime
solution found, thread closed by request

Categories

Resources