Browse Source

0050: How I Play Classic Windows and DOS Games

i12bretro 3 năm trước cách đây
mục cha
commit
93d9e72516
1 tập tin đã thay đổi với 145 bổ sung0 xóa
  1. 145 0
      0050.html

+ 145 - 0
0050.html

@@ -0,0 +1,145 @@
+    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+    <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
+      <head>
+        <title>How I Play Classic Windows and DOS Games</title>
+        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+								<script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
+				        <script type="text/javascript">
+          $(function(){
+            $('textarea').each(function(i,e){
+              theTextarea = $(this);
+              theTextarea.height((theTextarea[0].scrollHeight-5) +'px');
+            });
+
+            $('li').each(function(i,e){
+              var uuid = 'li_' + Math.floor(Math.random() * Math.floor(1000000)).toString() + '_' + i.toString();
+              $(this).contents().wrap('<span id="'+ uuid +'"><label for="cb_'+ uuid +'"></label></span>');
+              $(this).prepend('<input type="checkbox" class="completeBox" id="cb_' + uuid +'" rel="'+ uuid +'" />')
+            });
+
+            $('code,div.codeBlock,textarea.codeBlock').each(function(i,e){
+              theElement = $(this);
+              var lines = theElement.html().split("\n");
+              theElement.empty();
+              for(l=0;l<lines.length;l++){
+                if($.trim(lines[l]) != '' && $.trim(lines[l]).substr(0,1) != '#' && $.trim(lines[l]).indexOf(' #') == -1 && lines[l].substr(0, 4).toUpperCase() != 'REM '){
+									                  theElement.append('<input type="image" src="images/clipboard.png" value="" class="copy-text" rel="copy_'+ i +'_'+ l +'" data-clipboard-text="'+ lines[l].replace(/"/g, '&quot;') +'" /><span id="copy_'+ i +'_'+ l +'">'+ lines[l] +'</span>');
+									                } else {
+                  theElement.append(lines[l]);
+                }
+              }
+            });
+
+            $(document).on('click','input.copy-text',function(){
+              theButton = $(this);
+														$('input.copy-text').attr('src','images/clipboard.png');
+							              $('span.copy-animation,span.copy-animation-ps').removeClass('copy-animation copy-animation-ps');
+              try {
+                if($('#'+ theButton.attr('rel')).parent('div').hasClass('PS')){
+                  $('#'+ theButton.attr('rel')).addClass('copy-animation-ps');
+								} else if($('#'+ theButton.attr('rel')).parent('div').hasClass('CMD')){
+									$('#'+ theButton.attr('rel')).addClass('copy-animation-cmd');
+                } else {
+                  $('#'+ theButton.attr('rel')).addClass('copy-animation');
+                }
+                navigator.clipboard.writeText(theButton.data('clipboard-text').replace(/<[^>]*>?/gm, ''));
+																theButton.attr('src','images/clipboard_active.png');
+								              } catch(err) {
+              }
+              return false;
+            });
+
+            $(document).on('click','input.completeBox',function(){
+              theBox = $(this);
+              $('#'+ theBox.attr('rel')).addClass('strikethrough');
+              theBox.prop('disabled',true);
+              theBox.parent('li').prevAll().each(function(i,e){
+                theLI = $(this);
+                if(theLI.find('input[type=checkbox]').not(':checked')){
+                  $('#'+ theLI.find('input[type=checkbox]').attr('rel')).addClass('strikethrough');
+                  theLI.find('input[type=checkbox]').prop('checked',true).prop('disabled',true);
+                }
+              });
+            });
+
+            if(window.self !== window.top){
+															window.parent.$('iframe.stepsFrame').height((this['scrollingElement']['scrollHeight']+20) +'px');
+							            }
+          });
+        </script>
+        <link href="css/steps.css" rel="stylesheet" type="text/css" />
+      </head>
+      <body>
+        <div id="gridContainer">
+          <div class="topMargin"></div>
+          <div id="listName" class="topMargin">
+            <h1>How I Play Classic Windows and DOS Games</h1>
+          </div>
+          <div></div>
+          <div id="content">
+          <h2>Setting Up the VM and Software</h2>
+
+<ol>
+	<li>Create a Windows XP virtual machine in VirtualBox (https://youtu.be/mPOmPusoELk)</li>
+	<li>Make sure VirtualBox Guest Additions are installed</li>
+	<li>Shutdown the VM</li>
+	<li>In the Virtualbox interface, right click the Windows XP VM &gt; Settings</li>
+	<li>Select Storage</li>
+	<li>Select the hard disk dropdown to the right</li>
+	<li>Click the Create button at the top</li>
+	<li>Change the size to 500 GB &gt; Click Create</li>
+	<li>Click OK to accept the settings</li>
+	<li>Make sure the Windows XP&nbsp;VM is selected and click Start &gt; Normal</li>
+	<li>Once inside Windows XP, go to Start &gt; Run &gt; type&nbsp;diskmgmt.msc &gt; Press Enter</li>
+	<li>Inside Disk Management, locate the 500 GB virtual hard disk &gt; Right click &gt; Format...</li>
+	<li>Set the following values:
+	<p>Volume label: Games<br />
+	Files system: NTFS<br />
+	Allocation unit size: Default<br />
+	Perform a quick format: Checked</p>
+	</li>
+	<li>Click OK</li>
+	<li>Once the disk is formatted and initialized, right click it again &gt; Change Drive Letter and Paths...</li>
+	<li>Click the Change... button</li>
+	<li>Set the drive letter to G &gt;&nbsp;Click OK</li>
+	<li>Download DOSBox <a href="https://sourceforge.net/projects/dosbox/files/latest/download" target="_blank">Download</a></li>
+	<li>Install DOSBox to&nbsp;G:\_DOSBOX</li>
+	<li>Locate the game installation media
+	<ul>
+		<li>If the game is a CD-ROM image mount the CD-ROM in VirtualBox by selecting Devices &gt; Optical Drives &gt; Choose a disk file... and selecting the image</li>
+		<li>If&nbsp;the game is a physical CD-ROM put the disc in the host computer and&nbsp;mount the CD-ROM in VirtualBox by selecting Devices &gt; Optical Drives &gt; Host Drive</li>
+		<li>If the game is contained on floppy disk images mount the floppy disk(s) in VirtualBox by selecting Devices &gt; Floppy Drives &gt;&nbsp;Choose a disk file... and selecting the image</li>
+	</ul>
+	</li>
+</ol>
+
+<h2>Installing a Windows Based Game</h2>
+
+<ol>
+	<li>Once the installation media is mounted in VirtualBox install the game normally making sure to set the installation path to a sub-directory inside&nbsp;G:\Games\</li>
+	<li>If the installer doesn&#39;t automatically create a shortcut on the desktop, navigate to the installation directory in File Explorer &gt; right click the game .exe &gt; Send To &gt; Desktop (create shortcut)</li>
+</ol>
+
+<h2>Installing a DOS Based Game</h2>
+
+<ol>
+	<li>Create a sub-directory in G:\Games\ to copy the game to</li>
+	<li>Once the installation media is mounted in VirtualBox navigate to it in Windows Explorer</li>
+	<li>Copy the files from the game media to G:\Games\%game%</li>
+	<li>Navigate to the desktop &gt; Right click &gt; New &gt; Shortcut</li>
+	<li>Click the Browse... button &gt; Navigate to the DOSBox .exe file and select it &gt; Click OK &gt; Click Next &gt; Click Finish</li>
+	<li>Right click the new shortcut &gt; Properties</li>
+	<li>Edit the shortcut properties as follows<br />
+	Target:&nbsp;G:\_DOSBOX\DOSBox.exe -userconf &quot;G:\Games\Hugo&#39;s House of Horrors&quot; -noconsole<br />
+	Start in: G:\_DOSBOX\</li>
+	<li>Click OK</li>
+	<li>Double click the shortcut to launch DOSBox with the game mounted to the C:\&nbsp;</li>
+	<li>Launch the game normally by typing the exe name and pressing Enter</li>
+</ol>
+
+<p>The DOSBox configuration file is located at %userprofile%\Local Settings\Application Data\DOSBox and can be edited to set preferences such as the resolution and redering method</p>
+          </div>
+        </div>
+      </body>
+    </html>
+