Topic: SMPlayer and Wmplayer plugins  (Read 6365 times)

SMPlayer and Wmplayer plugins
« on: February 05, 2016, 02:59:00 PM »

0scar

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2013
  • Posts: 309
Plugin for SMPlayer.
I think it is better than MPC-HC and VLC (better subtitles managment, better zoom in out, 3D video support, etc.)
Tested in Gena and Win10PE x86.
Download:
https://www.dropbox.com/s/jeua1dkwym7xbp2/SMPlayer7z?dl=0

As a complement to SMPlayer and for Midi support it is necessary the MS Wmplayer plugin (tested in  WinPE 10 and 8.1 x86, it is not for XP Gena)
Download:
https://www.dropbox.com/s/d9x8rtegq83jb9d/wmplayer7z?dl=0


Plugin xpe-wmp.script (Wmplayer 9, Mplay32, Mplayer2) for Gena (x86).
Credits: original Pebuilder's xpe-wmp.inf plugin by Sherpya
Download:
https://www.dropbox.com/s/9geszezksk5aqmt/xpe-wmp7z?dl=0



 :smile:
« Last Edit: February 12, 2016, 03:28:55 PM by 0scar »

Re: SMPlayer plugin
« Reply #1 on: February 05, 2016, 07:49:04 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Thanks Oscar,

but,
use Utils\RegCPE to convert registries,

I see lots of unnecessary quotes and other things, RegCPE makes perfect conversion, no need manual adaptation.

 :wink:

Re: SMPlayer plugin
« Reply #2 on: February 05, 2016, 08:34:40 PM »

0scar

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2013
  • Posts: 309
As I used SMPlayer portable there were not registries to convert, to assocciate media files  I recycled very old Pebuilder plugins.

 :smile:

Re: SMPlayer plugin
« Reply #3 on: February 05, 2016, 09:02:37 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
 :lol:
I now understand  :cool:

well, sadly we did not wrote a pebuilder registry conversion.... not much interest around, ex: you are the only one who needs  :wink:

a way is, you can export registries with pebuilder hive, and use Utils\Reg ReConvert  :wink:




for manual way, which I guess you need more, here are some tips:

*
lines like:
reg_add,0x0,"%reg%\Classes\m2vfile"
not required, you can delete all of them on your plugin ( remove all reg_add,0x0, lines)
very mostly (%99.9) reg_add,0x0, lines are useless, yet another bug of wb ;)

tip:
0x0 lines there to create "New Key" , generally next line writes an entry to a sub key, 0x0 becomes useless bulk.
ex:
RegWrite,HKLM,0x0,"Tmp_Software\Classes\AVIFile\RIFFHandlers"
RegWrite,HKLM,0x1,"Tmp_Software\Classes\AVIFile\RIFFHandlers\AVI","","{00020000-0000-0000-C000-000000000046}"

for %00.1 very rare case, leave 0x0    :wink:

*
%SystemRoot% --> #$pSystemRoot#$p

*
%L --> #$pL

*
no easy way to remove unnecessary quotes, well they will not harm
still change quotes inside quotes

" -> #$q
ex:

RegWrite,HKLM,0x2,"Tmp_Software\Classes\AUFile\shell\open\command","",""%PE_Programs%\%ProgramFolder%\%ProgramExe%" "%L""
-->
RegWrite,HKLM,0x2,"Tmp_Software\Classes\AUFile\shell\open\command","","#$q%PE_Programs%\%ProgramFolder%\%ProgramExe%#$q #$q#$pL#$q"

*
also change comma inside quotes
, -> #$c
ex:
RegWrite,HKLM,0x2,"Tmp_Software\Classes\AVIFile\DefaultIcon","","%SystemRoot%\System32\quartz.dll,-100"
-->
RegWrite,HKLM,0x2,"Tmp_Software\Classes\AVIFile\DefaultIcon","","%SystemRoot%\System32\quartz.dll#$c-100"


*****
I feel above will help a lot on your pebuilder -> bug conversion -> fix conversion tasks   :cheers:

:turtle:

Re: SMPlayer and Wmplayer plugins
« Reply #4 on: February 12, 2016, 03:33:52 PM »

0scar

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2013
  • Posts: 309
Uploaded plugin of MS Wmplayer for Gena.
See above, first post.

Re: SMPlayer and Wmplayer plugins
« Reply #5 on: February 12, 2016, 07:16:54 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Hi Oscar,

