Questions about sminstcab.bms

Doubts, help and support about QuickBMS and other game research tools
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Questions about sminstcab.bms

Post by aluigi »

I use the current one which is 0.7.0, you should use that one too.
If it crashes due to that bug I will fix in next version, then use 0.6.7a.
Do NOT use older versions.

After all the script contained a "quickbmsver 0.6.6" which means that it REQUIRED at least 0.6.6.
crushedice2000
Posts: 32
Joined: Sun Nov 08, 2015 8:37 pm

Re: Questions about sminstcab.bms

Post by crushedice2000 »

Code: Select all

QuickBMS generic files extractor and reimporter 0.6.7a
by Luigi Auriemma
e-mail: me@aluigi.org
web:    aluigi.org
        (Sep 14 2015 - 21:30:55)

                  http://quickbms.aluigi.org
               http://twitter.com/luigi_auriemma
                       http://zenhax.com

- GUI mode activated, remember that the tool works also from command-line
  where are available various options like folder scanning, filters and so on

- select the BMS script or plugin to use
- select the input archives/files to extract, type * or "" for whole folder and
subfolders
- select the output folder where extracting the files
- open input file C:\Documents and Settings\Windows XP\Escritorio\Setup.exe
- open script Z:\Descargas\sminstcab.bms
- set output folder C:\Documents and Settings\Windows XP\Escritorio\Setup\outbms


  offset   filesize   filename
--------------------------------------
- SCRIPT's MESSAGE:
  PAK_SIZE      99840
  MULTI_PATTERN disk@$&%19.pak
  ONE_VOLUME    0
  FILES         1
  CAB_SIZE      49786

- enter in folder C:\Documents and Settings\Windows XP\Escritorio
- open input file C:\Documents and Settings\Windows XP\Escritorio\disk2.pak

- error in src\file.c line 243: fdnum_open()
Error: No such file or directory

Last script line before the error or that produced the error:
  120 open FDSE TMP 1

Press RETURN to quit


This happens with the version recommended by you (0.6.7a) and the latest script (0.3a). All on 32bit XP and with the setup I've shared with you.

I'll try on Ubuntu.
crushedice2000
Posts: 32
Joined: Sun Nov 08, 2015 8:37 pm

Re: Questions about sminstcab.bms

Post by crushedice2000 »

With Ubuntu 14.04 64bit and QuickBMS 0.7.0:

Code: Select all

QuickBMS generic files extractor and reimporter 0.7.0
by Luigi Auriemma
e-mail: me@aluigi.org
web:    aluigi.org
        (Nov 10 2015 - 11:08:44)

                   quickbms.aluigi.org   Homepage
                            zenhax.com   ZenHAX Forum
                               @zenhax   Twitter & Scripts

- open input file /home/casa/Descargas/src/../RDVPriterSetup English.exe
- open script ../sminstcab.bms
- set output folder a

  offset   filesize   filename
--------------------------------------
- SCRIPT's MESSAGE:
  PAK_SIZE      36655192
  MULTI_PATTERN disk@$&%19.pak
  ONE_VOLUME    1
  FILES         96
  CAB_SIZE      4195939

  00000000 8388775    RDVPriterSetup English_Disk1.cab
Violación de segmento


It detects the setup well but dies with segment violation. :shock:
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Questions about sminstcab.bms

Post by aluigi »

That Setup.exe you have there is NOT the one you provided in your mega link ("RDVPriterSetup English.exe"), that's visible from the information displayed there.
I have already done this test on other platforms (even Win98) and everything works correctly.

Feel free to upload your Setup.exe if it's a valid installer.

The error on Ubuntu is still the same I have to fix.
crushedice2000
Posts: 32
Joined: Sun Nov 08, 2015 8:37 pm

Re: Questions about sminstcab.bms

Post by crushedice2000 »

Ooops! I was fooling you. I'm very sorry. :cry:

The Setup.exe file was a test generated with Smart Install Maker. :oops:

Now I've tested it with the original setup and it works perfectly. :D

It generates two cab files and they don't give any problem with 7zip nor windows explorer nor cabextract. :)

The only bad thing I can see is that it doesn't keep the directory structure. (What I mean is that some files should be in a subfolder) :( However this is a minor failure.

Only a question: Why are there two cab files? I don't get it yet... :?: Does it mean that Disk1 contains @$&%04 files and Disk2 contains @$&%03 files?

Thanks for your patience and effort! I'm a very foolish person and I speak/write before thinking. :oops:
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Questions about sminstcab.bms

Post by aluigi »

Mistakes happen to everybody so don't worry. The good thing is that with your feedback the script now works correctly, everything else doesn't matter :)

Regarding the subfolders, the script considers the output folders where the files are meant to be "installed".
In fact if you check the %SYSTEMDIR% in the cabs you can see many subfolders.

The reason behind the 2 cabs is simply that there are just 2 cabs in the installer, you can see the "flags" field in the script that is set as CAB_FLAG_HASNEXT in the original cabs.
crushedice2000
Posts: 32
Joined: Sun Nov 08, 2015 8:37 pm

Re: Questions about sminstcab.bms

Post by crushedice2000 »

Ok, I understood it. Thank you very much again! Now I tried it with another setup and it works well!
:D :D