Author Topic: [S3E] - Excellent and Universal Mega-Mod-Installer  (Read 5665 times)

Offline REV_BL!TZKR!EG

  • ...somewhere...below...
  • REViSi0N
  • one of the leaders
  • Posts: 1.998
  • ELiTE Skill Level:
    75%
  • TECH ADMiN
    • Links!!





All of my tools are FREE FOR EVERYONE and AVAILABLE WITHOUT ENFORCED REGISTRATION.
I do not have SH3 from STEAM, but still I am willing to help rather than only talk hot air or do some
bloody "welcome, welcome, donate here please" doodle, but leave users out in the rain, if only they donate...

All I ask is to stop donating to those who delete my work and only seem to collect money for their new motor bike/ranch/mower.
Think about it! STOP DONATING TO SUCH SABOTEURS! Rather donate to those who actually DO the work to facilitate players.
Ask yourself: Who has really helped you FOR FREE? And? Why not spend that guy a pizza and a beer?!


» HONOR, AMISTAD Y RESPETO! «

⚡️ Home of S3A - S3F - S3G - DEFTS3 - - ⚡️
« Last Edit: 20211018, 16:33:58 by REV_BL!TZKR!EG »

Offline REV_BL!TZKR!EG

  • ...somewhere...below...
  • REViSi0N
  • one of the leaders
  • Posts: 1.998
  • ELiTE Skill Level:
    75%
  • TECH ADMiN
    • Links!!
SH3 Installation DVD: Two .CAB-Files
« Reply #1 on: 20190518, 12:50:59 »
- 20150623 - First idea for this when I was helping with the LSH3V6-2015-installer. I wrote the module that installs and activates the mod itself. I also coded the easter-egg.
- 20170213 - Drafted up the new WAC5-installer.
- 20180711 - DEF absorbed so much time, so most of my time went into DEF, SFSF and S3F
- 20200610 - Completed flexible archive-access-module. Uni-Installer can now install several mega-mods.
- 20210802 - - new progress-screen.
- 20211015 - Uni-Installer can now install GWR and make a legal install of a legal OneAlex-archive of version 1.5x
- 20211017 - - Completed report&feedback-module.
- 20211018 - Updated flexible archive-access-module.
- 20220107 - NEW: Code now uses the data in the table on THIS page.
- 20220108 - NEW: Progressbar for all files flagged for download using #HTTP_Response
- 20220327 - NEW: More options: You can now make backups during the process.
- 20220404 - NEW: With help of Marci - we have sorted, cut and compiled 70+ diashow pictures!
- 20220414 - NEW: Log-window on what is being done. Now able to use already downloaded files.
- 20220429 - NEW: now displays details and a brief description of the selected mega-mod.
- 20220718 - NEW: 7z-routines completed.
- 20220909 - NEW: added S3C as constant item.
- 20221009 - FIXED: 7z embedding looks proper now.
- 20221012 - NEW: added buttons: HELP | SUPPORT | TEAMSPEAK | CONT/EXIT - Maybe soon in orange...
- 20221122 - FIXED: Found and fixed a logic bug in the continue-conditions.
- 20221125 - NEW: Your path in ...\My Documents\:    + calcwidth() + tg + tt.
- 20221204 - FIXED: Now also displayed unpacked size of selected mod properly.

The user always had to do a basic-install and this will remain the same. We do NOT support cracks like some Ukrainian GWO and also the other mods will be stripped from that. I coded the S3H, so it is all done already.


-

and then install the mod of choice - but then mostly came the problems, which patch, how, how not etc...



Goebbels: Wollt Ihr den totalen... Installer?



How this program (The Universal Installer) works:
- connects to DEFF and gets all data like definition, MD5, size, description etc...
- finds default installation paths and lets user choose...
- gives you a drop-down-menu offering you the currently available mega-mods

Should the user have downloaded ANY of the available installation-packages
and the MD5sum is okay, that is shown in the dropdown-menu als LOCAL FILE:

Now if the user chooses to install that one, naturally no download is necessary.

If a download is necessary, UNI will download that necessary installation package,
verify its integrity (MD5) and run the installation process.


"SH3 Installation DVD: Two .CAB-Files": show

