Can this be fixed?Gez wrote:I'm not really surprised that this file in particular would cause problems, since it was pretty much what it was designed to do.
SLADE Discussion - Latest: v3.2.7 (25/Dec/2024)
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.
Got a cool project idea but nothing else? Put it in the project ideas thread instead!
Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.
Please read the full rules for more details.
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.
Got a cool project idea but nothing else? Put it in the project ideas thread instead!
Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.
Please read the full rules for more details.
-
- Posts: 168
- Joined: Tue Mar 08, 2011 1:25 pm
Re: SLADE v3.0.2 final Released
- Tapwave
- Posts: 2096
- Joined: Sat Aug 20, 2011 8:54 am
- Preferred Pronouns: No Preference
- Graphics Processor: nVidia with Vulkan support
Re: SLADE v3.0.2 final Released
Why would you want a fix for a file that was supposed to be utterly useless and unusable?disposable_username2 wrote:Can this be fixed?Gez wrote:I'm not really surprised that this file in particular would cause problems, since it was pretty much what it was designed to do.
Re: SLADE v3.0.2 final Released
That's what I'm looking into. Thanks for making me download a 1-gb Terrywad, by the way.disposable_username2 wrote:Can this be fixed?

- NeuralStunner
-
- Posts: 12328
- Joined: Tue Jul 21, 2009 12:04 pm
- Preferred Pronouns: No Preference
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia with Vulkan support
- Location: capital N, capital S, no space
- Contact:
Re: SLADE v3.0.2 final Released
New taunts! Alriiiiiight!Gez wrote:1-gb Terrywad

Re: SLADE v3.0.2 final Released
So far, I've found one issue that can't be fixed: opening infebase.zip (the 1.2 mb file containing the huge one) provokes an unhandled exception right inside a wxWidgets function (wxZipInputSteam::Read(), if you're curious) and so as long as we're using wx code to handle zips, that's just one other limitation we'll have to live with.
And guess what, the second half of the problem, if trying to open an extracted infebase.pk3 directly, happens in... wxFile::Read().
And guess what, the second half of the problem, if trying to open an extracted infebase.pk3 directly, happens in... wxFile::Read().
-
- Posts: 168
- Joined: Tue Mar 08, 2011 1:25 pm
Re: SLADE v3.0.2 final Released
Hm. Does this mean that programs that use wxWidgets can't open big files? That'd be a serious bug... If you report it, maybe they'll fix it.Gez wrote:And guess what, the second half of the problem, if trying to open an extracted infebase.pk3 directly, happens in... wxFile::Read().
- cq75
- Posts: 1212
- Joined: Sun Dec 27, 2009 9:28 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Just beyond the line horizon
Re: SLADE v3.0.2 final Released
Is there another function to open larger files?
If not, the developers may have intended for the read() method to work with any size of file, and it's possible that a recent change has broken the function without their knowledge.
If not, the developers may have intended for the read() method to work with any size of file, and it's possible that a recent change has broken the function without their knowledge.
-
- Posts: 1774
- Joined: Sat Oct 17, 2009 9:40 am
Re: SLADE v3.0.2 final Released
Hi, I've taken the initiative and made a code analysis check with cppcheck.
The results are saved in the file I'll attach here.
Can you do me a favor and report in a different file the false positive ones (with, if possible, a detailed explanation)? I don't have the time to analyze it and also I don't know a lot about the code.
The results are saved in the file I'll attach here.
Can you do me a favor and report in a different file the false positive ones (with, if possible, a detailed explanation)? I don't have the time to analyze it and also I don't know a lot about the code.
Re: SLADE v3.0.2 final Released
r.1021 is crashed when opening any map
code
code
Spoiler:
- sirjuddington
- Posts: 1030
- Joined: Wed Jul 16, 2003 4:47 am
- Location: Australia
- Contact:
Re: SLADE v3.0.2 final Released
Heh, not sure I have time to go through all of that, but I looked at the memory leaks at least, and while most of them were very rare cases not really worth fixing (leaking memory when the function bombs out due to an error), a couple of them were legit (namely the ones in the doom format gfx loaders).Edward-san wrote:Hi, I've taken the initiative and made a code analysis check with cppcheck.
The results are saved in the file I'll attach here.
Can you do me a favor and report in a different file the false positive ones (with, if possible, a detailed explanation)? I don't have the time to analyze it and also I don't know a lot about the code.
Hmm, I'm not 100% sure what is causing that, but try r1022, I changed something that might fix it.riderr3 wrote:r.1021 is crashed when opening any map
codeSpoiler:
- sirjuddington
- Posts: 1030
- Joined: Wed Jul 16, 2003 4:47 am
- Location: Australia
- Contact:
Re: SLADE v3.0.2 final Released
Here's a couple more WIP shots of the map editor (just to show that it's still coming along slowly). Been working on things mode stuff lately.
http://slade.mancubus.net/dev/3/s3me_ui4.png: Basic things mode view
http://slade.mancubus.net/dev/3/s3me_ui5.png: 'Show things as sprites' option from previous versions of SLADE is back (something I miss when using db2, sometimes)
http://slade.mancubus.net/dev/3/s3me_ui4.png: Basic things mode view
http://slade.mancubus.net/dev/3/s3me_ui5.png: 'Show things as sprites' option from previous versions of SLADE is back (something I miss when using db2, sometimes)
Re: SLADE v3.0.2 final Released
Great
What's with future plans of editor 3D mode? Can it use OpenGL or software renderer? SLADE2 has good 3D mode long time ago

What's with future plans of editor 3D mode? Can it use OpenGL or software renderer? SLADE2 has good 3D mode long time ago

-
- Posts: 168
- Joined: Tue Mar 08, 2011 1:25 pm
Re: SLADE v3.0.2 final Released
I see that selected things are encircled? It doesn't allow to see whether they are stuck in the wallsirjuddington wrote:http://slade.mancubus.net/dev/3/s3me_ui5.png: 'Show things as sprites' option from previous versions of SLADE is back (something I miss when using db2, sometimes)

- sirjuddington
- Posts: 1030
- Joined: Wed Jul 16, 2003 4:47 am
- Location: Australia
- Contact:
Re: SLADE v3.0.2 final Released
It'll likely be pretty similar to the SLADE2 3d mode, with some of the DB2 features I find nice, and a few extra I've thought of. No software renderer though, that would be a bit too difficult to implement. Unless someone else wants toriderr3 wrote:Great![]()
What's with future plans of editor 3D mode? Can it use OpenGL or software renderer? SLADE2 has good 3D mode long time ago

Yeah I can see your point. I just added a cvar to show things as squares instead, which serves this purpose and as a 'low detail' mode.disposable_username2 wrote:I see that selected things are encircled? It doesn't allow to see whether they are stuck in the wallsirjuddington wrote:http://slade.mancubus.net/dev/3/s3me_ui5.png: 'Show things as sprites' option from previous versions of SLADE is back (something I miss when using db2, sometimes)I hope that there would be an option to show their bounding boxes instead (as in Slade2)
Re: SLADE v3.0.2 final Released
Is Slade designed for modern source ports with Hi-Res Textures and what not, or can it be used as a WinTex replacement for use with Vanilla DOOM, BOOM, and the like?