Spastic Hamburger

Forum Replies Created

Viewing 20 posts – 361 through 380 (of 1,257 total)
  • Author
    Posts
  • in reply to: Morrowind #4003

    So Bash does support Morrowind for installing files but doesn’t yet support any of Mash’s other features, such as level list adjusting.

    in reply to: Morrowind #4002

    Looks like the directory feature is a built-in mod manager: https://openmw.readthedocs.io/en/latest/reference/modding/mod-install.html

    Do note that all of that can be done from the OpenMW launcher πŸ™‚

    in reply to: Films & TV Shows #4000

    Haven’t seen either of those yet. Think I can get reruns of Bones, not sure

    Will try to find out about Se7en!

    Finally watched Casino Royale. While it made little sense, it was a lot of fun. It felt more like a sketch show than something with a plot πŸ˜›

    in reply to: Samsung Tablets #3999

    Oppo makes good stuff. Really miss their Blu-ray players. Never got around to picking one up before they shut down the department to focus on mobile. πŸ™

    Could be a software bug. I’ve always had some weirdness with my A7 Lite and even more since the most recent software update. Apps can change the orientation but I’m not sure how they interact with the orientation lock. I know some apps are landscape only, I suspect those that are portrait only may do that too

    in reply to: MWEdit #3998

    If getting gtkmm built and distributed for Windows becomes overly complicated (it looks a bit daunting at first glance), we could simply wrap the GUI code in conditional compilation blocks to use the native library on Windows and gtkmm on *nix. Won’t be pretty in the code, though.

    in reply to: Random #3986

    The Switch 2 comes out in a few days. I’m going to wait to get mine until next year at the earliest. I want to wait for them to get the kinks worked out and for more games to come out. At the moment, a lot of the early games are just upgrades of the ones on the original Switch. Elden Ring does look compelling but I need to see some gameplay information before I decide on getting for the PC or console. It’s been on my radar since it came out so I’ve been meaning to look for a while

    in reply to: Random #3983

    Sounds like there may have been some structural weakness, that caused part of it to sheer off during the launch. Sometimes, they’ll flood the dock instead. Much safer!

    My mom just got a johnboat. Should be fun to play with along the rivers and lakes. Amazingly, she doesn’t have any dry bags so I’m probably going to pick some up at some point πŸ™‚

    in reply to: MWEdit #3980

    EditViewObj.cpp and EditViewSort.cpp are empty files and can probably be removed. CustRichEdit.cpp has unused if-statements that can be removed to save a few cycles even if they’re probably being optimized out by the compiler

    Edit:

    Looks like the generated code has something to do with the ClassWizard. Still foreign to me but at least it’s more information than we had previously.

    in reply to: Films & TV Shows #3979

    As I recall, Judge Judy is the highest paid television personality thanks to her daytime shows. Still in syndication here, too. Due to her popularity, we now have about ten or so similar shows running during the day, in addition to the couple of soap operas that are still in our area (I think we only have the Young and the Restless here).

    Saw Planet of the Apes yesterday. Finally. Only took me a few decades! It was fun but some of the dialogue was pretty cheesy, even for the time. Going to see if I can get the rest of the series on streaming or if I’m going to need to buy it.

    in reply to: MWEdit #3975

    In other areas of the code, we have lines like these:

    BEGIN_MESSAGE_MAP(CColorStatic, CStatic)
    	//{{AFX_MSG_MAP(CColorStatic)
    	ON_WM_PAINT()
    	//}}AFX_MSG_MAP
    END_MESSAGE_MAP()
    //{{AFX_INSERT_LOCATION}}
    //}}AFX_INSERT_LOCATION

    I’m assuming these are generated by VS but I’ve never seen that sort of thing before. If generated, it should probably be implemented in the actual code instead.

    WinUtil.cpp/WinUtil.h can probably be trimmed down significantly. They appear to be similar to Common in that they contain a lot of stuff that may or may not be useful but time will tell

    The Windows/ directory has had its whitespace reformatted and I just pushed the commit upstream. Just need to do the whitespace in the files in project/ before I can start making other changes. Probably will clean up the excess characters in the return statements and remove the void from parameterless functions

    in reply to: MWEdit #3966

    Yeah, that’s pretty normal. When there’s an error, oftentimes the compilers complain about surrounding lines as well even though there isn’t an error in them. Pretty annoying as it can sometimes be hard to fix a lot of issues all at once but I think it has something to do with how the parsers are designed.

    Getting close to being finished with the File/ directory. Once that’s done, I’ll be able to start working on the IL/ directory. Depending on how extensive the changes are, we may be able to simply delete most of it in favor of the stock version of DevIL, which will make getting a build together much easier, so I’ll keep an eye out while I’m reformatting things.

    May take a break soonish. Haven’t really been getting some good entertainment in due to being hyper-focused on MWEdit πŸ˜›

    Edit:

    It’s possible that File/dxffile.h and File/dxffile.cpp can be removed. They don’t do anything but print the data that’s sent to the function and nothing else. The cpp file is actually empty, in fact.

    Edit 2:

    A bit early but I did some looking and getting a cross-build setup on my end running will take a bit. PopOS doesn’t have all of the packages I’m used to such as the configuration files for various build systems and I’d need to build the library packages manually for Windows so there will be a bit of manual setup (they do have MinGW-W64 stack so that helps). I’ll worry about it when we get to that point, though. VS should still work, though, as the project is already set up for that.

    Edit 3:

    Okay, finished up reformatting the whitespace in the File/ directory and pushed it and File/XML/ to the repo

    Edit 4:

    Still looking at the modifications to DevIL and, so far, it looks like it’s simply been changed to force the use of the Windows macros and the DLL support instead of letting that be handled at build time by choosing the options. If that holds, it looks like the modified version can be removed and handled by the stock versions of RevIL or DevIL with the options chosen at build time as designed.

    Edit 5:

    IL/ is done and pushed. After looking it over, I’m pretty sure the analysis in Edit 4 holds but I’ll take another look when I’m not so tired

    in reply to: MWEdit #3956

    Ah, okay. So far, MWEdit appears to be ANSI so we’ll definitely want to do some testing with Unicode once we get a build together to see what support is like. πŸ™‚

    Haven’t gotten to the UI yet but I think it can only load one file at a time for editing.

    Looks like it uses the registry for all of its settings. We may want to plan on adjusting it to use an external file for cross-platform support. INI files wouldn’t be a bad idea as they line up with what the community is already used to. Got a few libraries here, here, and here we can look at. Looks like there are also a few libraries in the PopOS repos that could be worth a look as well.

    Good catch on the scripting bug. Reading through the issue list, it looks like it may be related to this one. Will get the additional details added!

    Yeah, sorry for the rambling there! πŸ˜›

    Edit:

    esm/EsmSubNameFix.h has a random #if FALSE in it with its terminator at the end of the file. No condition other than if it’s false. No idea what that’s supposed to accomplish but I’m pretty sure it means none of the code will be loaded at all.

    Edit 2:

    This block in esm/EsmSubBase.h needs to be investigated:

    operator dword(void) const {
    	return lType;
    }

    As far as I know, dword isn’t an operator but a Windows specific variable type but I don’t know much about the Windows version of the C/C++ runtime.

    Edit 3:

    Just finished reformatting the whitespace in the esm directory. Time to move to the next one!

    Changes have been pushed upstream if you want to take a look at how much more readable the code is πŸ™‚

    Edit 4:

    File/XML/ is now done. Will get it pushed with the rest of File/ later

    in reply to: MWEdit #3949

    Are the wide characters versions still necessary? There’s been a lot of Unicode support added to Windows since then

    Could be useful to add one to open a file from the command line. Mod managers could then easily let you choose to edit a file, for instance. Pretty easy to implement, would just need to brush up on the specific format. Can definitely add it to the wishlist. Can’t think of any others that would be helpful, can you?

    Was thinking Meson since it is easier to read. It didn’t yet exist when I was working on BOSS but I do like what I’m reading about it. That’s definitely not set in stone, though

    Got OpenMW mostly set up today for future testing. Morrowind itself (before OpenMW was installed as I had to generate the INI file) complained about it missing the plugin files even though they were enabled and had to disable them and enable them again before I could get it to launch. Still need to tweak the settings but it’s probably good enough for now. May try playing the game at some point. πŸ˜›

    Edit:

    cxxopts looks like a nicely done library for more complex command line arguments. Looked at gflags and Boost.Program Options and they were a bit more cumbersome to use

    Edit 2:

    A lot of the macros can probably be switched over to static const variables now that I think about it, going back to the earlier post about them.

    Edit 3:

    There are a lot of pragmas that deal with memory alignment. Since MWEdit doesn’t work with accessing memory, we may be able to remove them without any kind of ill effects. Will require research

    Edit 4:

    The conversion to constructors and destructors may be a bit cumbersome as the code heavily relies on custom create and destroy functions. That may be more easily done with a real IDE as opposed to a text editor so will put it on the back burner for now.

    in reply to: Films & TV Shows #3948

    Looks like the former is in the public domain so will add it to the list! Still need to see the Peter Sellers one. It used to come on BBCA all the time back when I used to get that station but never got around to watching it. Really need to fix that.

    Yeah, I couldn’t really get into Arrow. Supergirl and Legends of Tomorrow were much better in my opinion. What really got me about Arrow was that they tried to make Green Arrow Batman but without the magic of Batman, leaving it pretty flat. It also suffered from poor acting. Oftentimes, it felt like a soap opera with superheroes. Gotham actually felt like a Batman show.

    Been watching the Flying Circus again. It never gets old! In honor of it, I give you The Lumberjack Song:

    And The Dead Parrot Sketch:

    in reply to: MWEdit #3945

    In order to get the program to build using other compilers (assuming VS works), it’ll be necessary to add WinMain() as it currently doesn’t exist with a call to Run() from the main window (that class is already set up properly so it may be easy) and it’ll also be necessary to sort out the image library. The image library is set up to use an embedded DLL and will need to be changed to be handled at build time since DLLs are compiler specific. Haven’t gotten to the IL directory yet, though.

    We’ll also probably need to get a build script together, which I always find pretty difficult. Will get there!

    in reply to: Random #3944

    No idea what the name means but the story is about a bunch of machines who go on strike to look for aliens. πŸ˜› It’s a pretty fun read!

    Yeah, that’s much better. It seems that some days are better than others. When I posted about it the other day, half the articles were clickbait. Today, though, they’re not. I may need to start trying to tweak things again but those preference settings are hit or miss in my experience.

    Cool find! I haven’t been recently myself. Do like going to thrift stores as I never know what I’m going to find!

    Bees like to dance! Remember watching a program years back that explained it and how it was all part of their society. Here’s a similar video:

    Bee society is really fascinating! πŸ™‚

    in reply to: MWEdit #3940

    We’re probably going to want to generate a class diagram to help sort through things. I’ll see what options are available when I get the opportunity

    Edit:

    Google since again useless. It gives me results for UML when my search term was “linux generate class diagram”. /Sigh

    Just tried it in Bing and I actually get programs to generate class diagrams…Followed by UML…. Search engines are useless these days…

    Edit 2:

    Not seeing much in the community posts so I’ll check the package manager when I’m back on a computer.

    in reply to: MWEdit #3937

    Sorry, my dog’s been sick this week so it’s been a bit hard to get much done when I’ve had to get her out every hour or so. She seems to be doing better now, though

    Yep, operator overloading is definitely doable. Generally, it’s recommended to use the feature sparingly to help keep things from getting too confusing. BOSS, for example, uses operator overloading to simply define a template for its log file. It does so by overloading the stream operator << and replacing it with << template to make things cleaner.

    We can also overload the ( and ) to change the order of operations if we want. That’s a bit of a more esoteric change but it can definitely be done. Why we’d do so is anyone’s guess πŸ˜›

    If we were to overload things, how would we use them?

    Edit:

    Found the lines that create the arrays (I think, will need to verify later):

    /* Static array for creating the record's subrecords */
    #define DECLARE_SUBRECCREATE() private: \
    	static const esmsubreccreate_t s_SubRecCreate[]; \
    	virtual const esmsubreccreate_t* GetSubRecCreate (void) const { return (s_SubRecCreate); }

    They’re in esm/EsmRecord.h

    Going to leave it alone for now but it definitely could use some sweeping.

    So that macro is used to insert those lines into certain classes. Two better options would be to add it to the base class so they’re inherited or simply copy them into the child classes. It’s important not to do it via a macro so that we understand what’s going on in each class.

    in reply to: Random #3932

    Ugh, even the science category on Google News is overrun by click bait. The algorithms have gotten totally useless πŸ™

    Going to need to see if the main sites I get my science news from still have RSS/Atom feeds. Then I’ll need to find a web reader since it looks like Feedly has mostly moved away from them….

    in reply to: MWEdit #3931

    Yep, we also have the old joke, “Two plus two equals five for large values of two.”

    cppreference has a section on it here under “Floating–integral conversions”. Interestingly, the code mixes the double and floating point types in some places. The only difference between the two types as far as C++ is concerned is memory related so we may be able to simply combine most of those instances and reduce them to a single type.

Viewing 20 posts – 361 through 380 (of 1,257 total)