It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
avatar
phaolo: I haven't got any apostrophes in my file, maybe it's a different error.
avatar
Magnitus: You still get the error after the latest fix?
Can you copy-paste the error?
apostrophes -> I meant that maybe Leroux's error is different.

still get the error -> yes, but I noticed that even option1 crashes. O_o

copy-paste the error--> how? The window closes immediately..
avatar
phaolo: ... copy-paste the error--> how? The window closes immediately..
Edit: Nevermind, Magnitus' update should take care of this :)
Post edited March 04, 2015 by pablodusk
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.

avatar
phaolo: apostrophes -> I meant that maybe Leroux's error is different.
Yes, I think so. I'll reboot with Windows and try it. See if I can replicate your error.

avatar
phaolo: still get the error -> yes, but I noticed that even option1 crashes. O_o

copy-paste the error--> how? The window closes immediately..
I added an exception catch to expect input before exiting.
Post edited March 04, 2015 by Magnitus
avatar
phaolo: apostrophes -> I meant that maybe Leroux's error is different.

still get the error -> yes, but I noticed that even option1 crashes. O_o

copy-paste the error--> how? The window closes immediately..
Ok, I tested it and it's not Windows in general. It seems to be specific to your setup.

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
avatar
phaolo: still get the error -> yes, but I noticed that even option1 crashes. O_o
You should be fine now.
avatar
Magnitus: You should be fine now.
Thank you again.
I'll try the script later, however, because I'm quite ill at the moment (=_=)
Pretty neat script. It is now working with latest Python 3.4.3 on Windows.
The script works great with Python 2.7 on Linux Mint and Both Python 2.7 and 3.4.3 on Windows 7. Apostrophe in game title is now display correctly.

Thanks a lot for your effort on the script, Magnitus. I also have learned new things from it. :)
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).
Post edited March 05, 2015 by Splatsch
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
Attachments:
Post edited March 05, 2015 by phoeniixz
Nice work, thanks ;)
avatar
phoeniixz: 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.

Link: https://dl.dropboxusercontent.com/u/4157463/GOG-Flash-Promo-Script.zip
Thanks. I confirm, it don't like ® and™ characters I think.
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.
avatar
phoeniixz: The script works great with Python 2.7 on Linux Mint and Both Python 2.7 and 3.4.3 on Windows 7. Apostrophe in game title is now display correctly.

Thanks a lot for your effort on the script, Magnitus. I also have learned new things from it. :)
Thanks a lot for contributing. I'm glad the script benefited you in more ways than one :).

avatar
phoeniixz: 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.

...
Interesting. Guess it's too late to catch it in the act now. I'll re-read the unicode section of my Python brick as it pertains to Python 2.7 vs 3.4 and see if I can catch an error in the code just by reading it.

avatar
BoxOfSnoo: ...

I created a pull request if you're interested.
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
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
Attachments:
shot.png (43 Kb)
Post edited March 05, 2015 by phoeniixz