English Amiga Board

English Amiga Board (https://eab.abime.net/index.php)
-   project.MAGE (https://eab.abime.net/forumdisplay.php?f=76)
-   -   "reInstallDDWC.cmd" for DamienD's WinUAE Collection (https://eab.abime.net/showthread.php?t=94910)

malko 31 October 2018 00:41

"reInstallDDWC.cmd" for DamienD's WinUAE Collection
 
1 Attachment(s)
As I don't want to troll DamienD's thread, I have decided to open another one to provide the script I have made recently to reinstall his Collection after a BSOD :guru .

My initial script was more rough and less polished than the version available here.
Also it has been updated to take care of the updates that were made available after my initial script. As today, the 12 13 14 15 16 17 18 19 20 21 22 23 24.1 24.2 25.1 25.2 26.1 26.2 27 28 29 30.1 30.2 31.1 31.2 32.1 32.2 33.1 33.2 34.1 34.2 35.1 35.2 36.1 36.2 37.1 37.2 38.1 38.2 39.1 39.2 40.1 40.2 41.1 41.2 42.1 42.2 43.1 43.2 44.1 updates are handled.

This script work with the "original" archives that were made available since the base package on 19.01.2018.
Therefore, if you are using the "new" files DamienD has mentioned in his post #1318, this script is not for you. (Edit: see post #13)

Actually the unarchiving process is made through the use of 7-zip (only). You can get a copy here if it is not already installed on your system.

Also, the script use the ANSI escape sequence facility. So if your Windows console is not aware of ANSI escape sequences, go, grab and install the small ANSIcon here before using the script.

When you are ready, simply :
- copy the script in the folder where you actually have the DamienD's WinUAE Collection archives ;
- open a cmd console ;
- invoke the script ;
- read the on screen texts.

Hope this script will help you in case of the need of a reinstall of the 'DamienD WinUAE Collection'.

Again, THANK YOU DamienD for sharing your Collection with EAB's members !!


30.10.2018 : Initial release (v0.1)
31.10.2018 : English* typo corrected (v0.2)
31.10.2018 : English* typo corrected (v0.3)
01.11.2018 : English* & French** typo corrected (v0.4) [* on-screen text ; ** script comment]
03.11.2018 : Added support for the update pack #13 (v0.5) {15 views}
07.11.2018 : Added support for the update pack #14 (v0.6) {23 views}
27.11.2018 : Added support for the update pack #15 (v0.7) {19 views}
20.12.2018 : Added support for the update pack #16 (v0.8) { 1 view}
30.12.2018 : Added support for the update pack #17 (v0.9) {16 views}
.................. & corrected some typo & unwanted texts
29.01.2019 : Added support for the update pack #18 (v0.10) { 4 views}
07.02.2019 : Added support for the update pack #19 (v0.11) {13 views}
.................. & corrected some typo
13.02.2019 : Added support for the update pack #20 (v0.12) {13 views}
30.03.2019 : Added support for the update pack #21 (v0.13) { 9 views}
22.05.2019 : Added support for the update pack #22 (v0.14) {15 views}
.................. & corrected a non-working delete on pack #21
13.06.2019 : Added support for the update pack #23 (v0.15) {21 views}
26.08.2019 : Added support for the update pack #24.1 (v0.16) {14 views}
.................. & removed an orphan line
07.10.2019 : Added support for the update pack #24.2 (v0.17) {8 views}
.................. & corrected a typo
31.10.2019 : Added support for the update pack #25.1 & #25.2 (v0.18) {5 views}
.................. & removed an an orphan line that paused the update of pack #24.2
12.11.2019 : Added support for the update packs #26.1, #26.2 & #27 (v0.19) {3 views}
12.11.2019 : Added support for 'Fix it Felix Jr.' that was missing in v0.19 (v0.20) {5 views}
14.11.2019 : Added support for the update pack #28 (v0.21) {4 views}
.................. & removed an an orphan line and corrected some typo
15.11.2019 : Added support for the update pack #29 (v0.22) {1 view}
17.11.2019 : Added support for the update pack #30.1 (v0.23) {2 views}
.................. & removed support for 'Fix it Felix Jr.' (as included in pack #30.1)
18.11.2019 : Added support for the update pack #30.2 (v0.24) {10 views}
07.12.2019 : Added support for the update pack #31.1 (v0.25) {2 views}
10.12.2019 : Added support for the update pack #31.2 (v0.26) {6 views}
18.12.2019 : Added support for the update pack #32.1 (v0.27) {8 views}
04.01.2020 : Added support for the update pack #32.2 & #33.1 (v0.28) {4 views}
07.01.2020 : Added support for the update pack #33.2 (v0.29) {2 views}
17.01.2020 : Added support for the update pack #34.1 (v0.30) {9 views}
.................. & corrected a missing echo - previous update pack
22.01.2020 : Added support for the update pack #34.2 (v0.31) {unreleased}
28.01.2020 : Added support for the update pack #35.1 (v0.32) {7 views}
03.02.2020 : Added support for the update pack #35.2 (v0.33) {4 views}
24.02.2020 : Added support for the update pack #36.1 & #36.2 (v0.34) {52 views}
24.07.2020 : Added support for the update pack #37.1 to #39.2 (v0.36) {33 views}
18.10.2020 : Added support for the update pack #40.1 to #41.2 (v0.37) {13 views}
26.10.2020 : Added support for the update pack #42.1 to #43.1 (v0.38) {19 views}
19.11.2020 : Added support for the update pack #43.2 to #44.1 (v0.39)


https://i.ibb.co/BwHPHMW/re-Install-DDWC-1.gif

Edit: A newer release of the script is available here : https://eab.abime.net/showthread.php?t=107012

MageMaster 31 October 2018 17:13

Awesome- I was thinking about doing something like this myself.. but probably would not have ever gotten a round "tuit".

Many thanks for this!!

Quick note after trying script, URL's listing info are typo'd.

http://eab.abme.net/

should be

http://eab.abime.net/

Also the files went to a folder c:\TempDDWC and not the DDWC folder as suggested in the output of running the command without specifying the drive letter.

Code:

missing or incorrect : 'destination drive'

  The Collection will be installed inside a
    folder named 'DDWC' on the specified drive.

        example: reInstallDDWC.cmd M:
        will install the Collection in M:\DDWC

    (DDWC = DamienD WinUAE Collection)


Here is the full console output.. Not sure if I need those missing ones or not. I may have some, but not all.

Code:

                                  30102018 ?
  script to Install                        m
        - DamienD WinUAE Collection        a
        - WinUAE 4.0.1                      l
        - & updates packs #1 -> #12        k
                                            o

 found  : "C:\Program Files\7-zip\7z.exe"

 found  : WinUAE 4.0.1 x64

 found  : DamienD WinUAE Collection 'base package' (13 files)

  Free space needed for the installation :      19'520'000'000 octets (~18.2 Gio)
  Free available space on C:            :      27'280'105'472

  (due to batch 32-bit numbers limitation the automatic free disk space control
  has not been implemented. Please control manually the free space above)

Do you want to proceed ? y

    (depending on your hardware, processing 18.2 Gio can take time)

    Processing 'base package' (step 1/3, started at 11:18:29.49)...
    Processing 'base package' (step 2/3, started at 11:19:41.72)...
    Processing 'base package' (step 3/3, started at 11:24:36.02)...

    Processing "WinUAE.reg"...

    Updating included WinUAE 3.6.0 to v4.0.1 ...

  Before releasing the 'Update Pack #1', some updates were made available.
  One 'pre-Update Pack #1' game is missing in the 'Update Pack #1'.
  http://eab.abme.net/showpost.php?p=1214839&postcount=210
  Looking for 'The Manager' archive.

 missing : "The Manager.rar" or "Updates.rar". File can't be processed.

 found  : Update Pack #1
  http://eab.abme.net/showpost.php?p=1224236&postcount=498
    Processing...

  After the release of the 'Update Pack #1' a game has been updated due to a crack issue.
  Unfortunatelly, this game is missing in the upcoming 'Update Pack #2'.
  http://eab.abme.net/showpost.php?p=1224430&postcount=511
  Looking for 'Uridium 2' archive.

 missing : "Uridium 2.rar". File can't be processed.

 found  : Update Pack #2
  http://eab.abme.net/showpost.php?p=1226701&postcount=582
    Processing...

  After the release of the 'Update Pack #2' an issue with a game has been corrected.
  Unfortunatelly, this game is missing in the upcoming 'Update Pack #3'.
  http://eab.abme.net/showpost.php?p=1226903&postcount=593
  Looking for 'Derring-Do' archive.

 missing : "Derring-Do (1994)(Nick Slaven)[Amiga Power 47 - March 1995].zip". File can't be processed.

 found  : Update Pack #3
  http://eab.abme.net/showpost.php?p=1229399&postcount=685
    Processing...

 found  : Update Pack #4
  http://eab.abme.net/showpost.php?p=1231425&postcount=711
    Processing...

 found  : Update Pack #5
  http://eab.abme.net/showpost.php?p=1233271&postcount=763
    Processing...

 found  : Update Pack #6
  http://eab.abme.net/showpost.php?p=1234930&postcount=809
    Processing...

  After the release of the 'Update Pack #6' some configurations have been changed.
  Unfortunatelly, they were not included in the upcoming 'Update Pack #7'.
  http://eab.abme.net/showpost.php?p=1235131&postcount=824
  Looking for 'Configuration Fixes' archive.

 missing : "Update Pack #6_Configuration Fixes.rar". File can't be processed.

 found  : Update Pack #7
  http://eab.abme.net/showpost.php?p=1238665&postcount=847
    Processing...

  After the release of the 'Update Pack #7' a configuration was made available
  for Worthy. The game is not included as this configuration file is intended
  for the ones who bought Worthy.
  http://eab.abme.net/showpost.php?p=1248713&postcount=961
  Looking for 'Worthy' archive.

 missing : "Worthy.rar". File can't be processed.

 found  : Update Pack #8
  http://eab.abme.net/showpost.php?p=1260903&postcount=1093
    Processing...

 found  : Update Pack #9
  http://eab.abme.net/showpost.php?p=1272144&postcount=1215
    Processing...

 found  : Update Pack #10
  http://eab.abme.net/showpost.php?p=1274076&postcount=1267
    Processing...

  After 'Update Pack #10' a game was found missing in the pack.
  Unfortunatelly, this game is missing in the upcoming 'Update Pack #11'.
  http://eab.abme.net/showpost.php?p=1275153&postcount=1287
    Looking for 'Phalanx II' archive.

 missing : "Phalanx II - The Return". File can't be processed.

 found  : Update Pack #11
  http://eab.abme.net/showpost.php?p=1279414&postcount=1307
    Processing...

 found  : Update Pack #12
  http://eab.abme.net/showpost.php?p=1280689&postcount=1332
    Processing...

 Well, the process is now over.
  Enjoy the 'DamienD's WinUAE Collection' and don't
  forget to write a feedback on http://eab.abime.net ;)


malko 31 October 2018 19:51

Quote:

Originally Posted by MageMaster (Post 1281610)
Awesome- I was thinking about doing something like this myself.. but probably would not have ever gotten a round "tuit".

Many thanks for this!!

You are most welcome !
Happy to see it's of use for someone :p.


Quote:

Quick note after trying script, URL's listing info are typo'd.

http://eab.abme.net/

should be

http://eab.abime.net/
Oups, thought I corrected all my "quick typing" typo.
Will correct it this evening and change the attached file.
Thanks.

Quote:

Also the files went to a folder c:\TempDDWC and not the DDWC folder as suggested in the output of running the command without specifying the drive letter.
Re-Oups.. looks like I missed to change my temporary working folder :laughing
Second change to apply !
Thanks again :great

Just rename the folder. The Collection will work as expected even if you rename the folder ;)

malko 31 October 2018 20:08

script updated according to post #2
:)

DamienD 31 October 2018 20:40

Hmmm, I didn't really want to be spending time going through stuff related to this but... from looking at the logs from your tool malko that MageMaster ran...

I understand why the following is occurring (as I accidently deleted the attachment from the thread; and it's not a game that I've included in my personal copy or any update packs):

Code:

  Before releasing the 'Update Pack #1', some updates were made available.
  One 'pre-Update Pack #1' game is missing in the 'Update Pack #1'.
  http://eab.abme.net/showpost.php?p=1...&postcount=210
  Looking for 'The Manager' archive.
 missing : "The Manager.rar" or "Updates.rar". File can't be processed.

The following should be included in Update Pack #1, which I may have updated but would have notified members though:

Code:

  After the release of the 'Update Pack #1' a game has been updated due to a crack issue.
  Unfortunatelly, this game is missing in the upcoming 'Update Pack #2'.
  http://eab.abme.net/showpost.php?p=1...&postcount=511
  Looking for 'Uridium 2' archive.
 missing : "Uridium 2.rar". File can't be processed.

The following should be included in Update Pack #2, which I may have updated but would have notified members though:

Code:

  After the release of the 'Update Pack #2' an issue with a game has been corrected.
  Unfortunatelly, this game is missing in the upcoming 'Update Pack #3'.
  http://eab.abme.net/showpost.php?p=1...&postcount=593
  Looking for 'Derring-Do' archive.
 missing : "Derring-Do (1994)(Nick Slaven)[Amiga Power 47 - March 1995].zip". File can't be processed.

This file "Update Pack #6_Configuration Fixes.rar" still exists in the thread so guess MageMaster forgot to grab, but I also update the pack and informed members:

Code:

  After the release of the 'Update Pack #6' some configurations have been changed.
  Unfortunatelly, they were not included in the upcoming 'Update Pack #7'.
  http://eab.abme.net/showpost.php?p=1...&postcount=824
  Looking for 'Configuration Fixes' archive.
 missing : "Update Pack #6_Configuration Fixes.rar". File can't be processed.

Regarding Worthy, this was never included in any update packs, needs to be downloaded from here etc. and then the purchased .ADF added:

Code:

  After the release of the 'Update Pack #7' a configuration was made available
  for Worthy. The game is not included as this configuration file is intended
  for the ones who bought Worthy.
  http://eab.abme.net/showpost.php?p=1...&postcount=961
  Looking for 'Worthy' archive.

The following needs to be downloaded "Phalanx II - The Return.rar" etc. but again I updated the pack and informed members...

Code:

  After 'Update Pack #10' a game was found missing in the pack.
  Unfortunatelly, this game is missing in the upcoming 'Update Pack #11'.
  http://eab.abme.net/showpost.php?p=1...postcount=1287
    Looking for 'Phalanx II' archive.
 missing : "Phalanx II - The Return". File can't be processed.

Also, you have to remember that I've sent this out to over 150 x regular EAB members (plus 800+ one-time posters) and not everyone is online / downloads immediately... some take weeks and by that time I've updated / corrected small mistakes and re-uploaded the pack so that future people requesting don't have issues...

This means there will be people in different states; depending on which files they grabbed and if they followed my instructions; that you can't possibly accommodate for with your scripts :sad

Anyway, I know that some of the updates became a bit messy; hence why I spent 24 hours re-uploading the applied "Base" + "Update Packs 1 - 10"...

I'd urge any of you that may have possibly missed things to just PM me for the new download URLs and then you only need to apply "Update Pack 11" and "Update Pack 12" ;)

malko 31 October 2018 21:14

The corresponding links have been inserted for this reason.
In case something is missing, people can check the corresponding post :) .

