What the heck is "run_smoke_test"?

kingkumakingkuma cancels Work: distracted by Dwarf Fortress Join Date: 2015-09-25 Member: 208137Members
Ok, so I was messing around through the subnautica files and found this one called "run_smoke_test".

Location: E:\Programs\SteamLibrary\steamapps\common\Subnautica\SNUnmanagedData\testing (at least for me)

I ran it (it was a cmd file) and subnautica booted up.
It looked as if I had spawned in a lifepod, which was dark, and the normal "aurora" loading screen was a transparent overlay.
Once that loaded, I had spawned in a lifepod. The systems were still broke, but the comm was working (it's light was on)
For some reason , I couldn't click on anything, so I had to use the SPAWN command to get out. I couldn't pick up anything there either. I ended up dying from a gasopod (on purpose), and I respawned, just like I had started a new freedom world. The comm worked, the fabricator worked, but the systems were still damaged. Later I found a file titled "SMOKEOUT" in my steamapps/common folder. This is what it had. (WARNING - LOTS OF TEXT)

Ok, it was around 100000 chars to long to post. I put in an attached text file.

One question - WHAT THE HECK IS IT FOR?

Comments

  • phantomfinchphantomfinch West Philadelphia , born and raised on the playground is where I spent most of my days. Join Date: 2016-09-06 Member: 222128Members
    I remember this was asked a while ago but it was never answered. @0x6A7232, did you get anywhere with this? Your the hackerman in the fourms
  • pie1055pie1055 Join Date: 2016-12-05 Member: 224603Members
    edited April 2017
    Please correct me if I am wrong, but...

    Text File:
    It looks like the
    GUIHand.Update ()
    
    and
    MainGameController.Update ()
    
    are attempting to use pointers that are not pointing to anything (can't call Cat.meow() if Cat doesn't exist). Since both of the functions are named "Update" it can be inferred that this occurs every frame and thus the error message was recorded twice per update loop as long as that game session lasted, which explains the length of the file.

    Due to the text file recording errors that seems to suggest it is a log file, a text file that records any information that a programmer would deem useful. And recording errors is very useful. Unfortunately.
    <filename unknown>:0
    
    and
    (Filename:  Line: -1)
    
    don't tell us what file the error happened in or what line of code it happened on (knowing a bug is on line 556 out of 2,325 in a certain file out of hundreds is very useful). The other lines are mostly recording your machine setup to better re-create any potential bugs found or taking note of different states of the game to better discern when the bug occurs (Main menu, swimming, looking at inventory, etc).

    Command:
    The command 'RUN_SMOKE_TEST' reminds me of this(starts @ 6:50);

    Perhaps they are related?
  • kingkumakingkuma cancels Work: distracted by Dwarf Fortress Join Date: 2015-09-25 Member: 208137Members
    pie1055 wrote: »
    P

    Command:
    The command 'RUN_SMOKE_TEST' reminds me of this(starts @ 6:50);

    Perhaps they are related?

    That's what I thought, and that's why I ran it.
  • nesrak1nesrak1 Places Join Date: 2016-12-04 Member: 224536Members
    edited April 2017
    This file dates back to 8/23/16 and that video is from 3/9/17.
    It links to a phototour called ssperf.tour of someone walking around.
    SM_SMOKE_TOURFILE isn't part of the code and neither is SM_SMOKE_TIMESCALE.
    Could've we just be overthinking this and it's just a performance test with smoke that was removed?
  • DaveyNYDaveyNY Schenectady, NY Join Date: 2016-08-30 Member: 221903Members
    Perhaps it's leftover code from a point where They were looking at how smoke would fill our bases and the Cyclops when damaged?
    B)
  • 0x6A72320x6A7232 US Join Date: 2016-10-06 Member: 222906Members
    I remember this was asked a while ago but it was never answered. @0x6A7232, did you get anywhere with this? Your the hackerman in the fourms

    I poke around things sort of like Han Solo: if it won't work, hit it harder, if not, pass me the hydrospanner duct tape. See: me noticing the cache clearing ting and milking that for all the temporary performance gain it's worth. Cases like this one are are handled much better by someone who really knows what they're into, like @pie1055 or @ant_fio (I do plan to get into programming eventually, but probably not for another year or so, the most I've done so far is some batch file tinkering, and nothing too heavy duty at that).

    Fun fact: I did try to learn C++ once. Borland Turbo C++... 4.5? I was on Windows '98, or possibly Win '95, considering I think this occurred more towards mid 90s than late 90s. I installed the program, went to do I think the second lesson (or was it the first). Couldn't get it to compile. Tried multiple times, tweaking the code a bit... nada. Finally, in exasperation, I pulled out the answer manual, and put in everything exactly as the answer key had it. And, no compile. So I gave up. If I'd had access to the Internet more than ~once a month back then, I might have figured it out, but, I didn't.
  • EnglishInfidelEnglishInfidel Canada Join Date: 2016-07-04 Member: 219533Members
    DaveyNY wrote: »
    Perhaps it's leftover code from a point where They were looking at how smoke would fill our bases and the Cyclops when damaged?
    B)
    nesrak1 wrote: »
    Could've we just be overthinking this and it's just a performance test with smoke that was removed?

    A "smoke test" is an industry term for what basically amounts to a stability test.
    I haven't bothered to look at it myself but from the @pie1055 said I'm guessing this is just left over from a basic, out-of-date test on various specific mechanics which are impossible to determine now. Probably something to do with what ever new mechanics were introduced at that time.
  • DaveyNYDaveyNY Schenectady, NY Join Date: 2016-08-30 Member: 221903Members
    0x6A7232 wrote: »
    I remember this was asked a while ago but it was never answered. @0x6A7232, did you get anywhere with this? Your the hackerman in the fourms

    I poke around things sort of like Han Solo: if it won't work, hit it harder, if not, pass me the hydrospanner duct tape. See: me noticing the cache clearing ting and milking that for all the temporary performance gain it's worth. Cases like this one are are handled much better by someone who really knows what they're into, like @pie1055 or @ant_fio (I do plan to get into programming eventually, but probably not for another year or so, the most I've done so far is some batch file tinkering, and nothing too heavy duty at that).

    Fun fact: I did try to learn C++ once. Borland Turbo C++... 4.5? I was on Windows '98, or possibly Win '95, considering I think this occurred more towards mid 90s than late 90s. I installed the program, went to do I think the second lesson (or was it the first). Couldn't get it to compile. Tried multiple times, tweaking the code a bit... nada. Finally, in exasperation, I pulled out the answer manual, and put in everything exactly as the answer key had it. And, no compile. So I gave up. If I'd had access to the Internet more than ~once a month back then, I might have figured it out, but, I didn't.

    Last time I took a "computer" class, we were taught 'BASIC' and used Punch Cards...

    c6c318d04a80298f2f04784855a8456b.jpg
  • TarkannenTarkannen North Carolina Join Date: 2016-08-15 Member: 221304Members
    DaveyNY wrote: »
    Last time I took a "computer" class, we were taught 'BASIC' and used Punch Cards...

    c6c318d04a80298f2f04784855a8456b.jpg

    Ah yeah, BASIC programming on the Tandy TRS-80! So many hours wasted on trash 'programming', but in the 80s as a teenager it was the bomb-diggety:

    10 PRINT "I AM AWESOME!!!"
    20 GOTO 10
    30 END

    Times were much simpler back then. :wink:
  • 0x6A72320x6A7232 US Join Date: 2016-10-06 Member: 222906Members
    edited April 2017
    Tarkannen wrote: »
    DaveyNY wrote: »
    Last time I took a "computer" class, we were taught 'BASIC' and used Punch Cards...

    c6c318d04a80298f2f04784855a8456b.jpg

    Ah yeah, BASIC programming on the Tandy TRS-80! So many hours wasted on trash 'programming', but in the 80s as a teenager it was the bomb-diggety:

    10 PRINT "I AM AWESOME!!!"
    20 GOTO 10
    30 END

    Times were much simpler back then. :wink:

    OK, now that you mention it, I *did* do that much on an old 286 using QBasic and DOS 3.20. Fun times. (: Old thing had a 720KB 3.25" floppy drive (much to my chagrin, I had to format the 1.44MB disks from my Dad's 486 before using them) and a 20MB hard disk... Tandy 2000, if I recall correctly. 16 color monitor, 640KB RAM.
  • JackeJacke Calgary Join Date: 2017-03-20 Member: 229061Members
    A "smoke test" is an industry term for what basically amounts to a stability test.
    As in you hook things up and turn things on. If the widget lets out the magic smoke that makes things run, it don't work no more and you have to find out what went wrong.
Sign In or Register to comment.