-
Notifications
You must be signed in to change notification settings - Fork 659
TIC-80 standalone emulator with "surf" option support #15020
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
this does nothing as you haven't included the standalone binary or setup the system for it to be called. |
|
I was inspired by pico8 and voxatron wiki pages. It needs just tic80 binary in bios/tic80 folder (x64 version MD5 is c95e23cb995e058d9a7e372a65d8c554) It may be extracted from https://github.com/nesbox/TIC-80/releases/download/v1.1.2837/tic80-v1.1-linux.deb This all may be mentioned in wiki page after this prerequisite is merged. |
|
i don't want it added like that. lexaloffle from memory are paid binaries and are restricted to the binary architecture type. |
|
Ok, I tried to update it. This is my first emulator addition, so hope it will work. |
|
It's a cmake build system so the package should be cmake not generic. You need to test the compilation and the resulting binary. Also squash your commits. |
|
Thank you, I changed generic to cmake package. I was able to build tic80 from master before on my desktop and it worked, surf option too, carts are loading too. |
dmanlfc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
squash your commits
...ge/batocera/core/batocera-configgen/configgen/configgen/generators/nesbox/nesboxGenerator.py
Show resolved
Hide resolved
|
I hope it is OK now, thank you very much for all the help and support. |
dmanlfc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remember to squash your commits. git push --force when doing updates
...ge/batocera/core/batocera-configgen/configgen/configgen/generators/nesbox/nesboxGenerator.py
Outdated
Show resolved
Hide resolved
...ge/batocera/core/batocera-configgen/configgen/configgen/generators/nesbox/nesboxGenerator.py
Outdated
Show resolved
Hide resolved
| config BR2_PACKAGE_TIC80 | ||
| bool "tic80" | ||
| select BR2_PACKAGE_PIPEWIRE | ||
| select BR2_PACKAGE_WAYLAND |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove wayland here
| select BR2_PACKAGE_LIBCURL | ||
| select BR2_PACKAGE_LIBGLVND | ||
| select BR2_PACKAGE_LIBGLU | ||
| select BR2_PACKAGE_LIBFREEGLUT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
change to `select BR2_PACKAGE_LIBFREEGLUT if BR2_PACKAGE_HAS_LIBGL && BR2_PACKAGE_XORG7
| TIC80_SITE = $(call github,nesbox,TIC-80,$(TIC80_VERSION)) | ||
| TIC80_LICENSE = MIT | ||
| TIC80_LICENSE_FILES = https://github.com/nesbox/TIC-80/blob/main/LICENSE | ||
| TIC80_DEPENDENCIES = pipewire wayland sdl2 ruby libcurl libglvnd libglu libfreeglut |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove wayland & libfreeglut as we will use them below
| TIC80_CONF_OPTS += -DBUILD_WITH_ALL=On | ||
| TIC80_CONF_OPTS += -DBUILD_PRO=TRUE | ||
| TIC80_CONF_OPTS += -DBUILD_TOUCH_INPUT=ON | ||
| TIC80_CONF_OPTS += -DCMAKE_BUILD_TYPE=Release |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line and the next should be at the start ideally
Update Config.in Update nesboxGenerator.py Update Config.in Update Config.in Update tic80.mk Update tic80.mk Update nesboxGenerator.py Update tic80.mk Update Config.in Update Config.in cmake Update nesboxGenerator.py Update tic80.mk Update nesboxGenerator.py Update Config.in Update es_systems.yml Update Config.in Create tic80.mk Update Config.in Rename Config.in to Config.in Create Config.in Update Config.in Update es_systems.yml Update Config.in Create __init__.py Rename package/batocera/core/batocera-configgen/configgen/configgen/generators/nesboxGenerator.py to package/batocera/core/batocera-configgen/configgen/configgen/generators/nesbox/nesboxGenerator.py Add files via upload
WizzardSK
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
squashed and updated
Added generator file for original TIC-80 binary that user can add to "bios/tic80" folder just like pico-8 or voxatron binary. Tested and it works. Also needed to add an es_systems.cfg entry:
edit: updated PR to include regular package to build tic80 from source