I have got a question about the two .CAB files on the SH3-DVD:



If you open, only those file which are going to be written into the root-install-folder are visible/plain to see.

All other files are renamed to a pattern following
"_"+32 chars
so if you unpack the 2 .CAB files on the SH3-DVD, you get a lot of crap.

Any idea how to decode this, i.e. rename from obfuscated to real file names?

The filenames seem to be a UNIQUE number of a fileindex that may point to the data of
~ the actual filename
~ and its pathlocation in the installation

example:
_7E939D5F5ABC4CC38454C50C0EF954A7
appears in DVD\Data1.cab

and is the audio-file "Rohr 2 los" called "WeO_S_Firing_tube_2.ogg"
residing in target-folder installation-path\data\Sound\Speech\4

Just where does the installer get the information from?

Where is that information needed to extract ALL files properly, e.g. with their CORRECT name and CORRECT path.



I can show you an example:

; [File] _FFD18AFC7DB94FE18BF1878897DF32B5 (Size: 22138) code-length= 32 bytes
; is installed to
; ..data\Sound\Speech\5\WeO_S_Observation_periscope_damaged_sir.ogg
; BUT (!) with this code: CED9EEE0F8AE443DB37B2876991912E8WE9427 code-length= 38 bytes

So how does FFD18AFC7DB94FE18BF1878897DF32B5 convert to CED9EEE0F8AE443DB37B2876991912E8WE9427

Marked in orange is the filename that is stored in the .CAB-file

The other, longer code represents the entry for that file in the table.


https://stackoverflow.com/questions/692742/how-do-you-programmatically-resize-and-move-windows-with-the-windows-api
https://stackoverflow.com/questions/5609486/in-c-windows-api-resize-window-during-runtime
http://binaryworld.net/main/CodeDetail.aspx?CodeId=3919
https://msdn.microsoft.com/en-us/library/ms633515%28v=vs.85%29.aspx

GetWindow.f like this:

HWND WINAPI GetWindow(
_In_ HWND hWnd,
_In_ UINT uCmd
);

BOOL WINAPI SetWindowPos(
_In_ HWND hWnd,
_In_opt_ HWND hWndInsertAfter,
_In_ int X,
_In_ int Y,
_In_ int cx,
_In_ int cy,
_In_ UINT uFlags
);

"maybe InstallShield cabinet": show
I have just talked with FB, so maybe it helps explain the problem when I
mention that EXPAND.exe creates the described bad result.
I don't know why FB does not post here, I feel like I have to forward what he writes me in PM:


Maybe it's a InstallShield cabinet.
I thjnk that's worth trying, I have found:
https://www.portablefreeware.com/forums/viewtopic.php?f=4&t=16963&sid=ffe536b2c605385e5438580876a35701&start=120#p83019

and more detailed:
https://superuser.com/questions/88645/how-do-i-extract-an-installshield-cabinet-file

Thanks. Maybe this will not even be necessary soon anymore...


