Comments (10)
I'm surprised it doesn't. This wouldn't be related to the fact that Deutex always looks for the TEXTURE lumps in the IWAD first, would it?
from deutex.
Here's some rough code I wrote that should make Deutex not look for the TEXTURE lumps in the IWAD unless specified via -iwad. Problem is IDK what to do with the PNAME section.
from deutex.
Friendly head-up: It's usually more helpful to link to the commit rather than the file. Otherwise it's very hard to know what you changed.
from deutex.
But, I think you commented on the wrong bug? Your change looks like it's related to #7 and probably unrelated to this issue.
from deutex.
Chances are they are both related.
from deutex.
I see no reason to think so.
from deutex.
Confirmed. It's an unrelated issue. CMPOmakePWAD()
does this:
while (TXTentryParse
(name, filenam, &X, &Y, &Repeat, TXT, false) == true) {
TXTentryParse()
is a standard function that parses lines from the config file. The filenam
variable is populated, but the value isn't actually used. It goes on to just construct the filename ignoring it:
if (MakeFileName
(file, DataDir, "TEXTURES", "", name, "TXT") == true) {
Detail("CM52", "Reading texture file %s", fname(file));
TXUreadTexFile(file, true);
There's also a ton of duplicated code that's identical between TEXTURE1 and TEXTURE2. This is a horrible codebase.
from deutex.
Then simply changing name
to filenam
should fix it. That's how the other composing functions do it.
from deutex.
This is a horrible codebase.
Yes it is. ;)
from deutex.
Fixed as of a233972
from deutex.
Related Issues (20)
- Conditional path seperators? HOT 2
- Finish the sscript_load function
- Recognise SCRIPTS lump as a map lump
- Use define for new PNG commands
- Don't execute WADRseek twice for music identification HOT 2
- Shorten png_offset command name HOT 1
- Add a compare feature to find different lumps in two WADs HOT 3
- Use proper -usedidx messages?
- Sprite offsets should always be horizontally centered HOT 3
- Arch Build Error missing Public Key
- --help causes DeuTex to segfault on x86 HOT 4
- segfault extracting zaub.wad HOT 6
- The lump repeat marker is a mis-feature and should be removed HOT 1
- Configure script should check for a2x by default, but error if explicitly requested HOT 3
- -merge is dumb
- Create project icon
- LisUkn when merging 2 pwads
- Open to CMake option?
- How do I extract a specific wad without deutex jumping onto other wads in the main data directory?
- bootstrap errors if asciidoc is not installed.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deutex.