Created
January 10, 2017 15:54
-
-
Save profi200/6530322dfab5c8cdc3f933652ffd7a3d to your computer and use it in GitHub Desktop.
Screenshots with 3dshaxclient on fw 9.2 old 3DS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
Setlocal | |
Pushd "%~dp0" | |
if %1 == 1 3dshaxclient --serveradr=192.168.1.16 "--customcmd=readmem:11kern 0xFFFC0468 0x4" | grep -o 0x[0-f]* | |
if %1 == 2 3dshaxclient --serveradr=192.168.1.16 "--customcmd=readmem:11kern 0xFFFC046C 0x4" | grep -o 0x[0-f]* | |
if %2 == 1 3dshaxclient --serveradr=192.168.1.16 "--customcmd=readmem:11kern 0xFFFC0568 0x4" | grep -o 0x[0-f]* | |
if %2 == 2 3dshaxclient --serveradr=192.168.1.16 "--customcmd=readmem:11kern 0xFFFC056C 0x4" | grep -o 0x[0-f]* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
Setlocal | |
Pushd "%~dp0" | |
REM MakeShot.bat <Top Format> <Bot Format> <Top Adr> <Bot Adr> <Background> | |
if "%1" == "RGB" 3dshaxclient --serveradr=192.168.1.16 "--customcmd=readmem:9 %3 0x46500 @TopLeftFB.bgr" | |
if "%2" == "RGB" 3dshaxclient --serveradr=192.168.1.16 "--customcmd=readmem:9 %4 0x38400 @BottomFB.bgr" | |
if "%1" == "RGB565" 3dshaxclient --serveradr=192.168.1.16 "--customcmd=readmem:9 %3 0x2EE00 @TopLeftFB.rgb565" | |
if "%2" == "RGB565" 3dshaxclient --serveradr=192.168.1.16 "--customcmd=readmem:9 %4 0x25800 @BottomFB.rgb565" | |
if "%1" == "RGB555" 3dshaxclient --serveradr=192.168.1.16 "--customcmd=readmem:9 %3 0x2EE00 @TopLeftFB.rgb555" | |
if "%2" == "RGB555" 3dshaxclient --serveradr=192.168.1.16 "--customcmd=readmem:9 %4 0x25800 @BottomFB.rgb555" | |
if "%1" == "RGBA" 3dshaxclient --serveradr=192.168.1.16 "--customcmd=readmem:9 %3 0x5DC00 @TopLeftFB.rgba" | |
if "%2" == "RGBA" 3dshaxclient --serveradr=192.168.1.16 "--customcmd=readmem:9 %4 0x4B000 @BottomFB.rgba" | |
if "%1" == "RGB" ImageMagick-6.9.1-3\convert -size 240x400 -depth 8 -rotate -90 TopLeftFB.bgr TopLeftFB.png | |
if "%2" == "RGB" ImageMagick-6.9.1-3\convert -size 240x320 -depth 8 -rotate -90 BottomFB.bgr BottomFB.png | |
if "%1" == "RGBA" ImageMagick-6.9.1-3\convert -size 240x400 -depth 8 -rotate -90 -channel RGBA -separate -reverse -combine TopLeftFB.rgba TopLeftFB.png | |
if "%2" == "RGBA" ImageMagick-6.9.1-3\convert -size 240x320 -depth 8 -rotate -90 -channel RGBA -separate -reverse -combine BottomFB.rgba BottomFB.png | |
if "%1" == "RGB565" ImageMagick-6.9.1-3\ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb565 -s 240x400 -i TopLeftFB.rgb565 -f image2 -vcodec png TopLeftFB.png | |
if "%1" == "RGB565" ImageMagick-6.9.1-3\convert -rotate -90 TopLeftFB.png TopLeftFB.png | |
if "%2" == "RGB565" ImageMagick-6.9.1-3\ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb565 -s 240x320 -i BottomFB.rgb565 -f image2 -vcodec png BottomFB.png | |
if "%2" == "RGB565" ImageMagick-6.9.1-3\convert -rotate -90 BottomFB.png BottomFB.png | |
if "%1" == "RGB555" ImageMagick-6.9.1-3\ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb555 -s 240x400 -i TopLeftFB.rgb555 -f image2 -vcodec png TopLeftFB.png | |
if "%1" == "RGB555" ImageMagick-6.9.1-3\convert -rotate -90 TopLeftFB.png TopLeftFB.png | |
if "%2" == "RGB555" ImageMagick-6.9.1-3\ffmpeg -vcodec rawvideo -f rawvideo -pix_fmt rgb555 -s 240x320 -i BottomFB.rgb555 -f image2 -vcodec png BottomFB.png | |
if "%2" == "RGB555" ImageMagick-6.9.1-3\convert -rotate -90 BottomFB.png BottomFB.png | |
ImageMagick-6.9.1-3\convert -append -gravity Center -background %5 TopLeftFB.png BottomFB.png out.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment