Compare commits

...

17 Commits

Author SHA1 Message Date
Logan McNaughton 4da7cd0551 Update parallel-rdp WSI integration (#61)
* Update parallel-rdp WSI integration

* fix build

* disable mac build
2024-05-27 13:23:56 -06:00
Logan McNaughton ce5ee30ef0 Update parallel rdp 2024-05-27 12:37:21 -06:00
dependabot[bot] 9eb4e73c4d Update zip requirement from 1.1 to 2.1 (#60)
Updates the requirements on [zip](https://github.com/zip-rs/zip2) to permit the latest version.
- [Release notes](https://github.com/zip-rs/zip2/releases)
- [Changelog](https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zip-rs/zip2/compare/1.1.0...v2.1.0)

---
updated-dependencies:
- dependency-name: zip
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-26 20:54:48 -06:00
Logan McNaughton 3b1ef2938d Bump version to 0.1.6 (#57) 2024-05-24 11:49:22 -06:00
Logan McNaughton b8ce85b9fd update parallel rdp 2024-05-24 11:22:14 -06:00
Logan McNaughton 49ba66f0a3 Fix linter errors (#55) 2024-05-02 07:29:48 -06:00
dependabot[bot] 0bad5999c1 Update zip requirement from 0.6 to 1.1 (#53)
---
updated-dependencies:
- dependency-name: zip
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-21 20:44:19 -06:00
dependabot[bot] 2911be7deb Update sevenz-rust requirement from 0.5 to 0.6 (#52)
---
updated-dependencies:
- dependency-name: sevenz-rust
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-07 20:49:42 -06:00
dependabot[bot] 7ea1516d52 Update eframe requirement from 0.26 to 0.27 (#51)
Updates the requirements on [eframe](https://github.com/emilk/egui) to permit the latest version.
- [Release notes](https://github.com/emilk/egui/releases)
- [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/emilk/egui/compare/0.26.0...0.27.0)

---
updated-dependencies:
- dependency-name: eframe
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-26 20:53:38 -06:00
Logan McNaughton 3bac21a908 bump version to 0.1.5 (#50) 2024-03-21 12:05:28 -06:00
Logan McNaughton 182cb78649 Use rust stable (#39) 2024-03-21 07:19:34 -06:00
Logan McNaughton 42919d141a clean up RFD features (#49) 2024-02-25 19:25:26 -07:00
dependabot[bot] 979c3666df Update rfd requirement from 0.13 to 0.14 (#48)
Updates the requirements on [rfd](https://github.com/PolyMeilex/rfd) to permit the latest version.
- [Release notes](https://github.com/PolyMeilex/rfd/releases)
- [Changelog](https://github.com/PolyMeilex/rfd/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PolyMeilex/rfd/compare/0.13.0...0.14.0)

---
updated-dependencies:
- dependency-name: rfd
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-25 19:18:51 -07:00
Logan McNaughton 4ff7a640d8 Update rust beta (#44) 2024-02-08 07:29:35 -07:00
dependabot[bot] 97928e1612 Update eframe requirement from 0.25 to 0.26 (#46)
Updates the requirements on [eframe](https://github.com/emilk/egui) to permit the latest version.
- [Release notes](https://github.com/emilk/egui/releases)
- [Changelog](https://github.com/emilk/egui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/emilk/egui/compare/0.25.0...0.26.0)

---
updated-dependencies:
- dependency-name: eframe
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 21:17:15 -07:00
Logan McNaughton 19354fe732 bump version to 0.1.4 (#41) 2024-01-28 12:42:20 -07:00
Logan McNaughton febf321d58 Update download link (#42) 2024-01-28 12:33:52 -07:00
9 changed files with 39 additions and 36 deletions
+20 -21
View File
@@ -48,24 +48,23 @@ jobs:
with:
name: gopher64-windows
path: target/release/gopher64.exe
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install sdl2 headers
run: |
brew install sdl2
- name: Update rust
run: |
rustup update
- name: Build
run: |
cargo build --release -v
- name: Upload file
uses: actions/upload-artifact@v4
with:
name: gopher64-mac
path: target/release/gopher64
# build-macos:
# runs-on: macos-13
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: recursive
# - name: Install sdl2 headers
# run: |
# brew install sdl2
# - name: Update rust
# run: |
# rustup update
# - name: Build
# run: |
# cargo build --release -v
# - name: Upload file
# uses: actions/upload-artifact@v4
# with:
# name: gopher64-mac
# path: target/release/gopher64
+5 -5
View File
@@ -1,20 +1,20 @@
[package]
name = "gopher64"
version = "0.1.3"
version = "0.1.6"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
dirs = "5.0"
zip = "0.6"
zip = "2.1"
governor = "0.6"
sevenz-rust = "0.5"
sevenz-rust = "0.6"
chrono = "0.4"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
eframe = "0.25"
rfd = {version = "0.13", default-features = false, features = ["xdg-portal", "async-std"] }
eframe = "0.27"
rfd = "0.14"
sha2 = "0.10"
rusttype = "0.9"
futures = "0.3"
+1 -1
View File
@@ -56,4 +56,4 @@ Gopher64 is licensed under the GPLv3 license. Many portions of gopher64 have bee
## where to download
Builds can be found as artifacts on [GitHub Actions](https://github.com/gopher64/gopher64/actions?query=branch%3Amain)
https://github.com/gopher64/gopher64/releases
+1
View File
@@ -37,6 +37,7 @@ fn main() {
.file("parallel-rdp/parallel-rdp-standalone/util/aligned_alloc.cpp")
.file("parallel-rdp/parallel-rdp-standalone/util/timer.cpp")
.file("parallel-rdp/parallel-rdp-standalone/util/timeline_trace_file.cpp")
.file("parallel-rdp/parallel-rdp-standalone/util/environment.cpp")
.file("parallel-rdp/parallel-rdp-standalone/util/thread_name.cpp")
.file("parallel-rdp/parallel-rdp-standalone/volk/volk.c")
.file("parallel-rdp/interface.cpp")
+5
View File
@@ -54,6 +54,11 @@ void SDL_WSIPlatform::poll_input()
SDL_PumpEvents();
}
void SDL_WSIPlatform::poll_input_async(Granite::InputTrackerHandler *handler)
{
SDL_PumpEvents();
}
void SDL_WSIPlatform::set_window(SDL_Window *_window)
{
window = _window;
+1 -1
View File
@@ -13,10 +13,10 @@ public:
uint32_t get_surface_height() override;
bool alive(Vulkan::WSI &wsi) override;
void poll_input() override;
void poll_input_async(Granite::InputTrackerHandler *handler) override;
void set_window(SDL_Window *_window);
void do_resize();
private:
VkSurfaceKHR surface;
SDL_Window *window;
};
-2
View File
@@ -1,2 +0,0 @@
[toolchain]
channel = "nightly"
+5 -5
View File
@@ -97,27 +97,27 @@ pub fn init(ui: &mut ui::Ui) {
panic!("could not create save dir")
}
ui.paths.eep_file_path = base_path.clone();
ui.paths.eep_file_path.clone_from(&base_path);
ui.paths
.eep_file_path
.push(ui.game_id.to_owned() + "-" + &ui.game_hash + ".eep");
ui.paths.sra_file_path = base_path.clone();
ui.paths.sra_file_path.clone_from(&base_path);
ui.paths
.sra_file_path
.push(ui.game_id.to_owned() + "-" + &ui.game_hash + ".sra");
ui.paths.fla_file_path = base_path.clone();
ui.paths.fla_file_path.clone_from(&base_path);
ui.paths
.fla_file_path
.push(ui.game_id.to_owned() + "-" + &ui.game_hash + ".fla");
ui.paths.pak_file_path = base_path.clone();
ui.paths.pak_file_path.clone_from(&base_path);
ui.paths
.pak_file_path
.push(ui.game_id.to_owned() + "-" + &ui.game_hash + ".mpk");
ui.paths.romsave_file_path = base_path.clone();
ui.paths.romsave_file_path.clone_from(&base_path);
ui.paths
.romsave_file_path
.push(ui.game_id.to_owned() + "-" + &ui.game_hash + ".romsave");