Mp3 ringtones , where is the problem ? - MDA III, XDA III, PDA2k, 9090 General

I know that on Magician(MDA Compact) we can use mp3 as a ringtone . My question is , why we can't do it on MDA III ? Maybe someone have any idea how to fix it, or maybe we have to add something from MDA Compact rom ? Who knows ??

My Magican lost the MP3 as ringtune function..
Found out that associate .mp3 to Windows Media Player got the funktion back .. Used Resco File Explorer to do it.. but any of Ur file associating tool will do the job..
Dont know if it helped ..
Carlis

ok...so where in Registry with Resco do you make the change?
This would be helpful!

WinCE file associations are managed through the registry - here's something which you might find useful, as it describes what's eneded... It's an article I wrote aimed at those writing installers, but it might be useful.
File Associations in Windows CE
File associations in Windows CE are handled through the registry: there is no "user friendly" way to manage file associations built into the operating system. For example, double click on something with a three letter extension that is not managed, and what do you get? A requester telling you to that there's no application associated with the file type, and that you should "run the application first, then open this file from within the application".
Helpful, eh?
The solution is fairly straightforward, but is best off left to either an installation routine or an application initiation routine as it involves adding entries to the registry.
To associate a file with an application, you need to create four entries in the HKEY_CLASSES_ROOT registry hive:
- a mapping between the extension and class name (ie .xyz to xyzfile)
- a class name with description of what that file type is that will mean something to the user (ie xyzfile to "XYZZY data file"
- A pointer to the default icon to use for the class in explorer
- The command with which to open the file type
As an example, let's show adding the ".z5" (Infocom Story file) extension to a machine to be opened by FrotzCE (an infocom interpreter). The following keys would be needed:
HKCR\.z5 with the default value set to "z5game"
HKCR\z5game with the default value set to "Infocom Story File"
HKCR\z5game\DefaultIcon set to the path to FrotzCE, followed by the icon number to use from the file. As an example "\Program Files\FrotzCE\FrotzCE.exe," will use the first icon in the application
HKCR\z5game\Shell\Open\Command set to the path to FrotzCE with any parameters to pass. The filename is stored in the variable %1%, so something along the lines of '"\program files\frotzce\frotzce.exe" %1'.
The best place to set this up is within a CabWiz installation file. One thing to be aware of is the handling of quote marks within CabWiz, and also of % symbols, which are used for internal variables.
Here's an example from the CabWiz INI file for MagnetiCE, which associates .mag files with the installed application:
[RegSettings]
HKCR,.mag,,,magfile
HKCR,magfile,,,"MagnetiCE Game file"
HKCR,magfile\DefaultIcon,,,"%InstallDir%\MagnetiCE.exe,"
HKCR,magfile\Shell\Open\Command,,,""""%InstallDir%\MagnetiCE.exe"""" %%1

Related

CAB file to change File Locations?

I apologize if this is the wrong location for this question. Please move if it is.
I am looking to see if anyone has yet created a CAB file that would modify the File Locations as detailed in the WM5_Tweaks_Other Wiki.
I'm interested in the following tweaks:
Change the location of My Documents
Change the location of email and attachments
Change the location of temporary internet files
The reason I'm asking for a CAB file is so that I can change these automatically when I burn a new ROM without having to install a registry editor each time and make all those registry changes. It's getting old to have to modify those each and every time.
Any assistance would be greatly appreciated!
Greg
As it is only changing keys in the registry, it can be done with a cabfile.
The trial of WinCE CAB Manager can do that.
Dude use Schaps_AdvancedConfig, It has those options plus MANY more.
joshkoss said:
Dude use Schaps_AdvancedConfig, It has those options plus MANY more.
Click to expand...
Click to collapse
Actually it doesn't seem to have all of those. I tried 2.02.1.0. It allows you to change the location of the IE cache and temporary files, but it does not allow you to change "My documents", and it does not allow you to change the location of email and attachments. At least not that I can find.
Maybe I'm blind and not seeing those though. Can you point them out for me please?
Thanks!
Greg
Advanced Config, 1 or 2, is a wonderful tool, but if you make a cab file that takes care of your own preferences all in one go, including ones Adv Config doesn't cover (it can't cover everything) thenit's a good idea.
I did the same thing with an xml file rather than a cab a while ago. All I actually did was edit the pre-existing orange xml file that set up my network connections.
Might be easier than creating a cab as requires no tools but Notepad.
write all the registry tweaks into one single text file, save it as <whatever>.reg and install dotfred's task manager (which is a single exe-file).
this taskmanager can easily imoprt reg-files.
if you need a template for the reg-file's syntax use dotfred's task manager to export the required reg-keys...
Final Result
I have decided to go with the CAB file. It was a BREEZE! And the resulting CAB file is less than 3k, and take just a second to install. In case anyone is interested in it, I am attaching it here. Feel free to request anything in addition as I can add registry entries very easily.
All this small CAB does is set "My Documents" to be on your storage card, and set email and email attachments to your storage card. 3 registry keys added. Nothing more.
Enjoy.

