Compare commits

...

9 Commits

Author SHA1 Message Date
mariomadproductions
04872a3e83 README.md: documented autoskip mode 2023-12-26 13:19:29 +01:00
dependabot[bot]
498696953a Bump wiiu-env/devkitppc from 20221228 to 20230621
Bumps wiiu-env/devkitppc from 20221228 to 20230621.

---
updated-dependencies:
- dependency-name: wiiu-env/devkitppc
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 13:19:31 +02:00
Maschell
86815beb77 Create dependabot.yml 2023-07-23 10:39:36 +02:00
Maschell
c3dfb55869 Change docker registry to ghcr.io 2023-03-18 16:33:40 +01:00
Maschell
57f823a5de Improve logging 2023-01-10 16:45:57 +01:00
Maschell
0da71f9420 Init AX to stop boot sound while running WUDD 2023-01-10 16:45:57 +01:00
Maschell
60688c0663 Use latest libmocha 2023-01-10 16:45:57 +01:00
Maschell
8a61dda7df Update the CI to use a non-deprecated release action 2023-01-10 16:45:57 +01:00
Maschell
eab18ef051 Bump version to v1.2.2 2023-01-10 16:45:57 +01:00
7 changed files with 32 additions and 31 deletions

10
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

View File

@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v3
- name: clang-format
run: |
docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./source
docker run --rm -v ${PWD}:/src ghcr.io/wiiu-env/clang-format:13.0.0-2 -r ./source
build-binary:
runs-on: ubuntu-22.04
needs: clang-format
@ -49,25 +49,12 @@ jobs:
- name: zip artifact
run: zip -r ${{ env.REPOSITORY_NAME }}_${{ env.DATETIME }}.zip wiiu
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: "softprops/action-gh-release@v1"
with:
tag_name: ${{ env.REPOSITORY_NAME }}-${{ env.DATETIME }}
release_name: Nightly-${{ env.REPOSITORY_NAME }}-${{ env.DATETIME }}
draft: false
prerelease: true
body: |
Not a stable release:
${{ github.event.head_commit.message }}
- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./${{ env.REPOSITORY_NAME }}_${{ env.DATETIME }}.zip
asset_name: ${{ env.REPOSITORY_NAME }}_${{ env.DATETIME }}.zip
asset_content_type: application/zip
generate_release_notes: true
name: Nightly-${{ env.REPOSITORY_NAME }}-${{ env.DATETIME }}
files: |
./${{ env.REPOSITORY_NAME }}_${{ env.DATETIME }}.zip

View File

@ -9,7 +9,7 @@ jobs:
- uses: actions/checkout@v3
- name: clang-format
run: |
docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./source
docker run --rm -v ${PWD}:/src ghcr.io/wiiu-env/clang-format:13.0.0-2 -r ./source
check-build-with-logging:
runs-on: ubuntu-22.04
needs: clang-format

View File

@ -1,6 +1,6 @@
FROM wiiuenv/devkitppc:20220801
FROM ghcr.io/wiiu-env/devkitppc:20230621
COPY --from=wiiuenv/libntfs:20220726 /artifacts $DEVKITPRO
COPY --from=wiiuenv/libmocha:20220726 /artifacts $DEVKITPRO
COPY --from=ghcr.io/wiiu-env/libntfs:20220726 /artifacts $DEVKITPRO
COPY --from=ghcr.io/wiiu-env/libmocha:20220919 /artifacts $DEVKITPRO
WORKDIR project

View File

@ -9,6 +9,8 @@ Features:
Files will be dumped to `/wudump/[DISC-ID]/`. The disc id of a game can be found on the disc (e.g. WUP-P-ARDP for the EUR version of Super Mario 3D World). If WUDD fails to determine the disc id, "DISC" with a timestamp will be used instead.
If you want to create a partial dump (skipped sectors represented by 00 bytes) for discs with unreadable sectors, you can avoid the need to manually choose the skip sectors option on each error, by pressing Y at the error message to activate auto skip mode
## How to merge splitted files
When you dump a .wux or .wud to the SD card it gets splitted into 2 GiB parts (FAT32 limitation). To merge them you can use the `copy` cmd tool.
@ -51,4 +53,4 @@ docker run -it --rm -v ${PWD}:/project wudd-builder make clean
## Format the code via docker
`docker run --rm -v ${PWD}:/src wiiuenv/clang-format:13.0.0-2 -r ./source -i`
`docker run --rm -v ${PWD}:/src ghcr.io/wiiu-env/clang-format:13.0.0-2 -r ./source -i`

View File

@ -56,7 +56,7 @@ public:
}
virtual void printHeader() {
WiiUScreen::drawLine("WUDD - Wii U Disc Dumper v1.2.1" VERSION_EXTRA);
WiiUScreen::drawLine("WUDD - Wii U Disc Dumper v1.2.2" VERSION_EXTRA);
WiiUScreen::drawLine("==================");
WiiUScreen::drawLine("");
}

View File

@ -11,6 +11,7 @@
#include <mocha/mocha.h>
#include <ntfs.h>
#include <padscore/kpad.h>
#include <sndcore2/core.h>
#include <thread>
#include <whb/log.h>
#include <whb/proc.h>
@ -37,7 +38,7 @@ procHomeButtonDeniedCustom(void *context) {
int main(int argc, char **argv) {
initLogging();
DEBUG_FUNCTION_LINE("Hello from wudump!");
AXInit();
WHBProcInit();
WiiUScreen::Init();
@ -62,7 +63,7 @@ int main(int argc, char **argv) {
IMIsAPDEnabled(&isAPDEnabled);
if (isAPDEnabled) {
DEBUG_FUNCTION_LINE("Disable auto shutdown");
DEBUG_FUNCTION_LINE_VERBOSE("Disable auto shutdown");
IMDisableAPD();
}
@ -98,7 +99,7 @@ int main(int argc, char **argv) {
}
if (isAPDEnabled) {
DEBUG_FUNCTION_LINE("Enable auto shutdown");
DEBUG_FUNCTION_LINE_VERBOSE("Enable auto shutdown");
IMEnableAPD();
}
@ -106,12 +107,13 @@ int main(int argc, char **argv) {
WiiUScreen::DeInit();
WHBProcShutdown();
AXQuit();
return 0;
}
void main_loop() {
DEBUG_FUNCTION_LINE("Creating state");
DEBUG_FUNCTION_LINE_VERBOSE("Creating state");
std::unique_ptr<MainApplicationState> state = std::make_unique<MainApplicationState>();
CombinedInput baseInput;
VPadInput vpadInput;
@ -121,7 +123,7 @@ void main_loop() {
WPAD_CHAN_2,
WPAD_CHAN_3};
DEBUG_FUNCTION_LINE("Entering main loop");
DEBUG_FUNCTION_LINE_VERBOSE("Entering main loop");
while (WHBProcIsRunning()) {
baseInput.reset();
if (vpadInput.update(1280, 720)) {
@ -151,7 +153,7 @@ void initMochaLib() {
void deInitMochaLib() {
if (slibMochaMount) {
Mocha_DeinitLibrary();
Mocha_DeInitLibrary();
}
Mocha_sdio_disc_interface.shutdown();