Help - Search - Members - Calendar
Full Version: plugins all messed up, help!
The CD Forum > Bart's PE Builder > Plugins
AMK
Hi,
I am sorta new and am not quite sure if this is the right placed for this thread/topic.
(If it isn't, please move it to the right one)

=> I am new to the bartpe environment and am an amateur in programming as well.

I was playing around with bartpe, adding some plugins (just trying)....
While doing that I came across a problem..
I copied a folder called files from UBCD4Win Plugins folder, and put them in the BartPe Plugins folder... and this is what i got..









as you can see... the multiple menus and sub menus as well...
Also, WinRaR is not available..

Do note that the plugin for WinRaR was made by myself which works only when I use the unplugged version.
It also worked before I added all these other plugins and sub-menus.


Please let me know if anything else is needed.
mbarnes
Hi

The ubcd4win xxx_Nu2menu.xml files do not follow standard BartPE rules and after building a post precessing program sorts & removes duplication in BartPE\Programs\nu2menu\nu2menu.xml file.

please post the xml file for the plugin you copied from ubcd4win and some one will probably show you how to fix it

or get Paragliders sortmenu.exe and and use it to sort & fix BartPE\Programs\nu2menu\nu2menu.xml
(after building project files into BartPE but before building iso)

why not use ubcd4win V3.60
update the driverpack.net mass storage & network drivers (as about 2 years old) and disable any plugins you do not need or do not work any more after updating.


regards

Mike Barnes
AMK

Below is just one .xml file for 7-zip
It is placed in the plugins folder ( plugin\File\Compression\7-zip )

<!-- Nu2Menu entry for 7-zip -->
<NU2MENU>
<MENU ID="Programs">
<MITEM TYPE="POPUP" MENUID="File Management">File Management</MITEM>
</MENU>
<MENU ID="File Management">
<MITEM TYPE="POPUP" MENUID="Compression">Compression</MITEM>
</MENU>
<MENU ID="Compression">
<MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\7-zip\7zFM.EXE))" CMD="RUN" FUNC="@GetProgramDrive()\Programs\7-zip\7zFM.EXE">7-zip File Manager</MITEM>
</MENU>
</NU2MENU>
Ed_P
This is the xml file I have with my PEBuilder 7-zip plugin.

CODE
<!-- Nu2Menu entry for 7-zip -->
<NU2MENU>
    <MENU ID="Programs">               
        <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\7-zip\7zFM.exe))" CMD="RUN"
            FUNC="@GetProgramDrive()\Programs\7-zip\7zFM.exe">7-zip</MITEM>
    </MENU>
</NU2MENU>

This in the PEBuilder\plugin\7-zip folder.
cdob
QUOTE (AMK @ Jun 2 2012, 09:16 AM) *
I copied a folder called files from UBCD4Win Plugins folder, and put them in the BartPe Plugins folder...

UBCD4Win uses SortMenu at building. Use SortMenu too.
http://www.paraglidernc.com/utilities/utilities.htm
AMK
QUOTE (Ed_P @ Jun 2 2012, 10:45 PM) *
This is the xml file I have with my PEBuilder 7-zip plugin.

CODE
<!-- Nu2Menu entry for 7-zip -->
<NU2MENU>
    <MENU ID="Programs">               
        <MITEM TYPE="ITEM" DISABLED="@Not(@FileExists(@GetProgramDrive()\Programs\7-zip\7zFM.exe))" CMD="RUN"
            FUNC="@GetProgramDrive()\Programs\7-zip\7zFM.exe">7-zip</MITEM>
    </MENU>
</NU2MENU>

This in the PEBuilder\plugin\7-zip folder.



Thanks for the reply...
I believe that is for the 7-zip entry as a sub-menu in the programs menu, right?
But the one I am having troubles with is by putting it in a sub-menu inside another sub-menu of a menu..
Programs -> File -> Compression -> 7-Zip


dubbio.gif
AMK
QUOTE (cdob @ Jun 3 2012, 11:05 AM) *
UBCD4Win uses SortMenu at building. Use SortMenu too.
http://www.paraglidernc.com/utilities/utilities.htm


