Author Topic: Banterous demo downloader  (Read 14387 times)

payl

  • 68 Carbine
  • Posts: 365
Banterous demo downloader
« on: March 27, 2011, 01:34:41 PM »
So, after some development, i can say it's ready to publicate:

*Banterous demo downloader v.1.4*

It's simple tool, which make you able to download and run demo from http://demos.banterous.co.uk/ fast. Also, it can find demo by player or map (* and ? works like in DOS [and only like in DOS!], so: *vic* to find Viciouz demos).

Download it here: -removed-

How it works:
A) If you want just to watch demo
 1. Copy URL
 2.Paste URL into program
 3.Be sure 'Run that paintball with that demo' is checked
 4.Click 'GO'
 5.Wait until paintball starts

B) Want to find demo?
 1.Type in what you want to find (don't forget to use * -it's needed).
 2.Click 'GO'
 3.Wait
 4.Wait one second more (who cares if it freeze).
 5.Choose which demo u want
 6.Click 'GO' to choose this demo
 7.Be sure 'Run that paintball with that demo' is checked
 8.Click 'GO' on main form on downloading demo
 9.Wait until paintball runs with that demo

C) Want to catch link?
 1.If Link catcher isn't active, click on it.
 2.Copy URL of banterous website or dplogin download link.
 3.Link will appear, just click 'Go'.

Update v.1.1:
- Override dialog
- "Nothing found" after searching
- User-friendly message to Error #-11
- Directory choose dialog
- You can't make forms bigger or smaller
- Result form is bigger
- Submitted time on results
- Adding "\" if you don't put it in paintball path
- Less laggy downloading (but not in threads so still lags :-] )

Update v.1.2:
Uploaded version v.1.2 , which only add support for new links used in banterous website.

Update v.1.3:
Version v.1.3 has been uploaded! This is next support fix version. Also it's compiled with Lazarus 0.9.30 now.

Update v.1.4:
News in v.1.4:
-Link catcher!
-Support for dplogin demos download!
-Now all forms are default in the middle of screen (as f3l1x said to make is suitable for all resolutions).
-Updated my maskchk unit so some buggy links won't work anymore

Important update 21/07/2011:
As i'm not going to support community anymore, i remove all download links.
You are still able to use this program, if you already have it on your computer, but you can't redistribute it in any way.
« Last Edit: July 21, 2011, 10:42:28 AM by payl »

f3l1x

  • Committee Member
  • VM-68
  • Posts: 213
Re: Banterous demo downloader
« Reply #1 on: March 27, 2011, 03:11:44 PM »
Looks good. Anyway, Lazar is object pascal or not? I dont know now..

T3RR0R15T

  • Map Committee
  • Autococker
  • Posts: 2593
Re: Banterous demo downloader
« Reply #2 on: March 27, 2011, 03:29:38 PM »
Didn't tested it much, but here are some things:

- Why does it make the highest id on top? Not the lowest?
- I can only close the result window with the X. Maybe add an abort button.
- "Choose demo" popup, if it found nothing and i click "Go" in the result window.
- If i type nothing in the link field and click "Go", it makes me an "Error #-11". Maybe add an error message here or make the "Go" button only clickable, if i entered a text which starts with http://, https:// or ftp://.
- Add the option to choose another paintball folder. I can type it manually, but clicking is better :P
- Ask the user before it overwrites an existing demo file.
- If i type in something like ^^ into the map name field, it hangs up and gives me an "Error #-101" after a while. Maybe add an error message here.
- You have the date (time_submitted). Maybe add it to the results.

Sporti

  • VM-68
  • Posts: 150
Re: Banterous demo downloader
« Reply #3 on: March 27, 2011, 03:51:46 PM »
nice.

payl

  • 68 Carbine
  • Posts: 365
