@echo off :: ############################################################################### :: # :: # Copyright (C) 2009-2013 Nintendo. All rights reserved. :: # :: # These coded instructions, statements, and computer programs contain :: # proprietary information of Nintendo of America Inc. and/or Nintendo :: # Company Ltd., and are protected by Federal copyright law. They may :: # not be disclosed to third parties or copied or duplicated in any form, :: # in whole or in part, without the prior written consent of Nintendo. :: # :: ############################################################################### setlocal call getbridgetype.bat set BRIDGE_TOOLS_VER= set FW_VER= set FPGA_VER= if "%BRIDGE_TYPE"=="Toucan" ( echo. set BRIDGE_TYPE=Toucan for /F "usebackq tokens=1,3 delims=: " %%i IN (`"%SDIO_BRIDGE_TOOLS%\FSEmul" -ver -ip %BRIDGE_CURRENT_IP_ADDRESS%`) DO ( if /I "%%i"=="firmware" set FW_VER=%%j if /I "%%i"=="software" set BRIDGE_TOOLS_VER=%%j ) ) else ( echo. set BRIDGE_TYPE=MION for /F "usebackq tokens=1,3 delims=: " %%i IN (`"%MION_BRIDGE_TOOLS%\FSEmul" -ver -ip %BRIDGE_CURRENT_IP_ADDRESS%`) DO ( if /I "%%i"=="firmware" set FW_VER=%%j if /I "%%i"=="software" set BRIDGE_TOOLS_VER=%%j if /I "%%i"=="fpga" set FPGA_VER=%%j ) ) echo Bridge Type : %BRIDGE_TYPE% echo Platform : %PLATFORM% echo Bridge PC Tools : %BRIDGE_TOOLS_VER% echo Bridge Firmware : %FW_VER% if DEFINED FPGA_VER ( echo Bridge FPGA : %FPGA_VER% )