User Tools

Site Tools


x68000:installing_games_to_hard_drive

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
x68000:installing_games_to_hard_drive [2012/02/20 23:17] eidisx68000:installing_games_to_hard_drive [2012/02/21 01:26] eidis
Line 30: Line 30:
 ==== Chapter 3: Writing !Start.bat files ==== ==== Chapter 3: Writing !Start.bat files ====
  
- Upon booting, the X68000 executes files from config.sys. Usually they are with X or SYS extension. Those with approximately 50% of all cases can be executed from autoexec.bat or from command line. There SYS files and some rare X files need ADDDRV, just like in the Namachuukei 68 exampleAt first I was very excited about ADDDRV because I wanted Nama68 on HDD for a long long time. It turned out that it is incompatible with almost anything I throw at it, but sometimes it does the trick. Best way to find out is by trial and error.+ Upon booting, the X68000 executes files from config.sys and usually they are with X or SYS extension. 
 + 
 +  * *.files, which are required for the game to run, in almost all cases can be executed from *.BAT files or command line. 
 +  * *.SYS files and some rare *.X files need ADDDRV (Example #4). ADDDRV is very picky and most of the times incompatible. 
  
 **Combining lines from Config.sys and Autoexec.bat** **Combining lines from Config.sys and Autoexec.bat**
  
- Now that we know that most files from config.sys with extension X can be executed as standalone, its time to write them in the beginning of autoexec.bat+ Now that we know that most *.X files from config.sys can be executed as standalone, its time to write them in the beginning of autoexec.bat
  
-Crystal Tower+**Crystal Tower** is used to illustrate this example:
  
-Config.sys+Original Config.sys
 <code> <code>
 FILES = 15 FILES = 15
Line 54: Line 58:
 </code> </code>
  
-Here we can see drivers being loaded and environmental variables being set up. The very important ones and drivers like USKCG.SYS and FLOAT2.X are being set up each time when booting from HDD so most of these can be safely ignored. Most of the times those drivers which will interest us will be loaded from "SYSand "BINdirectories. In this example OPMDRV3.X and IOCS.X are the ones which interest us. First we must check if they can be executed after the system has fully booted. If yes, then there is a good chance that the game can be installed to HDD.+Here we can see drivers being loaded and environmental variables being set up. 
 +  *The mandatory variables and drivers like **USKCG.SYS** and **FLOAT2.X** are being set up each time when booting from HDD so most of these lines can be safely ignored. 
 +  *Drivers are usually loaded from **SYS** and **BIN** directories.
  
 +In this example **OPMDRV3.X** and **IOCS.X** are the ones which interest us. First we must check if they can be executed after the system has fully booted. If yes, then there is a good chance that the game can be installed to HDD.
 +
 +Original Autoexec.bat
 <code> <code>
-autoexec.bat 
 echo off echo off
 PATH A:\;A:\SHELL;A:\SYS;A:\BIN;A:\ETC PATH A:\;A:\SHELL;A:\SYS;A:\BIN;A:\ETC
Line 65: Line 73:
 </code> </code>
  
-Here we can see another environmental variable called "PATHbeing set up. In this case we can go with the lazy method and SUBST to the directory where we have copied the game or we can change the paths so that we don't have to do SUBST. Remove references to "A:\""\or "B:\if they are present and after this line write the two commands from config.sys. Rename autoexec.bat to !Start.bat and enjoy the show. The resulting !Start.bat should look like this:+Here we can see another environmental variable called **PATH** being set up. In this case we can go with the lazy method and **SUBST** to the directory (Example #2) where we have copied the game or we can change the paths so that we don't have to do **SUBST**. 
 +  *Remove references to **A:\****\** or **B:\** if they are present 
 +  *Write **OPMDRV3.X** and **IOCS.X** after the line which defines **PATH** 
 +  *Rename autoexec.bat to !Start.bat. 
 + 
 +The resulting !Start.bat should look like this:
  
 <code> <code>
Line 185: Line 198:
  
 |Image files must be 1261568 bytes long. Sometimes while copying them with DiskExplorer their original size changes to 1263616.| |Image files must be 1261568 bytes long. Sometimes while copying them with DiskExplorer their original size changes to 1263616.|
-|Use [[http://nfggames.com/X68000/PC_Tools/jsplit.zip|JSplit]] to cut off the excess and restore their original size. If that does not help, reimport the original image file.|+|Use [[http://nfggames.com/X68000/PC_Tools/jsplit.zip|JSplit]] to cut off the excess and restore their original size. If that does not help, reimport the original image files.|
  
  
x68000/installing_games_to_hard_drive.txt · Last modified: 2019/08/27 20:45 by 127.0.0.1