Main > Main Forum
Tron HD
<< < (2/7) > >>
nitrogen_widget:

--- Quote from: Vigo on July 23, 2014, 04:29:58 pm ---Looks awesome! Is it just me, though, or does it look like it was made easier than the original?



--- Quote from: wp34 on July 23, 2014, 01:20:54 pm ---Too bad he won't release the code.

--- End quote ---

"Hey Sjaak...wanna take on another major project?" ;D >:D

--- End quote ---

Probably because he just wrote a Tron game and didn't actually reverse engineer game logic from video captures?

I mean how many hrs of recorded game play would you need in order to figure out the AI?
How many hrs of analyze time would it take a computer to do?

Can someone even do this?

Not trying to be a jerk or anything but to me it seems a little far fetched.
lamprey:

--- Quote from: wp34 on July 23, 2014, 01:20:54 pm ---Nice. Too bad he won't release the code.  I would run that on my cab.

--- End quote ---
No prob.. I'll grab some of my guns and cash in some air miles and see what happens.. ;) j/K

yeah, it would be cool to be able to run it on a cab.
IAmDotorg:

--- Quote from: nitrogen_widget on July 23, 2014, 04:57:52 pm ---
--- Quote from: Vigo on July 23, 2014, 04:29:58 pm ---Looks awesome! Is it just me, though, or does it look like it was made easier than the original?



--- Quote from: wp34 on July 23, 2014, 01:20:54 pm ---Probably because he just wrote a Tron game and didn't actually reverse engineer game logic from video captures?

I mean how many hrs of recorded game play would you need in order to figure out the AI?
How many hrs of analyze time would it take a computer to do?

Can someone even do this?

Not trying to be a jerk or anything but to me it seems a little far fetched.

--- End quote ---

--- End quote ---

--- End quote ---


I could be done... keep in mind its a simple little game written for a Z80 released in 1982. Its AI isn't going to be any more sophisticated than, say, Pac Man. As someone who was writing games on equally limited hardware at the time, I can tell you there was a lot of tricks we used to make "AI" look smarter than it was. (Like how Pac Man basically runs the identical logic for all the ghosts, but uses four different target locations relative to the player to make them have "personalities" -- but its a handful of lines of code to do it all!)

I haven't looked that closely at the Tron logic, even though I've spent countless hours playing it, as its one of my favorites from that era, but the logic does seem fairly simplistic. Going frame-by-frame would help you figure out things like the timing and grid granularity it uses for tracking the player. It might be hard to figure out details like when the tanks fire and stuff, but you could get it pretty close.

IMO, its not the way I'd go about doing it -- the ROMs are in MAME, and they use the mcr driver. I'd just grab one of the many Z80 disassemblers and look at what the code is doing. It'd take less time. The only downside, because its not a "clean" reverse engineering, I couldn't legally distribute it.

But doing it the way he claims to have done it seems perfectly possible, and perfectly valid, if you weren't comfortable or familiar with working with old 8-bit assembly.
ark_ader:
It is not that hard, but time consuming.  I would take that project on if it wasn't for my current workload.  Just get a book on C# and XNA and you will be half way there.  This is BYOAC after all.... :)
Vigo:
I have to disagree that AI would be fully accurate using video tape recordings.

Yes, you could probably come up with something close, but it wasn't until a few years ago that the actual Pac-Man ghost AI was dug out of the code and revealed and still competitive players debated about it being correct. Being that Pac-man is probably the #1 game of all time that was studied for winning strategy, you would think that someone would have it all down before 2008 if all it took was video study. I am sure you can make assumptions that might be close or you might get lucky and guess it right, but if there is "random" commands in the mix, I doubt there would be a way to know for sure if the code is completely accurate.

http://www.twingalaxies.com/showthread.php/119946-Pac-Man-ghost-behavior-revealed

Navigation
Message Index
Next page
Previous page

Go to full version