Re: Banterous demo downloader
« Reply #4 on: March 27, 2011, 04:21:18 PM »
1.Why does it make the highest id on top? Not the lowest?
2.I can only close the result window with the X. Maybe add an abort button.
3."Choose demo" popup, if it found nothing and i click "Go" in the result window.
4.If i type nothing in the link field and click "Go", it makes me an "Error #-11". Maybe add an error message here or make the "Go" button only clickable, if i entered a text which starts with http://, https:// or ftp://.
5.Add the option to choose another paintball folder. I can type it manually, but clicking is better :P
6.Ask the user before it overwrites an existing demo file.
7.If i type in something like ^^ into the map name field, it hangs up and gives me an "Error #-101" after a while. Maybe add an error message here.
8. You have the date (time_submitted). Maybe add it to the results.
1.It doesn't sort result, first it downloads JSON list then convert it into array and test for matching. So, banterous website format this like that.
2.If you are lazy... Ok :-]
3.Then what it should do? Write 'nothing found' after searching?
4.#-11 means that is not good banterous website... But if i add that only good demo site will be accepted, then user can get annoyed: Why i can't click that? I better add some user-friendly message.
5.I allways think that writing is better, but ok
6.Same ID=Same file? Or am i wrong?
7. In my case it founds 0 demos (it allways hangs for a while.. :P - downloading whole banterous demo list). #-101 means error while downloading data, so i guess it was your internet problem.
8. If you want...

Narga

  • 68 Carbine
  • Posts: 401
Re: Banterous demo downloader
« Reply #5 on: March 27, 2011, 09:25:16 PM »
It would be cool if it could convert the .dm2 to a .AVI or .MPEG2.

webhead

  • Committee Member
  • Autococker
  • Posts: 1185
Re: Banterous demo downloader
« Reply #6 on: March 28, 2011, 02:41:37 AM »
It would be cool if it could convert the .dm2 to a .AVI or .MPEG2.
ViciouZ made a tool that will convert to .avi: DP2Demo2AVI

payl

  • 68 Carbine
  • Posts: 365
Re: Banterous demo downloader
« Reply #7 on: March 28, 2011, 05:01:41 AM »
It would be cool if it could convert the .dm2 to a .AVI or .MPEG2.
It's "Banterous demo downloader" not "demo converter".

Looks good. Anyway, Lazar is object pascal or not? I don't know now..
(Forgot to reply before... :-] )
Yes, it's object pascal/Delphi.

And, i made most features requested:
- Override dialog
- "Nothing found" after searching
- User-friendly message to Error #-11
- Directory choose dialog
- You can't make forms bigger or smaller
- Result form is bigger
- Submitted time on results
- Adding "\" if you don't put it in paintball path
- Less laggy downloading (but not in threads so still lags :-] )

Will upload v.1.1 in seconds... Done

Aveiro

  • 68 Carbine
  • Posts: 485
Re: Banterous demo downloader
« Reply #8 on: March 28, 2011, 07:45:39 AM »
everywhere my name (avi, avi, avi,...)

Narga

  • 68 Carbine
  • Posts: 401
Re: Banterous demo downloader
« Reply #9 on: March 28, 2011, 07:58:56 AM »
It's "Banterous demo downloader" not "demo converter".

I know, but it would be cool if it could. I would use Fraps, but I tried it and for some reason, after 5 or 10 secs, it stops recording.

payl

  • 68 Carbine
  • Posts: 365
Re: Banterous demo downloader
« Reply #10 on: March 28, 2011, 08:07:26 AM »
I know, but it would be cool if it could. I would use Fraps, but I tried it and for some reason, after 5 or 10 secs, it stops recording.
It would be cool, if some1 create program to 'create' money, huh? You offtopic, so please stop it. And there is program which convert demos into .AVEIRO .AVI format, which webhead mentioned (and that was offtopic too).

pvtjimmy

  • Committee Member
  • Autococker
  • Posts: 2098
Re: Banterous demo downloader
« Reply #11 on: March 28, 2011, 08:48:53 AM »
It would be cool, if some1 create program to 'create' money, huh? You offtopic, so please stop it. And there is program which convert demos into .AVEIRO .AVI format, which webhead mentioned (and that was offtopic too).

probably the first comment by a polak that made me laugh loud :D

