killtube / corvid Goto Github PK
View Code? Open in Web Editor NEWSource Engine level converter for Call of Duty.
License: GNU Lesser General Public License v2.1
Source Engine level converter for Call of Duty.
License: GNU Lesser General Public License v2.1
ERROR: Invalid requirement: 'pyinstaller=4.4' (from line 6 of requirements.txt) Hint: = is not a valid operator. Did you mean == ?
just a typo you might wanna fix
If you are working on something cool using Corvid, post screenshots on this issue for everyone to see.
in MapExporter.py, around line 274, rarely there's a case when an entity's _light property has 3 numbers. I've encountered this with the maps cs_italy (Counter-Strike: Source version) and gm_bigcity.
An example is shown in the attached picture:
The program throws an error when in convertLight in MapExporter.py tries to set the "radius" property to _color[3], which in this case is out of bounds.
I managed to overcome this issue in a rough way, by setting the fourth property to a constant number in such cases.
Error at the end of step 10:
Brush face 11474 has less than 3 vertices. Skipping... Exception in thread Thread-1: Traceback (most recent call last): File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python39\lib\threading.py", line 950, in _bootstrap_inner File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python39\lib\threading.py", line 888, in run File "app.py", line 410, in convertButton_command File "C:\Users\Mehmet\Documents\GitHub\corvid\modules\MapExporter.py", line 616, in exportMap File "C:\Users\Mehmet\Documents\GitHub\corvid\modules\AssetExporter.py", line 719, in exportSkybox TypeError: string indices must be integers Exception in threading.excepthook: Exception ignored in thread started by: <bound method Thread._bootstrap of <Thread(Thread-1, started 15036)>> Traceback (most recent call last): File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python39\lib\threading.py", line 908, in _bootstrap File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python39\lib\threading.py", line 952, in _bootstrap_inner File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python39\lib\threading.py", line 1220, in invoke_excepthook AttributeError: 'TextRedirector' object has no attribute 'flush' Exception ignored in sys.unraisablehook: <built-in function unraisablehook> AttributeError: 'TextRedirector' object has no attribute 'flush'
Can't really understand this one, also paths point to dev's user folder.
I've encountered this bug while running the program for the first time. The program tries to delete the corvid folder in Temp, which initially doesn't exist, hence it throws an error. This can be fixed with a simple check for its existence.
ps. I hope you don't mind issues being reported, as I'm aware that it's still in development. I hope I can help with this.
Ello, so I came across this tool when searching up things relating to porting source engine maps over into the BO3 mod tools and when I first heard of this I figured it sounded neat, however me being the paranoid person I am when it comes to .exe files I did run the corvid.exe through VirusTotal and I didn't like the results:
Again maybe it's just me being paranoid and these are possibly false detections but I just wanted to open this issue on here and get some clarification is all :)
When converting "sp_a2_triple_laser_d" from Portal 2
Conversion stops at step 7 outputing following stacktrace :
Generating GDT file... Exception in thread Thread-4: Traceback (most recent call last): File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python39\lib\threading.py", line 950, in _bootstrap_inner File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python39\lib\threading.py", line 888, in run File "app.py", line 410, in convertButton_command File "C:\Users\Mehmet\Documents\GitHub\corvid\modules\MapExporter.py", line 473, in exportMap File "C:\Users\Mehmet\Documents\GitHub\corvid\modules\AssetExporter.py", line 314, in createMaterialGdt File "C:\Users\Mehmet\Documents\GitHub\corvid\modules\AssetExporter.py", line 403, in createMaterialGdtBo3 TypeError: string indices must be integers Exception in threading.excepthook: Exception ignored in thread started by: <bound method Thread._bootstrap of <Thread(Thread-4, started 8144)>> Traceback (most recent call last): File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python39\lib\threading.py", line 908, in _bootstrap File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python39\lib\threading.py", line 952, in _bootstrap_inner File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python39\lib\threading.py", line 1220, in invoke_excepthook AttributeError: 'TextRedirector' object has no attribute 'flush' Exception ignored in sys.unraisablehook: <built-in function unraisablehook> AttributeError: 'TextRedirector' object has no attribute 'flush'
The following error appears when trying to convert a decompiled version of d2_prison_02.bsp using the standard Patch meshes brush conversion method with Corvid 0.0.4.
Traceback (most recent call last): File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python37\lib\threading.py", line 926, in _bootstrap_inner File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python37\lib\threading.py", line 870, in run File "app.py", line 436, in convertButton_command File "C:\Users\Mehmet\Documents\GitHub\corvid\modules\MapExporter.py", line 605, in exportMap File "C:\Users\Mehmet\Documents\GitHub\corvid\modules\AssetExporter.py", line 757, in exportSkybox AttributeError: 'str' object has no attribute 'x'
Full log
Corvid-log-27.07.2021_(11.17.45).txt
Is this intended? In the example video you made, this doesn't seem to happen. You can see the two surfaces z-fighting here:
The actual brushes are not converted with the correct texture. They just have the caulk texture. Then additionally for each brush all of the sides are represented with planes with the correct texture on. Is there a reason the brush can't just have the correct texture? Does this not usually happen? The map I'm converting does not use displacements in Hammer for anything.
EDIT: Just realized, this might be what you mean with (converted as patch meshes to have accurate UVs)
. In that case, I guess this might just be a limitation of the current version and not really a bug of some sorts. In that case feel free to close. I just assumed brush UVs could be set just as one can in Hammer. I'm not very familiar with the CoD map formats.
This is a really cool tool. I tried it with a CS:GO map and it worked brilliantly. Then tried a TF2 map and it said a .vpk was invalid. Figured out it was because gameRoot in TF2's gameDef is blank - changing this to "Team Fortress 2" made it work too. Looks like Fistful of Frags has the same issue but I don't know the directory name for it.
log.txt
Why won't it load these materials but is able to load majority of others? They seem to be in right location but don't load?
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python39\lib\threading.py", line 950, in _bootstrap_inner
File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python39\lib\threading.py", line 888, in run
File "app.py", line 410, in convertButton_command
File "C:\Users\Mehmet\Documents\GitHub\corvid\modules\MapExporter.py", line 481, in exportMap
File "C:\Users\Mehmet\Documents\GitHub\corvid\modules\AssetExporter.py", line 314, in createMaterialGdt
File "C:\Users\Mehmet\Documents\GitHub\corvid\modules\AssetExporter.py", line 409, in createMaterialGdtBo3
TypeError: replace expected at least 2 arguments, got 0
Exception in threading.excepthook:
Exception ignored in thread started by: <bound method Thread._bootstrap of <Thread(Thread-1, started 3692)>>
Traceback (most recent call last):
File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python39\lib\threading.py", line 908, in _bootstrap
File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python39\lib\threading.py", line 952, in _bootstrap_inner
File "C:\Users\Mehmet\AppData\Local\Programs\Python\Python39\lib\threading.py", line 1220, in invoke_excepthook
AttributeError: 'TextRedirector' object has no attribute 'flush'
Exception ignored in sys.unraisablehook: <built-in function unraisablehook>
AttributeError: 'TextRedirector' object has no attribute 'flush'
I get this error often with different types of maps hl2/csgo/sourcemods.
What does this mean? What is the issue?
btw thanks for this project, i love it!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.