Author Topic: PREUSENET  (Read 54963 times)

Offline cr4zyfr4g

  • Global Moderator
  • *****
  • Posts: 781
  • German n00b
PREUSENET
« on: July 23, 2008, 10:07:36 pm »
PREUSNET is a script for Windows XP, which will help you create a post for Usenet, that means making rars, pars and much more. After a small "setup", you can create sets even for a whole season with only one click.

DOWNLOAD: PREUSENET_01_10_08

A.) How to use PREUSENET:

1.    Extract it somewhere into a folder
2.    Make a shortcut of PREUSENET.bat and place it into "sent to" dir (c:\documents and settings\<username>\sent to)
3.    select one or more files/folders and sent to PREUSENET.bat

B.) What it does

PREUSENET will make a whole set for Usenet posting, that means rars, sfv and par2. it has 2 different modes, which        depends on if you select files or folders.
Select only files or folders not both at once !
You can create sets for a whole season with only starting the batch one time


C.) File mode


1. It detects if file is > 2GB and uses different settings for RARSIZE and PAR2BLOCK (see chapter E)
2. It detects if file is an mkv and uses different settings for RARSIZE and PAR2BLOCK (see chapter E)
3. It creates a subfolder in TARGETLOCATION with subfolder based on parent foldername
4. It creates rars (rar, r00, r01 ...)
5. It creates sfv
6. It creates par2 files (they contain only rars, no sfvs nfos etc..)
7. It copies all nfos to TARGETLOCATION
8. Repeats 1-7 for every other selected file

D.) Folder mode

1.  It scans folders for avi, mkv, ogm, iso and rar files and creates a set for each of those files. If there are no such files it
     creates a set for all files in that folder.
2.  It detects if file is an mkv or has 720p in its name and uses different settings for RARSIZE and PAR2BLOCK (see chapter E)
3.  It creates a subfolder in TARGETLOCATION with subfolder based on folder name
4.  It copys sample subdir and subs subdir to TARGETLOCATION\subfolder if detected
5.  It copys nfo to TARGETLOCATION\subfolder if detected
6.  If CDX subfolder is detected it creates a set for each CDX subfolder
7a. It copies rars to TARGETLOCATION\subfolder if detected or
7b. It creates rars
8a. It copies sfv to TARGETLOCATION\subfolder if detected or
8b. It creates sfv
9a. It creates par2 files (they contain only rars, no sfvs nfos etc..)
9b. It creates par2 files for sample file
10. Repeats steps 1-9 for every other rar, mkv or avi in that folder
11. Repeats steps 1-10 for every other selected folder

E.) variables

PREUSENET will create a new file called settings.bat after the first run (to reset everything to default just delete that file and run PREUSENET again)
to Change the settings open the settings.bat file with a text editor like Notepad:

1. TARGETLOCATION
    you can set this to a folder with path of your choice, example D:\Upload or you can set it to
    %PATH%POST which means it will create sets in parent dir in subfolder "POST"
    Default is "C:\Temp"
2. ONLYPAR
    Set this to TRUE if you only want to make par2 files with the script
    Default is FALSE
3. REDUNDANCY
    set this number to how many % par2 you want to create
    Default is 10
4. BLURED
    redundancy for sets with "bluray" or "hddvd" in the titel
    Default is 5
5. SAMPRED
    redundancy for sample pars
    Default is 50
6. BLOCKSIZE
    set this to how many RAM you want to use before par2 blocks are written to disc while creating
    Default is 50
7. RARSIZE (in MB)
    this will be used for small rars and as default
    Default is 15
8. BIGSIZE (in MB)
    This will be used for big Rars (mkv + 720p if not Bluray or HDDVD was deteted)
    Default is 50
9. BLUSIZE (in MB)
    This will be used for rars if "bluray" or "hddvd" is in the titel
    Default is 100
10. PAR2BLOCK
    Set this for desired Par2 Blocksize for small Posts
    Default is 768000
11. BIGBLOCK
    Set this for desired Par2 Blocksize for big Posts (mkv + 720p if not Bluray or HDDVD was deteted)
    Default is 1920000
12. BLUBLOCK
    Set this for desired Par2 Blocksize for Posts with "bluray" or "hddvd" in the titel
    Default is 1920000

F.) Known issues

1.   files with "&" in their name will not work because they will be interpreted as a command after "&"
2.   Sometimes windows says you don't have access rights. if it does just select fewer items.


Version History (since 08_04_08)

01_10_08
--------------
* there in now a log feature, logs are stored in %INSTALLPATH%/Log
* CDX Structure works now with ONLYPAR mode
* fixed some issues with correct type detection (720p, 1080p ...)
* you can now see how long it took to make sets (also in log)

20_09_08
--------------
* Settings are now in a new file settings.bat (will be created after the first run)
  That means you don't have to change the bat file after each update
* ONLYPAR Mode can now be set directly in settings.bat
* Fixed Problems for users with windowsroot not on c:\windows. It will now be autodetected
* YOu can see the complete duration time now
* Additional detection for folders wiht "hddvd" or "bluray" in its name and different settings

