This tutorial will mock my exact method of updating the missionlist.lua inside of shell.lvl but you may apply to this your own files/scripts.
First make sure you have 2 or 3 copies of your current file available you will be editing, for me; an original shell.lvl from the PSP version.
We begin by using mod tools and setup a new shell and munge it. Copy Shell folder from assets to data_PSP. Inside data_PSP\Shell\Scripts I make my desired edits, save changes to the missionlist.lua and close it. I go to _build folder, edit munge.bat and change munge_platform from pc to ps2 (You don't need to do this part unless you're modding a console version of swbf2)
For PC modders just run regular visualmunge and make sure you check "Shell" and click munge.
When the munge completes, take your new shell.lvl and open it inside of a hex editor, and open the original shell.lvl in hex editor too. Too avoid any possible confusion, rename the newly munged shell.lvl something else, we aren't going to be using this file anyway.
So now in hex editor, I have open old shell.lvl and new shell.lvl.
In the old shell.lvl, I will find the location where missionlist.lua begins. It looks like this:
Hidden/Spoiler:
Like so:
Hidden/Spoiler:
Open up notepad, and paste and temporarily save that bit of data. We'll be using it again.
Next put your cursor just behind scr_ and click and drag downward slowly until your cursor reaches the next occurrence of scr_
What we're doing here is highlighting the entire data that runs missionlist.lua. The next script in the file is ifs_sp.lua, so stop copying right before the next scr_ like so:
Hidden/Spoiler:
Top:
Hidden/Spoiler:
Hidden/Spoiler:
In the new file, go to where missionlist.lua begins, my new one looks like this:
Hidden/Spoiler:
Like so:
Hidden/Spoiler:
Now, switch back over to the old file and paste that data, it should look like this:
Hidden/Spoiler:
Hidden/Spoiler:
But WAIT! There is a huge thing I must alert you about before anyone may use this. I didn't exactly know where to add this in the tutorial.
The new script you're making must be smaller than the script you're replacing.
WHY: If your new script is too big, it will replace parts of the next script in the lvl file and corrupt the file, and probably crash your game.
In my specific work, I removed all of the "attract mode maps" gibberish from missionlist.lua. This code seems to serve no purpose and cleared a a good amount of space allowing the new script to become smaller.. So, here is another snapshot of what my ending, new file looks like:
Hidden/Spoiler:
I hope this can help some body some where in the future. This helped me tons in my quest.


