Commit graph

41946 commits

Author SHA1 Message Date
Jas Laferriere
2c7cbad523 chore: update codeset
https://github.com/project-slippi/slippi-ssbm-asm/pull/125
2025-01-22 14:32:01 -05:00
Vlad Firoiu
32116940bf
Human vs bot, no handshake (#28)
* Add isBot flag from mm server.

* Against bots, don't frame advance if we're behind.

* remove unnecessary condition addition

---------

Co-authored-by: Jas Laferriere <Fizzi36@gmail.com>
2025-01-14 14:09:57 -05:00
Nikhil Narayana
21e930db20
fix: update lib name to slippi_rust_extensions for Cargo 1.79 compat (#24) 2024-09-16 22:19:54 -07:00
Jas Laferriere
e47ee53b56 release: v4.0.0-mainline-beta.6 2024-07-30 14:03:53 -04:00
Jas Laferriere
c3866f7e77 fix: prevent loading savestates when connected 2024-07-30 13:59:29 -04:00
Jas Laferriere
fb3ab25e57 chore: update codeset 2024-07-30 13:58:56 -04:00
Nikhil Narayana
72d06b4387
build: disable retro achivements 2024-07-09 09:39:52 -07:00
Nikhil Narayana
f7cc88b3c3
release: v4.0.0-mainline-beta.5 2024-07-08 20:57:27 -07:00
Nikhil Narayana
562a59fb90
ci: use macos-13 runner 2024-07-08 20:57:10 -07:00
Jas Laferriere
a2e7642fae chore: mirror lgl and codeset changes from ishii 2024-07-08 11:13:43 -04:00
Vlad Firoiu
10bc950348
cleanup: remove extra start/end game msgs from spectator server (#23) 2024-06-01 17:31:25 -07:00
Nikhil Narayana
90f00d35d5
refactor: skip jukebox init if null audio backend 2024-06-01 14:23:09 -07:00
Nikhil Narayana
092cae65be
fix: increase width of delay frames combobox for visibility 2024-06-01 14:20:51 -07:00
Vlad Firoiu
8ebc8b6ad7
fix(build): set correct codesigning target (#21)
* Correctly set codesigning target for MacOS.

* Don't use system xxhash.

CMake doesn't seem to properly set the link libraries, not sure why.
2024-06-01 13:27:32 -07:00
Vlad Firoiu
bc78c42f38
fix: pipes for bot functionality (#22)
* Don't error on menu frames.

* Wait for inputs until all PipeDevices have been flushed in blocking mode.

Previously, we'd only wait for the first PipeDevice, which in theory could
cause race conditions.

* Fix several bugs in PipeDevice, and improve readability.

Fixes three issues introduced in the migration to mainline:
1. Due to a unsigned -> signed cast, excessive memory was allocated, resulting in a crash.
2. The unix `select` function was called with improper arguments.
3. In blocking mode, we should only wait for activity on the unix pipe once; if we wait
   before each read, we'll never finish reading.

* Add note on analog trigger presses for pipe inputs.
2024-06-01 13:10:26 -07:00
Vlad Firoiu
8fa4122692
fix(build): rust dep for nogui build (#17)
Co-authored-by: Nikhil Narayana <nikhil.narayana@live.com>
2024-06-01 13:05:21 -07:00
HamletDuFromage
66559aac9f
chore: remove leftover check box in settings panel (#19) 2024-06-01 12:32:43 -07:00
Nikhil Narayana
b01b40ece0
fix: don't output music if null backend is selected 2024-06-01 11:36:45 -07:00
Nikhil Narayana
913ae9351d
build(win): create portable.txt file automatically 2024-03-26 10:25:05 -07:00
Vlad Firoiu
cad3e88767
build(macOS): correctly set number of threads for building (#20)
The current value $(nproc) only works on Linux and defaults to empty string
on macos, which results in unlimited paralellism and likely a system OOM.
2024-03-22 11:13:51 -07:00
Nikhil Narayana
4a06679391
release(netplay): v4.0.0-mainline-beta.4 2024-02-22 23:44:16 -08:00
Nikhil Narayana
293b5542b6
chore: remove unnecessary changes 2024-02-22 23:40:57 -08:00
Nikhil Narayana
bdd9005675
Merge pull request #16 from project-slippi/upstream-merge-2024-02-09
chore: upstream merge to 5.0-21088
2024-02-14 21:29:53 -08:00
Nikhil Narayana
ad8061bc9d
ci(win): fix codesigntool download check 2024-02-14 19:36:05 -08:00
Nikhil Narayana
df9305c187
build(windows): get rust extensions from correct build dir 2024-02-13 14:08:56 -08:00
Nikhil Narayana
89133c8f89
build(linux): use linuxdeploy qt plugin 2024-02-13 14:08:55 -08:00
Nikhil Narayana
2cc0521720
chore(ci): bump some versions 2024-02-13 14:08:55 -08:00
Nikhil Narayana
a07dd24a96
fix: post merge build failures 2024-02-13 14:08:54 -08:00
Nikhil Narayana
dce90c0567
Merge commit '9240f579ea' into upstream-merge-2024-02-09 2024-02-09 23:17:20 -08:00
Nikhil Narayana
667102f0c3
release(netplay): v4.0.0-mainline-beta.3 2024-02-08 00:29:53 -08:00
Nikhil Narayana
90b310922b
ci(macOS): use macos-12 builder and fix notarization/signing (#15)
* ci(macOS): test macos-12 builder

* Port over notarytool upgrades

* fix entitlements path

* Alter bundle identifier for notarization, alter display name (NOT bundle name) to be more human readable

* Add comment explaining the unexpected directory and path structure on macOS

---------

Co-authored-by: Ryan McGrath <ryan@rymc.io>
2024-02-08 00:20:29 -08:00
Nikhil Narayana
66862c9bda
ci(macOS): re-enable signing/notarization 2024-02-07 03:46:28 -08:00
Nikhil Narayana
1dc1544c10
ci(windows): fix downloading signing tool 2024-02-07 03:29:49 -08:00
Nikhil Narayana
36a932966b
fix: correct the SLIPPI_RUST_ONLINE log name 2024-02-06 21:17:28 -08:00
Nikhil Narayana
439f14aa40
build(macOS): don't use cmake's signing on CI 2024-02-06 21:16:27 -08:00
Nikhil Narayana
cd10a9f647
chore: update rust extensions 2024-02-06 21:16:03 -08:00
Vlad Firoiu
62447277c4
build(macOS): ignore mbedtls warnings and fix QIcon error (#12)
also fix standard codesigning, does not affect our separate method
2024-02-06 21:07:13 -08:00
Mai
9240f579ea
Merge pull request #12561 from JosJuice/profile-consistency
InputCommon: Fix profile path inconsistencies
2024-02-05 09:47:08 -05:00
JosJuice
1315b54ffa InputCommon: Use distinct values for profile key
Because the last commit made us use separate folders for GCPad and
GCKey profiles, we should also use separate game INI keys for them.
Otherwise setting e.g. PadProfile1 in a game INI will make both GCPad
and GCKey try to load it, typically with one of them succeeding and the
other one showing a panic alert due to the profile not existing in its
folder.

Better do this breaking change for GCKeys in the same PR as the other
breaking change rather than later.
2024-02-04 17:55:08 +01:00
JosJuice
6cf55ab1ee InputCommon: Unify GetProfileName and GetProfileDirectoryName
After reading the previous commit, you might think "hold on, what's the
difference between GetProfileName and GetProfileDirectoryName"? These
two are being used for the exact same thing - figuring out where
profiles are stored - yet they return different values for certain
controllers like GC keyboards! As far as I can tell, the existing code
has been broken for GC keyboards since they were introduced a decade
ago. The GUI (and more recently, also InputCycler) would write and read
profiles in one location, and our code for loading profiles specified in
a game INI file would read profiles in another location.

This commit gets rid of the set of values used by the game INI code in
favor of the other set. This does breaking existing setups where a
GCKey profile has been configured in a game INI, but I think the number
of working such setups is vanishingly small. The alternative would make
existing GCKey profiles go missing from the profile dropdown in the GUI,
which I think would be more disruptive. The alternative would also force
new GCKey profiles into the same directory as GCPad profiles.

This commit also fixes a regression from d6c0f8e749. The Android GUI was
using GetProfileName to figure out what key to use in the game INI,
which made it use incorrect game INI entries for GameCube controller
profiles but not Wii Remote profiles. Now the Android GUI uses
GetProfileKey for this, fixing the problem.
2024-02-04 17:55:08 +01:00
JosJuice
2bcf70af3f InputCommon: Refactor away InputConfig::LoadConfig's switch case
By having getters for this information, other code that needs access to
the same information can call the getters instead of duplicating the
information.
2024-02-04 16:46:10 +01:00
Admiral H. Curtiss
abbc4bd0bd
Merge pull request #12551 from lioncash/cheev
AchievementManager: Minor cleanup
2024-02-03 03:01:56 +01:00
Admiral H. Curtiss
4e3886e7e8
Merge pull request #12557 from mitaclaw/cpu-thread-guarantees-1
CheatSearch: Remove redundant lambdas
2024-02-03 02:45:06 +01:00
Admiral H. Curtiss
df5baab873
Merge pull request #12550 from lioncash/dead
VertexLoaderManager: Remove unused entry struct
2024-02-03 02:38:02 +01:00
Admiral H. Curtiss
3b01531958
Merge pull request #12552 from lioncash/custom
CustomPipeline: Resolve unused variable warning
2024-02-02 20:31:52 +01:00
Lioncash
4f40bdf501 VertexLoaderManager: Use fill() in Init()
Same behavior, less code.
2024-02-01 23:04:40 -05:00
Lioncash
ea95c82a01 VertexLoaderManager: Remove unused entry struct
This isn't used anywhere, so it can be removed.
2024-02-01 23:04:39 -05:00
Lioncash
db80abbadd AchievementManager: Tidy up GetRichPresence()
This can be a direct return.
2024-02-01 23:03:24 -05:00
Lioncash
c14414a151 AchievementManager: clear name in CloseGame()/LogOut()
A little more idiomatic.
2024-02-01 23:03:24 -05:00
Lioncash
2d8af7b7f8 AchievementManager: Replace memsets where applicable
We can just use brace initialization to zero these out. Smaller to
write and a little quicker to read.
2024-02-01 23:03:24 -05:00