Thread: [Tool] Map2Curve - Generating arcs out of map files

Results 1 to 12 of 12
  1. #1
    Registered User ToTac's Avatar
    Join Date
    Nov 2016
    Location
    The Void
    Posts
    12

    Lightbulb [Tool] Map2Curve - Generating arcs out of map files

    Transforming this first post into an up2date release post...

    Current version: 0.7
    Release date: January 16, 2020
    Platform: Windows

    - Website
    - v0.7 Overview
    - Online-Documentation

    Features
    - imports Goldsource MAP format
    - exports to RMF, MAP, OBJ format
    - reads WAD3
    - preserves texture info
    - processes worldbrushes, point and solid entities
    - triangulates automatically
    - can use custom splines
    - can carve brushes

    Download
    - Gamebanana.com
    - twhl.info
    - moddb.com

    Tutorials *NEW*
    - 01 Create a simple curved Hallway
    - 02 Add Detail Objects
    - 03 Create a Circle Duplication






    ### OLD RELEASE POST (for archiving purposes) ###
    Hi guys,
    for all of you who haven't heard of it already, I want to introduce Map2Curve to you.

    I've created this tool during the past months, since I wanted to make it easier to create arcs out of complex and already textured brushwork, without loosing the texture information.

    I am planning to add some more features and fix some bugs in the next couple of weeks and months.
    Future updates will definitely include the ability to extrude brushes along a path, that was created in a Goldsource editor with the well known path tool.

    If one of you can think of an important missing feature, please feel free to tell me!
    Bug reports and any other suggestions are always welcome ofc.

    Anyhow, here are some download locations:
    https://twhl.info/vault/view/6327
    https://www.moddb.com/engines/goldsource/downloads/map2curve-v03
    https://gamebanana.com/tools/6618

    I also created a little article on my own website, where I might add a little documentation in the future:
    Map2Curve Homepage

    See the Online-Documentation for more information about the program!

    Click image for larger version. 

Name:	20190312021354_1.jpg 
Views:	107 
Size:	177.9 KB 
ID:	18316Click image for larger version. 

Name:	Map2Curve_Update20a.jpg 
Views:	121 
Size:	777.4 KB 
ID:	18314Click image for larger version. 

Name:	20190323120821_1.jpg 
Views:	98 
Size:	317.8 KB 
ID:	18315Click image for larger version. 

Name:	Unbenannt.jpg 
Views:	81 
Size:	111.1 KB 
ID:	18313

    Thank you very much, see you soon!
    Last edited by ToTac; 16-01-2020 at 01:02 AM. Reason: new version release

  2. #2
    Registered User
    Join Date
    Jul 2010
    Posts
    56

    Re: [Tool] Map2Curve - Generating arcs out of map files

    Very Cool!

  3. #3
    Registered User ToTac's Avatar
    Join Date
    Nov 2016
    Location
    The Void
    Posts
    12

    Re: [Tool] Map2Curve - Generating arcs out of map files

    Hi again folks!

    Version 0.3 is finished.

    It features extrusion along paths and is now able to align textures on ramps in a much better way than before, which essentially makes it a lot more interesting to generate ramps now.
    Also the triangulation now works for 5 sided brushes, too.

    Click image for larger version. 

Name:	20190411002333_1.jpg 
Views:	89 
Size:	350.9 KB 
ID:	18340
    Click image for larger version. 

Name:	20190509110057_1.jpg 
Views:	67 
Size:	114.3 KB 
ID:	18341
    Click image for larger version. 