THE MEGA-MODS THAT THIS INSTALLER CAN OR WILL BE ABLE TO INSTALL ARE:
MODPACK
Size in Bytes
MD5Sum * verified with TiNYMD5
Short Description/Notes
24F V1.91308.881.820 packed
1.282.058.859 unpacked
D740BF991CD416A25BB22C57B2E7184B24th Flotilla Mod version 1.9 was a modded LSH 5.1 with
a broken H.sie-patch.exe V1.5G2, a passworded release.
AoTD V31 packed
2 unpacked
MD5testchecksum
...................................
CCoM V12.11 packed
2 unpacked
xxxCommander's Choice of Mods is probably the best-tested
and most stable mega-mod out there besides NYGM and
GWX. It was a parallel development with LSH until V5.
The only issue with it was RoWi58 himself. He was notorious
for publicly trolling everything else in ironic-sarcastic offenses.
Banned from Ubisoft and MarineSims and later even DMP, he
was called "Rowdy", despite everyone respecting his obvious
talent.. RIP Rowi.
...................................
PRO: VERY stable
CON: no development anymore (modder passed 08/2018)
CON: very few extra mods available
CON: was never actually tested with MP, RoWi was against MP
FF9 V2.311 packed
2 unpacked
....The Front-Flottille/9te Mod-Pack was one of the earliest
mods that shipped with an installer. The main drawback
of its original release is that it also installs Star Force to
your computer. This called for a fix!
...................................
FSB1 packed
2 unpacked
.
...................................
GWD1 packed
2 unpacked
xxxOne of the first FORKs of GWX and an attempt to bring a
lot of NYGM was Grey Wolves flavoured to Ducimus' taste.
...................................
GWO legal 1.521.426.665.472 packed
0 unpacked
D182204503B3FFA36F505F4819D8E1B8Grey Wolves OneAlex Edition is basically OneAlex's modsoup
on top of GWX, it is not a mod on its own and initially OneAlex
did not even want to publish it. But folks liked it and so he
went on posting a download-link on his YouTube-channel
where everybody can download his modsoup as a full game
crack. This here however is a legalized version.
...................................
GWR V223.669.053.386 packed
0 unpacked
7CCAE93CAE437FDC73312C223856EBE3[GWR] - Grey Wolves Reworked, a fork of GWX, is an
attempt to bring GWX to today's standards and integrate
all modern mods in a "reworked" package. This result is
GWR being the largest modern mega-mod around.
...................................
PRO: Hands down the most detailed mega-mod in 2022
CON: Its creator Anvar is a chaot, not very responsive.
GWX V3.0 Gold1.411.027.721 packed
0 unpacked
EE96ED51E0082BD920E27E416C0AFF30Grey Wolves Expansion (formerly TGW) is one of the best
mega-mods of all time. It was designed to run on PCs
using the same specs as those needed to run stock SH3,
so it also works on older computers with little RAM. It is
VERY stable and by far the most popular mega-mod for
SH3, not only because their development-team paid
immense amounts of $ to SuSi to have it promoted.
...................................
PRO: very good manual, very comprehensive!
PRO: practically every extensional single mod out there
is compatible with GWX and there are hundreds!
CON: unfortunately no more continued since 2008.
CON: incorrect AI for excorts, way pro-Allied and over the
top as judged by real German U-Boot-KLe because the
DCs often appear to be 'laser-guided'.
IUB 1.031 packed
2 unpacked
.Improved U-Boot was a very early fork of RUB that added
a number of additional mods.
...................................
KSD 11 packed
2 unpacked
6CB5C3D3BC3DD549E67A8CA26CD7105A
...................................
LSH V5.1-7.11 packed
2 unpacked
.Living Silent Hunter III shared a long way with CCOM,
because CCOM was the basis of LSH until LSH3V5. LSH
strives to expand the "look & feel" of the game, though
it often gets lost in eye-candy and it was developed by
people who actually went to sea with German U-Boote.
It is basically a tuned CCOM plus WS-GUIs, 10 ships, 20
planes, an installer and the Black Sea Campaign.
...................................
MEG1 packed
2 unpacked
.Mas Edition Grupsom by Desga is something similar to
GWX's effects but "lighter" so you can have quick loading
when you play online.
...................................
PRO: Optimized for MP (loading-times)
CON: Nobody plays it.
CON: Desga is not responding to support it.
NYGM V3.8626.221.077 packed
2 unpacked
13ECCA7D4C72C44E15E7C75CAEE898D6Not Your GrandMother's has always been the closest to an
'officially approved' super-mod for SH3. It is the work of
capable programmers and a direct descendant of the old
mega-mod "RuB". It strives to continue from where RUB
had left off. Overall less attention to eye candy and more
attention to historical accurate gameplay mechanics (*).
...................................
PRO: still continued.
PRO: The most realistic (="dark") gameplay.
PRO: The most expanded AI (nightmare-1944-settings).
CON: Some unrealistic "features" such as boat "sinking"
when doing low or zero speed ("anti-hummingbird" *).
PotD1 packed
2 unpacked
MD5Prowlers of the Deep
...................................
RUB V1.45f53.122.340 packed
246.819.172 unpacked
AE9C347497787E66D24210737A0B56E4Real U-Boot was one of the very
first mods around.
...................................
Was made by Ian 'Beery' Cooper
SBM 1.7-2.01 packed
2 unpacked
.
...................................
UBOOT 1.211 packed
2 unpacked
.
...................................
UTW V1.1669.721.731 packed
2 unpacked
0B4C0A150CB019721D794BB80B2A87F4UTW (U-Boote Total War) and Knights of the Abyss have
been merged and a successor ('Knights of the Abyss II:
Hell is not over yet') has been announced but never
released.
...................................
WAC V4.2-5.21.426.665.472 packed
2 unpacked
D182204503B3FFA36F505F4819D8E1B8War Ace Campaign based on SergButo's campaign mod
and has been the most elaborately fleshed-out campaign
system with historic warship movements and battles.
Every naval encounter is there in detail!
...................................
PRO: has had a very detailed public development and
change-log until censored by the SuSi-SNOTs
PRO: offers the most historic events to partake.
PRO: V4.2 works on older systems, too!
CON: Han Solo was against support for S3C.
WEM1 packed
2 unpacked
.
...................................
WSM1 packed
2 unpacked
.
...................................
« Last Edit: 20230318, 11:32:35 by REV_BL!TZKR!EG »
» HONOR, AMISTAD Y RESPETO! Es mejor morir de pie que vivir toda una vida de rodillas! «

⚡️ Home of S3A - S3F - S3G - DEFTS3 -

Offline REV_BL!TZKR!EG

  • ...somewhere...below...
  • REViSi0N
  • one of the leaders
  • Posts: 1.998
  • ELiTE Skill Level:
    75%
  • TECH ADMiN
    • Links!!
...some progress here...
« Reply #2 on: 20221007, 17:49:30 »
"Static-Pack" is now: JSGME, S3C, S3F

The installer now also recognizes already existing (i.e. downloaded) files of all 3 and only downloads what is not yet there.
See the log-window on this screenshot, this is how it looks as of today:

As you can see, we now have a detailed log-window on top right and it shows that JSGME has just been downloaded and MD5-verified, while S3F is still being downloaded with a progress-bar being shown. As example NYGM was selected. Short description is being displayed beneath details on the to be installed mod, here NYGM.

I am now working on the actual installation screen (screen 2)
- with the new 7z modules (I call the 7z.dll directly) now.
- integrating the 7z modules as embedment on the screen
- got it to show NO LONGER screen-centered everytime.

Support for more mods?
Sure, let me know which you want using the newly coded feedback-option.
Some examples:
LSH3V7.1-2022 is also supported. 'They say': (2.6 GB - 2`687`352 KB)
I say: MD5 & Bytes:
F2941D58E0009BF04AD07F01525105F5 2687352864 LSH3V7.1-2022

And GWM (on top of GWX3)
2CC133D6C47B477E7EB419892CA10AC0 93488338 GWM v37 kpt_C3C9736E0BE959DD5EB13B4BCDF2BEBE.7z

And yes, I got requests about a certain *upcoming* mod and I answer: Yes. The Universal Installer will support GWX4 (Knights Cross Edition), that is easy to do.
 :Kaleun_Sleep_White:

But...Still not enough volunteers for testing.

- Come to TeamSpeak and speak with us - TEAMSPEAK IS BACK ONLINE NOW!
- on STEAM contact FIEDLER (he will forward to me then and you get a tester-account)
- on SuSi send an email to ANVAR (he will forward to me then and you get a tester-account)
- post a reply here (GREY EMINENCE will make get a tester-account for you)
- or send me an email
« Last Edit: 20221109, 15:01:34 by REV_BL!TZKR!EG »
» HONOR, AMISTAD Y RESPETO! Es mejor morir de pie que vivir toda una vida de rodillas! «

⚡️ Home of S3A - S3F - S3G - DEFTS3 -

Offline REV_BL!TZKR!EG

  • ...somewhere...below...
  • REViSi0N
  • one of the leaders
  • Posts: 1.998
  • ELiTE Skill Level:
    75%
  • TECH ADMiN
    • Links!!
Re: [S3E] - Excellent and Universal Mega-Mod-Installer
« Reply #3 on: 20221108, 21:39:16 »
----------------
| U P D A T E |
----------------


Ok guys, time to give you some update.

Along with some screenshots I am going to explain to you some new features and functions...


Image 1:



Look to the right and you can read in the log-window, that S3E recognized an already existing archive of S3C and the download of JSGME has been successfully completed, while below that log you can see at the progress-bar that the download of S3F is still running.

On the left you see that I have already picked a source-installation, a valid SH3-installation (no matter what version, I come to that later) and I chose to install NYGM and some short info is also provided.
« Last Edit: 20230318, 11:33:43 by REV_BL!TZKR!EG »
» HONOR, AMISTAD Y RESPETO! Es mejor morir de pie que vivir toda una vida de rodillas! «

⚡️ Home of S3A - S3F - S3G - DEFTS3 -

Offline REV_BL!TZKR!EG

  • ...somewhere...below...
  • REViSi0N
  • one of the leaders
  • Posts: 1.998
  • ELiTE Skill Level:
    75%
  • TECH ADMiN
    • Links!!
Re: [S3E] - Excellent and Universal Mega-Mod-Installer
« Reply #4 on: 20221108, 21:43:36 »
Image 2:



Upon completion of downloading, verification and unpacking the 3 basic tools (S3C, JSGME and S3F) as can be again seen in the log-window, the download of the selected mod has now commenced with a progress-bar on the right indicating that.

As long as the download is still being carried out, I can now chose how I want to install that mod and again some estimates are provided.

I am now working on the left bottom corner that will show
either N/A
or
zip Source Install as backup
and/or
zip Final Install of that mod as backup

and on the right will be 2 more progress-bars for
- CLEANUP
- INSTALL
» HONOR, AMISTAD Y RESPETO! Es mejor morir de pie que vivir toda una vida de rodillas! «

⚡️ Home of S3A - S3F - S3G - DEFTS3 -

Offline REV_BL!TZKR!EG

  • ...somewhere...below...
  • REViSi0N
  • one of the leaders
  • Posts: 1.998
  • ELiTE Skill Level:
    75%
  • TECH ADMiN
    • Links!!
Re: [S3E] - Excellent and Universal Mega-Mod-Installer
« Reply #5 on: 20221110, 11:03:41 »
How to add a mega-mod that is not yet supported by SH3UNI.

I am intending everyone can do that. Here is how and what steps to take:

- Pack the mega-mod with 7z as coming from yourgamepath.s/MODS/yourmodname.s
- It must have the subfolder-structure "data", "documents" and so forth, just like any other mod in SH3's history
- from that created .7z archive take the MD5Sum (you can take any tool you like, TiNYMD5 is the smallest and most easy to handle)
- write down the size of that .7z archive in bytes, e.g. 2841182 bytes
- write down the size of that UNPACKED mod. Go into yourgamepath.s/MODS and look into the properties of that mod folder that you just packed
- upload your mod to Mediafire (Here is how you get a free account, should you not have one yet)
- copy and write down the download-link of that mod that you just uploaded

Now click on SUPPORT and write a little message (to me that is, I read that stuff) providing me what you just wrote down and do not forget to include your email-address so I can get back to you for questions.

Your favourite mod will then be added and supported by SH3UNI

Yes. I heard that question once again and I answer it again: The one day upcoming new version of GWX (KC) will be supported. I have no bad feelings towards the GWX-team.
» HONOR, AMISTAD Y RESPETO! Es mejor morir de pie que vivir toda una vida de rodillas! «

⚡️ Home of S3A - S3F - S3G - DEFTS3 -

Offline REV_BL!TZKR!EG

  • ...somewhere...below...
  • REViSi0N
  • one of the leaders
  • Posts: 1.998
  • ELiTE Skill Level:
    75%
  • TECH ADMiN
    • Links!!
Re: [S3E] - Excellent and Universal Mega-Mod-Installer
« Reply #6 on: 20230318, 11:29:37 »
when this is finished, SH3 will have a huge revival!
Could really be.

On the other hand:
The code is practically ready since 5 months, but there seems to be no interest in this at all.
The morons keep complaining about how complicated the installation is and some are even to silly
to get the "Fiedler-Install" on Steam done, but never look here or show any interest.

I release it when I get around to it.
» HONOR, AMISTAD Y RESPETO! Es mejor morir de pie que vivir toda una vida de rodillas! «

⚡️ Home of S3A - S3F - S3G - DEFTS3 -