Tharo
2c481eaeeb
Partial linking of spec segments ( #2661 )
...
* Partial linking of overlay segments, relax linker script alignment
* Partial linking of all spec segments
* Fix update, remove _RomPos from linker script
* iQue version working pending COM-plugin update
* Add plf map file resolution to sym_info.py, local symbol merging is broken
* git subrepo pull tools/com-plugin
subrepo:
subdir: "tools/com-plugin"
merged: "c4f3ba845"
upstream:
origin: "git@github.com:Thar0/com-plugin.git"
branch: "main"
commit: "c4f3ba845"
git-subrepo:
version: "0.4.6"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "110b9eb"
* Make tools compatible with partial linking
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com >
* Remove unused files
* Fix some makefile bits
* mkspecrules cleanup
* Comment on the makerom linker layout in mkldscript
* Revert linker padding strategy back to pad_text spec directives
* Comment on objcopy elf -> rom step
* Adjust tool descriptions
* Fix compressed builds
* rm reloc_prereq, no longer used
* Makefile merge fix
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com >
---------
Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com >
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com >
2026-05-06 23:33:03 +02:00
Tharo
5625f1826e
Remove makeromfs ( #2752 )
...
This is a tool introduced a long time ago that ended up not being
used at any point in the build system and has no prospects of
future use. There's no reason for keeping it around.
2026-05-06 09:24:50 +02:00
Tharo
3d61fb85ef
Add n64texconv and bin2c tools to convert extracted .png and .bin to C arrays during build ( #2477 )
...
* n64texconv and bin2c
* mv tools/n64texconv tools/assets/
* fix
* more light fixes
* Silence -Wshadow for libimagequant
* Add reference counting gc for palette objects in python bindings
* Fix missing alignment in n64texconv_*_to_c functions
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com >
* Check palette size in n64texconv_image_from_png
* accept memoryview as well as bytes for binary data
* minimal doc on n64texconv_quantize_shared
* fix a buffer size passed to libimagequant
* assert pal count <= 256 on png write
* Disable palette size check for input pngs, ZAPD fails the check
* No OpenMP for clang
* When reading an indexed png into a CI format, requantize if there are too many colors for the target texel size
---------
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com >
2025-02-17 17:09:42 -05:00
cadmic
ffc9f2d4f1
Download EGCS binutils and gcc for iQue ( #2391 )
...
* Download EGCS binutils and gcc for iQue
* Use curl -s for cleaner output
2024-12-30 09:30:37 -05:00
cadmic
aaf3183233
Download ido-recomp compiler binaries instead of committing them ( #2388 )
...
* Download ido-recomp compiler binaries instead of committing them
* Skip downloading compilers if ido_recomp/ exists
* Use make instead of bash script
2024-12-26 12:41:03 -05:00
Dragorn421
91a534cbc9
Rewrite preprocess.py with bash and C ( #2035 )
...
* add C preprocess_pragmas and Bash preprocess
* "line return" -> newline
* align tools sources
* fix: handle files that are not newline-terminated
* use a temp directory with a same-basename file instead of a temp file
* macos compat
* remove debug code
2024-08-14 04:05:36 -04:00
EllipticEllipsis
eadc477187
New relocation-generating program ( #1016 )
...
* Update makefiles
* git subrepo clone git@github.com:EllipticEllipsis/fado.git tools/fado
subrepo:
subdir: "tools/fado"
merged: "46c4d751a"
upstream:
origin: "git@github.com:EllipticEllipsis/fado.git"
branch: "master"
commit: "46c4d751a"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo.git "
commit: "2f68596"
* git subrepo pull tools/fado
subrepo:
subdir: "tools/fado"
merged: "88114ebce"
upstream:
origin: "git@github.com:EllipticEllipsis/fado.git"
branch: "master"
commit: "88114ebce"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo.git "
commit: "2f68596"
* A few ideas for computing dependencies
* Remove reserved identifiers from spec.h and util.h
and add required headers
* Fix a couple more headers
* Program for reloc prerequisites
* git subrepo pull tools/fado
subrepo:
subdir: "tools/fado"
merged: "36a905f72"
upstream:
origin: "git@github.com:EllipticEllipsis/fado.git"
branch: "master"
commit: "36a905f72"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo.git "
commit: "2f68596"
* Update makefile to make dependency files and use overlay's name
* git subrepo pull tools/fado
subrepo:
subdir: "tools/fado"
merged: "43c339a59"
upstream:
origin: "git@github.com:EllipticEllipsis/fado.git"
branch: "master"
commit: "43c339a59"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo.git "
commit: "2f68596"
* Change awk to grep, delete ZAPD files, gitignore elf
* Delete all the cfg files
* Fix memory leaks
* Rename and add coloured errors
* Makefile tweaks
- preprocess spec before grep
- split order prerequisites via phony target to reduce dependency edges
- remove `resources` target
- remove separate overlays targets
- use `$(SPEC)` throughout
- change to using filenames of relocs for overlay names via `$*`
- Rearrange targets to better reflect their categories
* Update gitignore
* Review
* Add a check for the reloc file name
* get_segment_by_name
* get_stmt_id_by_stmt_name
* Cleaning up
* algorithm change
* function rename
* Fix typos
Co-authored-by: angie <angheloalf95@gmail.com >
2022-02-06 14:40:26 -05:00
Tharo
04a9d51e90
Rework handling of dmadata ( #1036 )
...
* Generate dmadata
* Remove tab indentations in mkdmadata.c and mkldscript.c
* Fix
* Review suggestions
* Hopefully fix
* Fix index
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com >
Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com >
2021-12-01 00:29:09 +01:00
Anghelo Carvajal
5062f785fc
Add actorfixer.py ~~and graphovl.py~~; and a few improvements to extract_assets.py ( #783 )
...
* Only process touched files and abort the extraction if one file wasn't extracted properly
Signed-off-by: angie <angheloalf95@gmail.com >
* add actorfixer and graphovl
Signed-off-by: angie <angheloalf95@gmail.com >
* Re set execution permisions to diff.py
Signed-off-by: angie <angheloalf95@gmail.com >
* Add graphs/ to gitignore
Signed-off-by: angie <angheloalf95@gmail.com >
* Add looners flag to graphovl
Signed-off-by: angie <angheloalf95@gmail.com >
* Parse macros
Signed-off-by: angie <angheloalf95@gmail.com >
* cleanup
Signed-off-by: angie <angheloalf95@gmail.com >
* Add enum parser to graphovl
Signed-off-by: angie <angheloalf95@gmail.com >
* Remove redundant code
Signed-off-by: angie <angheloalf95@gmail.com >
* cleanup
Signed-off-by: angie <angheloalf95@gmail.com >
* Custom colors to graphovl!
* Select multiples styles for graphovl
* Add solarized light style
* Add renames of #796
* Add unaccounted warning flag
* remove graphovl
* git subrepo clone https://github.com/AngheloAlf/graphovl.git tools/graphovl
subrepo:
subdir: "tools/graphovl"
merged: "577e71592"
upstream:
origin: "https://github.com/AngheloAlf/graphovl.git "
branch: "master"
commit: "577e71592"
git-subrepo:
version: "0.4.3"
origin: "???"
commit: "???"
* remove graphovl
* Add `graphovl/` to gitignore
2021-05-22 20:00:10 -04:00
krimtonz
28387947e2
vtx extractor ( #94 )
2020-04-26 18:14:41 -04:00
Jack Walker
087f561f77
First proper commit.
2020-03-17 00:31:30 -04:00