Author Topic: WallWorm 1.78 Free Importing whole CSGO map?  (Read 260 times)

lauris47

  • Newbie
  • *
  • Posts: 36
  • Karma: 2
  • laurynaslubys.com
    • View Profile
WallWorm 1.78 Free Importing whole CSGO map?
« on: October 30, 2019, 10:39:14 AM »
Hi,
I just updated Wall Worm to newest version, and CSGO map that I just imported with earlier versions (I think it was 1.75) does not import fully. For example, props are not imported, I think overlays and lights as well are not imparted too. In general file size of the imported map just before update was ~1gb, and after update ~200 mb. Although, interface changed slightly, I tried to set the options that were set in the previous version.

Is it a normal behaviour of free version, or something is not right?

Is there an archive, where I can download previous version?

Thank you.

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3644
  • Karma: 101
  • Behind me?
    • View Profile
Re: WallWorm 1.78 Free Importing whole CSGO map?
« Reply #1 on: October 30, 2019, 10:46:34 AM »
The main change between VMF Importer 1.75 and 1.78 is that you can now set options to import or exclude specific subsets of objects like brushes, displacements and entities. There should be no other difference. Turn on Brushes, Entities, Displacements and Instances and it should bring in everything. If not, hit F11 and see if there is an error message or helpful notice.

Are the props coming in as cubes instead of models, or are they simply missing altogether?

There is no archive of older versions because it's too much effort to keep people on latest as is. Send me your VMF file and I will see if there is something in it that confuses the importer.

lauris47

  • Newbie
  • *
  • Posts: 36
  • Karma: 2
  • laurynaslubys.com
    • View Profile
Re: WallWorm 1.78 Free Importing whole CSGO map?
« Reply #2 on: October 30, 2019, 10:55:44 AM »
Thank you for quick reply. Props are not imported at all, they do not appear as squares. Optioned that you mentioned were turned on.

When I opened MaxScript listener, I tried to run path Compiler, I see that I get * Error 4: ModelSrc folder not set. This is needed to export models.

I am trying to figure out why this is happening now.

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3644
  • Karma: 101
  • Behind me?
    • View Profile
Re: WallWorm 1.78 Free Importing whole CSGO map?
« Reply #3 on: October 30, 2019, 10:59:44 AM »
Can you tell me what version of Max you are using and if you have the Game Info Path, FGD and Bin folders set in your global settings.

lauris47

  • Newbie
  • *
  • Posts: 36
  • Karma: 2
  • laurynaslubys.com
    • View Profile
Re: WallWorm 1.78 Free Importing whole CSGO map?
« Reply #4 on: October 30, 2019, 11:04:21 AM »
All Game and Asset Paths are set, including BinDir. I tried this on 2018 and 2019 Max versions.

I noticed that every time I try to import map, I get different result. This time, with same options only few objects were imported - camera and target, and  some other objects under WllWomUtilityLayer.

I will try to reinstall WallWorm and see what it does.

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3644
  • Karma: 101
  • Behind me?
    • View Profile
Re: WallWorm 1.78 Free Importing whole CSGO map?
« Reply #5 on: October 30, 2019, 11:12:58 AM »
My guess is the VMF parser is failing. In the VMF Parser Import Options, set the Retry Limit to something like 5. See if you get any notice in the MAXSript listener about a parse error after doing this.

lauris47

  • Newbie
  • *
  • Posts: 36
  • Karma: 2
  • laurynaslubys.com
    • View Profile
Re: WallWorm 1.78 Free Importing whole CSGO map?
« Reply #6 on: October 30, 2019, 11:17:45 AM »
I increased limit to 5.

I get these errors:

Quote
Error parsing VMF attempt 1:-- Runtime error: array index must be positive number, got: 0
Will attempt another 5 times...

Error parsing VMF attempt 2:-- Runtime error: array index must be positive number, got: 0
Will attempt another 4 times...

Error parsing VMF attempt 3:-- Known system exception
-- ########################################################################
-- Address: 0x31f7121d; nCode: 0x00000000C0000005
-- Desc: EXCEPTION_ACCESS_VIOLATION The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
--       Read of Address: 0x00000203C5361000
-- ########################################################################
Will attempt another 3 times...

