Compare commits

..

29 Commits

Author SHA1 Message Date
bd94520ef4 update vtf with Dxt3 fix 2024-01-12 11:28:06 -08:00
ae19448ee8 don't big error 2024-01-10 19:53:29 -08:00
4907362c71 fix vtf path 2024-01-10 17:58:13 -08:00
43b756bf8e tweaks 2024-01-10 17:58:10 -08:00
360e76177b borrow opti for now reason 2024-01-10 17:19:08 -08:00
f17a1a86a9 fix file search 2024-01-10 17:18:57 -08:00
590062f3c3 fix print 2024-01-10 17:18:43 -08:00
cc4e80db8a search pak list 2024-01-10 17:04:25 -08:00
8c0f46007f add bsp_contents and use --path instead of --vpk 2024-01-10 16:47:11 -08:00
48d3fca895 print all searches 2024-01-10 16:46:48 -08:00
e833d4c032 tweaks 2024-01-10 15:58:54 -08:00
8bd0765290 use search paths 2024-01-10 15:27:14 -08:00
894584f855 recursive vmt loader 2024-01-10 15:13:59 -08:00
0e1b9494c2 decode vmt and attempt to grab some texture 2024-01-09 18:44:57 -08:00
7b1b381064 fine tune closures 2024-01-09 18:44:43 -08:00
91f452a94b rewrite duplicated code as closure 2024-01-09 17:50:39 -08:00
eeac376500 add vmt-parser dep 2024-01-09 17:50:22 -08:00
d1b52b4367 update vtf 2024-01-09 17:29:35 -08:00
ae5a451159 scan props for textures 2024-01-09 17:29:10 -08:00
02310c5653 add vmdl dep 2024-01-09 17:28:56 -08:00
f55f9c1d55 use vbsp crate 2024-01-09 15:10:19 -08:00
b561ffdfc6 join threads to see errors 2024-01-09 01:36:27 -08:00
6606d3be51 multithreading + vmt search + bsp pack search 2024-01-09 01:36:27 -08:00
f639047980 texture gaming 2024-01-09 01:36:27 -08:00
9e30f5dca7 vpk contents + shorten arg 2024-01-09 01:36:27 -08:00
8b7f034f50 wip 2024-01-09 01:36:27 -08:00
7c1ecbf6da move main to top 2024-01-09 01:36:27 -08:00
540f5253d6 fix vpk 2024-01-09 01:36:27 -08:00
e8c73bbd95 add valve map deps 2024-01-09 01:36:27 -08:00
5 changed files with 1952 additions and 372 deletions

View File

@ -1,2 +0,0 @@
[registries.strafesnet]
index = "sparse+https://git.itzana.me/api/packages/strafesnet/cargo/"

1473
Cargo.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
[package]
name = "mapfixer"
version = "1.1.1"
name = "map-tool"
version = "1.3.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
@ -9,13 +9,20 @@ edition = "2021"
anyhow = "1.0.75"
clap = { version = "4.4.2", features = ["derive"] }
flate2 = "1.0.27"
image = "0.24.7"
image_dds = "0.1.1"
lazy-regex = "3.1.0"
rbx_binary = { version = "0.7.4", registry = "strafesnet"}
rbx_dom_weak = { version = "2.7.0", registry = "strafesnet"}
rbx_reflection_database = { version = "0.2.10", registry = "strafesnet"}
rbx_xml = { version = "0.13.3", registry = "strafesnet"}
rbx_binary = "0.7.1"
rbx_dom_weak = "2.5.0"
rbx_reflection_database = "0.2.7"
rbx_xml = "0.13.1"
vbsp = "0.5.0"
vmdl = "0.1.1"
vmt-parser = "0.1.1"
vpk = "0.2.0"
vtf = "0.2.1"
[profile.release]
lto = true
strip = true
codegen-units = 1
#[profile.release]
#lto = true
#strip = true
#codegen-units = 1

28
LICENSE
View File

@ -1,23 +1,9 @@
Permission is hereby granted, free of charge, to any
person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the
Software without restriction, including without
limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software
is furnished to do so, subject to the following
conditions:
MIT License
The above copyright notice and this permission notice
shall be included in all copies or substantial portions
of the Software.
Copyright (c) 2023 StrafesNET Map Tool Developers
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT
SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

File diff suppressed because it is too large Load Diff