greg@liberty:~/.advance$ mkdir artwork cfg diff hi image inp lowcase memcard mp3 nvram rom sample snap sta
</pre>
Once the directories were setup, I copied my artwork, rom and image folders off my Windows machine (where I previously setup AdvanceMame). The next step was to run advanceMame from the command line, in order to generate the default 'Resource Configuration' file. <pre>/usr/local/bin/advmame</pre>Note: the software installed itself into /usr/local by default, like the documentation says. However, because the documentation doesn't mention it, I wasn't sure exactly what command I was supposed to issue to run the program. Ie. what is the name of the program executable file? I took a look in the /usr/local folder where there was now an advancemame folder, and in that folder were a few executable files (actually symbolic links) to the same-named files that are installed into /usr/local/bin. The main program executable is called '''advmame'''. So if you've followed me so far, but are unsure of what it all means, I'm just saying that '/usr/local/advancemame/advmame' is equivalent to the command listed above. Here's what the program told me:<pre>Creating a standard configuration file...Configuration file `/home/greg/.advance/advmame.rc' created with all the default options. The default rom search path is `/home/greg/.advance/rom:/usr/local/share/advance/rom'. You can change it using the`dir_rom' option in the configuration file.</pre> This was perfect, because I had already created the '/home/greg/.advance/rom' directory, and put all my ROM files in there. http://www.bernieberg.com/mame/advmame.rc
==Creating a dedicated Arcade Machine==
See [http://www.bernieberg.com/mame/linuxmame.htm this page] for information on how to tweak your start-up script, shutdown script and environment to make a PC-based Arcade Machine