[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mrhayami:
New Code

Alright here are some edits, The 101MB RAM hack is automated when cooking now if you choose to enable it via the main menu. The UPX compression works however

use at your own risk

since some oem packages have folders named "*.exe" and this will mess them up, which is why I added the backup feature. The "More Tools" menu now works properly. I still have not figured out the LZX for this kitchen, and there may not be a way. I will keep trying and bring you updates if I can. So enjoy :3

NOTE: For the RAM hack to work you must download the files attached and place it in your "tools" folder adding the 101ram.xcs and overwriting the Create_ROM_For_Kaiser.bat.

@echo off
title Paradox Kitchen V.2.0.0
echo Paradox Kitchen V.2.0.0
echo Please Do No Redistribute this kitchen!
echo --------------------------------------
echo 1. Main Menu
echo 2. Donate
echo E. Exit
@set /P w=Please Select One:
@IF /I %w% equ E goto exit
@IF /I %w% equ 1 goto 3
@IF /I %w% equ 2 goto 4
:4
start iexplore http://tinyurl.com/ParadoxKaiserDonations
exit

:3
@cls
@echo Main Menu
@echo ---------------------------
@echo 1. Launch Kitchen
@echo 2. Launch Package Creator
@echo 3. Launch Pagepool Changer
@echo 4. Launch Auto UPX EXE Compressor (Brought to you by MrHayami)
@echo 5. Launch Auto 101MB RAM HACK (Brought to you by MrHayami)
@echo 6. Launch LZX Compression (does not work yet) ;(
@echo 7. Clean Kitchen Temp
@echo 8. More Tools
@echo 9. Kitchen Settings
@echo E. Exit
@echo ---------------------------

@set /P w=Please Select one:
@IF /I %w% equ E goto Exit
@IF /I %w% equ 1 goto A
@IF /I %w% equ 2 goto B
@IF /I %w% equ 3 goto C
@IF /I %w% equ 4 goto XX
@IF /I %w% equ 5 goto RAM
@IF /I %w% equ 6 goto LZX
@IF /I %w% equ 7 goto D
@IF /I %w% equ 8 goto E
@IF /I %w% equ 9 goto F

:A
cls
start Paradox_Kitchen.exe /max
echo Erasing Build OS logs for a fresh view
echo Working...
cd \Tools
del BuildosX-log.txt
del BuildosX-missed.txt
echo Done!
cls
echo When you have finished cooking the ROM
pause
echo Copying Kaisimg.nbh to Flash Folder. :)
echo Working...
cd tools\
XCOPY kaisimg.nbh "Flash\"
echo Done!
echo --------------------------------------
echo Congradulations Your ROM is now ready for flashing.
echo The ROM is located in the "Flash" Folder. Enjoy! :)
echo ---------------------------------------------------
cls
echo When you would like to flash?
echo 1. Flash Now
echo 2. Flash Later
@set /P w=Select One:
@IF /I %w% equ 1 goto Flash
@IF /I %w% equ 2 goto Exit
:Flash
cd Flash/
start KaiserCustomRUU.exe
exit
:Exit
exit

:B
start Tools\PackageTools\package-creator-v2.7.exe
goto 3

:C
start Tools\PagePool1.exe
goto 3

:D
cd
echo Working...
del /Q /F temp
Done!

:E
cls
echo More Tools
echo ---------------------------
cd tools
echo 1. Splash Image Converter
echo 2. M'Reloc
echo 3. HTC ROM Tool
echo 4. Dutty's NBHtool
echo 5. XDA Page Poolpatcher
echo 6. PKG Tool
echo 7. NBH Utility
echo 8. Super Text Editer
echo 9. XIP Port
echo 10. XIP Tools
echo 11. Hex Editer
echo 12. DSM Builder
echo 13. GUID Generator
echo 14. QuickCAB
echo 15. OEMizer
echo 16. MS Signer
echo 17. UPX EXE Compressor
echo M. Main Menu
echo E. Exit
@set /P w=Select One:

