Advertisement
atreyu187

Dreamcast Guides : Family Guy's Dual sorttxt BAT File

Dec 23rd, 2012
660
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.29 KB | None | 0 0
  1. "Do not save this in quotation marks, the rest download and save as a .BATXT to be used with Family Guy's Selfboot DATA/DATA pack v1.4 32-bit Edition 2012. Press CTRL+F to fine "GAMENAME" and replace with your desired games name. Say it is "Silver" just simply find all "GAMENAME" text and replace with "Silver" without quotation marks on any of the above. Save first sorttxt file for inner data portion up to LBA 45000 [65mb] if needed to make room on the disc for more game data. This method gives you a little more room using DATA/DATA format over the normal AUDIO/DATA [11700/11702 LBA] booting methods. Try and avoid using audio and video files in this area to ensure that the Dreamcast does not stutter as the inner side of the disc can't be accessed as fast the out portion, this includes but not limited to AFS,ADX,M1V,SFD,SFA,WMV,WMA,WAV,p04,p08, and p16 file formats. Once you have both of your sorttxt files and the correct files in the right folder use Dark Falaz sorttxt Indexer to fix the files LBA's to properly sort the files on disc in original or custom sorttxt (if needed), this helps cut down laser seek time and constant movement while giving a speed increase and taking it easy on your Dreamcast precious optical drive.
  2.  
  3. And please thank Family Guy for this as my "help of you want to call it took all of 3 minutes to add. I did however add the links to both Dreamcast rip databases I know of to help crack any extra protections as well as supporting dual sorttxt files. Now from here below should be saved as GAMENAME.bat not GAMENAME.txt and placed in the root of Family Guy's Selfboot pack v1.14 that cann be found hosted at this site.
  4.  
  5. http://shenmuesubs.sourceforge.net/download/addons/Selfboot_DATA_Pack_v1.3_by_FamilyGuy.rar
  6.  
  7. Also this tool also supports insertingr your own custom logo's into you newly made game by creating your own logo.mr using Logotools. Tools can be found using google, also a nice guide how to make your own can be found here as well.
  8.  
  9. http://www.dreamwell.pwp.blueyonder.co.uk/dcselfboot/database/obs/fix/ip/adx2/logo.htm
  10.  
  11. Till then have fun learning to hack Dreamcast games on your own with this awesome tool made for us the public by the Dreamcast legend Family Guy, BTW in case you are wondering WTF this is I will explain that as well. It retains the sort order of your choosing by using a second txt file. Takes a little work but tools make it a breeze and gives you an extra 65mb of space on a disc if needed. Anyhow on to making your own games.
  12.  
  13. ~legends Never Die [Dreamcast Scene 2012+]"
  14.  
  15. @ echo off
  16. title=FamilyGuy's SelfBootDATA Pack! - SELFBOOT v1.4 - All-32bit edition
  17. ECHO
  18. ECHO BAT script modifed for dual sortxt files by ~atreyu187
  19. ECHO.
  20. ECHO FG's SB DATA Pack! - SELFBOOT v1.4 - All-32bit edition
  21. echo.
  22. ECHO This .bat Will create a 45000LBA data/data
  23. ECHO backup from extracted files with no need
  24. ECHO to apply LBA hacks to the bins. However
  25. ECHO some non-LBA based copy protection might need
  26. ECHO to be cracked in order for the backup to works.
  27. ECHO GO to the DCRipping Database for a list of
  28. ECHO copy protections.
  29. ECHO http://www.bucanero.com.ar/dreamcast/ripdb/?
  30. ECHO.
  31. ECHO Put around 65 megs in the data1 folder and
  32. ECHO ALL the files in the data folder Duplicated
  33. ECHO files will be burnt only once.
  34. ECHO.
  35. ECHO You can add a 0.0 dummy file in data to accelarate
  36. ECHO loadings, it won't apear in the filesystem.
  37. ECHO.
  38. ECHO The ip.bin must be in the root folder.
  39. ECHO.
  40. ECHO FamilyGuy 2008 - 2012
  41. ECHO.
  42. ECHO Press any key to start ...
  43. Pause >nul
  44.  
  45. @IF not exist ip.bin goto ERROR
  46. @goto GO
  47.  
  48.  
  49. :ERROR
  50. @ echo.
  51. @ ECHO No ip.bin in the folder
  52. @ ECHO You should put the ip.bin in this folder.
  53. @ ECHO.
  54. @ pause >nul
  55. REM @ exit
  56.  
  57. :GO
  58.  
  59.  
  60. :ip.binhack
  61. ECHO.
  62. ECHO Running IP.BINHACK on the ip.bin ...
  63. ECHO.
  64. copy "Utilities\AUTO.BINHACK\bincon.exe" bincon.exe >nul
  65. copy "Utilities\AUTO.BINHACK\BINHACK.EXE" BINHACK.EXE >nul
  66. copy "Utilities\AUTO.BINHACK\cdda.exe" cdda.exe >nul
  67. copy "Utilities\AUTO.BINHACK\dahack.exe" dahack.exe >nul
  68. copy "Utilities\AUTO.BINHACK\SPLIT.EXE" SPLIT.EXE >nul
  69. copy "Utilities\AUTO.BINHACK\AUTO.BINHACK.bat" AUTO.BINHACK.bat >nul
  70. call AUTO.BINHACK.bat
  71. del bincon.exe >nul
  72. del BINHACK.EXE >nul
  73. del cdda.exe >nul
  74. del dahack.exe >nul
  75. del SPLIT.EXE >nul
  76. del AUTO.BINHACK.bat >nul
  77. ECHO.
  78. ECHO IP.HAK created !
  79.  
  80. if exist logo.png goto LOGO
  81. goto Data0
  82.  
  83. :LOGO
  84. ECHO.
  85. ECHO LOGO.PNG detected...
  86. copy "-=Isos=-\logoinsert.exe" logoinsert.exe >nul
  87. copy "-=Isos=-\pngtomr.exe" pngtomr.exe >nul
  88. copy "-=Isos=-\libpng.dll" libpng.dll >nul
  89. pngtomr logo.png logo.mr >nul
  90. ECHO LOGO.PNG converted into LOGO.MR
  91. logoinsert.exe logo.mr ip.hak >nul
  92. del logoinsert.exe
  93. del pngtomr.exe
  94. del libpng.dll
  95. del logo.mr
  96. ECHO LOGO.MR inserted in IP.HAK !
  97.  
  98. :Data0
  99. IF EXIST "sorttxt1.txt" goto SORT1
  100. goto Data1
  101.  
  102. :Data1
  103. Echo.
  104. Echo Building 1st session ...
  105. Echo ON
  106. @ ECHO.
  107. @ mkisofs -V GAMENAME -duplicates-once -hide 0.0 -l -o data1.iso data1
  108. @ ECHO.
  109. @ ECHO.
  110. @ ECHO.
  111. @ ECHO data1.iso | Fill.exe
  112. @ ECHO.
  113. @ ECHO.
  114. @ ECHO Done!
  115. @ ECHO.
  116. @ ECHO OFF
  117. GOTO KEEPON
  118.  
  119. :SORT1
  120. Echo.
  121. Echo Building 1st session ...
  122. ECHO.
  123. ECHO Sorttxt.txt detected ...
  124. ECHO ON
  125. @ ECHO.
  126. @ mkisofs -V GAMENAME -duplicates-once -hide 0.0 -l -sort sorttxt1.txt -o data1.iso data1
  127. @ ECHO.
  128. @ ECHO.
  129. @ ECHO.
  130. @ ECHO data1.iso | Fill.exe
  131. @ ECHO.
  132. @ ECHO.
  133. @ ECHO Done!
  134. @ ECHO.
  135. @ ECHO OFF
  136.  
  137. :KEEPON
  138. IF EXIST "sorttxt.txt" goto SORT2
  139. GOTO DATA2
  140.  
  141. :SORT2
  142. Echo.
  143. Echo Building 2de session ...
  144. ECHO.
  145. ECHO Sorttxt.txt detected ...
  146. ECHO ON
  147. @ ECHO.
  148. @ mkisofs -C 0,45000 -V GAMENAME -G ip.hak -M data1.iso -duplicates-once -l -sort sorttxt.txt -hide 0.0 -o data2.iso data
  149. @ ECHO.
  150. @ ECHO.
  151. @ ECHO Done!
  152. @ ECHO.
  153. @ ECHO OFF
  154. GOTO MERGE
  155.  
  156. :DATA2
  157. Echo.
  158. Echo Building 2de session ...
  159. ECHO ON
  160. @ ECHO.
  161. @ mkisofs -C 0,45000 -V GAMENAME -G ip.hak -M data1.iso -duplicates-once -l -hide 0.0 -o data2.iso data
  162. @ ECHO.
  163. @ ECHO.
  164. @ ECHO Done!
  165. @ ECHO.
  166. @ ECHO OFF
  167.  
  168. :Merge
  169. ECHO.
  170. ECHO Merging the isos ...
  171. ECHO.
  172. copy "-=Isos=-\NRG\leadin" leadin >nul
  173. copy "-=Isos=-\NRG\nrgheader" nrgheader >nul
  174. copy "-=Isos=-\NRG\nrgheader.exe" nrgheader.exe >nul
  175. copy /b leadin+data1.iso+data2.iso+nrgheader GAMENAME.nrg
  176. ECHO Hacking the nrgheader ...
  177. ECHO.
  178. ECHO GAMENAME.nrg | NRGHEADER
  179.  
  180. :clean
  181. ECHO Cleaning Files ...
  182. del nrgheader.exe >nul
  183. del del leadin >nul
  184. del nrgheader >nul
  185. del data1.iso >nul
  186. del data2.iso >nul
  187. del ip.hak
  188. ECHO.
  189. ECHO DONE !
  190.  
  191. ECHO.
  192. ECHO The backup is now done! Run it in NullDC (using DEAMON tools)
  193. ECHO or burn it to a disc to test it out! If it doesn't work,
  194. ECHO go to the Dreamcast Ripping DataBase to find if your
  195. ECHO game as a non-lba based copy protection.
  196. ECHO
  197. ECHO http://www.bucanero.com.ar/dreamcast/ripdb/
  198. ECHO
  199. ECHO http://bbs.chinaemu.org/read-htm-tid-73249-fpage-23-page-1.html (yzb's Chinese database)
  200. ECHO.
  201. ECHO Thanks to Xzyx987X for the nrgheader technique,
  202. ECHO ECHELON for the BINHACK program, M$ for bat files,
  203. ECHO Neoblast and Indiket for the Fill.exe program
  204. ECHO and Indiket for the NRGHEADER program !
  205. Echo.
  206. ECHO FamilyGuy 2012
  207. ECHO
  208. ECHO Edited for dual sortxt by atreyu187
  209. ECHO.
  210. ECHO Press any KEY to quit ...
  211. PAUSE >nul
  212. REM EXIT
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement