Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: mamewah gets a run time error when refreshing main list....help minwah!  (Read 2088 times)

0 Members and 1 Guest are viewing this topic.

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
i am running version .952b on my win 98 SE machine.  everything runs fine.  i added some new games to my roms folder, and when i went to refresh the main list, so i can add them to my custom list, i get a "Run Time Error 9....Subscript out of range."  what gives?  i know what you are going to say "upgrade to v954".  well ill lose all my mame config files, and my custom list.  i tried upgrading on another computer and getting my custom list back, but it didnt work.  so im thinking it will do the same.  can you help me either fix the error (preferably) or tell me how to upgrade while keeping all my stuff.

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
hmm, still need help

BuZz880

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 201
  • Last login:November 16, 2023, 02:16:43 pm
  • I'm a llama!
Your problem has nothing to do with the version.  I don't know what it is.

As for upgrading, back up your custom list.  Upgrade.  Re-setup all your emulators and layouts then Copy the old CL to the new FILES directory, it is fully compatible, look in the LST file there is nothing to it, 13 lines for each ROM its that easy.

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
okay, you make it sound very easy...probably is.  i know i sound like a retard asking this but ive put a lot of work into my list and all that, and i dont want it to get messed up!  anyway, so i back up my lst files...what about the control layouts?  is that why everybody does ctrlr or whatever?  so they dont have to keep reconfiging their mame?  i kinda know how to do that, just havent done it yet.  

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
okay i upgraded, and now i can refresh and get all my new games fine.  however, i lost my custom list!  i have backups of all the lst files that were in my files folder before i installed the new version of mamewah, and then after i installed the new version, i put them back in the files folder.  i can get a main list, but no custom list! argh!  what am i doing wrong???

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
okay i upgraded, and now i can refresh and get all my new games fine.  however, i lost my custom list!  i have backups of all the lst files that were in my files folder before i installed the new version of mamewah, and then after i installed the new version, i put them back in the files folder.  i can get a main list, but no custom list! argh!  what am i doing wrong???

Delete all CFG and LST files in your new install 'FILES' folder.

Then launch MAMEWAH (it will create new CFG files).

NOW copy your old LST files into the 'FILES' folder.

Launch MAMEWAH again - it should work.

Note that you will have to select the custom list using the menu, or alter the 'Select Custom Lists to Cycle' value to 'True' for the lists you wish to cycle using the P1 coin key.

Let me know if you have any probs...

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
okay i did what you said, but nothing happened.  i deleted all the cfg and lst files in my folder....what about the FTR files?  i didnt delete those, was i supposed to?  so anyway, i can get my roms to come up in the main list, and i have the setting on Rom Folder vs DAT ...thats the only one that will show my games at a full title and not the abbreviation stuff.  i put it on the Listinfo (MAME) setting, and i dont get anything.  is this right?  if you could, tell me the settings that you have working.  i get screenshots and everything for my main list, so that works fine.  please help!

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
okay i did what you said, but nothing happened.  i deleted all the cfg and lst files in my folder....what about the FTR files?  i didnt delete those, was i supposed to?  so anyway, i can get my roms to come up in the main list, and i have the setting on Rom Folder vs DAT ...thats the only one that will show my games at a full title and not the abbreviation stuff.  i put it on the Listinfo (MAME) setting, and i dont get anything.  is this right?  if you could, tell me the settings that you have working.  i get screenshots and everything for my main list, so that works fine.  please help!

Delete the entire contents of the 'FILES' folder - sorry, I forgot about the FTR files.

It doesn't matter what List Generation method you use in theory...but the Listinfo one should be the easiest to use - if it doesn't work then something is wrong (MAME exe location?).