There is already
Gena\Drivers\6 Other\XPE - pnp multimedia
plugin available, which is based on Sherpya xpe-wmp.inf as written on its interface.

If you feel something missing, or if you feel to add some features, let us know.

on the other hand, plugin you created will not work on Gena properly,
it also have lots of wrong registry conversions, It has lots of things "wrong" and "old" ..


*
MS Wmplayer plugin
you forgot space during replacement, ex:
Require_FileQ, ddores.dll

+
no need quotes or #$s on  [Variables]
Code: [Select]
[Variables]
%ProgramFolder%=Windows Media Player
%Source_ProgDir%=%InstallSRC%\Program Files
%Target_ProgDir%=%TargetDir%\Program Files
%ProgramExe%=wmplayer.exe
%ProgramTitle%=WMPlayer

+
for such SE special "Components" kind plugins, better add one line to top:
Code: [Select]
[Process]
RunFrom,Ram

+
and with adding %ProgramExe% and %ProgramTitle% like above [Variables]
Code: [Select]
Add_Shortcut,StartMenu,Accessories
should be enough to create shortcut.


Re: SMPlayer and Wmplayer plugins
« Reply #6 on: February 12, 2016, 07:18:58 PM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
++++
Ignore wb bad designed conversion method and its result, bad programmers bad results,
 It only creates trouble to a new user like you when you are creating a new plugin especially when converting from BartPE inf,
  And a big trouble on maintaining projects in very past, I remember "something not working but why" troubles in very past, mostly result with these bad conversion designed by bad programmers,
   In the end we made Utils\RegCPE to avoid such failure on new plugins, and organised projects and plugins, and fixed existant plugins in some years.....

      That is the reason today everything run quite smooth, like BartPE in very past. God Bless from troubles in between . :cool:


You have info available from .inf, when you get a bit more familiar with plugins it is quite easy to convert them to plugins.
 All you need is creating new plugins from start (for things not exists on your inf packages)
   and some practice with available tools (Utils\PC Packed , Utils\RegCPE ...).
      Later return to your inf conversion and you will see it is piece of cake.

Well I spent quite a time to explain you creating plugins and tips for conversions,
 with deeply knowing BartPE and my old experiences,
   All written on current topic posts, I also put convert some of your plugins and put to server ( http://theoven.org/index.php?topic=1142 ) in very past.
    I feel I did my best to feedback you, rest is on your hands.
     Just spent some time slowly, in the end it is quite easy after learning some basics and following all written, slowly slowly  :thumbsup:


:turtle:

Re: SMPlayer and Wmplayer plugins
« Reply #7 on: February 12, 2016, 11:09:08 PM »

0scar

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2013
  • Posts: 309
Xpe-pnp (450kB) and Xpe-wmp (900kB) are very different plugins.
I have expended a lot of time testing Xpe-wmp plugin for Windows Media Player 9 support, and also for its legacy little  brothers Mplay32 and Mplayer2, and the 3 players are working 100%.
If they do not work for you try enabling Xpe-Directx plugin.

Now Gena has a  working plugin for MS Windows Media Player,  thanks to Pebuilder, Sherpya  :thumbsup:, the obsolete but still useful Winbuilder .inf Converter, and me. 

 :smile:

Re: SMPlayer and Wmplayer plugins
« Reply #8 on: February 13, 2016, 09:47:25 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
Xpe-pnp (450kB) and Xpe-wmp (900kB) are very different plugins.
Sorry, I mixed badly  :embarrassed:  :worship:

One day, added to my to do list, will fix and put to Gena.  :thumbsup:

yep inf converter is useful to convert old plugins where you need to heavily fix conversion written on reply 1,
 I hope you work on creating new plugins other than the ones on your inf archive,
    than fixing inf converter bug series will be piece of cake.  :great:

Thanks  :great:

:turtle:

Re: SMPlayer and Wmplayer plugins
« Reply #9 on: February 23, 2016, 03:04:43 AM »

Gerhard S.

  • Jr. Chef
  • **
  • Date Registered: Dec 2015
  • Posts: 95
I will take Oskar's PESE Plugin as template and adapt Script to newest x64 SMplayer.exe v16.1.0
- and will add checkboxes for file associations.
 :thumbsup: This one rocks.

ila_rendered

+ SMPlayer_PC_x64_File.Script (30.3 MB)
« Last Edit: February 23, 2016, 10:44:23 AM by Gerhard S., Reason: added x64, 21-language selector, file associations groups »

 

Powered by EzPortal