CERegEditor Behaviour ...

I'm trying to convert a mobile registry file to a CAB file. CERegEditor has a feature that does this; however, when I then install the CAB file with the registry tweaks to my Touch HD, any registry tweak with a file path has double backslashes instead of just one backslash in the path.
For example, if I have a REG file with a request to change the file path of a particular key to:
"FileSyncPath"="\Storage Card\My Documents"
Instead, though, when I convert it to a CAB file in CERegEditor, and install it on my phone, I get the following line in the registry:
"FileSyncPath"="\\Storage Card\\My Documents"
As you can see, there are double backslashes.
Any ideas on how to correct this?
Thank you,
Peter

importing registry keys

hey guys, after miri's recent v19 rom release, i've got to the point where manually reinstalling stuff is getting more of a chore than a pleasure, so i've been playing around with sdconfig.txt and self-built .cab files...
however, there are some things i cant configure due to them being in the registry.
so far this is what ive done:
- used 'CeRegEditor' to capture the active registry (both stock rom, and fully configured the way i want it to be)
- compared the 2 files, and saved the output to another file
- copied this file (i've tried both .cereg, and .reg formats) to sd card, and attempted to run. when executed from my HD, the file format is unrecognised and will not import the registry values.
so, what have i missed? why wont a .cereg or .reg file 'install' on my HD?
the idea is to have this registry file in the sdconfig.txt (or a cab, and exec'd from sdconfig.txt), so on hard reset it is a completely 'hands-off' re-install.
Create a Cab file. You can create Cab files that only install registry settings. Take the '2_Way_Plus_InCall_Recording' cab file and build upon that maybe. Edit the '_Setup.xml' to include your registry settings and then you can install them just as you would install a Cab file.
How many registry setting do you want to change?
.reg file is 260 line file - 25kb.
while there seems to be a limit on what the registry is holding, it is configuring some of the more simplier and silly things...
- Device name
- Owner info
- Manila Weather
- power settings
- 'changescreen' app settings (app found on these forums)
- 'HD tweak' app settings (again, found on these forums)
at this point in time, it's more of a proof of concept, rather than finalized version. now i know how to get things working, i can fine tune the reg settings and provision my phone.
it seems 'ceregedit' does not correctly convert reg > XML (or reg > CAB).
however, i found another tool called 'SDConfigGen', which does correctly convert reg > XML. i've been able to use the XML in my sdconfig.txt, which is what i wanted!
while the above reg keys work, it's not an exact build of how i had my phone before...
there are some things i would like to automatically configure:
- pre-configured Wifi profiles (theres maybe 4 AP's i use)
- automatically set 'touchflo 3d' as the default theme.
- a complete hands-off install. (things like pre-setup the HTC auto-configure "sim card change")
- automatically accept a security certificate from our activesync server (i have activesync config in a .cab file, but it requires you to manually click 'yes' to the security cert install box)
im sure a google will help with a few points above!
Ok I'm not sure if you program at all or if this would really easy your pain much but you can download a trial version of Visual Studio 2008. It has a project option to build cab files for ppc devices. Might be worth a look if you have a lot of keys to do. Its not much better than doing them by hand though. I've included a screen shot of VS doing it so you can see. BTW its obviously been scrunched up.
Try this
veehexx said:
hey guys, after miri's recent v19 rom release, i've got to the point where manually reinstalling stuff is getting more of a chore than a pleasure, so i've been playing around with sdconfig.txt and self-built .cab files...
however, there are some things i cant configure due to them being in the registry.
so far this is what ive done:
- used 'CeRegEditor' to capture the active registry (both stock rom, and fully configured the way i want it to be)
- compared the 2 files, and saved the output to another file
- copied this file (i've tried both .cereg, and .reg formats) to sd card, and attempted to run. when executed from my HD, the file format is unrecognised and will not import the registry values.
so, what have i missed? why wont a .cereg or .reg file 'install' on my HD?
the idea is to have this registry file in the sdconfig.txt (or a cab, and exec'd from sdconfig.txt), so on hard reset it is a completely 'hands-off' re-install.
Click to expand...
Click to collapse
I used this to do what your trying to do, it will not import .reg files on the trial version but theres an older version on piratebay that will:
Heres a link to a trial for 30 days: http://www.ocpsoftware.com/products.php?nm=cecabmgr
SDConfig Builder
Hi,
try SDConfig Builder

How do I overwrite a file "in ROM memory"?

There are a number of TP2 tweaks which require the editing or replacement of files - for example, there is supposedly a way of increasing the loudspeaker volume which involves replacing a file called AudioPara3.csv with an edited version. This file sits in the Windows folder.
I'm using Resco File Explorer on my TP2, with the corresponding shell extensions installed on my desktop Windows, but nothing I do will allow me to edit that file. Trying to overwrite it (by dragging the copy into the appropriate Explorer window on my desktop PC) fails, telling me that I don't have the necessary permissions. If I look at the file properties on my TP2, it's set to read-only. If I try clearing the read-only checkbox this looks as if it's going to work, but actually if I go back into properties again, it's still set to read-only. There's another (disabled) checkbox in the properties labeled "ROM" which is ticked - I assume it's this that is causing the problem.
I've also tried renaming the file - that, again, appears to work but what it actually does is to create a duplicate of the file with the new name while leaving the old file intact.
There must presumably be a way of overwriting this file, otherwise no one would have been able to install the tweak!
I have a similar problem with the weather database file - so I can't add in extra locations.
What am I missing?
Try doing it on the TP2 itself with Resco File Explorer. I do not have any problem so far. Not too sure when you use it on the desktop.
weenween said:
Try doing it on the TP2 itself with Resco File Explorer. I do not have any problem so far. Not too sure when you use it on the desktop.
Click to expand...
Click to collapse
Several options in Resco File Explorer failed, but using the Copy To option worked, for some reason.
Don't think it actually made the speakers any louder, though.
You can also try Total Commander (not like it'll make the speakers louder, but for future reference).
Total Commander will work OR you can rename the original file, then copy the new one in.
I recommend (strongly!) the former since if you screw up you can fix it without a hard reset!
What is wrong with this file?
Hello,
I'd like to ask for some expert help.
I finally managed to edit an EXE file from Windows - just translating Japanese text to English. I used the MEditor suite. After saving, I "dropped" the file onto the SignCode.exe as per instructions.
When I transferred the file to its original location and overwrote the original one, I get:
"Cannot open... A critical component is either missing or cannot start because program memory is unavailable...."
I am sure I didn't change anything else but texts. So what could be wrong?
I am attaching the two files - the original and the edited - for someone to please look at them and let me know if there's anything I can do. This is Sharp's Barcode Reader.exe
Thanks!

Any file (from any directory) editing in built-in WP7 Office application

Hi friends. My trying to open file from any (not user) directory, or saving to another place as "My Documents" from buit-in pword.exe has still no success. I cannot solve this problem exactly, the I use temporary copy of file to "My Documents" subdirectory, changing file privilegies, and copying edited file to original path. This way is used automaticky in my Phone Commander beta version http://forum.xda-developers.com/showthread.php?p=28732620#post28732620 , it is working now on fully unlocked systems only. Write, please, your experience and opinion about using built-in Microsoft Office or another apps to discovering and changing WP7 system parts on device. I plane also GCC and GCS port for WP7 (for really quick and usable on-device programming), but writing own text editor may be too long work. I mean hack of built-in Word to be able do syntax-hilighting etc. may be first simply way. M.
XAML problem
When editing XAML, PWord show everything right, but for saving uses Win 1251 (on my Czech localisation) instead unicode. Then, after editing system apps are not able to read edited XAML files. Exists way to save from PWord in unicode, or is necessary to write own texteditor, or is somebody (Ultrashoot?) able to redesign any good WM texteditor for WP7?

Categories

Resources