Hammer Tutorial #8 | Decompiling Maps

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ต.ค. 2024

ความคิดเห็น • 98

  • @babarasul680
    @babarasul680 2 ปีที่แล้ว +2

    the max brush face... is there like an actual specific limit or how does that work? Cause I have a map in mind I'm making now and I'm kinda scared it'll be too big. It's for HL2DM if that makes any difference.

    • @Alexscott20
      @Alexscott20  2 ปีที่แล้ว +1

      I think the limit depends on the game, but you usually won't reach that limit.

    • @simplextm
      @simplextm 2 ปีที่แล้ว +1

      HL2DM uses the base engine limits. 8192 total brushes. 32768 total faces. 128 max faces on a single brush. 2048 entity limit. Hope this helps.

    • @babarasul680
      @babarasul680 2 ปีที่แล้ว +1

      @@simplextm it does help. Thank you very much brotha.

  • @theo_testperson
    @theo_testperson ปีที่แล้ว

    is it possible to decompile 1.6 maps? i get an error saying "caused by info.ata4.bsplib.BspException: The GoldSrc format is not supported"

    • @Alexscott20
      @Alexscott20  ปีที่แล้ว

      No, this is only for source. I'm sure there's a goldsrc decompiler somewhere though

  • @obserever
    @obserever ปีที่แล้ว +2

    Hello.
    Will there be a guide on how to recompile maps. I just want to understand how to deal with the problem of a large number of brushes, vertices, etc. when recompiling.

    • @Alexscott20
      @Alexscott20  ปีที่แล้ว

      uhh probably not since its discouraged to recompile previously decompiled maps, but who knows.

  • @devdevilstudio
    @devdevilstudio ปีที่แล้ว +1

    I think this is outdated, because whenever I double click the jar file, it wants to find an app to open. Like notepad, vscode etc.

    • @Alexscott20
      @Alexscott20  ปีที่แล้ว

      you need Java. This is not outdated

  • @buhlishus_channel
    @buhlishus_channel 5 หลายเดือนก่อน

    So, suppose you decompiled a map from the workshop (for example) and you said "Do not recompile previously decompiled maps". In that case, the decompiled map is just a useless .vmf file you can't make playable anymore and what you can do with it is delete it?

    • @Alexscott20
      @Alexscott20  5 หลายเดือนก่อน

      I mean you CAN recompile them, but it can cause alot of trouble from the inaccuracies of decompiling.

  • @YaBoi06
    @YaBoi06 หลายเดือนก่อน

    How do you get the .bsp file of a map like at 1:04? Apparently its supposed to be in the maps folder of the game but i cant find any bsp files anywhere there

    • @Alexscott20
      @Alexscott20  หลายเดือนก่อน

      Depends on where you download it I guess?

    • @YaBoi06
      @YaBoi06 หลายเดือนก่อน

      @@Alexscott20 just from the steam workshop

  • @present9778
    @present9778 ปีที่แล้ว

    So, the materials popped up in my custom material folder, but none of the custom models, is there a fix for that?

    • @Alexscott20
      @Alexscott20  ปีที่แล้ว

      there should be both. They might be from a game or something that's not packed into the map

  • @hdgusjkllyt3620
    @hdgusjkllyt3620 หลายเดือนก่อน

    for some reason when i open .vmf, first loading starts, then it says loading finished and closes. :/ i dont know why. also when i open it when i am in hammer already it says encountered an improper argument.

    • @Alexscott20
      @Alexscott20  หลายเดือนก่อน

      Im not too sure, decompiling can cause oddities like that. Try looking around online, someone might have had your problem.

  • @CREEPSMINI
    @CREEPSMINI 9 หลายเดือนก่อน

    Hi, I'm not sure if anyone would respond but I'm having trouble.
    I downloaded the BSPSRC file, and whenever I try to open it, it either says cannot find, error, or it opens some other file with commands or something? I downloaded a windows only version of the BSPSRC and a Jar only, they're both the latest versions too.

    • @Alexscott20
      @Alexscott20  9 หลายเดือนก่อน

      you do have java installed?

    • @CREEPSMINI
      @CREEPSMINI 9 หลายเดือนก่อน

      Yes, I even reinstalled it@@Alexscott20

  • @MrFe000
    @MrFe000 10 หลายเดือนก่อน

    Hello!
    Your Tutorial helped me a lot. Thank you! Could you help me with a problem?
    Basically, I'm trying to add an underground part on my map. But when I try to extend the underground, a PROBLEM appears and the part I added don't work and it doesn't load in the game.
    **THE PROBLEM: Too many t-junctions to fix up! (3845 prims, max 32768 :: 65544 indices, max 65536) **
    Do you know how to fix it it?
    (When I delete the new part it works perfectly but I want to add a bigger underground on my map!) .-.

    • @Alexscott20
      @Alexscott20  10 หลายเดือนก่อน +1

      yes, this becomes a problem when you have too much map geometry. To fix this you could turn some things in the map into props, i have a separate video on "propper" which could help.

  • @babarasul680
    @babarasul680 ปีที่แล้ว

    I downloaded a map from the workshop, dragged and dropped it to gmad.exe, then decompiled with BSPsource but when I open with with Hammer, all the custom content is ERROR and all the custom textures are missing... What do I do? I ticked the Extract embedded files box. What else?

    • @Alexscott20
      @Alexscott20  ปีที่แล้ว +1

      so, where ever you decompile your map to, there should be a folder made of the same name. Inside are the custom assets, you can drag and drop the materials, models, sounds, and which ever other folders into your steam/steamapps/common/GarrysMod/garrysmod/ folder. They should then show up

    • @babarasul680
      @babarasul680 ปีที่แล้ว

      @@Alexscott20 ok I did that but now the map loaded in hammer with props even but the models of the props are missing textures :/ so it kinda worked but not fully

    • @Alexscott20
      @Alexscott20  ปีที่แล้ว +1

      perhaps the assets the map is using are from a different game, so if you have css try mounting that to hammer with mount.cfg@@babarasul680

    • @babarasul680
      @babarasul680 ปีที่แล้ว

      @@Alexscott20 yeah it is mb I should've mentioned. I'm trying to get custom models into Half-life 2 Deathmatch... so right now I want to see if I can port assets from Gmod workshop maps.
      I got a good grip on hammer in general but I'm a novice in terms of getting custom props and models in the game :(

    • @babarasul680
      @babarasul680 ปีที่แล้ว

      @@Alexscott20 It worked. I just copy pasted the materials and the models into the ones under both the hl2dm folder AND the download folder

  • @legendarydoge6916
    @legendarydoge6916 2 ปีที่แล้ว +1

    i did everything you showed but the map still has no textures and sounds. i have the file with the custom assets but you never showed doing anything else like putting the extracted assets files into hammer.

    • @Alexscott20
      @Alexscott20  2 ปีที่แล้ว +1

      ah. So, inside the decompiled assets folder, should be the folder with the same name as the map, you want to select everything inside of there, should be atleast the materials and models folder, and drag and drop them here C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod

    • @surfmap
      @surfmap 9 หลายเดือนก่อน

      i had the same problem and this fixed it for me, thank you!!

    • @killerdoughnut7233
      @killerdoughnut7233 3 หลายเดือนก่อน

      @@Alexscott20 THANK YOU BRO I was looking for a solution like this EVERYWHERE but everyone said to put into the garrysmod "materials" folder and not the actual garrysmod depository file itself. You're a lifesaver man.

    • @Alexscott20
      @Alexscott20  3 หลายเดือนก่อน

      @@killerdoughnut7233 glad I could help

  • @GavinPostell
    @GavinPostell 2 หลายเดือนก่อน

    how do u fix errors and missing textures in hammer?

    • @Alexscott20
      @Alexscott20  หลายเดือนก่อน

      @@GavinPostell you need to extract the embedded content and mount it to your game

  • @veilyxsan197
    @veilyxsan197 ปีที่แล้ว

    i have a question can you take something from my older map and add it to my current map

    • @Alexscott20
      @Alexscott20  ปีที่แล้ว

      can I? I could, but probably won't. If you're meaning to ask if you can, then yes this will allow you to do that

  • @danielbersani
    @danielbersani 9 หลายเดือนก่อน

    I lost the archive rmf and now I don't can to open my map in valve hammer editor

  • @danielbersani
    @danielbersani 9 หลายเดือนก่อน

    Hello. I need decompile map of cs 1.6, do you can help me ? this not work for me :(

    • @Alexscott20
      @Alexscott20  9 หลายเดือนก่อน

      yeah, thats gold source, this is for source.

  • @ViralExorcist
    @ViralExorcist 5 หลายเดือนก่อน

    [error] BspSource: Can't load Mapper caused by info.ata4.bsplib.BspException: The GoldSrc format is not supported

    • @Alexscott20
      @Alexscott20  5 หลายเดือนก่อน

      this program is for maps made for the source engine, not gold source.

  • @SpaceBear1987
    @SpaceBear1987 ปีที่แล้ว

    Have you made tutorials on Vscripting within hammer? Perhaps adding a new weapon to the loadout or something? I know it can be done, I've seen it done.
    I'd just love to learn how its done.

    • @Alexscott20
      @Alexscott20  ปีที่แล้ว

      I don't know vscript and I map for gmod, so.

    • @SpaceBear1987
      @SpaceBear1987 ปีที่แล้ว

      @@Alexscott20 Damn shame, I hope I find someone who can.

  • @Laxs_DBD
    @Laxs_DBD 8 หลายเดือนก่อน

    When I decompile a map there’s no texture how do you fix

    • @Alexscott20
      @Alexscott20  8 หลายเดือนก่อน

      You have to go to the last tab at the top and tick the extract embedded content button, then it will give you a folder with all the contents of the bsp. You then can either mount that content or put it in your game files

  • @laz5857
    @laz5857 2 หลายเดือนก่อน

    Worked for me, ty

  • @egg1234
    @egg1234 5 หลายเดือนก่อน

    i tried to decompile gm_construct and when i played it water and skybox was gone

    • @Alexscott20
      @Alexscott20  5 หลายเดือนก่อน

      that would imply you have a leak. Fix the leak and then It should work

  • @Tu_Z_in
    @Tu_Z_in 6 หลายเดือนก่อน

    Is there way to delete your own map?

    • @Alexscott20
      @Alexscott20  6 หลายเดือนก่อน +1

      from what...?

  • @herpspatate1158
    @herpspatate1158 ปีที่แล้ว

    When I click on the .jar it gives me 3 files instead...

  • @souououo
    @souououo 10 หลายเดือนก่อน

    Super helpful and to the point, thank you

  • @liquitdust8281
    @liquitdust8281 ปีที่แล้ว

    is it possible to decompile protected encrypted map files ?

    • @liquitdust8281
      @liquitdust8281 ปีที่แล้ว

      i am getting error "[warning] BspDecompiler: jb_buyukisyan_rewind__2024 contains anti-decompiling flags or is obfuscated!". While trying to open decompiled vmf file in hammer its not showing brushes or any texture colors

    • @Alexscott20
      @Alexscott20  ปีที่แล้ว

      so, the anti decompilation flags dont do anything, as bspsrc will decompile it anyways. The white brushes are because you havent put the content from the map into your files, so the textures show as white

  • @SoMeThInG97899
    @SoMeThInG97899 4 หลายเดือนก่อน

    what java should i use java java rmi javacpl javaw javaws

    • @Alexscott20
      @Alexscott20  4 หลายเดือนก่อน

      www.java.com/en/

  • @sceena1875
    @sceena1875 หลายเดือนก่อน

    but the map i want to make in to a vmf file is a gm file

  • @wolrock8274
    @wolrock8274 ปีที่แล้ว

    texture files are not coming into my parts

    • @Alexscott20
      @Alexscott20  ปีที่แล้ว

      ?

    • @wolrock8274
      @wolrock8274 ปีที่แล้ว

      mapin textures are not coming
      @@Alexscott20

    • @Alexscott20
      @Alexscott20  ปีที่แล้ว

      @@wolrock8274tick the extract embedded content in bspsrc

    • @wolrock8274
      @wolrock8274 ปีที่แล้ว

      is there a video how to do it@@Alexscott20

    • @Alexscott20
      @Alexscott20  ปีที่แล้ว

      yes... this video@@wolrock8274

  • @wones_gamer7762
    @wones_gamer7762 2 ปีที่แล้ว

    [error] BspSource: Can't load

  • @welpamson3214
    @welpamson3214 ปีที่แล้ว

    Windows cannot find 'javaw'

    • @Alexscott20
      @Alexscott20  ปีที่แล้ว

      Uh.. Well. You have Java installed right? If so then I got no idea, sorry.

  • @saeedsharanek1204
    @saeedsharanek1204 ปีที่แล้ว

    The GoldSrc format is not supported
    🤒

    • @Alexscott20
      @Alexscott20  ปีที่แล้ว

      Yeah.. This is for source 1

  • @Laxs_DBD
    @Laxs_DBD 9 หลายเดือนก่อน

    Very nice tut

    • @Alexscott20
      @Alexscott20  9 หลายเดือนก่อน

      thank you!

  • @juanmariol.3634
    @juanmariol.3634 2 ปีที่แล้ว +2

    Thanks you!

  • @big_shark_cute
    @big_shark_cute 10 หลายเดือนก่อน

    its only letting me use "open with" im not doin that shit where do i locate the fuckin open button

    • @Alexscott20
      @Alexscott20  10 หลายเดือนก่อน

      do have java?

  • @teamgarrymod3314
    @teamgarrymod3314 ปีที่แล้ว

    how to upload map to modb

  • @MuggyNuggy
    @MuggyNuggy 2 หลายเดือนก่อน

    It says it cant read it

    • @Alexscott20
      @Alexscott20  2 หลายเดือนก่อน

      can you upload the log?

  • @Maslo82g
    @Maslo82g 2 ปีที่แล้ว

    Not working >:

    • @Alexscott20
      @Alexscott20  2 ปีที่แล้ว

      which part is not working?

  • @coachacola3755
    @coachacola3755 ปีที่แล้ว

    When I recompile the map after making edits to it, I get
    Running command: cd "\SteamLibrary\steamapps\common\Team Fortress 2\bin"
    -------------------------------------------------------------------------------
    -------------------------------------------------------------------------------
    Running command: "\SteamLibrary\steamapps\common\Team Fortress 2\bin\vbsp.exe" -game "\SteamLibrary\steamapps\common\Team Fortress 2\tf" "\Users\Downloads\pl_goldrush_d.vmf"
    -------------------------------------------------------------------------------
    Valve Software - vbsp.exe
    16 threads
    MSG_FILEWRITE - Filesystem was asked to write to 'Users\Downloads\pl_goldrush_d.log', but we don't own that location. Allowing.
    materialPath: \SteamLibrary\steamapps\common\Team Fortress 2\tf\materials
    Loading C:\User\Downloads\pl_goldrush_d.vmf
    ConVarRef mat_reduceparticles doesn't point to an existing ConVar
    Brush 65342: MAX_MAP_BRUSHSIDES
    Side 0
    Texture: WOOD/WOOD_BEAM03
    Finished. Press a key to close.

    • @Alexscott20
      @Alexscott20  ปีที่แล้ว

      the map is going over the limit in brush sides. It is generally a bad idea to recompile a previously decompiled map, as things like this can happen.

  • @tubbysoftgamerOriginal
    @tubbysoftgamerOriginal 2 หลายเดือนก่อน

    it shows an error saying cant load map caused by info.ata4.bsplib.BspException: Invalid or missing header

    • @Alexscott20
      @Alexscott20  2 หลายเดือนก่อน

      does the map even load in game? the bsp needs a header..