23_07_08
--------------
* CD1, CD2, ... structure works now too with .partxx.rars
* samples are now pared as well with %SAMPRED% redundancy
* new: ONLYPAR Mode (CDX structure does not work yet for this mode)

26_05_08
--------------
* new faster par2.exe. .dlls are not needed anymore
* par2 creation bug should be solved with that version

22_04_08
--------------
* rar files from subs will no be included in par2 files anymore
* new par2.exe (par2cmdline 0.4 200408)

20_04_08
--------------
* CD1, CD2, etc. structure works now

18_04_08
--------------
* it is now possible to have more then one instance running at one time
* subfolders are not ignored anymore in folder mode when packing all files in one set

17_04_08
--------------
+ support for iso and ogm files in folder mode
+ if no supported file types are in a folder in folder mode in creates a set for all files in that folder

15_04_08
--------------
+ german readme

14_04_08
--------------
+ support for subs subfolders in folder mode

08_04_08
--------------
+ support for CDX subdirs
* fixed a bug where PREUSENET didn't see folder names with space(s) in them.
+ support for multiple avis/rars/mkvs in one folder (folder mode)
* removed ".partxx." part from par2 name

PREUSENET Version 01_10_08 made by Cr4zyfr4g

If you find bugs or you have questions feel free to post
« Last Edit: March 26, 2016, 09:06:14 pm by Rdl »

cider

  • Guest
Re: PREUSENET
« Reply #1 on: July 24, 2008, 05:35:18 pm »
Looks great, thank you very much!

I think it is wired that you write such a complex program as just a batch file.
But its great because we get the source code and can modify it for our own needs.

regards,
cider

Offline cr4zyfr4g

  • Global Moderator
  • *****
  • Posts: 781
  • German n00b
Re: PREUSENET
« Reply #2 on: July 24, 2008, 06:30:24 pm »
i just started making a very easy one and it got very complex after adding all those features.

You can edit it of course, but it is not easy, depending on what you like to do ;)

If you have questions/suggestions just write them here.

Offline Genepool

  • Contributor
  • ***
  • Posts: 32
Re: PREUSENET
« Reply #3 on: July 24, 2008, 10:07:43 pm »
Haven't tried it yet, but looks like alot of thought and work went into this. Thank you for posting

Genepool

Offline vhanymick

  • Contributor
  • ***
  • Posts: 26
Re: PREUSENET
« Reply #4 on: July 25, 2008, 06:56:19 pm »
hi i just try and its very easy to use and very cool i gain a lot time.thanks

ps its works on vista

ps2 sorry for my poor englinsh(i m french  ::))


edit preusenet exist for all people or just for member or contributor can i speak about in an another place?
« Last Edit: July 25, 2008, 07:56:14 pm by vhanymick »

Offline cr4zyfr4g

  • Global Moderator
  • *****
  • Posts: 781
  • German n00b
Re: PREUSENET
« Reply #5 on: July 26, 2008, 01:29:10 am »
It is available fo everyone, but it would nice to if you link to this thread instead of just copying it :)

Offline vhanymick

  • Contributor
  • ***
  • Posts: 26
Re: PREUSENET
« Reply #6 on: July 26, 2008, 05:43:06 pm »
ok thanks ;)

Offline raider

  • Contributor
  • ***
  • Posts: 10
Re: PREUSENET
« Reply #7 on: July 27, 2008, 07:04:42 am »
This is really very cool.
Thanks heaps, it's a massive time saver !
raider.

Offline cr4zyfr4g

  • Global Moderator
  • *****
  • Posts: 781
  • German n00b
Re: PREUSENET
« Reply #8 on: September 20, 2008, 07:58:26 pm »
new version out with some changes, see version history

Offline vhanymick

  • Contributor
  • ***
  • Posts: 26
Re: PREUSENET
« Reply #9 on: September 21, 2008, 01:59:07 am »
it is possible to do only rar and sfv ?

thanks for this new version

Offline cr4zyfr4g

  • Global Moderator
  • *****
  • Posts: 781
  • German n00b
Re: PREUSENET
« Reply #10 on: September 21, 2008, 11:31:38 am »
sure edit the bat file and add those tow lines:

line 281 goto :NOPAR
line 316 :NOPAR


Offline vhanymick

  • Contributor
  • ***
  • Posts: 26
Re: PREUSENET
« Reply #11 on: September 21, 2008, 06:51:35 pm »
thanks a lot

heu i dont have numbers of line so i dont found the line to change

sorry im a noob
« Last Edit: September 21, 2008, 06:56:25 pm by vhanymick »

Offline cr4zyfr4g

  • Global Moderator
  • *****
  • Posts: 781
  • German n00b
Re: PREUSENET
« Reply #12 on: September 21, 2008, 08:29:46 pm »
just count^^

or use another Editor like Notepad++ (just google it)

Offline vhanymick

  • Contributor
  • ***
  • Posts: 26
Re: PREUSENET
« Reply #13 on: September 21, 2008, 08:40:20 pm »
thanks its ok with notpad++

Offline cr4zyfr4g

  • Global Moderator
  • *****
  • Posts: 781
  • German n00b
Re: PREUSENET
« Reply #14 on: October 01, 2008, 04:08:37 pm »
new version, see updates int he first post