Advertisement
atreyu187

Dreamcast Guides : Echelon Selfboot

Nov 12th, 2012
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.79 KB | None | 0 0
  1. __|_____ _________________________________________________________|__
  2. | .|
  3. : _ ___ _________ - E C H E L O N - .::|
  4. ___ ________ _______ __ / ___ ________________ _________ _________
  5. _____ \/ _/ / _/___ _____ \ /_/ _ \__\ _ \
  6. _/ / _/ | / \_/ / // / _____ / / / //
  7. // ____// |_// / // _____/ _/_/ // / / /
  8. \_________\_________/_____/_____/\_________/\____\______/_____/_____/_____/
  9. -rtx/art
  10. __|_________________________________________________________ _____|__
  11.  
  12. Dreamcast Self-Boot Tutorial - (C) Echelon 2000!
  13. ------------------------------------------------
  14.  
  15. Introduction:
  16. -------------
  17.  
  18. Since we find it a bit stupid to re-release nearly 200 DC titles over again,
  19. and waste the bandwidth of FTP's and end-users, We thought we would release
  20. a tutorial & toolset with which you can convert all of your old Utopia loader
  21. games to the newer self-boot format.
  22.  
  23. Limitations:
  24. ------------
  25.  
  26. Self-Boot and Multisession code requires 3 Minutes of Overhead on the CD
  27. you are burning. So, if you are burning to an 80 Minute CD, Your data
  28. must be approximately 77 Minutes, If you are burning to a 74 Minute CD,
  29. Your data must be approximately 71 Minutes. If the data is over this
  30. size, Your burn will fail. Many end-users claimed they could easily rip
  31. games and downsize them, but didn't know to read in GD-ROMs. So here is
  32. your chance to prove your theories, Go ahead and rip down the games you
  33. are trying to burn by 3 Minutes if they are Full CDs.
  34.  
  35. Tutorial for games without CDDA:
  36. --------------------------------
  37.  
  38. 1) Make a directory on your hard-disk called "selfboot"
  39.  
  40. 2) UnZIP this whole file (E-SELFBT.ZIP) to the directory.
  41.  
  42. 3) Download Win32 Binaries for CDRECORD & MKISOFS from:
  43.  
  44. ftp.fokus.gmd.de/pub/unix/cdrecord/alpha/win32/cdrtools-1.9a03-win32-bin.zip
  45.  
  46. 4) Unzip the file (cdrtools-1.9a03-win32-bin.zip) to the directory you made
  47. on your hard disk earlier called "selfboot".
  48.  
  49. 5) Insert the Utopia Boot-CD version of the game into your CD-ROM drive,
  50. Copy over the IP.BIN and 1ST_READ.BIN from the CD over to the "selfboot"
  51. directory on your hard disk.
  52.  
  53. (Note 1: IP.BIN cannot be found on Accession releases, therefore Accession
  54. releases cannot be made self-boot from this method.)
  55.  
  56. (Note 2: 1ST_READ.BIN might not be the exact name of the boot filename, If
  57. you want to check what the boot filename really is on some games, open up
  58. IP.BIN in a hex or text editor. Look on the top, It should say something
  59. similar to: "V.001XXXXXXXX BLAH.BIN". If it says this, That means that
  60. BLAH.BIN is the boot-filename, and this is the file that you should copy
  61. over. If the game is using WinCE this filename will be 0WINCEOS.BIN.
  62. This file will be referred to as BOOT.BIN from here-on. Please make sure
  63. you don't think that BOOT.BIN is an actual file, It is just a alias as
  64. this file can be named many things.)
  65.  
  66. 6) OK, So now in your "selfboot" directory, you should have this tutorial
  67. unzipped, cdrecord and all related cdrecord tools, and you should also
  68. have copied over the IP.BIN and BOOT.BIN from the game that you
  69. are working on.
  70.  
  71. 7) Make a subdirectory called "data" inside your "selfboot" directory
  72. and copy ALL game data files from the Utopia-BootCD game into this
  73. directory. Also, delete the file IP.BIN from the "data" directory if
  74. you already have it in the root of your "selfboot" tree. Also delete
  75. the BOOT.BIN (generally 1ST_READ.BIN) from your data tree if
  76. you have already put this file in the root of your "selfboot" tree.
  77.  
  78. (Note: All files that you copy from a CD will have Read-Only attributes,
  79. You must take these off before continuing.)
  80.  
  81. 8) Now, you have 2 ways of achieving the same thing for this step, I will
  82. go over both ways and you can choose whichever you want. To start off
  83. for both methods, insert a blank disk into your CD-Recorder.
  84.  
  85. 1) CDRWIN Method:
  86.  
  87. a) Fire up CDRWIN.
  88. Goto the first icon on the top left: "Record Disc"
  89. b) Click the icon in the top right corner: "Load tracks"
  90. c) Click add, then choose the file AUDIO.RAW in your "selfboot"
  91. dir. This file was included in the E-SELFBT.ZIP archive.
  92. d) Click the tab "Open New Session" near the bottom.
  93. e) Burn this CD.
  94.  
  95. 2) CDRECORD Method:
  96.  
  97. a) If your CD-Recorder cannot use the "Open New Session" option
  98. in CDRWIN, You have one more way to do it, that may or may not
  99. work.
  100. b) In the "selfboot" directory you should have the cdrecord toolset
  101. unzipped. You should see files such as cdrecord.exe, mkisofs.exe,
  102. and cygwin1.dll.
  103. c) Run the following command from a DOS Prompt:
  104. cdrecord -scanbus
  105. d) This should show you a list of CD-ROM and CD-Recorder units installed
  106. in your system. Look for your CD-Recorder and find the SCSI Bus ID#.
  107. It will be in format x,x,x. It will also be referred to as x,x,x for
  108. the rest of this tutorial.
  109. e) In your "selfboot" directory, run the following command to record
  110. the 1st session of the disk:
  111.  
  112. cdrecord -dev=x,x,x -multi -audio audio.raw
  113.  
  114. You can optionally include "speed=x" after -audio, Where x is the
  115. maximum speed that your CD-Recorder can record at.
  116.  
  117. 9) OK, Now that you have the first session burned, it's time to move onto
  118. the second. This is the crucial part so make sure you pay attention and
  119. follow things closely. You should already have all game data files in the
  120. subdirectory "data", except for BOOT.BIN and IP.BIN.
  121.  
  122. 10) Read over the CDRECORD burn instructions. Find out the SCSI Bus ID# of
  123. your CD-Recorder If you have not done so already. Run the following
  124. command:
  125.  
  126. cdrecord -dev=x,x,x -msinfo
  127.  
  128. It will spit out a number in the form x,y. Normal values are 0,11700 or
  129. 0,11702 for a CD which only has AUDIO.RAW burned on the 1st session.
  130.  
  131. 11) Run a DOS Prompt and goto your "selfboot" directory, You should have
  132. an executable there called "BINHACK.EXE". In addition you should have
  133. the BOOT.BIN (generally called 1ST_READ.BIN) and IP.BIN in this
  134. directory.
  135.  
  136. Run the program BINHACK.EXE. When it prompts you for the Binary
  137. file to modify, Pick the BOOT.BIN. If it detects that the BOOT.BIN
  138. is a Windows CE Exectuable (0WINCEOS.BIN), It will not modify the
  139. 0WINCEOS.BIN. If it detects that this Executable is a normal
  140. Katana Executable, It will ask you for the the -msinfo number that
  141. CDRECORD gave you in the last step. It will then modify the
  142. BOOT.BIN according to the number that cdrecord -msinfo gave you.
  143. Next, It will ask you for the filename of the Bootsector. Here,
  144. you should input IP.BIN. It will hack the IP.BIN for self-boot
  145. purposes.
  146.  
  147. (Side Note: Only input the 2nd Number that MSINFO gave you,
  148. Ex. If it gave you: 0,163012, Input 163012 when BINHACK prompts
  149. you for the MSINFO number.)
  150.  
  151. 12) Once the changes are made with BINHACK.EXE to the BOOT.BIN file, Copy
  152. the BOOT.BIN over to the "data" directory's root. Please make sure
  153. that you did not rename the file to actually be called BOOT.BIN.
  154. It should still be called the original filename that you found out
  155. from Step 5.
  156.  
  157.  
  158. 13) Now, you should have in your "data" directory, All game data files,
  159. including BOOT.BIN, But it should not have IP.BIN. If you want to
  160. dummy this CD, You must make a dummy now. You must make a normal
  161. file dummy. Name this dummy "000DUMMY.DAT" and place it into the
  162. "data" directory. Please note the overhead limitations of
  163. Multi-Session & Self-Booting that were mentioned at the beginning
  164. of the tutorial, and size your dummy accordingly. Your next step
  165. is to run MKISOFS and make a ISO out of these files. Run the
  166. following command while you are in your "selfboot" root directory:
  167.  
  168. mkisofs -C x,y -V ECHELON -l -o data.iso data
  169.  
  170. "x,y" should be the numbers outputted to you from cdrecord -msinfo
  171. earlier.
  172.  
  173. 14) Run "IPINS.EXE" from the "selfboot" directory, In a DOS Prompt.
  174. It will prompt you for the Bootsector filename, Choose IP.BIN.
  175. It will then prompt you for the ISO filename, Choose the file
  176. "data.iso" which you just generated in the last step. It will
  177. patch IP.BIN as the bootsector on data.iso.
  178.  
  179. 15) You should now have a fairly large sized data.iso file sitting in
  180. your "selfboot" directory tree now. It is time to burn this file.
  181. You should still have the disk you burned the audio session to
  182. earlier inserted in your CD-Recorder. You can do this with
  183. either CDRWIN or CDRECORD, Just as the Audio Session Burning.
  184.  
  185. 1) CDRWIN Method
  186.  
  187. a) Fire up CDRWIN.
  188. b) Click the 2nd Icon from the Top Left: "File Backup and Tools".
  189. c) For Backup Tool/Operation: Select "Record an ISO9660 Image File".
  190. d) For Image Filename, Choose data.iso in your "selfboot" directory.
  191. e) Under Recording Options, Select your CD-Recorder. Check the
  192. following options accordingly:
  193.  
  194. Disc Type: CDROM-XA
  195. Track Mode: MODE2
  196. SPEED: Whatever You Want
  197. Finalize/Close Session: Yes
  198. Write Postgap: Yes
  199. Open New Session: No
  200. Test Mode: No
  201. Verify Recorded Image: No
  202.  
  203. f) Click the start button and you are burning.
  204.  
  205. 2) CDRECORD Method
  206.  
  207. a) In the "selfboot" directory you should have the cdrecord toolset
  208. unzipped. You should see files such as cdrecord.exe, mkisofs.exe,
  209. and cygwin1.dll.
  210. b) Run the following command from a DOS Prompt:
  211. cdrecord -scanbus
  212. c) This should show you a list of CD-ROM and CD-Recorder units installed
  213. in your system. Look for your CD-Recorder and find the SCSI Bus ID#.
  214. It will be in format x,x,x.
  215. d) In your "selfboot" directory, run the following command to record
  216. the 2nd session of the disk:
  217.  
  218. cdrecord -dev=x,x,x -xa1 data.iso
  219.  
  220. You can optionally include "speed=x" after -audio, Where x is the
  221. maximum speed that your CD-Recorder can record at.
  222.  
  223. 16) You are done! Eject the disk and try it in your Dreamcast.
  224.  
  225. Tutorial for games with CDDA:
  226. -----------------------------
  227.  
  228. 1) Make a directory on your hard-disk called "selfboot"
  229.  
  230. 2) UnZIP this whole file (E-SELFBT.ZIP) to the directory.
  231.  
  232. 3) Download Win32 Binaries for CDRECORD & MKISOFS from:
  233.  
  234. ftp.fokus.gmd.de/pub/unix/cdrecord/alpha/win32/cdrtools-1.9a03-win32-bin.zip
  235.  
  236. 4) Unzip the file (cdrtools-1.9a03-win32-bin.zip) to the directory you made
  237. on your hard disk earlier called "selfboot".
  238.  
  239. 5) Insert the Utopia Boot-CD version of the game into your CD-ROM drive,
  240. Copy over the IP.BIN and 1ST_READ.BIN from the CD over to the "selfboot"
  241. directory on your hard disk.
  242.  
  243. (Note 1: IP.BIN cannot be found on Accession releases, therefore Accession
  244. releases cannot be made self-boot from this method.)
  245.  
  246. (Note 2: 1ST_READ.BIN might not be the exact name of the boot filename, If
  247. you want to check what the boot filename really is on some games, open up
  248. IP.BIN in a hex or text editor. Look on the top, It should say something
  249. similar to: "V.001XXXXXXXX BLAH.BIN". If it says this, That means that
  250. BLAH.BIN is the boot-filename, and this is the file that you should copy
  251. over. If the game is using WinCE this filename will be 0WINCEOS.BIN.
  252. This file will be referred to as BOOT.BIN from here-on.
  253.  
  254. 6) OK, So now in your "selfboot" directory, you should have this tutorial
  255. unzipped, cdrecord and all related cdrecord tools, and you should also
  256. have copied over the IP.BIN and BOOT.BIN from the game that you
  257. are working on.
  258.  
  259. 7) Make a subdirectory called "data" inside your "selfboot" directory
  260. and copy ALL game data files from the Utopia-BootCD game into this
  261. directory. Also, delete the file IP.BIN from the "data" directory if
  262. you already have it in the root of your "selfboot" tree. Also delete
  263. the BOOTFILENAME.BIN (generally 1ST_READ.BIN) from your data tree if
  264. you have already put this file in the root of your "selfboot" tree.
  265.  
  266. (Note: All files that you copy from a CD will have Read-Only attributes,
  267. You must take these off before continuing.)
  268.  
  269. 8) Make a subdirectory called "cdda" inside your "selfboot" directory
  270. tree. Fire up CDRWIN and click the Middle Icon on the top row
  271. called "Extract Disc/Tracks/Sectors". Choose your CD Reader in which
  272. the original Utopia Boot-CD Game is inserted. Choose the Select Tracks
  273. option at the top. As you will see in the Track Selection box at
  274. the left, Audio tracks are represented by Red Circles. Click on Tracks
  275. 2 - X, where X is the last CDDA track. As you click on them they should
  276. be outlined in black. For image filename input: "C:\selfboot\cdda\track",
  277. Where C:\selfboot\cdda is the "cdda" directory inside your "selfboot"
  278. tree.
  279.  
  280. 9) The above step should have read in CDDA tracks 2 -> End and placed them
  281. as WAV files named trackxx.wav inside your "cdda" directory. They should
  282. start with track02.wav and go up to trackxx.wav where xx is the last
  283. CDDA track on the CD.
  284.  
  285. 10) Open up a DOS Prompt and switch to your "cdda" directory. Type in the
  286. following command:
  287.  
  288. copy track03.wav track01.wav
  289.  
  290. After doing this, You should have generated Tracks 1 - 3, You should
  291. now have 3 4-second dummy tracks as Tracks 1 - 3, and have real CDDA
  292. from 4 -> End.
  293.  
  294. 11) Now, you have 2 ways of achieving the same thing for this step, I will
  295. go over both ways and you can choose whichever you want. To start off
  296. for both methods, insert a blank disk into your CD-Recorder.
  297.  
  298. 1) CDRWIN Method:
  299.  
  300. a) Fire up CDRWIN.
  301. Goto the first icon on the top left: "Record Disc"
  302. b) Click the icon in the top right corner: "Load tracks"
  303. c) Click add, then choose ALL trackxx.wav files in your "cdda"
  304. directory. Arrange them in order so they go from track01.wav
  305. to the end. Click OK to add them to your disc layout.
  306. d) Click the tab "Open New Session" near the bottom.
  307. e) Burn this CD.
  308.  
  309. 2) CDRECORD Method:
  310.  
  311. a) If your CD-Recorder cannot use the "Open New Session" option
  312. in CDRWIN, You have one more way to do it, that may or may not
  313. work.
  314. b) In the "selfboot" directory you should have the cdrecord toolset
  315. unzipped. You should see files such as cdrecord.exe, mkisofs.exe,
  316. and cygwin1.dll.
  317. c) Run the following command from a DOS Prompt:
  318. cdrecord -scanbus
  319. d) This should show you a list of CD-ROM and CD-Recorder units installed
  320. in your system. Look for your CD-Recorder and find the SCSI Bus ID#.
  321. It will be in format x,x,x. It will also be referred to as x,x,x for
  322. the rest of this tutorial.
  323. e) In your "selfboot" directory, run the following command to record
  324. the 1st session of the disk:
  325.  
  326. cdrecord -dev=x,x,x -multi -audio \cdda\track01.wav \cdda\track02.wav etc.
  327.  
  328. Continue going with your track list until you have input all tracks
  329. in order. If this whole command does not fit into your DOS Prompt,
  330. make a batch file with this long command and run the batch file.
  331.  
  332. You can optionally include "speed=x" after -audio, Where x is the
  333. maximum speed that your CD-Recorder can record at.
  334.  
  335. 12) OK, Now that you have the first session (CDDA) burned, it's time to move onto
  336. the second. This is the crucial part so make sure you pay attention and
  337. follow things closely. You should already have all game data files in the
  338. subdirectory "data", besides the BOOT.BIN and IP.BIN.
  339.  
  340. 13) Read over the CDRECORD burn instructions. Find out the SCSI Bus ID# of
  341. your CD-Recorder If you have not done so already. Run the following
  342. command:
  343.  
  344. cdrecord -dev=x,x,x -msinfo
  345.  
  346. It will spit out a number in the form x,y. Values differ enormously
  347. for games that have different amounts of CDDA burned to the first
  348. session. Make sure you get the correct value.
  349.  
  350. 14) Run a DOS Prompt and goto your "selfboot" directory, You should have
  351. an executable there called "BINHACK.EXE". In addition you should have
  352. the BOOT.BIN (generally called 1ST_READ.BIN) and IP.BIN in this
  353. directory.
  354.  
  355. Run the program BINHACK.EXE. When it prompts you for the Binary
  356. file to modify, Pick the BOOT.BIN. If it detects that the BOOT.BIN
  357. is a Windows CE Exectuable (0WINCEOS.BIN), It will not modify the
  358. 0WINCEOS.BIN. If it detects that this Executable is a normal
  359. Katana Executable, It will ask you for the the -msinfo number that
  360. CDRECORD gave you in the last step. It will then modify the
  361. BOOT.BIN according to the number that cdrecord -msinfo gave you.
  362. Next, It will ask you for the filename of the Bootsector. Here,
  363. you should input IP.BIN. It will hack the IP.BIN for self-boot
  364. purposes.
  365.  
  366. (Side Note: Only input the 2nd Number that MSINFO gave you,
  367. Ex. If it gave you: 0,163012, Input 163012 when BINHACK prompts
  368. you for the MSINFO number.)
  369.  
  370. 15) Once the changes are made with BINHACK.EXE to the BOOT.BIN file, Copy
  371. the BOOT.BIN over to the "data" directory's root. Please make sure
  372. that you did not rename the file to actually be called BOOT.BIN.
  373. It should still be called the original filename that you found out
  374. from Step 5.
  375.  
  376. 16) Now, you should have in your "data" directory, All game data files,
  377. including BOOT.BIN, But it should not have IP.BIN. If you want to
  378. dummy this CD, You must make a dummy now. You must make a normal
  379. file dummy. Name this dummy "000DUMMY.DAT" and place it into the
  380. "data" directory. Please note the overhead limitations of
  381. Multi-Session & Self-Booting that were mentioned at the beginning
  382. of the tutorial, and size your dummy accordingly. Your next step
  383. is to run MKISOFS and make a ISO out of these files. Run the
  384. following command while you are in your "selfboot" root directory:
  385.  
  386. mkisofs -C x,y -V ECHELON -l -o data.iso data
  387.  
  388. "x,y" should be the numbers outputted to you from cdrecord -msinfo
  389. earlier.
  390.  
  391. 17) Run "IPINS.EXE" from the "selfboot" directory, In a DOS Prompt.
  392. It will prompt you for the Bootsector filename, Choose IP.BIN.
  393. It will then prompt you for the ISO filename, Choose the file
  394. "data.iso" which you just generated in the last step. It will
  395. patch IP.BIN as the bootsector on data.iso.
  396.  
  397. 18) You should now have a fairly large sized data.iso file sitting in
  398. your "selfboot" directory tree now. It is time to burn this file.
  399. You should still have the disk you burned the audio session to
  400. earlier inserted in your CD-Recorder. You can do this with
  401. either CDRWIN or CDRECORD, Just as the Audio Session Burning.
  402.  
  403. 1) CDRWIN Method
  404.  
  405. a) Fire up CDRWIN.
  406. b) Click the 2nd Icon from the Top Left: "File Backup and Tools".
  407. c) For Backup Tool/Operation: Select "Record an ISO9660 Image File".
  408. d) For Image Filename, Choose data.iso in your "selfboot" directory.
  409. e) Under Recording Options, Select your CD-Recorder. Check the
  410. following options accordingly:
  411.  
  412. Disc Type: CDROM-XA
  413. Track Mode: MODE2
  414. SPEED: Whatever You Want
  415. Finalize/Close Session: Yes
  416. Write Postgap: Yes
  417. Open New Session: No
  418. Test Mode: No
  419. Verify Recorded Image: No
  420.  
  421. f) Click the start button and you are burning.
  422.  
  423. 2) CDRECORD Method
  424.  
  425. a) In the "selfboot" directory you should have the cdrecord toolset
  426. unzipped. You should see files such as cdrecord.exe, mkisofs.exe,
  427. and cygwin1.dll.
  428. b) Run the following command from a DOS Prompt:
  429. cdrecord -scanbus
  430. c) This should show you a list of CD-ROM and CD-Recorder units installed
  431. in your system. Look for your CD-Recorder and find the SCSI Bus ID#.
  432. It will be in format x,x,x.
  433. d) In your "selfboot" directory, run the following command to record
  434. the 2nd session of the disk:
  435.  
  436. cdrecord -dev=x,x,x -xa1 data.iso
  437.  
  438. You can optionally include "speed=x" after -audio, Where x is the
  439. maximum speed that your CD-Recorder can record at.
  440.  
  441. 19) You are done! Eject the disk and try it in your Dreamcast.
  442.  
  443. -----------------------------------------------------
  444. All Content & Code Written by Echelon Dreamcast 2000.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement