Jump to content











Photo
- - - - -

Batcher released as open source


  • Please log in to reply
21 replies to this topic

#1 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10549 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 26 July 2006 - 04:56 PM

Batcher has been released as open source, it's available for anyone to see how the .script processing works in batcher.

Please excuse for the poor quality of my comments when coding, this source should be particulary usefull for knowing how to do some neat tricks with INI files using delphi, in a flash instant I can recall this being usefull for the developments of amiGoXPE by guruP - just let me know if there is anything I can do to help your project be possible.. :P


The release version is 1.20, wich is a clean up version from 1.19b - I just adapted the main window to support themes a bit better.

Original Batcher topic

Let me know if you have further problems or doubts regarding the code, and have fun!

:P

#2 TheHive

TheHive

    Platinum Member

  • .script developer
  • 4171 posts

Posted 26 July 2006 - 06:10 PM

I just ran the last version of batcher.

If you look at the main Tittle bar it says Batcher 1.20
But if you look within the program itself when it is running you will see that it says
Batcher 1.19c
.script file interpreter

#3 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 26 July 2006 - 06:18 PM

Batcher has been released as open source, ...


Open Source: where can i find an URL for the source code?

Peter

#4 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 26 July 2006 - 07:35 PM

Open Source: where can i find an URL for the source code?

Peter


If you click here:
Original Batcher Topic

You will find this:

This project's homepage is at http://scritps.pt.vu

The last build with included source is here: batcher20.zip


:P

jaclaz

#5 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10549 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 26 July 2006 - 08:27 PM

I'm sorry for this confusion..

The source is included along with the exe application and scriptpack.

It is compiled using delphi 7, and there are a few components included that you might have to install in order to recompile the exe.

You'll surely have to install AbfComponents, a free pack of components - they add the tray icon on the task bar, and can be safely removed if you don't like the feature or don't want to install the pack. They are not included since they come with their installer package, all the other components are all .dcu files, so try compiling the exe and it will probably work fine.


It's easier to get this working if you already have some practise with delphi, since it's a bit hard to get it started sometimes..


Let me know if you run into any other complications, and I'll be more specific on wich dependencies are needed since my compiler already has them included..

:P

#6 pscEx

pscEx

    Platinum Member

  • Team Reboot
  • 12707 posts
  • Location:Korschenbroich, Germany
  • Interests:What somebody else cannot do.
  •  
    European Union

Posted 26 July 2006 - 10:02 PM

The last version Delphi I have is 2.01. Then I stopped to work with it.
But may be possible I can give you some snippets of code I want to be implemented since some time...

A suggestion:

You should think about to place the source at this server.
It provides a complete CVS environment with a lot of features.

I'm personally hosting there 2 own projects, take part at another project (with ability to update CVS) and another project with "patches" only which have to be improved by a project member.

Peter

#7 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10549 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 26 July 2006 - 10:22 PM

Sure, send the snippets and I'll work them..

berliOS seems a good place, thanks for the tip! :P

#8 Rajesh2010

Rajesh2010

    Newbie

  • Members
  • 22 posts
  •  
    India

Posted 25 September 2010 - 06:13 PM

link to batcher source not working

could some provide me a working link for the batcher source code

thanks in advance

Edited by superjo2007, 25 September 2010 - 06:14 PM.


#9 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10549 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 25 September 2010 - 06:37 PM

It is no longer open source.

At a time when we strive for stability and focus on script projects, the last thing that would help us are forks to the script engine.

If you want to help, join the developers of the recent projects as they'll surely appreciate the effort.

:dubbio:

#10 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15106 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 25 September 2010 - 07:05 PM

It is no longer open source.

I doubt that anyone, including it's Author :thumbup: can "revoke" the declared status of "Open Source" of an App. (please read as you CANNOT :) ).

You can remove the files from public download :thumbup:, hide them :dubbio:, remove any reference from anywhere under your control :thumbup:, stamp your feet very hard on the floor :thumbup:, AND change the license for any LATER version, but NEVER change the licensing status of released source code.

At a time when we strive for stability and focus on script projects, the last thing that would help us are forks to the script engine.

Well, noone talked about forking anything, you introduced the Open Source status with:

Please excuse for the poor quality of my comments when coding, this source should be particulary usefull for knowing how to do some neat tricks with INI files using delphi, in a flash instant I can recall this being usefull for the developments of amiGoXPE by guruP - just let me know if there is anything I can do to help your project be possible.. :thumbup:

So, in your own words, it can be very useful for completely unrelated projects and generally, to learn "some neat tricks with INI files using delphi".

The essence of Open Source licenses is that you CANNOT dictate WHAT the code you released should be used for, you simply release it with a number of conditions that DO NOT include the possibility of limiting it's scope, only that noone should claim the code as being his own AND force to release with the same license eventually derived code.

If you want to help, join the developers of the recent projects as they'll surely appreciate the effort.

This makes a lot of sense (IF the scope of OP was not that of simply learning "some neat tricks with INI files using Delphi" or anything else, perfectly allowed by the Open Source status declared for the code/app).

;)
Wonko

#11 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10549 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 25 September 2010 - 09:18 PM

Call it as you prefer. It is not open source anymore and I'm so tired of troubles about the .script engine

#12 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 15106 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 26 September 2010 - 05:10 AM

Call it as you prefer. It is not open source anymore and I'm so tired of troubles about the .script engine


Nuno, I perfectly understand how you are currently pi§§ed off by the stoopid quarrels :thumbup:, but please do take your time to think about the implications of what you wrote. :dubbio:

Just imagine Linus Torvalds :thumbup: coming out saying that Linux is not Open Source "anymore"..... ;)

