English Amiga Board

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

malko 31 October 2018 01:41

"reInstallDDWC.cmd" for DamienD's WinUAE Collection
 
2 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 171819 20 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}
.................. also 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}
.................. also corrected some typo
13.02.2019 : Added support for the update pack #20 (v0.12)



MageMaster 31 October 2018 18: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 20: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 21:08

script updated according to post #2
:)

DamienD 31 October 2018 21: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 22: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 22: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 22: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 22: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 23: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 11:09

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

malko 12 November 2018 00:47

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

malko 07 February 2019 13: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 20:00

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


All times are GMT +2. The time now is 10:30.

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

Page generated in 0.04782 seconds with 11 queries