Cannot overwrite uploaded images
Posted: 17 May 2021, 00:01
Hi,
I have an issue when trying to commit the latest changes I did on my texasholdem project. I modify the images used for some graphics and now BGA studio refuses to overwrite the previous ones with the new ones pretending that total bundle size is larger than 15Mo. I checked and the sum of image sizes is about 5Mo so it should not be a problem. Could you help me with that?
You can see below the logs I get when trying to commit my latest changes (including the image changes) to BGA Studio.
I have an issue when trying to commit the latest changes I did on my texasholdem project. I modify the images used for some graphics and now BGA studio refuses to overwrite the previous ones with the new ones pretending that total bundle size is larger than 15Mo. I checked and the sum of image sizes is about 5Mo so it should not be a problem. Could you help me with that?
You can see below the logs I get when trying to commit my latest changes (including the image changes) to BGA Studio.
Wrote /tmp/texasholdem-commitlog.txt
$ /var/tournoi/release/release-current/scripts/studio/retrievestudiogame.sh texasholdem 1.studio.boardgamearena.com 2>&1
HAL says: retrieving texasholdem from 1.studio.boardgamearena.com...
receiving incremental file list
LICENCE_BGA
img/
img/game_box180.png
img/game_box75.png
sent 701 bytes received 4,100 bytes 9,602.00 bytes/sec
total size is 4,953,721 speedup is 1,031.81
receiving incremental file list
sent 20 bytes received 47 bytes 134.00 bytes/sec
total size is 261 speedup is 3.90
HAL says: marking for deletion images removed from the source...
svn: E200005: Use --force to override this restriction (local modifications may be lost)
svn: E200005: '/var/tournoi/games/texasholdem/img/cards copy.jpg' is not under version control
HAL says: marking for deletion modules files removed from the source...
HAL says: done.
$ /var/tournoi/release/release-current/scripts/studio/commitgame.sh texasholdem no 2>&1
HAL says: committing texasholdem...
HAL says: just a regular commit, Dave.
Updating '/var/tournoi/games/texasholdem':
At revision 100950.
********* WARNING **********
** HAL says: more than 20 image files. Did you think about using CSS sprites, Dave?
********* /WARNING *********
********* WARNING **********
** HAL says: more than 10 Mo of images (did you try https://tinypng.com?) Please try to optimize your images to stay below 10Mo.
********* /WARNING *********
********** ERROR ***********
** HAL says: more than 15 Mo of images (did you try https://tinypng.com?) Images will not be committed. Please check your img folder, Dave.
********** /ERROR **********
HAL says: done.
$ /var/tournoi/release/release-current/scripts/studio/overwritestudiogame.sh texasholdem 1.studio.boardgamearena.com 2>&1
HAL says: overwriting texasholdem on 1.studio.boardgamearena.com...
********** ERROR ***********
** HAL says: more than 15 Mo of images on the mainsite. Images will not be overwritten on the gameserver. Please check your img folder, Dave.
********** /ERROR **********
HAL says: done.