:thumbup:
Wonko

#13 Rajesh2010

Rajesh2010

    Newbie

  • Members
  • 22 posts
  •  
    India

Posted 26 September 2010 - 05:58 AM

thanks for all ur replys

actually i wanted to create a commandline version of batcher
which would only take arguments of location of pe and script and process it

editing to the script will still require the original batcher

its because i m still using bartpe to build proj and not winbuilder

i want to use this command line version as plugin in bartpe to reduce my pe ,as the scripts are well updated

nunu brito would u make a command line version?

thanks in advance

#14 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10549 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 26 September 2010 - 04:12 PM

Hi,

Winbuilder already supports command line.

You can try the UXP as example of this usage: http://uxp.winbuilder.net/uxp.zip

It is a double project. It will build an unattended XP install CD that also launches another winbuilder that will build a LiveXP.

The introduction for this project can be found here: http://www.boot-land...?showtopic=3651

#15 Rajesh2010

Rajesh2010

    Newbie

  • Members
  • 22 posts
  •  
    India

Posted 27 September 2010 - 06:48 PM

@nuni brito

cant understand how to use winbuilder in command line

i wanted something like this

winbuilder xpsetuppath pepath scriptfile

could u atleast share some part of batcher .. only the script processing part not the gui

or atleast the part which can edit the txtsetup.sif

Edited by superjo2007, 27 September 2010 - 06:51 PM.


#16 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10549 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 27 September 2010 - 07:20 PM

or atleast the part which can edit the txtsetup.sif

There is some confusion.

The only part with a closed source is winbuilder.exe which is the engine that runs boot disk projects.

The projects itself are completely open for everyone to read and change. You'd be surprised with the amount of times that we've need to explain this difference to new users. People just assume winbuilder to be a whole, yet there are so many different projects that are completely different from one another.

If you want to edit txtsetup.sif then you can edit or create your own scripts to be added on the project. This is done using the syntax explained at http://winbuilder.net/help

Look inside the scripts, select from inside winbuilder.exe and click on the "edit" button.

--------

To run winbuilder from command line in the case of LiveXP, just type:
WinBuilder.exe /run="basedir%\Projects\LiveXP\script.project"
I *think* that instead of script.project you can call any individual script and winbuilder is smart enough to run it as expected but it's been a while since I've last used this.

There is also:
/source="c:\windowsXPsource"

/target="c:\wb\outputfolder"

/ISO="c:\wb\myBootCD.iso"

/log="c:\wb\log.html"
Each of these parameters also configure from where to pull the source files and where the project gets built.

#17 Rajesh2010

Rajesh2010

    Newbie

  • Members
  • 22 posts
  •  
    India

Posted 28 September 2010 - 02:41 AM

thanks
will try this

actually i still use pebuilder thats why i needed only the commandline version

i make only small pe's

#18 Rajesh2010

Rajesh2010

    Newbie

  • Members
  • 22 posts
  •  
    India

Posted 28 September 2010 - 02:57 AM

The projects itself are completely open for everyone to read and change.

so does this mean i can get the source code of winbuilder
if so please provide a link

#19 Nuno Brito

Nuno Brito

    Platinum Member

  • .script developer
  • 10549 posts
  • Location:boot.wim
  • Interests:I'm just a quiet simple person with a very quiet simple life living one day at a time..
  •  
    European Union

Posted 28 September 2010 - 03:06 AM

Sure. Here's a link:
http://livexp.boot-land.net

Despite I should warn you that whenever you download a project, the source itself is what builds the project and comes included on the download. Nothing is compiled.

:dubbio:

#20 Rajesh2010

Rajesh2010

    Newbie

  • Members
  • 22 posts
  •  
    India

Posted 28 September 2010 - 03:47 PM

i want the c++ source code of winbuilder not script files
i cant find winbuilder source in the link u provided

#21 homes32

homes32

    Gold Member

  • .script developer
  • 1030 posts
  • Location:Minnesota
  •  
    United States

Posted 28 September 2010 - 04:40 PM

i want the c++ source code of winbuilder not script files
i cant find winbuilder source in the link u provided

1st of all winbuilder is not written in C++
2nd. Nuno has already stated that the sourcecode for winbulder.exe is not available. THE END. source for the .script files are available and these are the files that do the work.

you may want to check out the BartPECore project. it uses bartPE to create the PE and winbuilder to add programs/modify settings like you seem to want to do.

Warning: the project has been inactive for some time so everything may not work with newer versions of winbuilder, but you should be able to look at the scripts and get a good idea on how to proceed.

#22 Rajesh2010

Rajesh2010

    Newbie

  • Members
  • 22 posts
  •  
    India

Posted 28 September 2010 - 05:06 PM

1st of all winbuilder is not written in C++
2nd. Nuno has already stated that the sourcecode for winbulder.exe is not available. THE END. source for the .script files are available and these are the files that do the work.

you may want to check out the BartPECore project. it uses bartPE to create the PE and winbuilder to add programs/modify settings like you seem to want to do.

Warning: the project has been inactive for some time so everything may not work with newer versions of winbuilder, but you should be able to look at the scripts and get a good idea on how to proceed.


my previous conversation

me:-so does this mean i can get the source code of winbuilder
if so please provide a link

nunubrito:-Sure. Here's a link:
http://livexp.boot-land.net

Despite I should warn you that whenever you download a project, the source itself is what builds the project and comes included on the download. Nothing is compiled.


nunu brito said batcher source is not availabe..

so what am i supposed to assume after the above conversation with nuno brito

he should said NOOOOOOO in very begining

THE END.

Edited by superjo2007, 28 September 2010 - 05:14 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users