I tried using it..
I think I don't know how to use it..
When i double-click the .exe a command prompt just blinks...
That's all......
No changes to anything..
:s
jaclaz
QUOTE (AMK @ Jun 3 2012, 01:54 PM) *
I tried using it..
I think I don't know how to use it..
When i double-click the .exe a command prompt just blinks...
That's all......
No changes to anything..
:s

READ:
http://www.paraglidernc.com/utilities/sortmenu.htm
How do you expect to run it by double clicking on it, since it requires a parameter? dubbio.gif

Open a Command Prompt.

If you don't know how do this:

Press the start button.
Click on "Run".
Type:
CODE
cmd.exe

[ENTER]
In the command prompt window, navigate to the directory where the tool is, like typing in it:
CODE
CD /D C:\theplacewhereIstoredtheprogram

[ENTER]
Type:
CODE
Sortmenu.exe

[ENTER]
then try:
CODE
Sortmenu.exe C:\theplacewhereIhavetheXML\whatever.xml

[ENTER]

cheers.gif
jaclaz
nuMe
QUOTE (AMK @ Jun 2 2012, 03:16 AM) *
I am sorta new and am not quite sure if this is the right placed for this thread/topic.

Wrong forum imo.

QUOTE (AMK @ Jun 2 2012, 03:16 AM) *
=> I am new to the bartpe environment and am an amateur in programming as well.
:
:
:

I copied a folder called files from UBCD4Win Plugins folder, and put them in the BartPe Plugins folder... and this is what i got..

Yup, a boat load of crap. Rather than try to smash together two different systems try working with just one. Since you like UBCD4Win's plugins use IT as your base and add your WinRAR plugin to IT. There is even a forum for UBCD4Win that can help you debug your plugin. What you're doing is ass-backward.
jaclaz
QUOTE (nuMe @ Jun 3 2012, 10:40 PM) *
Wrong forum imo.


Yup, a boat load of crap. Rather than try to smash together two different systems try working with just one. Since you like UBCD4Win's plugins use IT as your base and add your WinRAR plugin to IT. There is even a forum for UBCD4Win that can help you debug your plugin. What you're doing is ass-backward.

I see how you are friendly as usual with this new peep. whistling.gif

Comeon, he is trying to "play around with bartpe", experiments - even crazy ones - are the only way to get a feeling of the thingy and to learn something.
http://www.911cd.net/forums//index.php?showtopic=24819
http://www.911cd.net/forums//index.php?s=&...st&p=171131

everyone has to start from something....

cheers.gif
jaclaz
AMK
QUOTE (jaclaz @ Jun 4 2012, 12:44 PM) *
I see how you are friendly as usual with this new peep. whistling.gif

Comeon, he is trying to "play around with bartpe", experiments - even crazy ones - are the only way to get a feeling of the thingy and to learn something.
http://www.911cd.net/forums//index.php?showtopic=24819
http://www.911cd.net/forums//index.php?s=&...st&p=171131

everyone has to start from something....

cheers.gif
jaclaz



Thanks jaclaz... smile.gif

I followed your instructions, and this is what I get now.. (see attachment)

Thanks, once again!
nuMe
QUOTE (jaclaz @ Jun 4 2012, 04:44 AM) *
Comeon, he is trying to "play around with bartpe", experiments - even crazy ones - are the only way to get a feeling of the thingy and to learn something.
:
:
everyone has to start from something....

If he wants to build a system based on bartpe with all the plugins from ubcd4win the kindest thing to do is to inform him that ubcd4win is built upon bartpe. And it is much more involved than adding a single ubcd4win folder to bartpe and expecting it to work. That's equivalent to copying a windows\system32 folder to dos and expecting it to now boot windows.

If he wants to add winrar to bartpe the kindest thing you can tell him is he should work on that plugin with a fresh bartpe system. Baby steps are the better approach to learning.
jaclaz
QUOTE (nuMe @ Jun 4 2012, 04:31 PM) *
If he wants to build a system based on bartpe with all the plugins from ubcd4win the kindest thing to do is to inform him that ubcd4win is built upon bartpe. And it is much more involved than adding a single ubcd4win folder to bartpe and expecting it to work. That's equivalent to copying a windows\system32 folder to dos and expecting it to now boot windows.

Actually I guess that this is what mbarnes tried to say, and he managed to do the kind thing with kind words (so it is possible thumbup.gif).

