Source Filmmaker

Source Filmmaker

28 个评价
Map Unpacker
   
奖励
收藏
已收藏
取消收藏
Script
标签: SFM
文件大小
发表于
更新日期
3.801 KB
2021 年 10 月 24 日 上午 1:34
2021 年 10 月 24 日 上午 2:00
3 项改动说明 ( 查看 )

订阅以下载
Map Unpacker

描述
WARNING!


This script is mainly for convenience purposes. It is not guaranteed to work 100% on all maps and is intended for TF2 maps.



This script will decompress and extract any models and materials found in newer maps. This is mainly useful for using newer compressed TF2 maps with models bundled into it.

Steps to use:
  1. (Optional) If the script does not detect a TF2 install with BSPZIP, select a BSPZIP exe which will be used for decompressing the bsp.
  2. Select the BSP to extract
  3. Select the location to extract the model and materials.It is advisable to store custom models and assets in a custom mod folder rather than usermod
  4. The unpacked map will appear in the same map folder with _unpacked add to the end.
  5. Hope to any higher beings that the map doesn't break.


If you encounter any errors please leave a comment and I'll help you address it.

Includes:
sfm\mainmenu\map_decomp_and_extract.py
22 条留言
shattered-sfm5789 7 月 17 日 下午 10:54 
how does this work man
Azule  [作者] 2024 年 12 月 28 日 下午 6:07 
It's asking which bsp to decompress (im not sure if i wrote that properly in the script). If it says the bsp is not compressed then it means the map probably has no assets packed in it
Rens 2024 年 12 月 28 日 上午 6:34 
Weird script it asks me to select a bsp to compress and when i do it says "Selected file is not a compressed bsp" it doesn't make sense
Azule  [作者] 2024 年 8 月 2 日 下午 5:39 
The rainbow cubes is a problem with how the cubemaps are stored in the map file. When they're compiled small enough for some reason there's a broken face stored in it. I've found a a way to automate fixing it but the process is still somewhat experimental so I haven't released any updates to this yet.
Wally Graham 2024 年 8 月 2 日 上午 10:05 
Even better news! I found this addon works best (my track rate is 100%) if you actually play the map first in TF2. 🤣 🤣 🤣 I don't know what it is but yeah, playing the map first and then unpacking everything is what really does the trick.

I still have some rainbow cubes popping up but that's a simple mat_specular 0 command and letting SFM do it's thang.
Azule  [作者] 2023 年 9 月 13 日 上午 4:47 
Glad to have helped!
Wally Graham 2023 年 9 月 12 日 下午 10:23 
Holy hell, I haven't had ANY luck importing any of the maps into SFM. This addon helped ALOT.

Thank you!
Azule  [作者] 2022 年 9 月 4 日 下午 4:39 
I guess?
PyroFireGamer 2022 年 9 月 4 日 下午 4:29 
so... yes?
Azule  [作者] 2022 年 9 月 4 日 上午 3:42 
The way my script works, it removes cubemaps so reflections do not appear. I am experimenting with ways to overcome this