Repository navigation
In-game asset pack selection! - #717
Conversation
|
Okay so to sum up my experience and all questions/concerns... MigrationMigration from the former 'mono-assets' system to this new asset pack system isn't overly complex, but does have a variety of steps For the most part it appears that it's a matter of
While this process isn't complicated, it is a six step process that some users may incorrectly follow, leading to confusion when the game doesn't find their save data anymore. I would recommend (although from past discussions this idea seems like it may not be desirable) providing an option to migrate automatically, setting the If no built-in migration system is included, then either a seperate utiltiy or script, or (possibly the simplest option) the recommendation to download a fresh copy of the game and instructions on what to copy where from the old install Concerns about MenuGFX2.pngA number of episodes in the past have shipped custom sets of assets intended to overwrite the original game's core assets; for multiple reasons we're trying to avoid that particular setup now. Many of these include a custom I am also unsure if Some do not include any custom SuggestionI think it's important that the I am concerned that such asset packs are a very real possibility. It should probably be suggested that it is bad practice to re-use the logo unless it's a pack variant with a unique version number, but for users simply converting older episodes with assets to asset packs, I cannot honestly see that not being an issue for someone at some point with no other indicator. For episode directories containing a I suggest displaying the ConclusionThe new system feels perfect to me, with the exception of the concern I have ^^ This is a very nice and substantial upgrade over the old way of doing things and makes things more flexible for Linux/UNIX packaging formats, and easier for users to switch out packs without having to restart the game or maintain multiple copies of the game. |
|
Hi, thanks a ton for this review. We (the core team) discussed your concern about MenuGFX2 seriously, and want to suggest that:
Separately, I'll note: we got a suggestion on Matrix to animate the left/right transition between asset packs in the selection screen. I'll try to do this soon. |
That's probably fair enough... the new animation is a very welcome improvement and I'm loving it, personally ^^ I'd like it as a setting just in case, personally, but the recommendations are good. |
|
I added a As a side note, I also revised the animation when a logo is overridden to make the logo fade in/out (instead of having it suddenly change as it moves up and down). |
|
This works, I suppose, but I honestly don't understand why this shouldn't be a global setting, and editing May I ask what the opposition to having it be a global setting is? |
|
I think we must have a slightly different understanding of what the role of asset packs is. In my opinion, asset packs are not like episodes; there's an expectation that the person creating them knows what they are doing. If a person creates an ISO asset pack with a non-unique logo, and doesn't set We are already planning to add code to Moondust Maintainer to allow converting packed games into episodes; we can definitely add the ability to set the ID, and the ability to enable I definitely wouldn't want this to be a global setting, simply because we're trying to limit those as much as possible to avoid too much clutter in the Config Update. |
I think we the same understanding as to their role, just different concerns. |
|
I'm glad! Anything else you'd like me to revise before we call this feature "done"? (I think Wohlstand and 0lhi still need to approve it as well.) |
I think it's perfect, although, I've noticed for some reason the Lowser's Conquest logo does not seem to animate... wonder what could cause that? 🤔 Oh, I guess GitHub won't embed webms? |
|
Yes, you're right, it seems that 1280x720 was the only resolution that animated perfectly. Here's what 800x600 looked like, and lower resolutions are even worse (due to Yes, the menu graphics are provided by In general, if the logo is overridden, I don't think it's safe to assume that the override logo is present in the menu screen at the same location as MenuGFX2 would normally be, so I'm happy with using the fade animation instead of the "slide" animation. |
Ah, I see, that makes sense |
|
|
||
| bool operator==(const AssetPack_t& o) const | ||
| { | ||
| return this == &o; |
There was a problem hiding this comment.
Are you sure this works? Or I miss something... I would add a comparison with every field by field, and return false when any is not equal.
There was a problem hiding this comment.
This was being used in a single place to delete an asset pack from the list by identity. I moved the logic to the calling site instead for clarity.
Wohlstand
left a comment
There was a problem hiding this comment.
Okay, I finished the review, and seems everything is fine for me. I did a small fix by myself. Other things I'll probably tweak soon. I need to update some on Haiku and other platforms. We should start the move away from ~/.PGE_Project/thextech into ~/.thextech (with keeping use old if old directory exists do don't ruin everything).
please consider |


After a lot of discussion and design work, we have an implementation of in-game asset pack selection!
How does it work?
Setup:
assets/inside your installation directory.~/.PGE_Project/thextech/assets/on Linux orC:\Users\<username>\.PGE_Project\thextech\assets\on Windows.gameinfo.ini. We will addid="smbx"to the[game]section of SMBX'sgameinfo.ini, andid="aod"to Adventure of Demo'sgameinfo.ini.version="..."to at least one of them. Otherwise, only one of them will be detected.thextechfolder will still be loaded, but this location is deprecated and kept only to make migration easier. The game will internally treat them as having a blank asset pack ID.Use:
-c <asset-pack-id>or-c <asset-pack-id>/<asset-pack-version>to specify which asset pack you want to run from the command line, independent of install location.-c <path-to-asset-pack>now requires the target asset pack to specify an ID, and you will need to migrate your user content to subdirectories with that ID.Data management:
worlds/andsettings/gamesaves/folders (as well as the other folders).thextechdirectory and toassets/, then it will be recognized as two separate asset packs. After you migrate all of your data toworlds/<id>/,battle/<id>/andsettings/gamesaves/<id>/, you may remove the original asset pack.Review and testing
I believe that this feature is fully complete and polished, but there is always room for improvement. @Wohlstand, please review the code and make sure that it seems appropriate to you.
For usability testers, please start by confirming that the instructions above work well for your existing installation and everything works as you expect. Then, if you have the time, please try other installation types (portable, non-portable with assets installed in the same directory as the executable, non-portable with assets stored in your user directory). Thank you!