Pherakki / SimpleDSCSModManager

A poorly-named mod manager for the PC release of Digimon Story: Cyber Sleuth Complete Edition.
GNU General Public License v3.0
16 stars 8 forks source link

[Suggestion] Steam Deck Support #25

Open Valtorious opened 1 year ago

Valtorious commented 1 year ago

I’m aware there were some instructions for Linux users, but would it be the same for Steam Deck (if it’s supported with Linux could someone provide more detailed instruction? I don’t want to mess up my deck)

However, due to Steam Deck being popular on demand, I think a lot who like Digimon would love to be able to mod Cyber Sleuth. (Personally I’m sick of starting a new game and having to do the same without skipping or speeding through dialogues).

Pherakki commented 1 year ago

There is a known issue with Steam Deck compilation. In principle it should be the same as the Linux instructions, but the build script fails to compile Boost on the Steam Deck due to being unable to find a suitable compiler.

I don't have a Steam Deck, so I need to rely on others to debug this. Unfortunately we will need to wait until somebody with the hardware can identity the issue.

There's also some reports that the Linux builds don't work 100%, so full Linux support might need to wait for v0.2. I'm not sure how long that will take since I'm the sole developer of the mod manager and I'm spread between a few projects.

Regarding more detailed instructions: if you can state what details are missing, I will add them to the README. It really should be as simple as installing the prerequisites (out-of-scope for the README) and running the build script, and then optionally creating an executable out of the Python source. I've kept the instructions like this since I've had a number of people successfully compile the manager for Linux with them, but if there are additional details required that are in-scope, then please do say.

CodingKitsune commented 1 year ago

I was able to get it working on my steam deck without any changes to the software or compiling it from source.

You might want to use a keyboard/mouse for this. But if you are lazy like I am, just the deck is enough.

PS: I highly recommend the battle music theme mods, they make the game so much better imo :)

Pherakki commented 1 year ago

Great job. Sounds like a very workable solution!

MirbyStudios commented 10 months ago

I followed those exact steps and it crashes out with

'PathManager' object has no attribute 'self'

I had the modloader working just fine, and now it's not and I'm afraid to launch the game lest the game breaks because the modloader didn't load it?

Pherakki commented 10 months ago

The mod manager installs mod files directly to the game directory rather than loading them dynamically each time you load the game (which would add a lot of startup overhead for DSCS!). Therefore you can still run the game even if the mod manager runs into a bug that prevents it installing new mods, unless that error somehow happens in the middle of archive copying (the final step). The mod manager can just be thought of as a "patching" program for the game files.

NOTE that if you ever reinstall the mod manager and want to continue using your modded savegames with a different install of the mod manager, you will need to 1) Copy + paste output/softcode_cache to the new mod manager, 2) If you want to keep your load order and enabled/disabled modlist, copy over the profiles folder.

For this particular bug I don't think I ever found out what cases were triggering it, but I did fix it on the develop branch. I discovered last week however that the develop branch has some critical bugs (some mods make it CTD) so I can't recommend compiling and using the develop branch currently.

MirbyStudios commented 10 months ago

Ah. Thanks for the update and information.

ChronaMewX commented 5 months ago

Getting the same error here. I'm trying to install this for the first time to use the ultimate digimon pack on the steam deck, is there a way to maybe just do that without getting this manager working?

SgtBronman commented 2 months ago

I don't mean to necro this post but I just recently jumped on to this adventure and was wondering if anyone solved the 'PathManager' object has no attribute 'self' error on initial setup?

deergone commented 2 months ago

I struggled with the 'PathManager' object has no attribute 'self' issue for about an hour today after it crashed on first start up, before finding a very embarrassing fix - maybe it will help other people to hear about it?

The amazing tutorial by CodingKitsune defines the game's location as being in a specific folder... and, of course, SimpleDSCSMM will return an error if the game isn't in that location! I hadn't realized I had set the game to install on an SD card instead.

All I did was delete the empty DSCS folders from the common folder in the listed path, and used the deck desktop steam app to move my game files from my card to deck. The problem was instantly fixed, there have been no further crashes, and no other tweaks were required. Hope this helps someone that made the same mistake!