connection player - video file - Windows Mobile Development and Hacking General

hello.
I don't know if this is correct section!
I have a problem!
I want use mortscript to manage my favourite player: TCPMP!
Now I have this problem:
for example I associate avi extention from HKCR\Avifile\shell\open\command key (default), with script(exe connected to mscr script), setting in that key value "my script.exe" "%1" (I understood that %1 represents connection between exe and file on which you click)
In this mscr script I have for example this line
Run("\Programmi\TCPMP\player.exe")
When I click on an avi file(associate with my script.exe), start TCPMP(because start script that runs tcpmp) but video doesn't play!
Maybe because connection point between exe(in this case script that execute tcpmp and NOT TCPMP) and file doesn't work if I use TCPMP running in a script!
Solution is understand path file when I click on file.
In this manner I can use in my script this function
Run("\Programmi\TCPMP\player.exe", path_video_file)
BUT HOW CAN I GET THIS PATH (OR STREAMING LINK) TO PASS IT TO RUN FUNCTION IN MY SCRIPT?
I didn't find any function to do this in mortscript guide
I didn't find also nothing in wm registry!
I did this question in mortscript official forum but noone reply to me!
I hope that there is a easy solution
thanks

..........

please use the Q&A section instead.
thank you

Related

HTC Home - replace Windows Media Player with TCPMP

Hi fellas,
any hint how to make such change
I was stfg for a while and found someone on XDA asking the same question, but got no reply at all
I have seen Dutty made something with it in his SupaLite rom but more details would be great
Thanks,
Gabriel
Yes, it's possible.
I replaced my (Videos) with (TCPMP) by modifying the registry:
HKLM\HTC\Biotouch\MediaHubMini\App1_3
Change Path from
\Windows\HTCAlbum.exe
to
\Program Files\TCPMP\player.exe
Change Param from
-mode:camera -type:video
to
(null)
Soft-reset.
Same thing can be done for Music, Photos icons, or other applications (ie. IE, CommManager,...) with HKLM\HTC\Biotouch\APLauncher and appropriate APPx registry.
This doesn't make sense since the change you're suggesting refers to the program htcalbum.exe instead of windows media player...wouldn't this just route all calls to htc album to tcpmp instead of rerouting everything that would normally go to WMP to TCPMP? Or am I a douche?
My solution is referring to the TouchFlo (sorry if it was confusing/misleading)
mr_ding said:
My solution is referring to the TouchFlo (sorry if it was confusing/misleading)
Click to expand...
Click to collapse
Search for an app called Cube Config tool.
Anybody have the solution?
I'm interested too!
THX!
I'm too.
I posted something in the other post here #10 :
http://forum.xda-developers.com/showthread.php?t=359973
THX
quick and dirty
hi,
here is a quick and dirty solution i made some minutes ago for my self.
copy all files from the tcpmp dir to the windows folder.
rename player.exe to wnplayer.exe
install mycert_cert.cab file and replace the htcalbum.exe with the one in the rar file.
now the htcalbum should open videos with the tcpmp.
regards stavro
???
What RAR file?
^^ sorry my mistake, here is the rar file

[APP][18.11.2008] Manila2D patcher -> SSMaPa2D version 0.2.2.1 [abadoned/read]

