#1
|
|||
|
|||
$$$ for a HH file splitter (like the one PT has)
I hypothetically get a large amount obtain a large amount of HH files but they unfortunately have 1000 hands/file. If they were 100 hands/file they would import a lot faster. The PT file splitter sucks and would take forever to split these into 100 hands/file.
What I need: A program/utility/whatever that would take a folder of .txt HH files of Y hands/file and split the files into .txt HH files of X hands/file presumably putting them in another folder. The program would have to deal with the original .txt HH files being of variable length (because the last HH file is never 1000 hands/file). It probably wouldn't be able to shove the new split files into the original folder because then the program might try splitting them again. To be honest, I don't think this would be very hard with someone good at programming (I'm decent/poor) but I could be very wrong. How much $ would I have to pay for this? |
#2
|
|||
|
|||
Re: $$$ for a HH file splitter (like the one PT has)
http://www.spadeit.com/splitter.zip
This should be working. Quick guide: - Unzip and run Splitter.exe. - Press "Split handhistoryfiles" and select the files you want to get splitted. - Last choose a destination directory for the splitted files... - buy SpadeEye ( www.spadeit.com ) [img]/images/graemlins/grin.gif[/img] |
#3
|
|||
|
|||
Re: $$$ for a HH file splitter (like the one PT has)
is this .exe legit? all it did was merge my 25 HH files into a big ass file with all of the info presumably in it. also, it froze my computer and its slow to respond at the moment.
what i want is to be able to select a source folder or a group of HH files (like my 25 files) and turn them into 250. |
#4
|
|||
|
|||
Re: $$$ for a HH file splitter (like the one PT has)
What site is this for? Maybe Mr Snood's utility does not parse your site's files correcly (not checked it out, but a likely guess if it makes one huge file)
It may only take a few lines of AHK, but I don't know how quick it would be... |
#5
|
|||
|
|||
Re: $$$ for a HH file splitter (like the one PT has)
My splitter above is made for PartyPoker handhistories only i guess...
|
#6
|
|||
|
|||
Re: $$$ for a HH file splitter (like the one PT has)
PokerStars, sorry
|
#7
|
|||
|
|||
Re: $$$ for a HH file splitter (like the one PT has)
[ QUOTE ]
PokerStars, sorry [/ QUOTE ] I guess this will come in handy importing those marathon 20k hand sessions [img]/images/graemlins/smile.gif[/img] Seems fairly quick, but I suppose that depends on your CPU / disk setup. I just got 85K hands (originally ~1000 hands per file) done in about one minute... YMMV. Just Copy/Paste, save & run. It will ask you for an input folder and an output folder. Take care with output folder - Make sure it's empty, preferably new folder - there is no checking if files are already present before writing output. It will tell you how many hands processed when finished. You can specify Hands per file output at the top of this script. StarsHandHistorySplitter.ahk <font class="small">Code:</font><hr /><pre> ;------------------------------------------------------------------------------ #NoEnv #MaxMem 1024 HandsPerFile := 100 dlim := "PokerStars Game #" ;SetBatchLines, -1 AllHands := "" FileSelectFolder, InputFolder, , , Select the Folder of Hand Histories if (!ErrorLevel) { FileSelectFolder, OutputFolder, , , Select the Folder to Save Output if (!ErrorLevel) { Loop, %InputFolder%\*.txt { tmp := "" FileRead, tmp, %A_LoopFileFullPath% AllHands := AllHands . tmp } StringReplace, AllHands, AllHands, %dlim%, µ, All StringSplit, hands, AllHands, µ OutFile := OutputFolder . "\Hands_" Loop, %hands0% { OutFileName := OutFile . Floor((A_Index / HandsPerFile)) . ".txt" data := dlim . hands%A_Index% FileAppend, %data%, %OutFileName% } MsgBox, %hands0% Hands Processed. } } ;------------------------------------------------------------------------------ </pre><hr /> Enjoy, dave. |
#8
|
|||
|
|||
Re: $$$ for a HH file splitter (like the one PT has)
[img]/images/graemlins/heart.gif[/img]
i understand your code but don't know anything about AHK and could never write something like this on my own thanks. my computer (2.5yo HP laptop) obviously sucks cause its does one 1k hand file per 20 seconds. how long did this take you and how much do you value your time? i know its awkward to ask for a $ amount but i'm sure you'd rather that than me xfer an amount that you thought was too much. also, (i know this is kind of naive assuming someone who's good at coding is good with hardware) i'm thinking about getting a new desktop. i would want it to be able to be fast, but dont need anything special graphics and/or application wise other than able to support 2x monitors and be damn fast with PT imports and stuff. is there anything i should be looking for in general? should I be waiting for MS Vista (i think late January release)? |
#9
|
|||
|
|||
Re: $$$ for a HH file splitter (like the one PT has)
Hi KLJ,
[ QUOTE ] how long did this take you [/ QUOTE ] Presumably ~1 hour looking at the difference between your confirmation of PokerStars, and my post of the script. ALthough I did assume PokerStars and do some reading before you confirmed. [ QUOTE ] and how much do you value your time? [/ QUOTE ] I should be sleeping (need to be at work in ~5 hours) [img]/images/graemlins/smile.gif[/img] [ QUOTE ] also, (i know this is kind of naive assuming someone who's good at coding is good with hardware) i'm thinking about getting a new desktop. [/ QUOTE ] My day job I am a harware tech. [img]/images/graemlins/smile.gif[/img] I spend my work time assembling / testing / repairing computers of various qualities, from ~£170 to ~£1500 (Local non-chainstore, "screwdriver shop". So not a bad assumtion. If you check my post history I am posting mainly here, but if I go elsewhere it is CT-Help most likely. [ QUOTE ] i would want it to be able to be fast, but dont need anything special graphics and/or application wise other than able to support 2x monitors and be damn fast with PT imports and stuff. is there anything i should be looking for in general? [/ QUOTE ] Not enough time to make detailed suggestions now (very tired and need to sleep). Get a fast dual-core CPU (Athlon64 X2 or if budget can take it Intel Core2Duo). Get a decent HDD, preferably a couple. Get at least 1GB RAM (as fast as you can afford), preferably 2GB. If budget is a concern I'd prefer 1GB of super-fast RAM over 2GB of standard stuff. Get a fast, decent HDD, preferably more than one. Get a VGA card with DUAL-DVI for maximum quality picture on the flat panels. [ QUOTE ] should I be waiting for MS Vista (i think late January release)? [/ QUOTE ] Any respectable PC purcased today will have little trouble with Vista. It is painful to purchase a legit XP license knowing it has < 2 months shelf life, but there probably isn't a great need to rush into Vista immediately on release. I will probably install it straight away on a random machine / customers machines, but it will be several months before I install it on my poker machine, I would think. It is probably best to pick out some bits & pieces, and post a "What do you think" thread in CTH - advice is very good there in recent months BiPolar_Nut, GoldToes, Freakin, many more CTH regs are all very knowledgeable. dave. |
#10
|
|||
|
|||
Re: $$$ for a HH file splitter (like the one PT has)
[ QUOTE ]
It is painful to purchase a legit XP license knowing it has < 2 months shelf life, but there probably isn't a great need to rush into Vista immediately on release. I will probably install it straight away on a random machine / customers machines, but it will be several months before I install it on my poker machine, I would think. [/ QUOTE ] I recently bought a 17" Sony Vaio laptop with WUXGA (1920x1200) that comes with a free Vista upgrade. |
|
|