Commit Graph

916 Commits

Author SHA1 Message Date
Mark Street
a800b1e087 Use wibo for NDS (#902) 2023-10-26 23:27:25 +09:00
Ethan Roseman
96f45a3ee2 Improve parameterized compiler test to name the tests according to the platform and compiler (#901)
* Improve parameterized compiler test to name the tests according to the platform and compiler

* fix dumb

* Move func to make python happy

* typo
2023-10-26 04:23:30 +09:00
Mark Street
fc572c8891 Add ProDG compilers (GameCube) (#896)
* Add ProDG compilers (GameCube)

* one day I will run 'black' before committing
2023-10-26 04:05:16 +09:00
Ethan Roseman
23a3087a38 Sentry issue fixes (#900)
* Catch login failures and raise an exception

* Trying to fix library serialization crap (not working)

* Use validated_data instead of data

* Promments
2023-10-26 03:37:38 +09:00
Kneesnap
2a822170b0 Update Frogger's compiler preset. (#898)
* Update Frogger's compiler preset.

More investigation was done, and it was discovered that there was an official release of PsyQ GCC 2.6.3. However, it has not surfaced online. I have compiled a Win32 version which is compatible with the original PsyQ toolchain, but this is likely unnecessary for decomp.me

* Changed my mind about adding -G8.

The flag -G8 is correct when building the full game, but it produces less accurate code on decomp.me for some reason.
2023-10-26 00:37:09 +09:00
Mark Street
4deeb335dc Use wibo for N3DS (#894)
* Use wibo for N3DS

* Enable N3DS by default in Docker

* Update wibo
2023-10-24 05:54:35 +09:00
Mark Street
d944afee8f Devkitpro be gone (#888)
* Remove devkitpro

* whitespace woops
2023-10-22 06:32:18 -04:00
Alejandro Asenjo Nitti
3d3f9c2ed3 Preset for Starfox 64 (#892) 2023-10-17 20:37:13 +01:00
Mark Street
0763d5c1a2 Use wibo for gc wii (#890)
* Missed wibo for gcc2.7.2sn (n64)

* Use wibo for GC_WII platform
2023-10-15 11:34:29 -04:00
Mark Street
50db7781c5 Bump docker to node 18 (#889) 2023-10-15 15:15:17 +01:00
Mark Street
eb3c99e85d Use wibo for n64 compilers (#887) 2023-10-10 02:13:13 -04:00
Robin Lambertz
e33b5fb3cf Add libraries support to presets (#873)
* Add libraries support to presets

* Add directx 5 to lego island preset

* Move libraries to named globals

* Fix bug preventing changing the version of a library
2023-10-09 20:06:25 +01:00
Mark Street
f055b8c82b Use wibo for ps1 compilers (#885)
* Use wibo for ps1 compilers

* Update ci
2023-10-10 00:37:14 +09:00
Revo
fc7edf093f Add Bomberman Hero preset. (#886) 2023-10-09 10:46:07 +09:00
Robin Lambertz
1e00311790 Refactor libraries/download.py (#881)
* Avoid warning in git init when downloading libs

* Remove unused --libraries argument

* Take a Path when parsing libraries-dir

* Simplify expression of default libraries_dir

* Ensure the branch name is always a string

* Move git download to a dedicated function

* Emit error if get_library fails to create include dir
2023-10-09 02:37:51 +09:00
Mark Street
da37f18eb8 Fixup 'NDS' vs 'NDS_ARM9' platform id for Docker (#880)
* Fixup 'NDS' vs 'NDS_ARM9' platform id for Docker

* Add missing platform environment vars to Docker

* Update wibo
2023-10-09 02:33:24 +09:00
Ethan Roseman
290ce9867c Remove library suspense...? (#879)
Fix library suspense...?
2023-10-09 02:30:51 +09:00
Mark Street
86a2955e22 Add gcc 2.6.0-mipsel and 2.7.0-mipsel for PS1 (#878)
* Add gcc 2.6.0-mipsel and 2.7.0-mipsel for PS1

* black
2023-10-06 15:47:46 +09:00
Joshua Peisach
c63102ea58 Support DirectX 5.0 (#877) 2023-10-05 22:13:27 +01:00
Robin Lambertz
fb69aceded Fix libraries migration (#876) 2023-10-04 18:57:16 +09:00
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 b10724718c
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