Skip to content

Add DocBoy emulator. Run ax6 roms on DMG too.#26

Open
Docheinstein wants to merge 5 commits intogbdev:mainfrom
Docheinstein:add-docboy
Open

Add DocBoy emulator. Run ax6 roms on DMG too.#26
Docheinstein wants to merge 5 commits intogbdev:mainfrom
Docheinstein:add-docboy

Conversation

@Docheinstein
Copy link

@Docheinstein Docheinstein commented Apr 16, 2024

Changes introduced by this PR:

As a consequence, this PR also update usages of Windows commands and Python packages that are not supported yet by the GitHub actions.

Commits:

  • b5f23e5: Add DocBoy emulator.
  • 868c6ea: Replace Extract-7Zip with Expand-7ZipArchive.
  • 50436ed: Replace distutils.dir_util.copy_tree with shutil.copytree.
  • 7c3fc90: Run ax6 roms on DMG.
  • 8a74c6f: Explicitly set DocBoy scaling factor to 1.

Closes #24.
Closes #25.

The Extract-7Zip command is not supported anymore by GitHub actions.
It has been replaced with the Expand-7ZipArchive.

Source: actions/runner-images#9361 (comment)
The distutils package has been removed with Python 3.12 (that is the
Python version run by the GitHub actions at the moment).
We were using it for distutils.dir_util.copy_tree, which has been
replaced with shutil.copytree.

Source: https://docs.python.org/3.11/whatsnew/3.10.html#distutils-deprecated
ax6's RTC tests do not actually need CGB; DMG is fully capable of run
these roms. Therefore, the CGB requirement has been removed and
the screenshots of such roms have been updated with the DMG's one.
@Docheinstein
Copy link
Author

Docheinstein commented May 18, 2024

I guess the workflow failed because I don't have the permissions/I am not a contributor??

Screenshot from 2024-05-18 14-33-50

By the way, feel free to tell me if there's something of this PR I could improve or change.

@vulcandth
Copy link
Contributor

I'm going to work on this in a bit once I get the other emulators updated.

Copy link
Member

@avivace avivace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes related to DocBoy seem ok to me but:

  • ax6 test roms results are updated (?)
  • there are some unrelated changes in the ares emulator and in the main pipeline

Start-Service audio*
Invoke-WebRequest https://github.com/duncanthrax/scream/releases/download/3.6/Scream3.6.zip -OutFile C:\Scream3.6.zip
Extract-7Zip -Path C:\Scream3.6.zip -DestinationPath C:\Scream
Expand-7ZipArchive -Path C:\Scream3.6.zip -DestinationPath C:\Scream
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unrelated change?

import PIL.Image
import PIL.ImageOps
from distutils.dir_util import copy_tree
from shutil import copytree
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unrelated change?


if not os.path.exists("emu/ares/ares.exe"):
copy_tree(os.path.join("emu/ares", os.listdir("emu/ares")[0]), "emu/ares")
copytree(os.path.join("emu/ares", os.listdir("emu/ares")[0]), "emu/ares")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unrelated change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ax6 roms don't actually need CGB Add DocBoy

3 participants