first commit
This commit is contained in:
		
						commit
						289d9cb49b
					
				
					 273 changed files with 12085 additions and 0 deletions
				
			
		
							
								
								
									
										39
									
								
								tutorials/tiles.html
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										39
									
								
								tutorials/tiles.html
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,39 @@ | |||
| <!DOCTYPE html> | ||||
| <html lang="en"> | ||||
| 	<head> | ||||
| 		<meta charset="UTF-8"> | ||||
| 		<title>How to dump tiles from a GameBoy ROM on Linux - Archive - MayVaneDay Studios</title> | ||||
| 		<link href="../style.css" rel="stylesheet" type="text/css" media="all"> | ||||
| 		<meta name="author" content="Vane Vander"> | ||||
| 		<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
| 	</head> | ||||
| 	<body class="mayvaneday"> | ||||
| 		<article> | ||||
| 			<div class="box"> | ||||
| 				<p><h1>How to dump tiles from a GameBoy ROM on Linux</h1></p> | ||||
| 				<p>published: 2020-04-08</p> | ||||
| 			</div> | ||||
| 			<hr> | ||||
| 			<div class="box"> | ||||
| 				<ol type="1"> | ||||
| 					<li>Download <a href="https://www.romhacking.net/utilities/119/">the yy-chr tool</a>. Extract it to a directory of your choice.</li> | ||||
| 				</ol> | ||||
| 				<p>Please note that it comes as a Windows binary; from my personal tests, it runs quite well in WINE.</p> | ||||
| 				<ol start="2" type="1"> | ||||
| 					<li>Open/run <code>yychr.exe</code>. Go to <code>File > Open</code> and open the ROM you want to dump tiles from.</li> | ||||
| 					<li>Scroll to the place in the ROM you want to dump files from.</li> | ||||
| 					<li>Go to <code>File > Save snapshot</code>. It will ask you to save a file named <code>chrXXX.bmp</code>, where XXX is a number. Save it wherever you please.</li> | ||||
| 					<li>Repeat steps 3 and 4 until you have saved screenshots of all the places in the ROM that have tiles you want to dump.</li> | ||||
| 					<li>Once you are done, open a terminal and <code>cd</code> to the directory you saved the BMP files as.</li> | ||||
| 					<li>Run the following command, replacing XXX with the actual numbers in the file name:</li> | ||||
| 				</ol> | ||||
| 				<p><code>convert chrXXX.bmp -crop 16x16@ +repage +adjoin tile-%d.bmp</code></p> | ||||
| 				<p>This will dump each individual 8x8 tile into its own separate BMP file. Please be warned: this may generate more than a hundred files in that folder! Best to keep each separate chrXXX.bmp file in its own folder to keep everything organized.</p> | ||||
| 			</div> | ||||
| 			<hr> | ||||
| 			<div class="box"> | ||||
| 				<p align=right>CC BY-NC-SA 4.0 © Vane Vander</p> | ||||
| 			</div> | ||||
| 		</article> | ||||
| 	</body> | ||||
| </html> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Mori Aokigahara
						Mori Aokigahara