Todkapuz Thread Coutner LITE

From whuckaba
Jump to: navigation, search


Todkapuz Thread Counter LITE (TCL) is a DOS based program intended to count votes around the SAIMOE Tourny, orignially developed in 2006, still usable in 2008. Version 2 is just an update to handle the Kagami-Tsukasa match of 2008.

See this program's parent at Todkapuz Thread Counter v6


Legal Stuff

Disclaimer

This program is provided “as is”. I make no warranties or guaranties, written or implied, for the use, or misuse, of this program. I do not recommend obtaining this program from any other source other than this website.

The use of this program is for entertainment purposes only.

As the program does not have access to a valid vote code record, this program will never be 100% accurate.

License

This program is provided as freeware for nonprofit and personal use, however the source code is not currently being provided as freeware. This program is not intended, nor licensed, for commercial usage. Please contact me for use within a commercial program.

Donations are welcome (contact me on AnimeSuki at Todkapuz).

Concept

Saimoe is an annual festival to share our favorite anime women with each other. It is intended to provide visibility to lesser known series, and to provide kinship for the more known series.

As part of the Saimoe festival, during the primary tourney, different anime women characters compete to determine who is the most Moe. This is done in a public forum (2ch.net) so the workings and support are all visible to all who partake.

This progam only counts ALL votes in existance, regardless of validity of vote.

Operation

  • Obtain TCL.exe (or equiv named file)
  • Obtain thread sources... go to thread, make sure you are viewing the whole thread, right-click, view source (or similar such command). Then save resulting file in the same directory as this program (preferably name file in.txt, or similar).
  • Edit Match.txt based on configuration section of this wiki.
  • Run the program.

I know it's a bit more comlpex than that, maybe... but hopefully the examples will provide guidance.

I recommend that you download in.txt, match.txt, and this program to get a feel for it.

Configuration of Program

This program is intended to be configured from the match.txt file. Due to unforseen complications, the v6.00 program's match.txt is not compatible with previous versions of this program, nor is the v5.98 match60.txt forward compatible, dispite attempting to keep the same match file.

The file match.txt is required to run this program. match.txt is the default name, however this program does support drag-n-drop of match.txt of other names when using a short-cut to the program. See bug section.

This program uses the same configuration file as the parent program.


Example of match.txt file: (update before release!)

-1
0
-2
-1
-1
0
0
-1
01:00:00
23:11:59
[[AS7-/Ria5eVO-HD]]
AS7-
-1
0
0
-1
-1
0
0
0
master.txt
master.txt
master.txt
1
in.txt
9
1,Kokoro
1,Ranka
1,Mayu
2,Mika
2,Siesta
2,Mikan
3,Horo
3,Asuka
3,Gekka
1,<<ŒjS—School Days ƒVƒŠ[ƒY>>
1,<<ŒjS>>
2,<<ƒ‰ƒ“ƒJEƒŠ[—ƒ}ƒNƒƒXFRONTIER>>
2,<<ƒ‰ƒ“ƒJEƒŠ[>>
3,<<ŒŽ‘º^—R—‚²D‚³‚Ü“ñƒm‹{‚­‚ñ>>
3,<<ŒŽ‘º^—R>>
4,<<ˆîXŒõi‚Ý‚©‚ñj—‚ª‚­‚¦‚ñ‚ä[‚Æ‚Ò‚  ‚܂ȂуXƒgƒŒ[ƒg!>>
4,<<ˆîXŒõi‚Ý‚©‚ñj>>
5,<<ƒVƒGƒXƒ^—ƒ[ƒ‚ÌŽg‚¢–‚ `‘oŒŽ‚Ì‹RŽm`>>
5,<<ƒVƒGƒXƒ^>>
6,<<Š‹é‚Ý‚©‚ñ—ƒŒƒ“ƒ^ƒ‹ƒ}ƒMƒJ>>
6,<<Š‹é‚Ý‚©‚ñ>>
7,<<ƒzƒ—˜T‚ƍh—¿>>
7,<<ƒzƒ>>
8,<<ç–ì–¾“ú‰Ä—ƒLƒ~ƒLƒX pure rouge>>
8,<<ç–ì–¾“ú‰Ä>>
9,<<—èŒŽ—‹¶—‰Æ‘°“ú‹L>>
9,<<—èŒŽ>>

The various line controls are detailed below:

Program Configuration

Line 1 to 23 of Match.txt

UNUSED in TTC-LITE .. only here for cross compatability and future applications. Must have blanks or random stuff.

Line 24 of Match.txt

  • Total Thread Source Files to open. Should be more than 0.

Line 24a of Match.txt

The actual files to open for the input source (former in.txt), one each line, as many as specified in line 24.

NOTE: MUST BE IN DOS FORMAT! That means that it can only be 8 character file name, dot, 3 charector extension. If the file is in another directory, directory names must be the 8-char version.

So I highly recommend that you keep the input in the same directory as the program, and use file names like:

  • in.txt
  • in2.txt
  • in3.txt
  • 080902a.txt

All remaining lines of Match.txt

Not used in TTC-LITE.. not necessary to run.


Other Files Related To This Program

in.txt (or equiv)

  • Required to run.
  • File name is set in match.txt file, so this may be whatever is selected.
  • Provided by user from 2ch.
  • File may have other names in the version 5.94+ multi-file support mode (for improved ease).
  • When viewing a COMPLETE 2ch thread, right click and 'view source'. Save source, and rename to in.txt (or similar). Basically all this is. For multiple threads, for version 5.93 and before, they must be copied into one file (end to end). Version 5.93 and before CAN detect the thread changes, and will produce a validation code similar to the actual validation file. Version 5.94 and above supports multiple input files. NOTE, however, they must include the FULL source code of each page, or it might not detect thread changes... so make sure you're viewing '1-1000'

TCL.TXT

This is the output file... holds vote information.

TCL2.TXT

Same as above, slight format change for Todkapuz's usage.

What you Really Want

IMPORTANT - RIGHT CLICK, SAVE-AS ... otherwise the .txt will just load in this window. Save to any directory (preferably one just for this program).

CURRENT

  • [match.txt] - EXAMPLE - UPDATED FOR TTC 6.00
  • [in.txt] - EXAMPLE - UPDATED FOR TTC 6.00