It's a bit hard to make sense of some of the things because it lacks punctuation... Anyway, here's my try at it
1.Get
http://s1mp3.de/ s1res_v30_win32_setup.exe
2.Run "import firmware", when the firmware gets calculated you should get a window with resources. Don't close s1res.
3.Get WinHex
4.Run tools ->open ram->s1res primary memory. With CTRL+A select all files, save as "Primary Memory".
5.In WinHex open Primary Memory CTRL+F two lines above SDK there should be a 55. Start seperating AA from 55 (including 55) to the end and save that as FWIMAGE.FW
6.Get s1fwx.exe from
http://s1mp3.de/
7.Make a catalog, for example make_fw
in it create catalogs bin and fw and inside the bin put the FWIMAGE.FW we got, and execute
s1fwx s FWIMAGE.FW >script.afi
s1fwx x FWIMAGE.FW >list.!!!
In the catalog bin you should have the extracted FWIMAGE.FW and the assembling script - script.afi.
8.Further in the make_fw catalog make a BAT - name it make.bat and put this in it:
cd .\bin
s1fwx a FWIMAGE.FW:fw <script>list.!!!
cd ..
copy .\bin\FWIMAGE.FW .\fw\FWIMAGE.FW
cd .\fw
s1fwx a FWIMAGE.bin:afi <script>list.!!!
cd ..
copy .\fw\FWIMAGE.bin .
del .\fw\FWIMAGE.bin
the BAT will collect the firmware in a pile (im guessing compile)
9.In FW's catalog, place the files needed to complete the whole firmware. You can take parts from other firmwares using EXTRACT.BAT with this in it and put it in the catalog make_fw:
md bin
md fw
copy %1 .\fw\%1
cd .\fw
s1fwx s %1 >script.afi
s1fwx x %1 >list.!!!
del %1
copy FWIMAGE.FW ..\bin\FWIMAGE.FW
cd ..
cd .\bin
s1fwx s FWIMAGE.FW >script.afi
s1fwx x FWIMAGE.FW >list.!!!
del FWIMAGE.FW
cd ..
10. A little trick - s1fwx.exe doesn't make the header properly for completely new firmwares. Therefore, after assembling the firmware you have to replace the header with the one that was in the FWIMAGE.FW we got. It's the first 512 bytes of the file, in the finished firmware it begins at the offset 0x37400.