Error parsing VMF attempt 4:-- Runtime error: array index must be positive number, got: 0
Will attempt another 2 times...

Error parsing VMF attempt 5:-- Runtime error: array index must be positive number, got: 0
Will attempt another 1 times...

NOTICE: Although the level imported, the parse function failed (6) times.

Now Importing Models from QCs
« Last Edit: October 30, 2019, 11:19:18 AM by lauris47 »

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3644
  • Karma: 101
  • Behind me?
    • View Profile
Re: WallWorm 1.78 Free Importing whole CSGO map?
« Reply #7 on: October 30, 2019, 11:19:35 AM »
Can you send me your VMF so that I can discover where this error comes from. My email is included in the WW Readme file in your ww installation path.

lauris47

  • Newbie
  • *
  • Posts: 36
  • Karma: 2
  • laurynaslubys.com
    • View Profile
Re: WallWorm 1.78 Free Importing whole CSGO map?
« Reply #8 on: October 30, 2019, 11:22:18 AM »
its a standard Vertigo map, I cannot attach it due to the limit. it is almost 7mb. I tried Mirage as well, didn't work after I updated to 1.78.
« Last Edit: October 30, 2019, 11:25:49 AM by lauris47 »

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3644
  • Karma: 101
  • Behind me?
    • View Profile
Re: WallWorm 1.78 Free Importing whole CSGO map?
« Reply #9 on: October 30, 2019, 11:26:28 AM »
You can email it to me through your email program, correct?

Where can you get the Vertigo vmf file. It's not in my CSGO sdk maps folder.

lauris47

  • Newbie
  • *
  • Posts: 36
  • Karma: 2
  • laurynaslubys.com
    • View Profile
Re: WallWorm 1.78 Free Importing whole CSGO map?
« Reply #10 on: October 30, 2019, 11:29:37 AM »
I am using https://github.com/ata4/bspsrc/releases that decompiles bsp to vmf.
Cannot see your email in profile. Here is few maps, including Vertigo: https://drive.google.com/drive/folders/1ea58q0Std_YXh8kC8Luo2PZmNwYZbZxw?usp=sharing
« Last Edit: October 30, 2019, 11:31:48 AM by lauris47 »

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3644
  • Karma: 101
  • Behind me?
    • View Profile
Re: WallWorm 1.78 Free Importing whole CSGO map?
« Reply #11 on: October 30, 2019, 11:32:33 AM »
Oh. I don't ever support decompiled maps.

One of the main things that causes the compiler to fail is line endings. The VMF file should have \r\n line endings and should have one at the end of the file. That will fix a parse error.

However, there may be some actual data structure error in the VMF. I would not be able to know without having the VMF. If you email it to me I'll at least see what in it is causing WW to crash with the invalid array index.

lauris47

  • Newbie
  • *
  • Posts: 36
  • Karma: 2
  • laurynaslubys.com
    • View Profile
Re: WallWorm 1.78 Free Importing whole CSGO map?
« Reply #12 on: October 30, 2019, 11:34:33 AM »
It is strange, since it worked before (5 minutes) I updated to 1.75, while I using the same Vertigo file. I will try to decompile it again and import.
Few maps: https://drive.google.com/drive/folders/1ea58q0Std_YXh8kC8Luo2PZmNwYZbZxw?usp=sharing

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3644
  • Karma: 101
  • Behind me?
    • View Profile
Re: WallWorm 1.78 Free Importing whole CSGO map?
« Reply #13 on: October 30, 2019, 11:44:16 AM »
OK, I've opened the file and imported locally. I see the problem.

In recent versions the VMF importer updated to use actual Visgroups in import rather than just layers. The visgroup IDs are expected to start at 1. This VMF has them starting at 0. I will fix WW to fix this later today. It's possible all the visgroups will be offset by one, but at least it will import.

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3644
  • Karma: 101
  • Behind me?
    • View Profile
Re: WallWorm 1.78 Free Importing whole CSGO map?
« Reply #14 on: October 30, 2019, 06:35:08 PM »
Run the Updater app or download latest installer. The bug causing your error should now be gone.