topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday April 18, 2024, 1:35 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: IDEA:Extracting/scraping text from within programs and games  (Read 6918 times)

Dochappy

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 59
    • View Profile
    • Donate to Member
I'm looking for a program that can extract text(which cannot be copied by normal means) from a program or game. I have tried several programs and only  SysExporter helped a little by  letting me copy a little of the text but  it still left a lot to be desired. Textractor,WinScraper,ShoWin, and Count Characters didn't work at all.

I contacted the creator of the text based game to see if he had any ideas and with the older games it was impossible to code so copying would work. In the newer versions he  built in an excel exporter that exports the roster and stats straight to an excel file.

I would love for that to be be possible with this game but it's an older version there's no more support for it so I'm stuck with typing the data by hand. The stats are constantly updated doing by hand will be a nightmare.

would it be possible to  code a small program that can extra all data from the game while it's open or maybe from the game files ?

thanks in advance

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
    • View Profile
    • Donate to Member
Re: IDEA:Extracting/scraping text from within programs and games
« Reply #1 on: March 21, 2011, 10:19 PM »
Give Control Content Saver a try. Other options... WinDowzer (Website in Russian but the application interface is English) and BinText

Dochappy

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 59
    • View Profile
    • Donate to Member
Re: IDEA:Extracting/scraping text from within programs and games
« Reply #2 on: March 21, 2011, 11:16 PM »
thanks for the links just finished downloading and trying  them out. Control Content Saver and Bintext worked but like SysExporter it was only able to get some of the text. WinDowzer could not get any of the tex. again thanks for the link.

the game is Extreme Warfare Revenge and Total Extreme Warfare 2007. maybe it's impossible due to the way its coded ?

PhilB66

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,522
    • View Profile
    • Donate to Member
Re: IDEA:Extracting/scraping text from within programs and games
« Reply #3 on: March 21, 2011, 11:54 PM »
Maybe TextGrabber then?

Also try extracting the text with JOCR or rOCR

Renegade

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 13,288
  • Tell me something you don't know...
    • View Profile
    • Renegade Minds
    • Donate to Member
Re: IDEA:Extracting/scraping text from within programs and games
« Reply #4 on: March 22, 2011, 04:40 AM »
Look into localization and translation software. Resource Hacker is a good one.
Slow Down Music - Where I commit thought crimes...

Freedom is the right to be wrong, not the right to do wrong. - John Diefenbaker

Dochappy

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 59
    • View Profile
    • Donate to Member
Re: IDEA:Extracting/scraping text from within programs and games
« Reply #5 on: March 22, 2011, 07:56 AM »
never figured I'd get this much help. thanks guys for the kind response.  Text grabber JOCR and Rocr and Resource hacker couldn't copy the text either.
If only I could select the text and export it to a plain text or csv file I'd be happy lol

thanks again

skwire

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 5,286
    • View Profile
    • Donate to Member
Re: IDEA:Extracting/scraping text from within programs and games
« Reply #6 on: March 22, 2011, 08:07 AM »
Scraping text from games can be notoriously difficult and random.  Though I always say that you can accomplish anything with enough lines of code  :D, you may have to accept that this can't be accomplished.  It's possible that you might be able to leverage the ImageSearch/PixelSearch capabilities of AutoHotkey to "read" the game screen but it would be a ton of work.

Dochappy

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 59
    • View Profile
    • Donate to Member
Re: IDEA:Extracting/scraping text from within programs and games
« Reply #7 on: March 22, 2011, 08:34 AM »
I knew it would be a long shot from the start Skyline lol :Thmbsup:  maybe  if enough people request it the creator will  release something. thanks again guys greatly appreciated

rjbull

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 3,199
    • View Profile
    • Donate to Member
Re: IDEA:Extracting/scraping text from within programs and games
« Reply #8 on: March 22, 2011, 05:16 PM »
CopyText is another freeware that looks similar to Control Content Saver.  Warning - trying to use it has sometimes done my head in  :o

Another thought - maybe take a screenshot, put it in EverNote, and use EverNote's text recognition feature?  I should add that I'm using old EverNote 2.2, not the only current version which has gone cloud and which I haven't tried.

Maybe ABBYY Screenshot Reader, $10, which is like a more sophisticated equivalent of JOCR but doesn't need Microsoft Office installed?

Dochappy

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 59
    • View Profile
    • Donate to Member
Re: IDEA:Extracting/scraping text from within programs and games
« Reply #9 on: March 22, 2011, 05:33 PM »
copyText was one  of the first apps I tried. Never thought of evernote or ABBYY Screenshot reader either. I'll look for a demo of those two and see if it will help thanks.

Dochappy

  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 59
    • View Profile
    • Donate to Member
Re: IDEA:Extracting/scraping text from within programs and games
« Reply #10 on: March 24, 2011, 03:36 AM »
I decided before giving up on this I would go back through each app  that was mentioned and try again. and to my surprise one of them finally worked. not sure what was different  but after trying Jorc again I got some pleasing results. It wasn't 100% accurate but most ocr programs aren't. so far it's crashed on me a few times but it captures more than SysExporter or any other  app I have tried.

Thanks for the help guys. it's greatly appreciated