Skip to content

Productivity Tips

BAD-AL edited this page Jan 17, 2021 · 1 revision

Customize UnleashX Interface (OG XBOX)

If you are using UnleashX as your dashboard it can be easily customized by editing the 'Config.xml' located at "/C/Config.xml".

I've updated the 'Menu' portion of mine to add the item:

    <Menu>
    ...
		<List Text="SWBFII" Sort="On" Auto="On">
			<Path>F:\Games\StarWarsBattlefront2</Path>
			<Path>E:\Apps\SWBF2_DLC_Installer</Path>
		</List>
    ...

This gives me easy access to my Game and the current installer of the mod I'm working on.

Automate the FTP copy file process

I'm using WinSCP on my machine because it's awesome. It also supports a script interface(and yes, it's better than the standard ftp windows program; IMO).

In my '_XLAST' directory, I have a WinSCP script ('CopyToXboxScript.winscp.txt') that copies the mod files over to the installer directory and deletes the DLC content from the 'TDATA' folder. It looks like:

open ftp://xbox:xbox@192.168.1.158/
# need to be at the same level as the XLAST generated 'Offline' folder 
# lcd = 'Local Change Directory'
lcd .\Offline
# cd = 'Change to this directory on the remote computer'
cd /E/Apps/SWBF2_DLC_Installer/content/$c/4c41001a00000024
put *
cd /E/TDATA/4c41001a/$c
# rmdir xxx = 'Remove the xxx Remote Directory'
rmdir 4c41001a00000024
exit
# Execute the script using a command like:
# "C:\Program Files (x86)\WinSCP\WinSCP.exe" /log="C:\writable\path\to\log\WinSCP.log" /ini=nul /script="C:\path\to\script\script.txt"

And it's called from a batch script 'CopyToXbox.bat'

:: Use WinScp to transfer files to XBOX 
:: Delete the previous log 
del WinScp.log 
:: execute the script (I didn't see an option to just print to the terminal, so the output goes to the WinSCP.log file)
"C:\Program Files (x86)\WinSCP\WinSCP.exe" /log=".\WinSCP.log" /ini=nul /script=".\CopyToXboxScript.winscp.txt"
:: Show the user the results of the operation
type WinScp.log 

Clone this wiki locally