Author Topic: MODULE: A.S.S - Another Savegames with Screenshots module [updated to v1.5]  (Read 4282 times)  Share 

Great job, I really like this module.

Hey great job !

I was wondering if it is possible to add DATE and TIME to be SAVED with the name too ?



Also i found i bug, if you press F5 over and over again, it captures screen with SAVE gui and it makes some strange effect in the saved screen. Easy fixable thou.

hedgefield

  • Oh snap!
    • I can help with play testing
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
  • hedgefield worked on a game that was nominated for an AGS Award!
Your wish is my command! I updated the module to fix that bug (good looking out), and added support for saving the date and time the savegame was made.
It is currently formatted as savegame name - dd/mm/yyyy hh:mm, but you can modify that if you want. The code is under the btnSaveOK_OnClick section in ASScode.txt. You may also want to resize the GUI first if you're going to use that feature since it's currently not wide enough to contain all those numbers ;)

To activate the feature, put SL_DATETIME = true; in your gamestart function. See first post for the updated download link.

Holy ravioli - that was fast !
BIG THANKS !!!

Hi

My AGS 3.2.0 will not import gSave.guf and gLoad.guf.. says property locked and says it may require later version... and with 3.1.2

steptoe
« Last Edit: 11 Nov 2011, 17:36 by steptoe »
I am not dead, I am only sleeping ;)

hedgefield

  • Oh snap!
    • I can help with play testing
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
  • hedgefield worked on a game that was nominated for an AGS Award!
I don't think I've ever seen version 3.2.0.. or did you mean 3.0.2? But it could be that older versions of AGS have a problem with newly exported GUIs. I use 3.2.1, is it possible for you to upgrade to that? It would probably fix your problem.

Hi

I changed over computer that had both the above AGS versions... Have now downloaded 3.2.1 and it now imports..

 :=
I am not dead, I am only sleeping ;)

I was wondering if it was possible to change the size of the snapshot image that is created on the gui?
I resized it and looked though the code but did not see an a place to do that.

Also would it be possible to instead of text with the name of the game on the load menu
to have multiple screen shots and limit the amount of saves? I know you can limit
the amount of saves seen that in code but what about the multiple screen shot
on one load gui?

Thanks

hedgefield

  • Oh snap!
    • I can help with play testing
    •  
    • I can help with translating
    •  
    • I can help with voice acting
    •  
  • hedgefield worked on a game that was nominated for an AGS Award!
Hi James, you mean you resized the screenshot button on the GUI but the image is still small? If you go into ASS.asc, at the top you should see two variables, SL_WIDTH and SL_HEIGHT. This is the size of the screenshot. Just change them to the new dimensions of the button. It doesn't have to be a proper resolution like 320x240 but just make sure to keep the aspect ratio the same (4:3) or the screenshot might stretch.

If you go even higher than 320x240, you might also want to scroll down to the game_start section in ASS.asc and increase the values for game.screenshot_width & game.screenshot_height. This is the resolution of the screenshot saved in the savegame, not the size at which it is rendered on the GUI.

As for the screenshots grid, it could certainly be done. I remember making one a long time ago, but I don't remember exactly how to do it. I suppose it would involve loading all the screenshots for the savegames at once instead of waiting on one to be selected from the list.

And if you want to cap the total number of saveslots, look in the btnSaveOK_OnClick function in your globalscript for the line
if (totalsaves < 50) {
and change 50 to whichever number of saveslots you want.

How silly of me.

I went and looked in the scripting I copied and pasted into the main global file but forgot about the entire script file I imported.
that explains why I couldnt find what I was looking for. God don't you hate it when you do stupid stuff like that lol.

thanks for the help think ill be able to get it now.