tiben / ia-rcade Goto Github PK
View Code? Open in Web Editor NEWUse MAME with roms from archive.org
License: Apache License 2.0
Use MAME with roms from archive.org
License: Apache License 2.0
0.185 romset is up on archive.org:
ia-mame Gaplus
Produces:
Exception in thread "main" java.lang.RuntimeException: Unhandled case: Mame returned no errors while searching for machine Gaplus but the machine has not been found on the XML content
at org.tibennetwork.iamame.mame.MachineRepository.findByName(MachineRepository.java:98)
at org.tibennetwork.iamame.mame.MameArguments.extractMachineAndSoftwares(MameArguments.java:265)
at org.tibennetwork.iamame.IaMame.downloadFilesIfNeeded(IaMame.java:173)
at org.tibennetwork.iamame.IaMame.main(IaMame.java:54)
./mame64 Gaplus
runs ok.
I am having this message when I run IA-Mame.
java.lang.NoClassDefFoundError: javax/xml/bind/DataBindingException
Any solution or workaround?
The new XML format provided by M.A.M.E. breaks ia-mame. I am not sure in which version of M.A.M.E. this started.
In order to prevent a possible MAME trademark violation
Hi
If I run the Windows version on the MAME (0178b) directory I get this message:
"ERROR: No writable path to write roms into"
I'm running a command prompt with administration rights.
Regards
I built the latest version from sources to test the fix for issue #4, an noticed ia-mame won't download roms when using the genesis driver anymore.
It worked fine in version 0.7.
$ ia-mame genesis sonic
INFO: Download missing software file: sonic
INFO: Name: Sonic the Hedgehog (Euro, USA)
INFO: Publisher: Sega
INFO: Media interface: megadriv_cart
Exception in thread "main" java.lang.RuntimeException
at org.tibennetwork.iamame.internetarchive.collectionitem.CollectionItem.downloadFile(CollectionItem.java:141)
at org.tibennetwork.iamame.internetarchive.collectionitem.MessSoftwareListRoms.download(MessSoftwareListRoms.java:33)
at org.tibennetwork.iamame.internetarchive.MessAndMameCollection.download(MessAndMameCollection.java:160)
at org.tibennetwork.iamame.IaMame.downloadFilesIfNeeded(IaMame.java:237)
at org.tibennetwork.iamame.IaMame.main(IaMame.java:58)
Caused by: java.io.FileNotFoundException: http://archive.org/about/404.php
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(java.base@9-internal/HttpURLConnection.java:1834)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(java.base@9-internal/HttpURLConnection.java:1439)
at java.net.URL.openStream(java.base@9-internal/URL.java:1112)
at org.tibennetwork.iamame.internetarchive.collectionitem.CollectionItem.downloadFile(CollectionItem.java:88)
... 4 more
No problem with the megadriv driver.
$ ia-mame megadriv sonic
INFO: Download missing software file: sonic
INFO: Name: Sonic the Hedgehog (Euro, USA)
INFO: Publisher: Sega
INFO: Media interface: megadriv_cart
INFO: Downloading sonic.zip - 377kB / ??kB, progress: 0%
Average speed: 100.00% (2 seconds)
The required version is 0.162+, not 0.161+, as the merge between MAME and MESS happened in 0.162.
0.161+ means >=0.161, not >0.161.
This project rocks, keep up the good work.
The reference version for console roms in MAME is always the Euro/PAL version (which is a shame because PAL versions often are botched 50Hz ports), other regions versions being considered as clones.
More info on this in this emuchat thread.
The romsets hosted by archive.org are split sets, meaning the archive of a clone rom sometimes does not contains all the needed files to run, it needs its parent rom as well.
In this illustration, megamnx2u refuses to run until megamnx2 is also available.
$ cksum /opt/mame/ia-mame
1931967913 625090 /opt/mame/ia-mame
$ ia-mame snes megamnx2u
INFO: Download missing rom files: [dsp1leg, dsp2leg, dsp3leg, seta10leg, seta11leg, dsp4leg, snes, dsp1bleg, dsp1leg_hi]
INFO: Machine: Super Nintendo Entertainment System / Super Famicom (NTSC)
INFO: Downloading dsp1leg.zip - 4kB / ??kB, progress: 0%
INFO: Downloading dsp2leg.zip - 2kB / ??kB, progress: 0%
INFO: Downloading dsp3leg.zip - 3kB / ??kB, progress: 0%
INFO: Downloading seta10leg.zip - 2kB / ??kB, progress: 0%
INFO: Downloading seta11leg.zip - 17kB / ??kB, progress: 0%
INFO: Downloading dsp4leg.zip - 3kB / ??kB, progress: 0%
INFO: Downloading snes.zip - 0kB / ??kB, progress: 0%
INFO: Downloading dsp1bleg.zip - 4kB / ??kB, progress: 0%
INFO: Downloading dsp1leg_hi.zip - 4kB / ??kB, progress: 0%
INFO: Download missing software file: megamnx2u
INFO: Name: Mega Man X2 (USA)
INFO: Publisher: Capcom
INFO: Media interface: snes_cart
INFO: Downloading megamnx2u.zip - 978kB / 978kB, progress: 100%
cx4.bin NOT FOUND (tried in snes snes/megamnx2u snes/megamnx2 megamnx2u megamnx2)
FATALERROR: Required files are missing, the machine cannot be run.
$ ia-mame snes megamnx2
INFO: Download missing software file: megamnx2
INFO: Name: Mega Man X2 (Euro)
INFO: Publisher: Capcom
INFO: Media interface: snes_cart
INFO: Downloading megamnx2.zip - 981kB / 981kB, progress: 100%
Average speed: 99.90% (3 seconds)
$ ia-mame snes megamnx2u
Average speed: 99.59% (2 seconds)
Edit:
My MAME version is 0.162.
Has been reported on reddit:
https://www.reddit.com/r/MAME/comments/4fruod/iamame_05_mame_thin_wrapper_which_downloads/
version : El Capitan
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/tibennetwork/iamame/IaMame : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Even though the program works, I get this warning every time:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector (file:/usr/local/bin/ia-rcade) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Java version:
openjdk version "11.0.2" 2019-01-15
OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
My system: Macbook Pro 2017, Macos Mojave
I have been running in to the same java exception while trying to run ia-mame
$ ia-mame alien3
Exception in thread "main" java.lang.NullPointerException
at org.tibennetwork.iamame.mame.MediaDevice.getBriefname(MediaDevice.java:35)
at org.tibennetwork.iamame.CommandLineArguments.extractMachineAndSoftwares(CommandLineArguments.java:242)
at org.tibennetwork.iamame.IaMame.downloadFilesIfNeeded(IaMame.java:187)
at org.tibennetwork.iamame.IaMame.main(IaMame.java:76)
$ uname -svrm
Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_6
$ java -version
java version "1.7.0_111"
OpenJDK Runtime Environment (IcedTea 2.6.7) (7u111-2.6.7-2~deb8u1)
OpenJDK 64-Bit Server VM (build 24.111-b01, mixed mode)
$ mame -help
MAME v0.180 (unknown)
If using the latest JDK (9+) then the required XML libs are no longer available and require that the code be recompiled to manually add the XML libs.
ia-mame altbeast
Exception in thread "main" java.lang.RuntimeException: Unhandled case: Mame returned no errors while searching for machine altbeast but the machine has not been found on the XML content
at org.tibennetwork.iamame.mame.MachineRepository.findByName(MachineRepository.java:86)
at org.tibennetwork.iamame.mame.MameArguments.parseArgs(MameArguments.java:141)
at org.tibennetwork.iamame.mame.MameArguments.(MameArguments.java:72)
at org.tibennetwork.iamame.IaMame.main(IaMame.java:53)
Whenever I try to play a title, I get this error message: "No writable path to write roms into". I'm currently running on Windows 10 on command prompt btw. What should I do?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.