./ STORIN.NL \.

[SCRIPTS] | [TEXT VERSION] 09 November 2024

Storin t'Kel                                                  2024-02-08
Diablo 2 LoD Start Script                                   version 0.57
Informative                                                  BASH Script


   This script is the first true script I wrote and it had everything
   to do with loading the Diablo II LoD game in Linux while adding some
   stuff to it.[1]

   For starters I always had issues when I dealt with selecting one of
   MANY different types of characters within the game selection screen.
   To me it never truly offered any oversight and I often loaded the
   wrong character. So I decided to do things differently. I decided to
   not use the standard saves folder of the game and instead locate it
   in a different folder.

   The script will look for the .d2s savegames and the newly created
   folder. It will then list all the savegames, the characters, within
   the terminal and number them. You then choose the character you want
   to play. It now copies the savegame to the official savegame folder.

   It then asks which act you wish to start your game in. Stating
   nothing will cause the game char to load in the game as it was.

   I did set some options that always worked for me, such as

    -vsync -800 -nosound

   Change this to your usual settings of course. I was too lazy to add
   in several selectors for all the additional options.

   Anyway, it will now run the game and you may select your character
   and play the game.

   Once you finish playing the game, exit it. The script will move the
   character back to your personal save folder and it will then look if
   there is an active internet connection. If yes, then it will use
   rclone to send the save folder to your gdrive as a backup. If not
   connected it will create a new folder based on the date and time to
   ensure you still have all your characters, yet now somewhere
   locally.


------------------------------------------------------------------------
References                                                         [top]

   [1]   script-d2lod.txt