IF /I %w% equ M goto 3
IF /I %w% equ 1 goto AA
IF /I %w% equ 2 goto BB
IF /I %w% equ 3 goto CC
IF /I %w% equ 4 goto DD
IF /I %w% equ 5 goto EE
IF /I %w% equ 6 goto FF
IF /I %w% equ 7 goto GG
IF /I %w% equ 8 goto HH
IF /I %w% equ 9 goto II
IF /I %w% equ 10 goto JJ
IF /I %w% equ 11 goto KK
IF /I %w% equ 12 goto LL
IF /I %w% equ 13 goto MM
IF /I %w% equ 14 goto NN
IF /I %w% equ 15 goto OO
IF /I %w% equ 16 goto MS
IF /I %w% equ 17 goto UX
IF /I %w% equ E goto Exit

:AA
cd Splashtool/
start nb_image_converter.exe
exit
:BB
cd tools/
start M'Reloc.exe
exit
:CC
cd tools/
start htcrt.exe
exit
:DD
cd tools/
start nbhtool.exe
exit
:EE
cd tools/
start PagePoolPatcherv1.4.3.exe
exit
:FF
cd tools/
start PKGTool.exe
exit
:GG
cd tools/
start NBHUtil.exe
exit
:HH
cd tools/
start SuperEdi.exe
exit
:II
cd tools/
start XIPPort.exe
exit
:JJ
cd tools/
start XIPTools.exe
exit
:KK
cd Tools/
start XVI32.exe
exit
:LL
cd PackageTools/
start DSMBuilder.exe
exit
:MM
cd packagetools/
start GUIDGen.EXE
exit
:NN
cd packagetools/
start QuickCab.exe
exit
:OO
cd packagetools/
start OEMizer.exe
exit
:MS
cd msigner/
start siggner.exe
exit
:UX
cd tools/
start upx.exe
exit

:F
cls
echo Kitchen Options
echo -----------------
echo 1. Kitchen Folder Views
echo M. Main Menu
echo E. Exit
@set /P w=Select One:
@echo 1. Folder Options
@echo M. Main Menu
@echo 0. Exit
@IF /I %w% equ 1 goto FolderOP
@IF /I %w% equ E goto Exit
@IF /I %w% equ M goto 3

:FolderOP
cls
echo Kitchen Folder Views
echo ------------------
echo 1. Hide Temp
echo 2. Show Temp
echo 3. Hide Tools
echo 4. Show Tools
echo 5. Hide OEM
echo 6. Show OEM
echo 7. Hide ROM
echo 8. Show ROM
echo 9. Hide SYS
echo 10. Show SYS
echo 11. Hide Packages
echo 12. Show Packages
echo M. Main Menu
echo E. Exit
@set /P w=Select One:

@IF /I %w% equ 1 goto HideTEMP
@IF /I %w% equ 2 goto ShowTEMP

@IF /I %w% equ 3 goto HideTools
@IF /I %w% equ 4 goto ShowTools

@IF /I %w% equ 5 goto HideOEM
@IF /I %w% equ 6 goto ShowOEM

@IF /I %w% equ 7 goto HideROM
@IF /I %w% equ 8 goto ShowROM

@IF /I %w% equ 9 goto HideSYS
@IF /I %w% equ 10 goto ShowSYS

@IF /I %w% equ 11 goto HidePKG
@IF /I %w% equ 12 goto ShowPKG

@IF /I %w% equ E goto EXIT
@IF /I %w% equ M goto 3
:HideTEMP
ATTRIB +H temp
FolderOP
:ShowTEMP
ATTRIB -H temp
FolderOP
:HideTools
ATTRIB +H tools
FolderOP
:ShowTools
ATTRIB -H tools
FolderOP
:HideOEM
ATTRIB +H OEM
FolderOP
:ShowOEM
ATTRIB -H OEM
FolderOP
:HideROM
ATTRIB +H ROM
FolderOP
:ShowROM
ATTRIB -H ROM
FolderOP
:HideSYS
ATTRIB +H SYS
FolderOP
:ShowSYS
ATTRIB -H SYS
FolderOP
:HidePKG
ATTRIB +H Packages
FolderOP
:ShowPKG
ATTRIB -H Packages
FolderOP
:EXIT
exit

