Quote:
Originally Posted by joojoobee666
If you want to have your kitchen do this for you, you should configure your batch file to do it BEFORE the NBH is built. Alternatively, you can use the attached batch file on that post. Put it in your "Send To" folder for your user profile, then you can right click on your SYS folder and "Send To" that batch file.
|
Dear JooJoo,
Actually, my tool built a .DAT file and not a .NBH file. Should I configure the batch that create the .DAT file?
I have 2 main batch here files but I don't know which of them should I change, so I will paste here and I kindly ask your help to figure out about where I have to add your fixing lines.
Batch BuildOs.bat:
@echo off
SET ALL=1
del ROM\out.bin
del imgfs.bin
del xip.bin
rmdir /S /Q temp
echo.
echo Creating 'dump' folder...
TOOLS\BuildOS.exe -auto
echo.
echo Done!
REM ================================================== =========================================
echo.
CD ROM
..\TOOLS\buildxip.exe -b
if not "%errorlevel%"=="0" goto error
CD..
REM ================================================== =========================================
echo.
TOOLS\G'Reloc.exe -doit -dump
if not "%errorlevel%"=="0" goto error
REM ================================================== =========================================
echo.
TOOLS\all_packages_to_one
del buildpkg.wrn
cd temp
..\TOOLS\ImgfsFromDump ..\IN\imgfs.bin ..\imgfs.bin
cd ..
cd TOOLS
srpxtool.exe -c ..\IN\xip.srpx ..\ROM\out.bin ..\xip.bin
cd ..
pause
goto :EOF
:error
echo.
echo ERROR! (errorlevel: %errorlevel%)
pause
Batch CreateDat.bat:
java -classpath "etentool.jar" home.kva.FatTool -c -re -ri ROM/OS/os.fat
java -classpath "etentool.jar" home.kva.OsTool -c ROM/os.dat
java -classpath "etentool.jar" home.kva.RomTool -c temp_new.dat
pause
Exit
Please, help me.
Thx,
Erick