QUOTE (nuMe @ Jun 4 2012, 04:31 PM) *
If he wants to add winrar to bartpe the kindest thing you can tell him is he should work on that plugin with a fresh bartpe system. Baby steps are the better approach to learning.

Usually yes thumbsup.gif, but sometimes you need to hit the wall HARD, to actually learn something (specifically that walls - generally speaking - are more resistant than human heads), if you just slowly lean your head against a wall, it is uncommon that you can feel and understand how tough the wall is wink.gif.

@AMK
the post by mbarnes suggests you to:
QUOTE (mbarnes @ Jun 2 2012, 01:35 PM) *
please post the xml file for the plugin you copied from ubcd4win and some one will probably show you how to fix it

or get Paragliders sortmenu.exe and and use it to sort & fix BartPE\Programs\nu2menu\nu2menu.xml
(after building project files into BartPE but before building iso)

in no way it suggests you to run sortmenu.exe on the "copied plugin".

cheers.gif
jaclaz
AMK
Hey,
So I tried it again.. but it seems that pebuilder just doesn't like me or suit me or something like that..
I think I need more time to play around with it to acquire the practice needed.







sad.gif

Ed_P
QUOTE (AMK @ Jun 6 2012, 08:08 AM) *
So I tried it again.. but it seems that pebuilder just doesn't like me or suit me or something like that..

Actually you need to learn to read better.

CODE
c:\pebuilder\plugin\nu2menu>SortMenu nu2menu.xml
is not the same as
CODE
c:\pebuilder>SortMenu                BartPE\Programs\nu2menu\nu2menu.xml

QUOTE (mbarnes @ Jun 2 2012, 06:35 AM) *
or get Paragliders sortmenu.exe and and use it to sort & fix BartPE\Programs\nu2menu\nu2menu.xml
(after building project files into BartPE but before building iso)

Do you see the plugin folder mentioned in mbarnes quote? Do you not understand the phrase "after building project files into BartPE"?

When PEBuilder runs successfully it creates a folder named BartPE, unless you've changed it's name. THIS is where you sort the nu2menu file. The one that contains all the nu2menu xml files merged together.

Your assumption that UBCD4WIN is nothing more than PEBuilder with a customized folder of plugins is false. It is much more involved than that. The problems you are experiencing are evidence of that. Start with a clean build of PEBuilder. Then create a plugin for WinRAR. Get that to work. Then try a single plugin from UBCD4WIN's folder and see what it's impact is. Or take your working PEBuilder WinRAR plugin and try adding it to UBCD4Win. Either way you will learn something, which I thought was your goal. Programmers are logical and what you're doing is not.
AMK
Thanks for the eye opening information.. smile.gif

I'll give it a try soon...

I just came across WinBuilder.. It seems to be better according to what I've read...
I've also seen Mr.Jaclaz is participating there..
smile.gif

I'll try that one out as well...

Thanks for the help so far...
smile.gif
jaclaz
QUOTE (AMK @ Jun 9 2012, 10:15 AM) *
I just came across WinBuilder.. It seems to be better according to what I've read...

Define "better". unsure.gif

QUOTE (AMK @ Jun 9 2012, 10:15 AM) *
I've also seen Mr.Jaclaz is partecipating there..

Well, then I can confirm that there are issues in reading ph34r.gif.
  1. "Mr." w00t.gif jaclaz is not participating there since December 2009:
    http://reboot.pro/10068/
  2. he uses not normally Winbuilder, on which easyness of use he is often very critical:
    http://reboot.pro/12494/
  3. and even his alter-ego Wonko the Sane won't be back until the 31st of August 2012:
    http://reboot.pro/16972/


cheers.gif
jaclaz
Ed_P
QUOTE (AMK @ Jun 9 2012, 04:15 AM) *
I just came across WinBuilder.. It seems to be better according to what I've read...

I have limited experience with WinBuilder and the reboot forum but I found the app to be very interesting. It isn't based on PEBuilder like UBCD4Win is so your WinRAR plugin will need to be rebuilt to WinBuilder format.

Good luck and have fun.
jaclaz
Just for the record, and somehow OT ph34r.gif there is a relatively little known project, PEbuilder based:
http://teutonpe.de/
that tends to be VERY well organized and easy to build.

cheers.gif
jaclaz
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.