:XX
cls
echo UPX Compression Options
echo ------------------
echo Would you like to create a Backup?
echo 1. Yes
echo 2. No
echo M. Main Menu
echo E. Exit
echo ------------------
@set /P w=Select one:
@IF /I %w% equ 1 goto UPXBKP
@IF /I %w% equ 2 goto UPXNBKP
@IF /I %w% equ 0 goto 3
@IF /I %w% equ 3 goto 3
@IF /I %w% equ M goto 3
@IF /I %w% equ E goto EXIT

:UPXBKP
@echo off
echo
echo CREATING BACKUP of OEM in "OEM_BACKUP" FOLDER...
echo Cleaning BACKUP directory...Now Creating/Overwriting
rmdir /S OEM_BACKUP
mkdir OEM_BACKUP
echo Copying OEM directory to OEM_BACKUP directory...
attrib /S "OEM\*.*" -S -H -A
xcopy /Q /E "OEM" "OEM_BACKUP"
echo Compressing files...
attrib /S /D "OEM\*.*" -R
FOR /R ".\OEM\" %%X IN (*.exe) DO TOOLS\upx -qq --brute "%%X"
echo Files have been Compressed!
attrib /S /D "OEM\*.*" +R
pause
rmdir /S Packages_BACKUP
mkdir Packages_BACKUP
echo Copying Packages directory to Packages_BACKUP directory...
attrib /S "Packages\*.*" -S -H -A
xcopy /Q /E "Packages" "Packages_BACKUP"
echo Compressing files...
attrib /S /D "Packages\*.*" -R
FOR /R ".\Packages\" %%X IN (*.exe) DO TOOLS\upx -qq --brute "%%X"
echo Files have been Compressed!
attrib /S /D "Packages\*.*" +R
echo
pause
cls
Goto 3

:UPXNBKP
echo Compressing files in OEM...
attrib /S /D "OEM\*.*" -R
FOR /R ".\OEM" %%X IN (*.exe) DO TOOLS\upx -qq --brute "%%X"
echo Files have been Compressed!
attrib /S /D "OEM\*.*" +R
echo
echo Compressing files in Packages...
attrib /S /D "packages\*.*" -R
FOR /R ".\packages" %%X IN (*.exe) DO TOOLS\upx -qq --brute "%%X"
echo Files have been Compressed!
attrib /S /D "packages\*.*" +R
echo
pause
cls
Goto 3

:RAM
cls
echo 101.32MB RAM Hack Options
echo ------------------
echo Would you like to use 101MB RAM Hack?
echo 1. Yes
echo 2. No
echo M. Main Menu
echo E. Exit
echo ------------------
@set /P w=Select one:

@IF /I %w% equ 1 goto 101HACK
@IF /I %w% equ 2 goto 3
@IF /I %w% equ M goto 3
@IF /I %w% equ E goto EXIT

:101HACK
cls
@echo off
echo Working...
set rhack= ..\TOOLS\XVI32.exe ..\temp\OS.nb.payload /S=..\TOOLS\101RAM.xsc
echo Processing Complete!!
pause
cls
color E
echo (WARNING: This Will only effect this current session, if the window is closed and reopened to cook you will have to choose this setting again.)
pause
cls
color 7
echo Start Cooking?
echo ------------------
echo 1. Yes
echo 2. No, Back to Main Menu
echo ------------------
@set /P w=Select one:

@IF /I %w% equ 1 goto A
@IF /I %w% equ 2 goto 3

:LZX
echo Sorry not operational
pause
Goto 3

===============================

P.S. added some loops since I didnt like being kicked out of the kitchen everytime I changed the folder to hidden or not and so on...

===============================

View attachment 101RAM.zip

View attachment Create_ROM_For_Kaiser.zip