Advertisement
teplofizik

tv_help.txt

Dec 14th, 2015
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.70 KB | None | 0 0
  1. TenhouViewer [dev.]
  2. Help:
  3. TenhouViewer -DHash - download game;
  4.  
  5. TenhouViewer -dLog.txt - download all games from log Log.txt;
  6. mjlog=D - load .mjlog from specified folder if exists
  7.  
  8. TenhouViewer -PHash - parse game;
  9.  
  10. TenhouViewer -pLog.txt - parse all games from log Log.txt;
  11. force - force parsing (don't skip exists files);
  12. mjlog=D - check replays .mjlog in specified folder if exists (if not - from download folder);
  13.  
  14. TenhouViewer -fLog.txt - find games from log Log.txt with query:
  15. reset - reset game list to default state (if previous search results are used);
  16. lobby=N - find all games from specified lobby (0-6);
  17. aka=N - only games with aka-dora nashi/ari (0-1);
  18. kuitan=N - only games with aka-dora nashi/ari (0-1);
  19. south=N - only games without/with south round (0-1);
  20. speedy=N - only normal/high speed games (0-1);
  21. dan - only games from 1+dan lobby;
  22. upperdan - only games from upper dan lobby;
  23. shanten=N - find all hands started with N shanten number (0-6);
  24. shantenmin=N - find all hands started with shanten number greater (or equal) than N (0-6);
  25. shantenmax=N - find all hands started with shanten number less (or equal) than N (0-6);
  26. ratingmin=N - find all players, who has rating greater (or equal) than N (1000-3000);
  27. ratingmax=N - find all players, who has rating less (or equal) than N (1000-3000);
  28. paymentmin=N - find all players, who receive or pay greater (or equal) than N pt (-1000000-1000000);
  29. paymentmax=N - find all players, who receive or pay less (or equal) than N pt (-1000000-1000000);
  30. waitmin=N - find all hands which has N or greater sides of winning waiting (1-13);
  31. waitmax=N - find all hands which has N or less sides of winning waiting (1-13);
  32. hanmin=N - find all hands which has han count greater (or equal) than N (1-13);
  33. hanmax=N - find all hands which has han count less (or equal) than N (1-13);
  34. fumin=N - find all hands which has fu count greater (or equal) than N (1-120);
  35. fumax=N - find all hands which has fu count less (or equal) than N (1-120);
  36. dangermin=N - find all hands which has danger tiles count greater (or equal) than N (0-14);
  37. dangermax=N - find all hands which has danger tiles count less (or equal) than N (0-14);
  38. deadoutsmin=N - find all hands which has count of outs in dead wall greater (or equal) than N (1-14);
  39. deadoutsmax=N - find all hands which has count of outs in dead wall less (or equal) than N (1-14);
  40. place=N - find all players, who took N place (1-4);
  41. rank=N - find all players, who has rank N (0-20);
  42. nickname=N - find player, who has nickname N (string);
  43. sex=N - find player of pecified sex N (char: f - female, m - male, c - computer);
  44. hash=N - find game with hash N (string);
  45. steps=N - find all hands, who exist less (or equal) than N steps (0-60);
  46. yaku=N,M,X - find all hands, which has N,M,X,... yaku (0-54);
  47. anyyaku=N,M,X - find all hands, which has any of N,M,X,... yaku (0-54 or name);
  48. wait=N,M,X - find all hands, which has at least one tile from list in waiting: N,M,X,... ((1p,1p,2m,6z,...);
  49. dealer=N - find all (not) dealer's hands (0-1);
  50. winner=N - find all (not) completed hands (0-1);
  51. loser=N - find all players (games), who (not) dealt into ron (0-1);
  52. riichi=N - find all hands with declared (or not) riichi (0-1);
  53. firstriichi=N - find all players who declared riichi (not) first (0-1);
  54. rononriichi=N - find all players who (not) drawn to ron on riichi declaration (0-1);
  55. oneside=N - find all lucker players who (not) won in all rounds (except draws) (0-1);
  56. dorawait=N - find all lucker players who has (not) dora in waiting (0-1);
  57. furiten=N - find all players (games), who has (has not) furiten (0-1);
  58. ron=N - find all rounds ended with ron (0-1);
  59. tsumo=N - find all rounds ended with tsumo (0-1);
  60. tempai=N - find all hands, which has (not) tempai (0-1);
  61. players=N - count of players in game (3-4);
  62. roundwind=N - wind of current round (0-3);
  63. round=N - index of current round (0:w1, 1:w2, 2:w3, 3: w4, 4: s1, ...);
  64. playerwind=N - player's wind (0-3);
  65. riichicount=N - find all rounds with N declared riichi (0-4);
  66. renchanstick=N - find all rounds with N renchan stick (0-30);
  67. nakicount=N - find all hands with N declared nakies (0-12);
  68. openedsets=N - find all hands with N opened sets (0-4);
  69. form=NNN - find all hands, which contains specified form in specified suits (numbers + suits m,p,s);
  70. drowntiles=N,M,X - find all hands, in which player drown specified tiles (1p,1p,2m,6z,...);
  71. color=m,p,s,M,P,S,0,1 - find all colored (>80% for lower case, 100% for upper case) hands;
  72. omotesuji=N - find all hands which has (not) omote-suji waiting to discard (0-1);
  73. senkisuji=N - find all hands which has (not) senki-suji waiting to discard (0-1);
  74. urasuji=N - find all hands which has (not) ura-suji waiting to discard (0-1);
  75. matagisuji=N - find all hands which has (not) matagi-suji waiting to discard (0-1);
  76. draw=N - round ended in draw with reason (yao9,reach4,ron3,kan4,kaze4,nm);
  77. last=N - find only last N games;
  78. limit=N - find omaximum N games;
  79.  
  80. TenhouViewer -g<nickname> <fields> - graph rounds (which found by -f flag) with fields:
  81. lobby - lobby index;
  82. index - round index in list;
  83. players - player count;
  84. initshanten - shanten in start hand in round;
  85. pay - payment in round;
  86. tempai - is hand was tempai (1 or 0);
  87. dealer - is hand was dealer (1 or 0);
  88. loser - is player dealt in other hand (1 or 0);
  89. winner - is hand completed (1 or 0);
  90. riichi - is riichi declared (1 or 0);
  91. concealed - is hand was concealed (1 or 0);
  92. openedsets - amount of opened sets;
  93. cost - cost of hand;
  94. fu - count of minipoints in hand;
  95. han - count of game points in hand;
  96. step - count of steps to end in round;
  97. balance - balance in hand (pts);
  98. waiting - amount of tile types in waiting;
  99. round - index of round(0=1e,1=2e,2=3e...);
  100. roundwind - wind of current round;
  101. playerwind - player's wind;
  102. players - count of players in round;
  103. draw - round ended in draw;
  104.  
  105. TenhouViewer -G<nickname> <fields> - graph games (which found by -f flag) with fields:
  106. index - game index in list;
  107. lobby - lobby index;
  108. rating - player rating before this game;
  109. rank - player rank before this game (1=1ku, 10=1dan,...);
  110. jrating - player rating before this game (1256R);
  111. jrank - player rank before this game (四段);
  112. place - place in game;
  113. result - game result with uma;
  114. balance - balance in the end of game;
  115. players - count of players in game;
  116. datetime - date of game;
  117.  
  118. TenhouViewer -o<nickname> <fields> - format output results:
  119. Any field can be specified for any player. Sample: rank=0 rank=1 rank=2 rank=3 for table building
  120. link - link to the round;
  121. lobby - lobby index;
  122. type - lobby type (aka,kui,nan,dan,...);
  123. nickname - nickname of the player;
  124. rating - rating of the player (number);
  125. rank - rank of the player (number);
  126. jrating - rating of the player (1256R);
  127. jrank - rank of the player (四段);
  128. tablerating - average rating of players (number);
  129. jtablerating - average rating of players (1256R);
  130. place - place (result) in game;
  131. pay - player payment in round;
  132. resbalance - result balance;
  133. result - result (+uma/oka);
  134. dealer - is player dealer;
  135. winner - is player complete hand;
  136. loser - is player dealt in other player's hand;
  137. concealed - is hand concealed;
  138. tsumo - is tsumo-agari;
  139. ron - is ron-agari ;
  140. cost - cost of hand;
  141. han - amount of game points in hand;
  142. fu - amount of minipoints in hand;
  143. waiting - amount of tile types in waiting;
  144. step - amount of player steps in round;
  145. yaku - list of yaku;
  146. jyaku - list of yaku (japanese);
  147. round - current round (0-1e, 1-2e, ...);
  148. roundindex - index of round in game;
  149. place - player's place in game;
  150. roundwind - wind of current round;
  151. playerwind - player's wind;
  152. from - nickname of player who p[layed into ron;
  153. furiten - furiten hand;
  154. draw - round ended in draw;
  155. tempaicount - how many tempai;
  156. agaricount - how many agari;
  157. tsumocount - how many tsumo;
  158.  
  159. TenhouViewer -l - list all games;
  160.  
  161. TenhouViewer -y - yaku statistics [tournier mode];
  162.  
  163. TenhouViewer -s<filename> - save find or graph result to specified file;
  164.  
  165. TenhouViewer -U<hash> <params> - get paifu:
  166. dir - directory to save result (for all rounds);
  167. filename - filename to save result (for specified round, without extension);
  168. round - round index (from 0);
  169. shanten - add shanten info in paifu (+furiten marking; [0]-1);
  170. yaku - add yaku and cost info in paifu (0-[1]);
  171. nickname - add nicknames info in paifu instead A,B,C,D (0-[1]);
  172. danger - highlight danger tiles (0-[1]);
  173. color - mark shanten number by colorized rectangle (0-[1]);
  174. sex - mark player's sex by color ([0]-1);
  175. tileset=dir - alternate directory with tile images (folder name);
  176.  
  177. TenhouViewer -u <params> - get paifu for all rounds, which was found before:
  178. dir - directory to save result (for all rounds);
  179. shanten - add shanten info in paifu (+furiten marking; [0]-1);
  180. yaku - add yaku and cost info in paifu (0-[1]);
  181. nickname - add nicknames info in paifu instead A,B,C,D (0-[1]);
  182. danger - highlight danger tiles (0-[1]);
  183. color - mark shanten number by colorized rectangle (0-[1]);
  184. sex - mark player's sex by color ([0]-1);
  185. tileset=dir - alternate directory with tile images (folder name);
  186.  
  187. TenhouViewer -I<hash> <params> - get discard:
  188. dir - directory to save result (for all rounds);
  189. filename - filename to save result (for specified round, without extension);
  190. round - round index (from 0);
  191. player - player index (from 0);
  192. riichi - limit discard to riichi declaration
  193. naki - highlight tiles got other players;
  194. tsumogiri - highlight tiles discarded from wall;
  195. hand - output hand image for this discard;
  196. tileset=dir - alternate directory with tile images (folder name);
  197.  
  198. TenhouViewer -i <params> - get discards for all rounds, which was found before:
  199. dir - directory to save result (for all rounds);
  200. riichi - limit discard to riichi declaration;
  201. naki - highlight tiles got by other players;
  202. tsumogiri - highlight tiles discarded from wall;
  203. hand - output hand image for this discard;
  204. tileset=dir - alternate directory with tile images (folder name);
  205.  
  206. TenhouViewer -t <params> - get results table for all rounds, which was found before (tournier mode):
  207. mingames=N - only players, who has at least N games;
  208. sort=N - sort by parameter (place,points,balance,loss,acq,rank,rating);
  209. sortdesc=N - sort by parameter by descending (place,points,balance,loss,acq,rank,rating);
  210. index - player's index (in table, from 1);
  211. nickname - player's nickname;
  212. rank - player's rank;
  213. rating - player's rating;
  214. games - player's games count;
  215. placelist - player's places as string (1123412);
  216. place - player's average place;
  217. points - player's total points;
  218. balance - player's balance (+uma);
  219. ron - how many times player dealt in ron;
  220. agari - player's completed hands count;
  221. rounds - how many rounds was played;
  222. ronperc - dealt in ron percent;
  223. agariperc - player's completed hands percent;
  224. acq - player's total acquisitions;
  225. acqron - player's acquisitions by ron;
  226. acqtsumo - player's acquisitions by tsumo;
  227. acqdraw - player's acquisitions by draw;
  228. loss - player's total losses;
  229. lossron - player's losses by ron;
  230. losstsumo - player's losses by tsumo;
  231. lossdraw - player's losses by draw;
  232. lossriichi - player's losses by riichi declaration;
  233. riichi - how many times player declared riichi;
  234. riichiwin - how many times player win by riichi;
  235. ippatsu - how many times player got ippatsu;
  236. opened - round count where player has opened sets;
  237. 1st - percent of first place;
  238. 2nd - percent of second place;
  239. 3rd - percent of third place;
  240. 4th - percent of fourth place;
  241.  
  242. TenhouViewer -b<directory> - build log from directory's content with mjlog files;
  243.  
  244. TenhouViewer -c<directory> <options> - convert to mjlog from log;
  245. dir - directory to save result (for all replays);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement