Commit graph

105 commits

Author SHA1 Message Date
Zaprit
c45b9ec37e
Remove macOS staging directory requirement, and update to .NET 8.0 (#41)
* Code cleanup and update to .NET 8

* Fix macOS requiring staging directory to be selected.
Also places eboots on Desktop on macos, to avoid them being inside the app bundle.

* Fix keys discovery on mac

* Removed debug logging, made GetExecutablePath more robust.

* Created a script for building on mac, as creating a universal binary is somewhat involved

* Update UnionPatcher.Gui/Forms/ModeSelectionForm.cs

Co-authored-by: sudokoko <koko@sudokoko.xyz>

* Apply suggestions from code review

Co-authored-by: Josh <josh@slendy.pw>

---------

Co-authored-by: sudokoko <koko@sudokoko.xyz>
Co-authored-by: Josh <josh@slendy.pw>
2024-01-19 00:05:42 +00:00
Dagg
7b88e27843
Require staging directory as fallback (#34)
* Test requiring staging directory on Windows

* Special workaround v1

* Remove variable since its only used once
2023-03-18 23:38:21 -05:00
Dagg
47af7d6929
macOS Hotfix: Require staging directory (#31)
* macOS: Require staging directory

* Grammar
2022-11-09 16:36:26 -06:00
Josh
58d9dd3a67
Make the file picker only show valid files (#28)
* Make the file picker only show valid files

* Fix file wildcard patterns
2022-11-02 13:26:30 -06:00
Dagg
7d77decf17
Swap out the custom message boxes with the stock Eto MessageBox (#29)
* Use regex to discover existing server urls

- Supports LBP PSP and PS3
- Hardcoded length limit, will fix soonTM

* Get maximum length for server URL from EBOOT

* Potential fix for LBP3
- Matches all but NULL instead of just all

* Potentially extend maximum length
Thanks slendy

* Leave a NULL character of padding

* Use stock eto message boxes instead of custom.

* Use Information message box type
Ding may be strange but this process takes a while sometimes
2022-11-02 13:26:15 -06:00
Dagg
3d8473129a
Added regex matching to find index of LBP server URLs (#27)
* Use regex to discover existing server urls

- Supports LBP PSP and PS3
- Hardcoded length limit, will fix soonTM

* Get maximum length for server URL from EBOOT

* Potential fix for LBP3
- Matches all but NULL instead of just all

* Potentially extend maximum length
Thanks slendy

* Leave a NULL character of padding
2022-09-13 17:15:04 -05:00
jvyden
8f6ba8b535
Make zip function recursive when building 2022-08-06 13:49:27 -04:00
jvyden
98dd90a9d5
Merge remote-tracking branch 'origin/master'
# Conflicts:
#	.gitignore
2022-07-28 17:07:17 -04:00
jvyden
fea80d4485
Add shell script to build all UP versions 2022-07-28 17:06:56 -04:00
Zaprit
bb4d691364
Added ARM Linux support (#23)
* Ignored .DS_Store

* Add arm64 linux scetool and code to work with it

* added linux scetool for arm

* Left some vestigial code, whoops
2022-07-28 16:46:37 -04:00
jvyden
159dd9f3cc
Fix psp architecture value 2022-07-26 21:50:15 -04:00
jvyden
4b566c35fa
Add PSP support to ELF checking 2022-07-26 21:41:03 -04:00
Zaprit
7b45a190c3
Update Eto.Forms and add arm64 macOS build support (#22)
* Updated Eto.Forms to 2.7.0 and added build support for osx-arm64

* update to .NET 6.0
2022-07-25 14:31:48 -04:00
Logan Lowe
2872f8b2f1
Merge pull request #21 from Zaprit/code-cleanup
Cleaned up warnings in code
2022-06-23 11:33:30 -06:00
Henry Asbridge
b4d28966c7 Cleaned up warnings in code 2022-06-23 15:50:26 +01:00
Logan Lowe
1c39468343
Merge pull request #20 from Zaprit/master
Added macOS SCETool
2022-06-22 17:18:51 -06:00
Henry Asbridge
412ff21844 Added code to use SCETool for macOS 2022-06-22 01:26:51 +01:00
Henry Asbridge
eed59004f0 Added SCEtool for macOS 2022-06-22 01:25:30 +01:00
jvyden
4cea9710e3
Include scetool and data directories 2022-06-15 17:47:10 -04:00
Jayden
8c8aba3287
Merge pull request #19 from AShifter/master
Fix application closing when choosing mode on Windows
2022-06-15 16:58:55 -04:00
Logan Lowe
b872ebaee6 Fix application closing when choosing mode on Windows
When a new sub form is opened, the main form's ``Close()`` method is called, which halts the entire application on Windows. Instead, we create an instance of the sub form, and bind its ``Closed`` event to an event handler that will halt the entire application.

We can then hide the main form, rather than closing it completely, which resolves the issue and allows the app to run as intended.
2022-06-15 14:55:59 -06:00
Jayden
7191d00d26
[skip ci] Update obtaining build guide 2022-06-14 22:26:12 -04:00
jvyden
e63532e6d5
Add application icon, build shit correctly 2022-06-14 22:08:11 -04:00
jvyden
447ca7b4a5
Merge UnionRemotePatcher into UnionPatcher
Squashed commit of the following:

commit db54f752b1a7d876c8e8ac23f64fac0e133c6c42
Author: jvyden <jvyden@jvyden.xyz>
Date:   Tue Jun 14 21:50:24 2022 -0400

    Fix warnings in Program.cs, remove version

commit abab75e00a9fa5c762669365a130025b7fa28522
Author: jvyden <jvyden@jvyden.xyz>
Date:   Tue Jun 14 21:45:08 2022 -0400

    Enforce file-scoped namespaces

commit d004b8dd77546b0dedc572bc3e7849677a707697
Author: jvyden <jvyden@jvyden.xyz>
Date:   Tue Jun 14 21:43:53 2022 -0400

    Cleanup remote patching

commit d611df7e2e5ad86466acb3fe95b835e5df3efa38
Author: jvyden <jvyden@jvyden.xyz>
Date:   Tue Jun 14 21:25:57 2022 -0400

    Theoretically working state

commit 18b362e268d800bac3c6fa5c3ae0c0b896627648
Author: jvyden <jvyden@jvyden.xyz>
Date:   Tue Jun 14 21:10:58 2022 -0400

    Import code from UnionRemotePatcher

Co-authored-by: Logan Lowe <loganr.lowe@gmail.com>
2022-06-14 21:55:07 -04:00
jvyden
ff38cd2bd6
Code cleanup 2022-06-14 21:02:39 -04:00
jvyden
bccb6749d1
Use file-scoped namespaces 2022-06-14 21:01:29 -04:00
jvyden
a90da4e7b3
Move patch delegate to function 2022-06-14 21:01:09 -04:00
jvyden
281ddc2117
Add more validation to patcher 2022-06-14 03:10:33 -04:00
jvyden
bd2fe376d1
Don't build self-contained for runtime for Windows 2022-06-04 18:17:37 -04:00
jvyden
e54dee5182
Fix Windows building 2022-06-04 18:06:25 -04:00
jvyden
db581741e7
Build 2022-06-04 17:53:55 -04:00
jvyden
4bc4afe9b1
Merge pull request #16 from AShifter/master
Build UnionPatcher.csproj as a Class Library
2022-03-13 17:54:18 -04:00
Logan Lowe
30f9410bcd Build UnionPatcher.csproj as a Class Library 2022-03-13 15:49:22 -06:00
jvyden
4c0f87ec78
Merge pull request #11 from AShifter/master
Check input/output file names and input server URL
2022-02-20 20:18:33 -05:00
Logan Lowe
36dc7dc37e Review fix
We don't need that Uri
2022-02-20 18:18:06 -07:00
Logan Lowe
eba5a9d189 Update MainForm.cs
Solves #10
2022-02-20 17:54:17 -07:00
jvyden
f421129ff8
Merge pull request #8 from 505e06b2/master
Implement ELF header parsing
2022-02-20 19:31:49 -05:00
Jake
3d0d7d052f Reflow tabs 2022-02-21 00:17:56 +00:00
Jake
77b693ae08 Fixed compilation error; formatting fixes 2022-02-20 23:57:12 +00:00
Jake
58c418362b Added filesize check; fixed formatting 2022-02-20 19:05:05 +00:00
Jake
8e267a9cd2 Reflow tabs 2022-02-20 16:41:09 +00:00
Jake
4a68509d2b Preliminary ELF file checks 2022-02-20 16:39:00 +00:00
jvyden
07880be045
Merge pull request #6 from 505e06b2/master
Add build instructions to Readme
2022-02-19 15:21:24 -05:00
Jake
57374ad8b3 Removed commandline references 2022-02-19 19:52:37 +00:00
Jake
402e02b2c5 Better formatting of download instructions 2022-02-19 13:27:21 +00:00
Jake
1592111408 Spruce up readme 2022-02-19 13:26:06 +00:00
jvyden
c9c99ea106
Fix syntax error 2022-02-15 17:08:09 -05:00
jvyden
d2a4a90fbe
Merge pull request #4 from Arcadius2006/master
Added LBP2 Beta URLs
2022-02-15 16:59:21 -05:00
Arcadius2006
369c1bf724
Added LBP2 Beta URLs 2022-02-15 22:57:42 +01:00
jvyden
fec3821d9f
build 2022-02-09 22:57:07 -05:00