[size=+2]SSMaPa2D no more continued[/size]
Take the SSMaPa version. its customized also for manila2d.
http://forum.xda-developers.com/showthread.php?p=2400995
---------------------------------------------------------------------------------------
[size=+0][18/11/2008] SSMaPa2D (Alpha) 0.2.2.1 (18/11/2008)[/size]
Hi guys,
simple Manila2D patcher -> SSMaPa2D version 0.2.2.1
this version is only for Manila2D devices! For Manila3D use this link:
http://forum.xda-developers.com/showthread.php?p=2400995
please test it and let me know if there are bugs…
Patch options:
.) Replace Calender
.) Replace Mail
.) Replace Opera
.) Replace Camera
.) Time Click Man2d
.) Bluetooth Settings
Note: extended Init not possible at the moment. If someone facing UnauthorizedAccessException tell here.
How does it work ?
1.) Copy SSMaPa2D.exe to pda and start it.
2.) Press "Init"
3.) Under settings – click on description line what you want to change
4.) Then change the program what you want in fields below + click on "patch" + "save"
5.) Under deploy – click "Deploy".
After that you can exit the program.
If your files are signed, you're asked if you want to unsign them.
Please note, I didn't find a way to remove the signatures in a 'correct' way. I do an exe-based-deactivating. This is ok, as long as you don't want to resign them. If you want to resign them with your own certificate chose no and do it by hand.
Also I didn't have a manila2d testdevice... So it was a little bit difficult to test the application, but I had a motivator and beta tester
Thank you camel (camro)!
Please donate for me! I'm a apprentice and use a lot of my free time for working on the computer, to be able to create such tools.
[size=+2]Thank you [/size]
Received Donations:
none for SSMaPa2D
Cu sven
Version 0.2.2.1 (18/11/2008)
- First release
--> Excuse the Versionnumber. It's because of the paralell-developement from SSMaPa and SSMaPa2D
-- reserved --
I must be doing something wrong; I don't have anything showing up under the description line.
fredcatsmommy said:
I must be doing something wrong; I don't have anything showing up under the description line.
Click to expand...
Click to collapse
strange.
if others have same problem, post here and mail me your manila2d.exe...
thank you
I like the idea of this, but I am having a problem. When I select a description to edit and then select the ..., although all folders is selected, not all of them are showing up. I am missing Program Files, Windows, etc. Looking forward to a fix for this.
this is a "file explorer" related problem.
ex:
1.) please check the link file of creating of a "new appointment" on thumbal folder in start menu with a file browser (ex: total commander resco explorer)
2.) copy the string from there then to m2d patcher . the same on paramter - i (have tested it) and it works
@sven - maybe you can post a screen shot of the gui on first posting.
camro said:
this is a "file explorer" related problem.
ex:
1.) please check the link file of creating of a "new appointment" on thumbal folder in start menu with a file browser (ex: total commander resco explorer)
2.) copy the string from there then to m2d patcher . the same on paramter - i (have tested it) and it works
@sven - maybe you can post a screen shot of the gui on first posting.
Click to expand...
Click to collapse
I realize I can create the path manually or copying it from a link, but I would much rather be able to browse to the file I want and have the app create the path . I use Resco File Explorer, so getting the full path is no issue. Thanks.
It seems I can only assign the software in the storage card. Is there any way for me to assign the software in the main memory ?
chihliouma said:
It seems I can only assign the software in the storage card. Is there any way for me to assign the software in the main memory ?
Click to expand...
Click to collapse
you can copy the software the every location and you can start the software from every location.
if you need this very often - create a link to the exe and move it to your start menu folder - thats it
@browing with the file explorer extension.
i know that there is somewhere an extra plugin for browsing easier to folder directions.... maybe somebody can do a search under xda...
camro said:
@browing with the file explorer extension.
i know that there is somewhere an extra plugin for browsing easier to folder directions.... maybe somebody can do a search under xda...
Click to expand...
Click to collapse
Use FileDialogChanger / gsgetfile.dll for a better filedialog
http://www.geocities.co.jp/SiliconValley-Cupertino/2039/
take the english and not the japanese version
How to point to Day view, Task .. shortcut of ThumbCal ?!
I just copy all path (view the Task.lnk, Dayview.lnk ... by Resco Explorer) but it say error !
shpy said:
How to point to Day view, Task .. shortcut of ThumbCal ?!
I just copy all path (view the Task.lnk, Dayview.lnk ... by Resco Explorer) but it say error !
Click to expand...
Click to collapse
don't copy the whole path.
enter only the exepath, then do the arguments in argument box.
for example:
exe: \Interner Speicher\Programme\ThumbApps\ThumbCal\ThumbCal.exe
argument: -i
working dir: \Interner Speicher\Programme\ThumbApps\ThumbCal\
cu
sven
svenso said:
don't copy the whole path.
enter only the exepath, then do the arguments in argument box.
for example:
exe: \Interner Speicher\Programme\ThumbApps\ThumbCal\ThumbCal.exe
argument: -i
working dir: \Interner Speicher\Programme\ThumbApps\ThumbCal\
cu
sven
Click to expand...
Click to collapse
Please, can you make Task, Day view of Thumbcal work ?! I done exactly what you wrote above but it's not work. (changed the path, and i can make Thumbcal work.)
svenso said:
Use FileDialogChanger / gsgetfile.dll for a better filedialog
http://www.geocities.co.jp/SiliconValley-Cupertino/2039/
take the english and not the japanese version
Click to expand...
Click to collapse
Ok, I guess I can make you easier here. Download the attachment and unzip and copy inside 2 files (you should choose "show all files" option when using the file explorer) into \windows.
After that, go to Settings/System tab, then you should see "File dailog Changer". Enter the software, and choose the "Exchange Standard File Dialog, click "add". Now it should trigger the shield feature of file browser for SSMAPA2D now.
Now you can assign the software as you want by using SSMAPA2D.
Nothing showing up under "Settings" tab
Hi,
INIT seems to work but the settings tab is empty and I cannot add or change anything.
Any ideas?
What am I doing wrong?
Regard,
John
jhuppertz said:
Hi,
INIT seems to work but the settings tab is empty and I cannot add or change anything.
Any ideas?
What am I doing wrong?
Regard,
John
Click to expand...
Click to collapse
do you have a cooked rom?
svenso said:
do you have a cooked rom?
Click to expand...
Click to collapse
Yep, this one http://forum.xda-developers.com/showthread.php?t=416636
jhuppertz said:
Yep, this one http://forum.xda-developers.com/showthread.php?t=416636
Click to expand...
Click to collapse
I don't know exactly why, but cooked rooms can cause problems..
I don't have the time to flash all posssible roms and check if ssmapa works..
sorry
This is the path of task.lnk of Thumbcal:
".../thumbcal.exe" task?thumbcal....
So, what and where should i type in :
New program:
Arguments:
Working Dir:
??
shpy said:
This is the path of task.lnk of Thumbcal:
".../thumbcal.exe" task?thumbcal....
So, what and where should i type in :
New program:
Arguments:
Working Dir:
??
Click to expand...
Click to collapse
new program: full path to thumbcal is the simpliest thing...
search for thumbcal.exe. In this format: "/programs/myprogram/myprog.exe"
arguments: task?thumbcal....
working dir: full path to thumbcal is the simpliest thing (but don't add the exename, only "/programs/myprogram/" not "/programs/myprogram/myprog.exe"
cu sven

[Updated] MPlayer for all device (latest svn)

Hi here is the latest MPLAYER for windows mobile it would run on almost all device
Instructions :
Install cab and click on mplayer icon. Use joystick for menu navigation
It support all codecs and you can customize it easily by editing
menu.conf for Menu Items
input.conf for key encodings
codecs.conf for codec related things
Limitation:
1. While playing it is not possible to hide mplayer window [SDL issue]
2. No UNICODE support. Support is not in cegcc so I am not able to do anything right now may be i will modify cegcc later.
In progrss:
1.real file support [90% done]
2.Directx support [50% done , if you want use directx edit config file and replace vo=sdl to vo=directx:noaccel and fs=1]
3.wma support [100% forgot to include in this release will add in next build]
[Note : all config files are in \My Documents\mplayer\ folder]
Log:
1. If you face any problem please send log.txt file from \Storage Card\ folder
Very Important:
1. Pls donate if you like my work
Click Here to donate
Download :
http://rapidshare.com/files/238300198/mplayer.cab.html
Placed everything in the right place and gave it a run. I have a Samsung Omnia with a WinMo 6.1 rom.
I noticed I doesn't seem to suport uniconde. The "Storage Card" drive is called "Cartão de Memória" in my localization and mplayer crashes everytime I tried to launch it... Really hope you fix this one. Also hope you add a simple GUI soon.
Also may I suggest that the file that need to be placed in the "My documents" folder be placed in the same folder as the mplayer.exe instead.
And please release the source.
doesent work for me, i tried to open AVI Files and MP3's too
this is the log file i have :
Code:
MPlayer SVN-r29318-4.1.0 (C) 2000-2009 MPlayer Team
135 audio & 296 video codecs
Playing \Storage.
File not found: '\Storage'
Failed to open \Storage.
Playing Card\Movies\Heroes_-_S01-_E05_-__Hiros_PocketPC.avi.
File not found: 'Card\Movies\Heroes_-_S01-_E05_-__Hiros_PocketPC.avi'
Failed to open Card\Movies\Heroes_-_S01-_E05_-__Hiros_PocketPC.avi.
Is there a GUI? Because I can't see anything when I launch it...
Click to expand...
Click to collapse
to run mplayer you need file explorer which support open with.
select media file and open with mplayer if you execute mplayer.exe directly nothing happen
Click to expand...
Click to collapse
There You have your answer
I noticed I missed that. I was already editing my post when you replied
Also just tried an FLV1 file from my device memory (from "Cartão de memória didn't work). At first the file wouldn't play but then I used WVGAFIX3 to change my device resolution from WQVGA to QVGA and it worked. Seems like it deslikes wide screens.
ather90 said:
doesent work for me, i tried to open AVI Files and MP3's too
this is the log file i have :
Code:
MPlayer SVN-r29318-4.1.0 (C) 2000-2009 MPlayer Team
135 audio & 296 video codecs
Playing \Storage.
File not found: '\Storage'
Failed to open \Storage.
Playing Card\Movies\Heroes_-_S01-_E05_-__Hiros_PocketPC.avi.
File not found: 'Card\Movies\Heroes_-_S01-_E05_-__Hiros_PocketPC.avi'
Failed to open Card\Movies\Heroes_-_S01-_E05_-__Hiros_PocketPC.avi.
Click to expand...
Click to collapse
use "enclose path in quotes" option if you are using resco explorer
frmariam said:
Placed everything in the right place and gave it a run. I have a Samsung Omnia with a WinMo 6.1 rom.
I noticed I doesn't seem to suport uniconde. The "Storage Card" drive is called "Cartão de Memória" in my localization and mplayer crashes everytime I tried to launch it... Really hope you fix this one. Also hope you add a simple GUI soon.
Also may I suggest that the file that need to be placed in the "My documents" folder be placed in the same folder as the mplayer.exe instead.
And please release the source.
Click to expand...
Click to collapse
attach log.txt , that will give better idea why exectution failed
For the directory name charater issue (Cartão de memória) it just crashes on launch. It was when I tried to launch mplayer directly (before I edited the post). I was however how I found the issue. If I try the "Open with" and the media file is in any dir which characters like those it just wont open...
Also strangelly enough the same video file is no longer crashing in WQVGA resolution?! Only GSFinder+ (my file manager) crashes. I did a reset since that so maybe it was a problem with my device and not mplayer. Still the character issue remains.
Here's the log.txt (media in "Cartão de memória") for when it failed and worked.log when it played (in a different path)
frmariam said:
For the directory name charater issue (Cartão de memória) it just crashes on launch. It was when I tried to launch mplayer directly (before I edited the post). I was however how I found the issue. If I try the "Open with" and the media file is in any dir which characters like those it just wont open...
Also strangelly enough the same video file is no longer crashing in WQVGA resolution?! Only GSFinder+ (my file manager) crashes. I did a reset since that so maybe it was a problem with my device and not mplayer. Still the character issue remains.
Click to expand...
Click to collapse
yes it is more likely because of no unicode support right now. I have idea how to support so that will be fixed in next build.
New mplayer download from first post and share your experiance
latest svn compile with menu and bgvideo support for audio files

[Q] Wildcards allowed in WMplayer links?

Using quickmenu, I have created a .lnk file to WMplayer.exe and as a parameter I can add a file "/MP3/TEST.MP3"
Then, when I assign the link to a hardware button, it automatically opens up WMPLAYER and starts playing TEST.mp3.
My question is, is there a way to add a wildcard to a link? if /windows/wmplayer "/mp3/*" to be able to play whatever file is in that folder without specifying the name of the file?
(I know the above doesn't work, as I have tried it.)
I would like the hardware button to play whatever is in that directory without having to change the link every time.
Thanks

[Q] accidentaly assosicated files in core player need help

i accidentaly associated my mp3 and was files in the core player now all my files just have a windows start icon next to them andare only openable in core player. when i click on the file in file explorer it says there is no program assocaited with this file. Any ideas? Thanks.
In general:
Open coreplayer -> Settings -> File Associations and uncheck all the file-types you don't want to be handled by coreplayer. After applying the changes you made (OK pressed) soft-reset device.
If this doesn't work:
In registry under HKEY_CLASSES_ROOT search for key .mp3 and get value of Default, probably audiofile. Now in registry under HKEY_CLASSES_ROOT search for key audiofile and correct there in all its subkeys the exename to your needs.
Same procedure for .was. Don't forget to soft-reset device afterwards.
thanks. What do i use to edit the registry. I havent done too much of that.
My favorite is Win32 freeware CeRegEditor. Of course this requires you can establish an ActiveSync connection between your Windows PC and your mobile device.
If you are not comfortable with registry, you can download this little freeware :
badschwii MyExtensions :
http://www.badschwii.com/download/setup_myextensions.zip
Just copy it to your storage card, and execute it... You'll be able to change File Extension...

Categories

Resources