Posted March 04, 2015
phaolo
I live.. again!
Registered: Dec 2013
From Italy
pablodusk
boo!
Registered: Aug 2014
From United States
Magnitus
Born Idealist
Registered: Mar 2011
From Canada
Posted March 04, 2015
K, I added escapes for special regex characacters by default since most users won't use the full power of regexes anyways and will just be confused about escaping special regex characters.
Yes, I think so. I'll reboot with Windows and try it. See if I can replicate your error.
I added an exception catch to expect input before exiting.
Yes, I think so. I'll reboot with Windows and try it. See if I can replicate your error.
I added an exception catch to expect input before exiting.
Post edited March 04, 2015 by Magnitus
Magnitus
Born Idealist
Registered: Mar 2011
From Canada
Posted March 04, 2015
still get the error -> yes, but I noticed that even option1 crashes. O_o
copy-paste the error--> how? The window closes immediately..
I'll need more information to isolate your problem.
The content of your patterns.txt file would be a helpful start and the error message you're getting would be great.
Make sure you re-download the script.
EDIT: Ah, I managed to get your error. Its a Python 3 problem. I'll now be able to fix it.
Post edited March 04, 2015 by Magnitus
Magnitus
Born Idealist
Registered: Mar 2011
From Canada
phaolo
I live.. again!
Registered: Dec 2013
From Italy
nakano
New User
Registered: Dec 2011
From Finland
Posted March 04, 2015
Pretty neat script. It is now working with latest Python 3.4.3 on Windows.
phoeniixz
Linux Adventurer
Registered: Apr 2010
From Thailand
Splatsch
Birdy
Registered: Apr 2013
From France
Posted March 04, 2015
The new version of the script is working perfectly, thanks a lot to every people involved in it !
The "how to use" is well explained too, and it's easy to use :)
Edit : maybe the "alarm" part (youtube video or sound file) needs some further explication for inexperienced people (in the script, I don't understand what is "SoundFileUrl" used for. I think I get it, but not sure).
The "how to use" is well explained too, and it's easy to use :)
Edit : maybe the "alarm" part (youtube video or sound file) needs some further explication for inexperienced people (in the script, I don't understand what is "SoundFileUrl" used for. I think I get it, but not sure).
Post edited March 05, 2015 by Splatsch
phoeniixz
Linux Adventurer
Registered: Apr 2010
From Thailand
Posted March 04, 2015
I found an issue with following games:
"Beyond Good & Evil™"
"Indiana Jones® and the Fate of Atlantis™"
When running on Windows 7 an Unicode exception occurred. But it runs without any problem on Linux.
You can use my modified version as a workaround until the fix is done.
Edit: Link updated to work on Python 3
Link: https://dl.dropboxusercontent.com/u/4157463/GOG-Flash-Promo-Script.zip
"Beyond Good & Evil™"
"Indiana Jones® and the Fate of Atlantis™"
When running on Windows 7 an Unicode exception occurred. But it runs without any problem on Linux.
You can use my modified version as a workaround until the fix is done.
Edit: Link updated to work on Python 3
Link: https://dl.dropboxusercontent.com/u/4157463/GOG-Flash-Promo-Script.zip
Post edited March 05, 2015 by phoeniixz
mobutu
down with DRM
Registered: Sep 2010
From Other
Posted March 05, 2015
Nice work, thanks ;)
Splatsch
Birdy
Registered: Apr 2013
From France
Posted March 05, 2015
"Beyond Good & Evil™"
"Indiana Jones® and the Fate of Atlantis™"
When running on Windows 7 an Unicode exception occurred. But it runs without any problem on Linux.
You can use my modified version as a workaround until the fix is done.
Link: https://dl.dropboxusercontent.com/u/4157463/GOG-Flash-Promo-Script.zip
BoxOfSnoo
epic meh.
Registered: Sep 2008
From Canada
Posted March 05, 2015
Hi there...
I tweaked your script today... and decided to let you in on it. While I am a professional programmer, I'm a Python newb... :)
I added a quick & dirty option to run a batch or script file as the alarm. I probably should have included a sample script file... and also some rudimentary error trapping... but that's what future commits are for, right?
I created a pull request if you're interested.
I tweaked your script today... and decided to let you in on it. While I am a professional programmer, I'm a Python newb... :)
I added a quick & dirty option to run a batch or script file as the alarm. I probably should have included a sample script file... and also some rudimentary error trapping... but that's what future commits are for, right?
I created a pull request if you're interested.
Magnitus
Born Idealist
Registered: Mar 2011
From Canada
Posted March 05, 2015
Thanks a lot for your effort on the script, Magnitus. I also have learned new things from it. :)
"Beyond Good & Evil™"
"Indiana Jones® and the Fate of Atlantis™"
When running on Windows 7 an Unicode exception occurred. But it runs without any problem on Linux.
...
I am, though if I pull the merge now, it won't run without the shell script which is activated by default and I assume is Mac OS specific.
I made a recommendation in the pull request.
Post edited March 05, 2015 by Magnitus
phoeniixz
Linux Adventurer
Registered: Apr 2010
From Thailand
Posted March 05, 2015
Updated:
I added more information like discount percentage, sale price, and original price along with the game title.
Link: https://github.com/phoeniixz/GOG-Flash-Promo-Script
I added more information like discount percentage, sale price, and original price along with the game title.
Link: https://github.com/phoeniixz/GOG-Flash-Promo-Script
Post edited March 05, 2015 by phoeniixz