Anyway, your main list works so that is great...now exit MAMEWAH and copy your EMU1-1.LST file (or whichever relates to your custom list(s) ) to the FILES folder.  When you re-enter MAMEWAH it will be there.  Just make sure you select the custom list via the 'Games List Options'  > 'Select Custom List' menu.

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
alright, my lst file that i want is called Emu2-1. i opened it up and saw the right games in the way that i want them displayed.  k, so i deleted all the files in the Files folder, ran mamewah, then exited, then put the lst file that i wanted into the files folder.  i went back into mamewah, the listinfo setting doesnt work, so i set it to rom folder vs dat and it shows games in the main list.  so then i went to the cycle list thing, and changed custom list 1 and 2 to true just in case.  went and tried to select them, and nothing happened. what do i need to do now?

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
okay, i found the problem.  since the lst file was 2-1 then it was for the #2 emulator!  i had my mame32p on #1, so when i tried to get to my custom list to show up, it wouldnt because the the custom list wasin the #2 emulator slot.  anyway!...i got it working, so all i have to do now is figure out the layout and all that stuff.  oh and can i just change the name of my custom list to Emu1-1 and it work for the #1 emulator slot?  or do i have to leave it?

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
okay, i found the problem.  since the lst file was 2-1 then it was for the #2 emulator!  i had my mame32p on #1, so when i tried to get to my custom list to show up, it wouldnt because the the custom list wasin the #2 emulator slot.  anyway!...i got it working, so all i have to do now is figure out the layout and all that stuff.  oh and can i just change the name of my custom list to Emu1-1 and it work for the #1 emulator slot?  or do i have to leave it?

You can rename it :)

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
okay, that worked. now how about layouts.  i extracted the layouts.zip file and got the layouts folder.  i have a custom layout that i want on there...i put it in the layouts folder, but it doesnt want to work.  what else do i need to do?

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
okay, that worked. now how about layouts.  i extracted the layouts.zip file and got the layouts folder.  i have a custom layout that i want on there...i put it in the layouts folder, but it doesnt want to work.  what else do i need to do?

Within the 'LAYOUTS' folder, you need to make a folder called 'whateveryouwantthelayouttobecalled'.  Put the 'layout.lay' file and any related images within this folder.

You should be able to see the 'Classic' layout folders for an example of this.

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
okay thats what i did, and when i type it in to the layout name part of mamewah, the screen clicks off then on...refreshing it....then i get a 1024x768 background (which is what its supposed to have for the layout) but no background picture.  i put the background in the folder, ive copied it and put it oustide the folder, ive put it just about everywhere i know to put it, and nothing happens.  oh the background i want is named "fight 1024x768" and i renamed it "layout.lay". i hope this was right, cuz even if i leave it as it was "fight 1024x768" it doesnt work and mamewah wont accept it when i type it in.  so what now

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
okay thats what i did, and when i type it in to the layout name part of mamewah, the screen clicks off then on...refreshing it....then i get a 1024x768 background (which is what its supposed to have for the layout) but no background picture.  i put the background in the folder, ive copied it and put it oustide the folder, ive put it just about everywhere i know to put it, and nothing happens.  oh the background i want is named "fight 1024x768" and i renamed it "layout.lay". i hope this was right, cuz even if i leave it as it was "fight 1024x768" it doesnt work and mamewah wont accept it when i type it in.  so what now

So you renamed the background image to layout.lay??  You've lost me a little.

The .LAY file should always be called 'layout.lay', unless you have emulator specific layouts.

The folder that contains 'layout.lay' can be called whatever you like, so long as it is within the \LAYOUTS folder, eg C:\MAMEWAH\LAYOUTS\Minwahs Layout\layout.lay .  In this example, 'Minwahs Layout' would be the Layout Name you enter in MAMEWAH.

The main background image should be called 'layout-main.???' where ??? is the extension (BMP, GIF, JPG, PCX or PNG), again, assuming you don't want emulator specific layouts.

It is all covered in \LAYOUTS\Layouts.txt, which I have attached:

(edit to disable smilies)

« Last Edit: July 28, 2003, 01:40:40 pm by Minwah »

hulkster

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2382
  • Last login:September 05, 2021, 04:27:59 pm
  • HulkaMAMEia is runnin' wild!
got it working, thanks
« Last Edit: July 28, 2003, 05:03:04 pm by hulkster081 »