The .ini Files:
The .ini files hold initialization information for MAMEWAH. When MAMEWAH first starts, it will look to the mamewah.ini file in your mamewah folder. In my case, it's C:\Games\mamewah\mamewah.ini These files can be edited with Notepad. We need to open it and tell MAMEWAH what your layout file is called. The only part I changed is under the ### Misc Options ### heading. I changed the layout "variable" to point to the layout folder I created:
layout jking_cab
Save it and exit. Now when MAMEWAH starts, it will look in my jking_cab folder for a file called layout.lay. Get it? That's what I created above. Now I can see what the basics look like with my background image.
Now we need to tell MAMEWAH where all the roms & images are. Go to your ini folder. In my case it's C:\Games\mamewah\ini and open the mame.ini file. Under the ### List Generation Settings ###, this is what I changed mine to:
rom_path C:\Games\Arcade\roms
rom_extension zip
dat_file C:\Games\Arcade\mame.dat
nms_file
catver_ini_file C:\Games\Arcade\catver.ini
list_generation_method rom_folder_vs_dat_file
For me, I looked at the C:\Games\mamewah\docs\ini.txt file for an explanation of what I needed to set each to. Now all my ROMS show up in the list. Next, I needed to display the artwork. I reopened the mame.ini file and under ### Artwork Locations ###, I changed:
artwork_1_image_path C:\Games\Arcade\snap
artwork_2_image_path C:\Games\Arcade\marquees
artwork_3_image_path C:\Games\Arcade\control_panel
When you did our layout, it allowed you to show several artwork files. I figured I wanted a snapshot of the game and the marque to show. Since I am building a modular control panel, I also wanted to show anyone playing what controls they needed to have in place in order to play the game. So I started creating control panel pics for each title. Those files i saved in the C:\Games\Arcade\control_panel folder. This might change now that I found out about the controls project where it can be displayed ingame. Each emulator will need its own .ini file that will tell MAMEWAH where to find the information needed.
Anyhow, that's the basics of how I set it all up. It takes a little while, but is worth it IMO. Here's a quick pic of what I've got so far. It's a wip, but you get the idea.