Furthermore, try using the "search-button" (it's there for a reason) if you're looking for some special, game-related, software. Although you seem to be very clever, someone else already had the most of your ideas, i.e. you'll probably find a solution for it on the forumz ;)

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Banterous demo downloader
« Reply #12 on: March 28, 2011, 10:01:35 AM »
1.It doesn't sort result, first it downloads JSON list then convert it into array and test for matching. So, banterous website format this like that.
That's why the API lets you put "sortfield" and "order" into the get requests ;)

It would be cool if it could convert the .dm2 to a .AVI or .MPEG2.
ViciouZ made a tool that will convert to .avi: DP2Demo2AVI
Yeah, it's really really bad... I'm working on a tutorial/app which uses .kkapture to automate it, with the benefits of perfect framerate, sound sync and not needing like 500gb of HD space.

Also, this piece of software rocks ;D

payl

  • 68 Carbine
  • Posts: 365
Re: Banterous demo downloader
« Reply #13 on: April 05, 2011, 03:50:57 PM »
Bump.

Uploaded version v.1.2 , which only add support for new links used in banterous website. Enjoy.

Ideas are welcome!

payl

  • 68 Carbine
  • Posts: 365
Re: Banterous demo downloader
« Reply #14 on: April 26, 2011, 07:18:51 AM »
Again bump.

Version v.1.3 has been uploaded! This is next support fix version. Also it's compiled with Lazarus 0.9.30 now.
(I'm hope that is last version and Viciouz don't create more link types :P )

Bugs? Ideas? Feel free to post it here.

f3l1x

  • Committee Member
  • VM-68
  • Posts: 213
Re: Banterous demo downloader
« Reply #15 on: April 26, 2011, 09:57:16 AM »
Bug:
If i have no installed the game. I saw the error message and then is the window in bottom right corner (nearlly whole window hide). Same thing with finding demos. I have windows 7.

Idea:
Vicouz has map screenshot database. Dont you want to connect with it? But this is only more user stuff ;-)

payl

  • 68 Carbine
  • Posts: 365
Re: Banterous demo downloader
« Reply #16 on: April 26, 2011, 12:29:03 PM »
Bug:
If i have no installed the game. I saw the error message and then is the window in bottom right corner (nearly whole window hide). Same thing with finding demos. I have windows 7.
Oh yes i forgot about form position... will be fixed in v.1.4 .

Idea:
Vicouz has map screenshot database. Dont you want to connect with it? But this is only more user stuff ;-)
For now i don't ever download any part of banterous website, except demo. I just get ID from link and download it... I'm not sure how it should look like. If you type link into browser, you get all info, with map preview too. I made this just to stop annoying downloading, like choosing demos directory first, next opening paintball and typing in demo name... Thats annoying, better you copy link into my downloader, click button and you are watching demo.

f3l1x

  • Committee Member
  • VM-68
  • Posts: 213
Re: Banterous demo downloader
« Reply #17 on: April 27, 2011, 09:30:31 AM »
For now i don't ever download any part of banterous website, except demo. I just get ID from link and download it... I'm not sure how it should look like. If you type link into browser, you get all info, with map preview too. I made this just to stop annoying downloading, like choosing demos directory first, next opening paintball and typing in demo name... Thats annoying, better you copy link into my downloader, click button and you are watching demo.

Just idea. I was looking for some improvement.. Btw, Lazarus looks great. I work in JAVA but sometimes i search sth easier ;-) Can you give mi ani tips/feedback about Lazarus?

payl

  • 68 Carbine
  • Posts: 365
Re: Banterous demo downloader
« Reply #18 on: April 27, 2011, 10:16:29 AM »
Lazarus is RAD, so its kinda faster than clear java. Also it gives not bad speed results. And we can install Lazarus almost everywhere... Well everything you need is on Lazarus wiki... http://wiki.lazarus.freepascal.org/Lazarus_Documentation . If you have any questions fell free to ask anyone on Lazarus IRC, in mailing list, or eventually me :P . But instalation doesn't make any troubles and you should compile "hello world" without problems... Next time ask on PM, i hate offtopic on my project threads :D .

payl

  • 68 Carbine
  • Posts: 365
Re: Banterous demo downloader
« Reply #19 on: May 16, 2011, 08:13:39 AM »
So, Banterous demo downloader v.1.4 is out!

News in v.1.4:
-Link catcher!
-Support for dplogin demos download!
-Now all forms are default in the middle of screen (as f3l1x said to make is suitable for all resolutions).
-Updated my maskchk unit so some buggy links won't work anymore

I guess it's biggest update ever in banterous demo downloader. Enjoy!
Bugs,Ideas & feedback below!