I would add that missing stand-alone configurations are not a problem at all as all the Configurations were included in the Update Pack #10 ;) .

For the missing games, while processing, none of the errors are blocking one and of course people can ask you the new download links :agree .

I have found another typo :D . Script updated to v0.3.

DamienD 31 October 2018 21:17

Ok, but again I'll repeat the important things from my post above:

Quote:

Originally Posted by DamienD (Post 1281663)
Also, you have to remember that I've sent this out to over 150 x regular EAB members (plus 800+ one-time posters) and not everyone is online / downloads immediately... some take weeks and by that time I've updated / corrected small mistakes and re-uploaded the pack so that future people requesting don't have issues...

This means there will be people in different states; depending on which files they grabbed and if they followed my instructions; that you can't possibly accommodate for with your scripts :sad

Anyway, I know that some of the updates became a bit messy; hence why I spent 24 hours re-uploading the applied "Base" + "Update Packs 1 - 10"...

I'd urge any of you that may have possibly missed things to just PM me for the new download URLs and then you only need to apply "Update Pack 11" and "Update Pack 12" ;)


malko 31 October 2018 21:53

Of course :) .
It's also written in the "usage" of the script, with different words, that this script is intended for people having downloaded (all) the updates.

Quote:

Originally Posted by DamienD (Post 1281663)
Anyway, I know that some of the updates became a bit messy

