MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

Doosh
MAME Fan
Reged: 07/02/09
Posts: 91
Send PM


State of AI
#398671 - 06/15/24 09:34 AM


I am interested to understand if AI, now or in the near future (years), if it will be able to assist the MAME dev team in creating / assisting the development of new drivers, improve existing drivers, help decode chips or even help with debuging.

Curious to hear from any expert programmers especially in the AI field.



*=/STARRIDER\=*
MAME Punk
Reged: 02/06/12
Posts: 335
Loc: an open field west of a white house with a boarded front door.
Send PM


Re: State of AI new [Re: Doosh]
#398672 - 06/15/24 11:01 AM


I as well have thought about this!
Especially in the typing monkeys field where it takes a person to decide if it's a 1 or a 0.
But then I think about if I actually trust AI and I personally don't!
So



There is no law in the arena




Haze
Reged: 09/23/03
Posts: 5245
Send PM


Re: State of AI new [Re: *=/STARRIDER\=*]
#398673 - 06/15/24 12:57 PM


> I as well have thought about this!
> Especially in the typing monkeys field where it takes a person to decide if it's a 1
> or a 0.
> But then I think about if I actually trust AI and I personally don't!
> So

It really depends what you consider to be 'AI' as it's a term that just seems to have been abused of late.

You're definitely not the only one asking this question, something similar was asked in a recent PR in the context of figuring out dipswitches etc.

You could probably 'train' something with a database of common assembly routines (standard C library, functions from common game engines) as to be provided with a better disassembly, and if you had a set of tools that converted things to an intermediate langauge for comparison, maybe apply that to a larger range of game sources, but are tools and pattern matching really 'AI'? Their effectiveness, even then, relies on something alredy being documented.

In terms of code output, most 'AI' is absolute garbage as it really lacks context. In terms of art, it all still depends on real creative input somewhere as it doesn't really create something from nothing, and as 'AI' generated works get fed back into the databases all you're doing is mixing the same paint over and over again. It's bad enough that a lot of game dev (especially Unity) is done today by copy+pasting bad online examples, with no understanding of the problems inherent in a lot of that widely shared code.

I don't think we're going to get to the point where you're going to be able to feed a random unemulated ROM on an unknown platform into an AI engine and have it create an emulation of the system; even the manual process involves a lot of trial and error, leaps of faith, exploring avenues and abandoning them when they start to become too convoluted. There simply isn't enough information/evidence in most cases to draw conclusions without trying to get into the head of whoever designed the chip, right down to considering when it was made.

Better tools are always handy and some of the recent ones that do a decent job of converting assembly into pseudo C code have really helped out with emulation (Windy made extensive use of such when studying Namco System 10 IIRC) but trying to call everything that helps out 'AI' is not really a fair reflection on things.

For the most part the AI we have is just a way of stealing work other people have arleady done, mashing it together, and calling it your own; it's not really anything new, we just have bigger databases and more computational power. Most of it is still as dumb as the online translation engines from the 90s.



ICEknight
MAME Fan
Reged: 07/06/15
Posts: 166
Send PM


Re: State of AI new [Re: Doosh]
#398678 - 06/16/24 05:12 PM


Aw, I thought this was going to be about the Sega AI computer.



BIOS-D
MAME Fan
Reged: 08/07/06
Posts: 1688
Send PM


Re: State of AI new [Re: Doosh]
#398681 - 06/17/24 03:56 PM


> I am interested to understand if AI, now or in the near future (years), if it will be
> able to assist the MAME dev team in creating / assisting the development of new
> drivers, improve existing drivers, help decode chips or even help with debuging.
>
> Curious to hear from any expert programmers especially in the AI field.

I have yet to see how all these Neural Networks work so far. However everything I see looks like a big Expert System with the benefits of keeping insanely huge banks of data unlike in the 70s. In any case you still have to feed known data to the machine and someone needs to evaluate it for the machine. I think it will work well for things developers already know, not so good for unemulated things. Maybe you could train a machine to compare CPU registers between code running on real and emulated hardware, but training for unknown opcodes and let alone coding a driver will be an almost impossible task.



R. Belmont
Cuckoo for IGAvania
Reged: 09/21/03
Posts: 9716
Loc: ECV-197 The Orville
Send PM


Re: State of AI new [Re: Doosh]
#398683 - 06/17/24 04:45 PM


> I am interested to understand if AI, now or in the near future (years), if it will be
> able to assist the MAME dev team in creating / assisting the development of new
> drivers, improve existing drivers, help decode chips or even help with debuging.
>
> Curious to hear from any expert programmers especially in the AI field.

Emulation is a weird combination of specialized knowledge and educated guessing in a lot of cases. AI as it exists could probably help with some of the boilerplate aspects, but so can things like using a Python script, which is something we've already been doing to generate some of the more complex CPU cores.


Pages: 1

MAMEWorld >> EmuChat
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  Robbbert, Tafoid 
0 registered and 302 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 298