Commit Graph

896 Commits

Author SHA1 Message Date
Ethan Roseman 646bdd5c4c Fix nop scratch having family 2023-10-04 12:12:38 +09:00
Robin Lambertz d0a85112d7 No podman in compilers download (#874)
* Update poetry to 1.6.1

* Don't use podman/docker to download compilers

* Fixup docker test

* Actually fix docker tests

* Use debug level when failing to get image manifest

---------

Co-authored-by: Mark Street <22226349+mkst@users.noreply.github.com>
2023-10-04 10:04:09 +09:00
Alex Bates eca9cc324d upgrade frontend dependencies (#875)
* upgrade frontend dependencies

* fix ts lints

* don't cache server GETs

* fix opened nav having white border
2023-10-03 19:19:49 +09:00
Robin Lambertz e1c33d47d3 Support libraries in decomp.me (#843)
* Add script to download libraries, and download directx

* Add libraries endpoint

* Allow compiling with a library

* Add new libraries tab in frontend

* Add libraries support in CI

* Better look for the libraries

* Give pretty names to libraries

* Move Libraries to live under CompilerOpts

* typechecking hackery

* Make libraries trigger autorecomp and set the unsaved flag

* Fix libraryVersions

* Add new libraries download script to CI, docker and docs

---------

Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2023-09-30 14:54:40 +09:00
Alejandro Asenjo Nitti 1330ae01e8 Preset for Frogger (#872)
* Preset for Frogger

* line numbers flag
2023-09-30 14:46:30 +09:00
Kristopher Early 5d8f84b988 Wind Waker Compiler Error Fix (#871)
Update compilers.py
2023-09-28 19:46:38 +09:00
Kristopher Early 5fc8ba6ccc Add presets for The Wind Waker (#869)
* Update compilers.py
2023-09-27 20:27:27 +09:00
nocato 8c10d4bdea Add "Metal Gear Solid (overlays)" preset (#868)
Add a new "Metal Gear Solid (overlays)" preset that uses `-G0` flag
instead of `-G8` flag, as was the case in the "Metal Gear Solid" preset 
(preset for main executable). 

Additionally add `-Wall` flag, because we use it very often in our
scratches.
2023-09-25 21:17:03 +09:00
Mark Street 57d7aba006 Ensure compiler.path exists before mounting it (#863) 2023-09-21 09:06:35 +09:00
marius851000 9db7050656 Add PMD: Explorers of Sky preset (#861) 2023-09-21 05:20:00 +09:00
Mark Street 4a2eabb345 Overhaul download py (#855)
* Add translations for ps1/maspsx compiler set

* Tell clang to compile and not link to remove need for lld binary

* Assume msdos assembler lives on PATH

* Overhaul download.py

* Attempt to fix docker ci

* Appease black

* Whoops, don't forget to detach

* Fix path to download.py

* fix perms (hack?)

* Add --platforms and --compilers args to download.py

* Try out --compiler dir arg for docker in ci

* Try to ignore that 500 error about image manifests

* it's --compilerS-dir

* Try again

* Try building our own podman (fallback to vfs when rootless)

* install distro 'podman' to get configuration (fixes fuse)

* mount /dev/fuse in ci

* dumb bugfix, .download_cache

* split compilers config out of download.py

* update poetry.lock

* Add psyq3.3 + psyq4.4 and migrate psyq4.3 scratches to psyq4.4

* docker_entrypoint.sh cleanup

* Try to protect against 'locating item named "manifest" for image with ID'

* better podman sanity check

* appease black

* use 'requests.get()' to grab remote image digest

* Update compilers repo to 'decompme/compilers'

* Fix description for psyq3.6
2023-09-20 16:37:35 +09:00
Ethan Roseman 45e8a90784 KH Preset 2023-09-19 18:02:08 +09:00
Mark Street 13d193541d API - Allow filtering scratches based on preset (#860) 2023-09-19 04:58:24 +09:00
Mark Street bda794ede3 Update wibo to 0.5.2 (docker) (#853)
* Update wibo to 0.5.2 (docker)

* Update wibo to 0.5.2 (ci)
2023-09-14 15:59:04 +01:00
Ethan Roseman 347b4df652 Compiler refactor (2) (#852)
* Initial commit of organizing things

* some bugs

* fix bug?

* Fix issues in last PR
2023-09-14 23:46:43 +09:00
Mark Street 48152e6d68 Use 'base_compiler' functionality to dedupe macosx compilers (#850) 2023-09-14 13:00:37 +09:00
Mary 703b816e07 Enable C++ exception for Touhou 06 preset (#851)
As changed by https://github.com/happyhavoc/th06/commit/b10724718c5217f13944c8d626f5becfb1f4c27d
2023-09-14 10:22:13 +09:00
Ethan Roseman caa803c661 Compiler refactor (#849)
* Initial commit of organizing things

* some bugs

* anudder

* smores

* fix bug?

* oopth

* strings
2023-09-12 06:40:08 +09:00
Alejandro Asenjo Nitti c1ddb33d84 gcc-2.7.2.2 for PSX (#846)
* gcc-2.7.2.2

* fix unicode
2023-09-11 00:54:55 +09:00
Alejandro Asenjo Nitti f551e825fb add GCC 2.8.0-mipsel for PSX (#845)
add GCC 2.8.0
2023-09-10 20:50:57 +09:00
Robin Lambertz a7608e8086 Fix downloading OmniBlade MSVC toolchains (#841) 2023-09-09 06:59:09 +09:00
Ethan Roseman 32117469b8 3rd time's the charm? 2023-09-09 06:14:43 +09:00
Ethan Roseman 61a59d5ecd oopth2 2023-09-09 06:12:27 +09:00
Ethan Roseman f825921100 oopth 2023-09-09 06:09:37 +09:00
Ethan Roseman 3ce3405fea Fix thing 2023-09-09 06:04:36 +09:00
Joshua Peisach a426496852 LEGO Island preset - pass /TP (C++) compiler flag (#840)
LEGO Island is C++ code.
2023-09-08 11:39:12 +09:00
Robin Lambertz b890a0f6c4 MSVC 7.0 (Visual C/C++ 2002) support, and touhou6 preset (#839)
* Introduce MSVC7.0 (Visual Studio 2002) toolchain

This renames the msvc7.0 toolchain to msvc7.1 (as it is based on Visual
Studio 2003, which is msvc7.1), and introduces a new msvc7.0 toolchain
based on Visual Studio 2002.

* Add presets for Touhou 6 decompilation project

* Remove noexec from /sandbox/tmp in docker

The MSVC toolchains store intermediate artifacts in the /sandbox/tmp
folder, and need to be able to mmap them with PROT_EXEC rights, which is
prevented by the noexec flag that docker automatically puts on all
tmpfs. To avoid this, we need to ask docker to remove that flag.
2023-09-08 09:06:55 +09:00
EstexNT d4229ec499 Fix MSVC compilers (#838) 2023-09-07 00:14:15 +09:00
Joshua Peisach a937dbef92 Add msvc4.0/4.2 support + lego island preset (#834)
* Add msvc4.0, msvc4.20 support + lego island preset

* Run black on download.py

* Cleanup - rename msvc dirs to fit with the rest of the ids

* msvc4x compilers: Rename the directory of the 'Bin' folder and fix exec status

* Use set_x instead of os.system

* Use intel syntax for win9x platforms
2023-09-06 09:55:14 +09:00
Ethan Roseman 8f00e2eae1 Fix win9x svg 2023-09-05 21:30:51 +09:00
Ethan Roseman e1d9c7ed8b Fix download.py 2023-09-04 08:23:31 +09:00
WhenGryphonsFly 2397a4a960 Add Pokemon Pinball Ruby and Sapphire preset (#835)
Update compilers.py
2023-09-04 08:08:54 +09:00
WhenGryphonsFly d26d9fe1d1 Switch agbcc to follow pret's fork (#833)
Update download.py
2023-09-04 08:04:58 +09:00
OmniBlade 7c2f37512c Implement Win 9x platform and msvc compilers. (#802)
* Implement Win 9x platform and msvc compilers.

* Add credit info for Windows icon.

* Solve issue with read only temp dir for MSVC.

* Update armcc.zip link

* Add new dep to backend ci

---------

Co-authored-by: Ethan Roseman <ethteck@gmail.com>
2023-09-04 07:12:07 +09:00
Seeky 5b45631eaf Use C++ in SPM preset (#832) 2023-09-01 21:10:46 +09:00
Seeky 45b006e13d Add ppc cr definitions (#831) 2023-09-01 21:09:44 +09:00
Mark Street d6a5675e75 Update maspsx hash 2023-08-31 15:34:42 +01:00
Daniel R 36c406ab7d Update vib-ribbon preset (#830) 2023-08-31 20:02:52 +09:00
Simon Lindholm 20714e0485 Fix a typo (#829) 2023-08-31 02:27:24 +09:00
Seeky 6bd3732b44 Fix gc/wii error messages (#828) 2023-08-31 02:27:06 +09:00
Mark Street aa6bf6a739 Update maspsx hash 2023-08-24 15:10:03 +01:00
ConorB ca792ab04f Have the frontend handle the backend going down more gracefully (#827)
* Identify and throw RequestFailure errors, handle network errors with a special error page

* Blanket catch and handle all SWR network errors on the scratch page

* Revert scratcheditor / scratchpage change

* Have the scratch editor be able to gracefully handle being offline

* maintain "maintenance"

---------

Co-authored-by: ConorBobbleHat <c.github@firstpartners.net>
2023-08-24 03:47:42 +09:00
Mark Street 86d5ea4aba Update maspsx (#826)
Update download.py
2023-08-23 18:46:39 +01:00
Mark Street 8bf645889f Update maspsx hash (#824)
another nop bug squashed.
2023-08-21 18:07:55 +09:00
YoshiCrystal9 3114a3d3c3 Add Splatoon 2 (3.1.0) presets (#823) 2023-08-20 05:03:22 +09:00
Mark Street a570b06053 Update maspsx to latest (#822)
when I say "update", you say "maspsx"...
2023-08-17 19:19:28 +09:00
Daniel R 178ffa2cfa Fix vib-ribbon preset (#821) 2023-08-17 14:51:51 +09:00
Mark Street e84d20af34 Add ps1 gcc-2.91.66 (egcs 1.1.2) (#819) 2023-08-16 21:19:12 +01:00
Daniel R 0b5259fe57 Add vib-ribbon preset (#818) 2023-08-17 02:23:54 +09:00
Ethan Roseman d21d189067 Make family more liberal (#815)
* Make family more liberal

* Handle empty asm case
2023-08-15 18:35:39 +09:00