It's the reason I have created this 79Ko script ;)
When I came to reinstall your Collection after the BSOD, I realised how lucky I was to follow all the steps when you posted them. Having to dive into them afterwards was a real mess :laughing .
Thus I straight began to write this script while re-reading the entire thread! :scream
The above linked post was made after my initial "rough" script.

MageMaster 31 October 2018 21:55

DamienD: Sounds like some good info.. I never got around to extracting the update packs.. I'm glad you have the time to do the updates and get them released.

I've tried to keep a running log of changes every time you release an update. It just takes me awhile to get around to actually doing the additions/changes.

OT: I finally did figure out why some games where not working in the 64bit version.. had to get the 64bit version of the capsimg.dll

Thanks again to the both of you!

One other thing I did notice that it can use the WinUAE 4.01 release.. question is will this process the registry DamienD released for 4.01?

DamienD 31 October 2018 22:17

Quote:

Originally Posted by malko (Post 1281696)
Of course :) .
It's also written in the "usage" of the script, with different words, that this script is intended for people having downloaded (all) the updates.

It's the reason I have created this 79Ko script ;)
When I came to reinstall your Collection after the BSOD, I realised how lucky I was to follow all the steps when you posted them. Having to dive into them afterwards was a real mess :laughing .

...but what I'm saying to you is that not everyone has done the same for whatever reason.