Name:	20190508101301_1.jpg 
Views:	77 
Size:	367.7 KB 
ID:	18342

  4. #4
    Silencer Lt.JC's Avatar  
    Tester
    Join Date
    Dec 2003
    Location
    Germany
    Posts
    1,249

    Re: [Tool] Map2Curve - Generating arcs out of map files

    That looks really cool, almost source levels of terrain/cliff quality there

    If I ever need some curved hallways or something like that in the future I'm gonna take a look at this tool because I guess it would save a lot of time. ^^
    Born to Fight,
    Trained to Kill,
    Taught to Survive,
    and told to take no Prisoners.
    Visit http://www.youtube.com/NostalgicGames

  5. #5
    Administrator Hezus's Avatar  
    Manager
    Join Date
    Aug 2001
    Location
    The Netherlands
    Posts
    9,074

    Re: [Tool] Map2Curve - Generating arcs out of map files

    This tool is getting cooler all the time!

  6. #6
    Registered User ToTac's Avatar
    Join Date
    Nov 2016
    Location
    The Void
    Posts
    12

    Re: [Tool] Map2Curve - Generating arcs out of map files

    Hey ppl!

    Version 0.6 is available!
    Full release overview

    New Features
    - New spline extrusion type
    - Seamless texture mapping
    - Heightmodes
    - Detail objects work for all curve types now
    - More control over curve generation and file export
    - Various additions, fixes and improvements



  7. #7
    :D cold_blood3d_killa's Avatar  
    Contributor
    Join Date
    Jun 2004
    Location
    United States
    Posts
    483

    Re: [Tool] Map2Curve - Generating arcs out of map files

    This is so cool. Something I wish existed a long time ago! Good detail on your site too for the documentation and full capabilities.

  8. #8
    Advanced Leveldesigner SourceSkyBoxer's Avatar
    Join Date
    Apr 2011
    Location
    Germany
    Posts
    817

    Re: [Tool] Map2Curve - Generating arcs out of map files

    Wow @Totac welcome back from TheWall!! I am bit disappointed because you have ruined my level design if I have brush work with curving brush works. Thanks you push my level design if you make like Witch conjures up beautiful simple curvy brushes. I can't expect that.

    Look my brush work without map2curve:




    That is my favorite workstation. That is why you conjure my hurtful brushwork.

    I feel jealous to you.

    // EDIT: WTF???? WHY DOES IT HAPPEN FOR ME?

    IF I use your example generate to hallway_arc.map than it looks like brushes are invisibly?



    What is sh**?

    I can't believe that you failed magic? Oh no my god witch Totac failed from big pot and toxin frogs jump to witch :/

    //EDIT 2:

    I have tried..... No success why does it throw error...

    I have valid brush like simple brush as cube but it said invalid.
    WHY DOES IT NOT SAY TO MY VALID BRUSHES????

    I am very disappointed and I am broken on floor. Please tell me current. I did use J.A.C.K.

    // EDIT 3:
    Wow I have tried Map2Curve 0.5 and It works fine for me.
    Map2Curve 0.6 has bug if generated _arc.map and it seems like invisible brushes ( nothing loads in map )

    It resolved for me with Map2Curve 0.5 = result look my screenshots:
    WARNING: XXL Picture I am using Ubuntu 18.04 because my monitor is into television screen display !!!
    Last edited by SourceSkyBoxer; 29-12-2019 at 05:34 PM.
    Hello guys, Svencoop. I am sorry Please respect me! I am deaf. Thanks, Sven-Coop Forum!

    Please do not share to shit dropbox! Please share only Mega.nz!
    Muhahaha, Facebook crashed!

  9. #9
    Registered User ToTac's Avatar
    Join Date
    Nov 2016
    Location
    The Void
    Posts
    12

    Re: [Tool] Map2Curve - Generating arcs out of map files

    Hey Sky, thanks for the feedback!

    You are using Linux as far as I can see. I am not sure about the tools behavior on Linux. I only tested it on Windows10 + Valve Hammer Editor so far.

    If you say version 0.5 works for you though, I can assume it has something to do with version 0.6, Linux or the fact, that you're using JACK eventually, because when I use Version 0.6 and test build the included templates on Windows 10, they are being generated without trouble.

    Can you please send the associated files (map,preset-txt) you had troubles with to my email totac@web.de? That would be the easiest way for me to check for the reason.


    By the way, you can leave triangulation on auto-mode (0), if you don't desperately need triangulated brushes. If necessary, they will always be triangulated automatically.
    Last edited by ToTac; 30-12-2019 at 09:28 AM.

  10. #10
    Advanced Leveldesigner SourceSkyBoxer's Avatar
    Join Date
    Apr 2011
    Location
    Germany
    Posts
    817

    Re: [Tool] Map2Curve - Generating arcs out of map files

    Hey Totac Thanks

    For Map2Curve 0.6:
    If I don't use root directory of Map2Curve because it can't find to defaults.txt cause "//Edit 2" looks like brushes are invisibly.
    I try out with root directory of Map2Curve = It works as well thanks but why does generated _arc.map get skip brush. It looks like crazy.
    Result:


    I will try my brush work:
    Example picture:


    Result with generating _arc.map:
    Code:
    C:\Program Files\Map2Curve_v0.6>Map2Curve_x64.exe test_hw.map test_hw.txt
    ++---------------------++
    ||   Map2Curve v0.6    ||
    ||      by ToTac       ||
    ||   Dec 16th, 2019    ||
    ++---------------------++
    
     Checking File #1
    +-----------------------------------------------------+
    |    Type: Map File (*.map)
    |    Path: test_hw.map
    |    
    |    [INFO] No internal Preset-Entity (info_curve) found in Map-File!
    |           Using external Settings File (test_hw.txt)...
    |
    +-----------------------------------------------------+
    
     Checking File #2
    +-----------------------------------------------------+
    |    Type: Settings File (*.txt): 	
    |    Path: test_hw.txt
    |    
    +-----------------------------------------------------+
    
         [INFO] Found 2 valid file(s).
    
                Scanning WAD Folder and WADList.txt...
                0 WAD files loaded:
    
         [INFO] Loading Default Settings (DEFAULTS.txt) in Root Dir...
                Successfully loaded!
    
      Processing File #1
    +-----------------------------------------------------+
    |  Loading external settings (test_hw.txt)...
    |  Loading Map File (test_hw.map)...
    |
    |    [INFO] Found 5 WAD files used in this map file:
    |           #1 halflife
    |           #2 liquids
    |           #3 xeno
    |           #4 decals
    |           #5 zhlt
    |           NONE of them were found!
    |
    |    [WARNING] Could not get informations of 3 texture(s):
    |              NULL
    |              CRETE2_FLR01
    |              C3A2A_W1K
    |              Using default width and height (128px).
    |              Texture Offsets will probably be wrong!
    |
    |
    |  Creating Source Objects...
    |  Creating Construction Tables...
    |  (Using external Settings from TXT-File)
    |  Creating Detail Objects...
    |  Applying Source Transformations...
    |  [WARNING] Brush [0] of Entity [0] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [1] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [2] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [3] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [5] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [6] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [7] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [8] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [9] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [10] seems to have an invalid mesh and won't be processed.
    |
    |
    |
    |  Generating Curve #1...
    |    [ERROR] The source transformations caused the
    |            original mesh to become invalid! Aborting...
    |            Transformations were:
    |            - rot_src   ( 0 0 0 )
    |            - scale_src ( 0 0 0 )
    |            For more information about valid source Brushes
    |            see the Online documentation.
    |
    |
    +-----------------------------------------------------+
    
    
      Processing File #2
    +-----------------------------------------------------+
    |  Loading external settings (test_hw.txt)...
    |  Loading Map File (test_hw.map)...
    |
    |    [INFO] Found 5 WAD files used in this map file:
    |           #1 halflife
    |           #2 liquids
    |           #3 xeno
    |           #4 decals
    |           #5 zhlt
    |           NONE of them were found!
    |
    |    [WARNING] Could not get informations of 3 texture(s):
    |              NULL
    |              CRETE2_FLR01
    |              C3A2A_W1K
    |              Using default width and height (128px).
    |              Texture Offsets will probably be wrong!
    |
    |
    |  Creating Source Objects...
    |  Creating Construction Tables...
    |  (Using external Settings from TXT-File)
    |  Creating Detail Objects...
    |  Applying Source Transformations...
    |  [WARNING] Brush [0] of Entity [0] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [1] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [2] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [3] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [5] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [6] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [7] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [8] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [9] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [10] seems to have an invalid mesh and won't be processed.
    |
    |
    |
    |  Generating Curve #1...
    |    [ERROR] The source transformations caused the
    |            original mesh to become invalid! Aborting...
    |            Transformations were:
    |            - rot_src   ( 0 0 0 )
    |            - scale_src ( 0 0 0 )
    |            For more information about valid source Brushes
    |            see the Online documentation.
    |
    |
    +-----------------------------------------------------+
    
    
    
    PRESS ANY BUTTON TO EXIT...
    
    C:\Program Files\Map2Curve_v0.6>Map2Curve_x64.exe test_hw.map test_hw.txt
    ++---------------------++
    ||   Map2Curve v0.6    ||
    ||      by ToTac       ||
    ||   Dec 16th, 2019    ||
    ++---------------------++
    
     Checking File #1
    +-----------------------------------------------------+
    |    Type: Map File (*.map)
    |    Path: test_hw.map
    |    
    |    [INFO] No internal Preset-Entity (info_curve) found in Map-File!
    |           Using external Settings File (test_hw.txt)...
    |
    +-----------------------------------------------------+
    
     Checking File #2
    +-----------------------------------------------------+
    |    Type: Settings File (*.txt): 	
    |    Path: test_hw.txt
    |    
    +-----------------------------------------------------+
    
         [INFO] Found 2 valid file(s).
    
                Scanning WAD Folder and WADList.txt...
                0 WAD files loaded:
    
         [INFO] Loading Default Settings (DEFAULTS.txt) in Root Dir...
                Successfully loaded!
    
      Processing File #1
    +-----------------------------------------------------+
    |  Loading external settings (test_hw.txt)...
    |  Loading Map File (test_hw.map)...
    |
    |    [INFO] Found 5 WAD files used in this map file:
    |           #1 halflife
    |           #2 liquids
    |           #3 xeno
    |           #4 decals
    |           #5 zhlt
    |           NONE of them were found!
    |
    |    [WARNING] Could not get informations of 3 texture(s):
    |              NULL
    |              CRETE2_FLR01
    |              C3A2A_W1K
    |              Using default width and height (128px).
    |              Texture Offsets will probably be wrong!
    |
    |
    |  Creating Source Objects...
    |  Creating Construction Tables...
    |  (Using external Settings from TXT-File)
    |  Creating Detail Objects...
    |  Applying Source Transformations...
    |  [WARNING] Brush [0] of Entity [0] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [1] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [2] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [3] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [5] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [6] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [7] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [8] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [9] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [10] seems to have an invalid mesh and won't be processed.
    |
    |
    |
    |  Generating Curve #1...
    |    [ERROR] The source transformations caused the
    |            original mesh to become invalid! Aborting...
    |            Transformations were:
    |            - rot_src   ( 0 0 0 )
    |            - scale_src ( 0 0 0 )
    |            For more information about valid source Brushes
    |            see the Online documentation.
    |
    |
    +-----------------------------------------------------+
    
    
      Processing File #2
    +-----------------------------------------------------+
    |  Loading external settings (test_hw.txt)...
    |  Loading Map File (test_hw.map)...
    |
    |    [INFO] Found 5 WAD files used in this map file:
    |           #1 halflife
    |           #2 liquids
    |           #3 xeno
    |           #4 decals
    |           #5 zhlt
    |           NONE of them were found!
    |
    |    [WARNING] Could not get informations of 3 texture(s):
    |              NULL
    |              CRETE2_FLR01
    |              C3A2A_W1K
    |              Using default width and height (128px).
    |              Texture Offsets will probably be wrong!
    |
    |
    |  Creating Source Objects...
    |  Creating Construction Tables...
    |  (Using external Settings from TXT-File)
    |  Creating Detail Objects...
    |  Applying Source Transformations...
    |  [WARNING] Brush [0] of Entity [0] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [1] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [2] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [3] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [5] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [6] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [7] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [8] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [9] seems to have an invalid mesh and won't be processed.
    |
    |  [WARNING] Brush [0] of Entity [10] seems to have an invalid mesh and won't be processed.
    |
    |
    |
    |  Generating Curve #1...
    |    [ERROR] The source transformations caused the
    |            original mesh to become invalid! Aborting...
    |            Transformations were:
    |            - rot_src   ( 0 0 0 )
    |            - scale_src ( 0 0 0 )
    |            For more information about valid source Brushes
    |            see the Online documentation.
    |
    |
    +-----------------------------------------------------+
    
    
    
    PRESS ANY BUTTON TO EXIT...
    For Map2Curve 0.5:
    same picture like this

    Generating _arc.map result:
    Code:
    C:\Program Files\Map2Curve>Map2Curve_x64.exe test.hw.map test_hw.txt
    ++---------------------++
    ||   Map2Curve v0.5    ||
    ||      by ToTac       ||
    ||   Oct 22th, 2019    ||
    ++---------------------++
    
     Checking File #1
    +-----------------------------------------------------+
    |    Type: Map File (*.map)
    |    Path: test.hw.map
    |    
    |    [ERROR] Map-File not found or empty! Aborting...
    |            File: test.hw.map
    |
    |    [WARNING] No valid Preset-File (TXT) or Entity (info_curve) found in Map-File!
    |              Using Default Settings...
    |
    +-----------------------------------------------------+
    
     Checking File #1
    +-----------------------------------------------------+
    |    Type: Settings File (*.txt): 	
    |    Path: test_hw.txt
    |    
    +-----------------------------------------------------+
    
         [INFO] Found 1 valid file(s).
    
                Scanning WAD Folder and WADList.txt...
                0 WAD files loaded:
    
         [INFO] Loading Default Settings (DEFAULTS.txt) in Root Dir...
                Successfully loaded!
    
      Processing File #1
    +-----------------------------------------------------+
    |  Loading external settings (test_hw.txt)...
    |  Loading Map File (test_hw.map)...
    |
    |    [INFO] Found 5 WAD files used in this map file:
    |           #1 halflife
    |           #2 liquids
    |           #3 xeno
    |           #4 decals
    |           #5 zhlt
    |           NONE of them were found!
    |
    |    [WARNING] Could not get informations of 3 texture(s):
    |              NULL
    |              CRETE2_FLR01
    |              C3A2A_W1K
    |              Using default width and height (128px).
    |              Texture Offsets will probably be wrong!
    |
    |
    |  Creating Source Objects...
    |  Creating Construction Tables...
    |  (Using external Settings from TXT-File)
    |
    |  Generating Curve #1...
    |    Type:	Pi Circle
    |    Radius:	2016
    |    Sides:	60
    |    Range:	Section 1 - 15 of total 60
    |    Creating Construction Framework...
    |    Creating Objects...
    |    Building Brushes...
    |    Texturing...
    |    Triangulating...
    |
    |  Exporting all curves to map file "test_hw_arc.map"...
    |
    +-----------------------------------------------------+
    
    
    
    PRESS ANY BUTTON TO EXIT...
    It works as well and result screenshot:


    It is proof because Map2Curve 0.6 has bug. Yeah I am not fan of Windows 10. But Wine has not problem with Map2Curve 0.5

    I will send here ( Google Drive )

    Thanks I hope you understand...
    Hello guys, Svencoop. I am sorry Please respect me! I am deaf. Thanks, Sven-Coop Forum!

    Please do not share to shit dropbox! Please share only Mega.nz!
    Muhahaha, Facebook crashed!

  11. #11
    Registered User ToTac's Avatar
    Join Date
    Nov 2016
    Location
    The Void
    Posts
    12

    Re: [Tool] Map2Curve - Generating arcs out of map files

    @Skyboxer All right, the issue should be resolved in version 0.7 now. Apparently it was due to a different vertex order that JACK produces. Maps exported from Hammer Editor were no problem. Anyway, thank you for the detailed feedback! Looking forward to more.

  12. #12
    Advanced Leveldesigner SourceSkyBoxer's Avatar
    Join Date
    Apr 2011
    Location
    Germany
    Posts
    817

    Re: [Tool] Map2Curve - Generating arcs out of map files

    Thanks for new version..

    Check out in TWHL
    I would like to report about bug because map2curve generates rmf file ok but check-prtoblem-dialogue shows up like this

    Sorry XXL-picture
    Last edited by SourceSkyBoxer; 16-01-2020 at 06:36 PM.
    Hello guys, Svencoop. I am sorry Please respect me! I am deaf. Thanks, Sven-Coop Forum!

    Please do not share to shit dropbox! Please share only Mega.nz!
    Muhahaha, Facebook crashed!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •