VMF Updater
 

0 Пользователей и 1 Гость просматривают эту тему.

  • *
  • Сообщений: 2970
    • Просмотр профиля
    • hl2-beta.ru
VMF Updater - a program that fixes maps source files.

What this tool can do:
- Automatically replaces missing textures, models and skyboxes with ones from the beta;
- Fixes "black" brushes and models;
- Updates HL1 entities to HL2 ones and sets Inputs/Outputs automatically.
- Automatically adds Inputs/Outputs
- Moves keyvalues from entitie's axis into MoveDir keyvalue for func_button, func_door and some other entities
- Replaces env_sound for working env_soundscape with proper keyvalues
- Adds correct SOLID keyvalue for prop_static entity
- Adds correct MoveSound keyvalues for func_tractrain
- Moves values from "mass" keyvalue into "massScale" keyvalue, supported by the engine
- Replaces npcweapon_mp5k with weapon_smg1 for npc_metropolice
- Fixes sound names that were ranamed since 2001 for func_door_rotating and ambient_generic

This script was written on LUA, so you can easily edit it at your discretion.

INSTRUCTIONS

1) Unzip the VMF Updater folder from this archive
2) Run VMFUpdater.exe, press Load File and select the .vmf file you want to fix
3) Press Update and wait for a few seconds
4) Save the fixed file, don't forget to append ".vmf"

This tool made by fire64
More features into LUA code were added by VXP
The list of textures and model replacements was added by Витой
Отредактировано: 09 Июл 2017, 00:24:33 от Витой

VXP

  • *
  • Сообщений: 342
    • Просмотр профиля
    • LeakNet
Updated script for VMF Updater: fixed replacing some entities and added latest model replacing
Installing: put updater.lua into the VMF Updater folder and replace original file
https://yadi.sk/d/a_EYP8Ln3Kfrk9
  • Good Citizen
  • *
  • Сообщений: 82
    • Просмотр профиля
Every time I try to open nvmf updater I get an error and it says: the appliction has failed to start because its side-by-side configuration is incorrect. Idk what that means, do you guys?

VXP

  • *
  • Сообщений: 342
    • Просмотр профиля
    • LeakNet
Install Visual C++ Redistributable, I think, something around 2005-2010
  • Good Citizen
  • *
  • Сообщений: 82
    • Просмотр профиля
Ok
  • Good Citizen
  • *
  • Сообщений: 82
    • Просмотр профиля
Wait, do I need to have 32 bits or 64 bits for this program to work?
  • *
  • Сообщений: 2970
    • Просмотр профиля
    • hl2-beta.ru
Wait, do I need to have 32 bits or 64 bits for this program to work?
Dunno, I have 64 bit OS and it works fine for me.
  • Good Citizen
  • *
  • Сообщений: 82
    • Просмотр профиля
Well, if so, then I know whats the problem...Oh well, time for the new computer

VXP

  • *
  • Сообщений: 342
    • Просмотр профиля
    • LeakNet
  • Good Citizen
  • *
  • Сообщений: 82
    • Просмотр профиля
Ok ill try that
  • Good Citizen
  • *
  • Сообщений: 82
    • Просмотр профиля
It worked! Thanks! Anyone who reads this don't ever blame VXP :)
  • *
  • Сообщений: 2970
    • Просмотр профиля
    • hl2-beta.ru
VMF Updater's LUA script file was updated with more models replacements and content from the recently released Mega Patch v.4.0
Also it now replaces env_sound entity with env_soundscape with proper parameters.
  • Good Citizen
  • *
  • Сообщений: 80
    • Просмотр профиля
    • Oh look I'm a special person who has a YouTube account
so I press the "update" button and this happens:

Runtime Error!

this application has requested the runtime to terminate it in an unusual way.
Please contact the application's support team for more information.

plz help.
  • *
  • Сообщений: 2970
    • Просмотр профиля
    • hl2-beta.ru
What map did you try to update? This happens to me when I try to update rooftops10 for example. You can delete all trigger_relay or multi_manager entities first, one of those types causing the crash, I don't remember which exactly.
  • Antlion Grub
  • *
  • Сообщений: 1
    • Просмотр профиля
For anyone still having problems with the "side-by-side" error, it seems that the program requires Visual C++ 2008 Redistributable Package (x86) to fix the problem.