Some people will have followed my thread religiously so will have the "original" update packs then applied any small fixes (some no longer exist in the thread; as I usually incorporate into the next pack).

Others wouldn't have done the above and will now have the "updated" packs so no need for the small fixes if still available...

Plus I've always informed people personally via PM when they tried to download an "original" update pack and it had been corrected / re-uploaded; they should know exactly what's needed.

...but again, if you feel that you've possibly missed things or not applied everything correctly, I suggest people just PM me for the new download URLs and then you only need to apply "Update Pack 11" and "Update Pack 12" ;)

Anyway, you guys do what you like... I can't be spending more time on this subject... and it's probably going to cause doubt / confusion when not necessary; and I've tried my best to avoid that as much as I possibly could already...

malko 01 November 2018 10:09

Script updated as other wording typo have been found.
Will soon become a spelling' bee champ ! :D :laughing

malko 11 November 2018 23:47

There are more downloads than thanks here ;)
Bande de petits fripons ! (definition "B") :laughing

malko 07 February 2019 12:37

Most of you already know it (if you have looked inside the script) but since DamienD has released the 19th Update pack, think it's time to officially let know that since the beginning the script can be used to deploy the updates pack individually.

For this :

0- get the latest release of the script in post #1 ;
1- edit the script with your favourite editor (I personally like Programmer's Notepad) but Edit can do it of course ;
2- move to line 153 & 154, which are commented ;
3- on line 153, change everything that comes after the "=" sign to fit your WinUAE path (if your DDWC is installed in C:\WinUAE, type it accordingly) ;
4- on line 154 select the Update pack you want to apply. You can browse the script to find the needed label ;
5- don't forget to remove both "rem" to uncomment the lines ;
6- save ;
7- execute the script.

There is yet no plan to add support for the new base package (as I do not have it). Nevertheless users having it can Install this new base package manually and then update the script by following the above procedure to apply the Updates pack counting from #11. :)

MageMaster 07 February 2019 19:00

Thanks. I'm so bad. I think I still have the old and new packs. :)

malko 22 May 2019 00:32

script updated

malko 17 June 2019 21:41

Script was ready on 13.06.2019 at ~midnight but forgot to post it. For sure I was already :sleep .
So see 1st post.

malko 26 August 2019 23:22

script updated :)

MageMaster 30 August 2019 21:24

Thanks for you continued update on this!

malko 30 August 2019 21:43

You are welcome :)

malko 01 November 2019 13:58

Already 1 year ago posted the 1st script :xmas

script & 1st post updated :)


All times are GMT +2. The time now is 02:50.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.

Page generated in 0.07217 seconds with 11 queries