Page 1 of 2

I made a Diplomacy GIF Generator!

PostPosted: 27 Jul 2020, 10:48
by jforster
NOTE: This does not work on chrome on android due to memory limits. I'm working on it.

Hey all, I've created a little tool for generating gifs from diplomacy games. http://diplomacygifs.herokuapp.com/

You enter a game ID and it will generate you an animated gif of the game.

Limitations:
  • Probably only works on modern browsers, I haven't tested it on older ones.
  • Currently doesn't work on android if you use the chrome or opera browsers (firefox is fine), trying to debug but it seems to be a memory limit issue. Desktop chrome and other mobile browsers seem to be fine though.
  • Won't work for older games, because playdiplomacy only stores the turn images for a certain amount of time.
  • It's currently hosted for free on heroku, which means if you're the first person to visit for a while it will take a long time to load. Be patient :D

Try it out and let me know what you think!

Re: I made a Diplomacy GIF Generator!

PostPosted: 27 Jul 2020, 11:30
by Lukan
I think it is supercool

Re: I made a Diplomacy GIF Generator!

PostPosted: 27 Jul 2020, 14:15
by VictoryFirst
It's amazing!

Re: I made a Diplomacy GIF Generator!

PostPosted: 27 Jul 2020, 16:49
by Custer
So it does whaaaaa?

:?

Custer

Re: I made a Diplomacy GIF Generator!

PostPosted: 27 Jul 2020, 17:03
by Latanst1
Very nice and very much appreciated. I have been wanting something like this so many thanks for the efforts!

jforster wrote:NOTE: This does not work on chrome on android due to memory limits. I'm working on it.

Hey all, I've created a little tool for generating gifs from diplomacy games. http://diplomacygifs.herokuapp.com/

You enter a game ID and it will generate you an animated gif of the game.

Limitations:
  • Probably only works on modern browsers, I haven't tested it on older ones.
  • Currently doesn't work on chrome on android, trying to debug but it seems to be a memory limit issue. Desktop chrome and other mobile browsers seem to be fine though.
  • Won't work for older games, because playdiplomacy only stores the turn images for a certain amount of time.
  • It's currently hosted for free on heroku, which means if you're the first person to visit for a while it will take a long time to load. Be patient :D

Try it out and let me know what you think!

Re: I made a Diplomacy GIF Generator!

PostPosted: 27 Jul 2020, 22:17
by Jack007
I get an error with Opera for Android.

Re: I made a Diplomacy GIF Generator!

PostPosted: 28 Jul 2020, 11:20
by Jack007
Hm.. If it's a memory issue, maybe you can compress the pics before combining. Or extract only the changing elements and overlay to the unchanged content. Well, I'm not a specialist :?

Anyway, the idea of animating the game history is great.

Re: I made a Diplomacy GIF Generator!

PostPosted: 28 Jul 2020, 11:28
by jforster
Looks like Chromium on Android (which is what powers android Chrome and Opera) has some memory limitations that the other browsers don't. The easiest fix is probably to use a different method to generate the gif. I might spend some more time on it at the weekend to fix. For now it's desktop/iOS/Firefox only though :(

Re: I made a Diplomacy GIF Generator!

PostPosted: 28 Jul 2020, 12:58
by Jack007
Just loaded it with Firefox Focus. Looks great, nice work. :)

Wanted to save the gif file, for a posting on Instagram, but couldn't save it. Only the link can be saved. Maybe I'm doing something wrong.. anyway, no prob.

Re: I made a Diplomacy GIF Generator!

PostPosted: 28 Jul 2020, 13:45
by jforster
Hmm, I don't know why you were unable to save it. Saving works ok for me :/