Skip to content

Linux support? #16

@burbruee

Description

@burbruee

Hi,

Wondering if it's possible to compile Savestate2snes for linux?
Didn't see anything mentioned specifically about it, but decided to give it a try.

I got QUsb2Snes compiled and working, detects my sd2snes non-pro. sd2snes on the latest beta firmware with built-in savestate and usb2snes support.

The game I need savestate support for however does not work with the built-in savestates. Saves the state but corrupted graphics and hard-freezes the snes on load.
So wanted to try Savestate2snes to see if maybe it works there? Even if it doesn't I prefer to be able to store savestates on my PC.

Checked out master and tried:

git submodule init
git submodule update
qmake
make -j24

But no luck, getting errors within snesclassicstuff folder, which I'm not even sure if that would be needed for sd2snes stuff?

Here are some of the errors I'm getting:

snesclassicstatut.cpp:145:37: error: ‘class StuffClient’ has no member named ‘commandDatas’
  145 |         QString result = controlCo->commandDatas().trimmed();
      |                                     ^~~~~~~~~~~~
snesclassicstatut.cpp:178:20: error: ‘class StuffClient’ has no member named ‘executeCommand’
  178 |         controlCo->executeCommand("TMP_CANOE_PID=`pidof canoe-shvc`;"
      |                    ^~~~~~~~~~~~~~
snesclassicstatut.cpp:98:11: warning: enumeration value ‘NONE’ not handled in switch [-Wswitch]
   98 |     switch(m_state)
      |           ^

Pretty much all errors relate to 'class StuffClient', either executeCommand or commandDatas not being a member of said class.

I'm on Fedora 36, gcc 12.1.1, qmake 3.1, qt 5.15.5
Also got qt5-qtwebsockets and qt5-qtserial stuff installed (required for QUsb2snes)
Not sure if anything else is needed for savestate2snes, if it's possible to build at all.

The windows version works perfectly fine through wine but doesn't detect the sd2snes, which makes sense as it's probably using windows specific stuff to connect I'm assuming.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions