I think it would be easier to simply have a bot run until it either dies or completes the mission, no savestates.
Otherwise, you might as well just write a random input generator and leave it running forever.
I think it's related to FCEU's scan-the-directory-for-.fcm-files, which is perfectly normal and in fact something I enjoy about it, though they seem to have forgotten that
a) it would be better to present a list of both .fcm and .fc2
b) it would be smarter to just say "Convert to .fc2 and play movie?"
c) it is best to only bring up the dialog after selecting a movie to play and hitting OK, not inside the dialog itself
Unfortunately this hasn't been fixed yet. :|
-- 0x7 is x of ball, 0x9 is y, 0x125 is amount launcher is pulled back
while (true) do
--check if it needs to be launched
if memory.readbyte(0x7)==225 and memory.readbyte(0x9)==154 and memory.readbyte(0x125)~=4 then
joypad.set(1,{B=true})
end
--check right flipper
if memory.readbyte(0x7) > 145 and memory.readbyte(0x7) < 175 and memory.readbyte(0x9) > 189 and memory.readbyte(0x9) < 226 then
joypad.set(1,{A=true})
end
--check left flipper
if memory.readbyte(0x7) > 110 and memory.readbyte(0x7) < 138 and memory.readbyte(0x9) > 189 and memory.readbyte(0x9) < 226 then
joypad.set(1,{up=true})
end
FCEU.frameadvance();
end
This actually runs without crashing the emulator :P
For your refrence, it scored 97,730, then 75,360, then 18,880. (Avg.63,990 but very random)
I'm going to try correcting some obvious (to me) flaws with this and see how it works out...
I can't do bots. :( Now if you wanted some statistical output on your screen, then you call me :P
I'm sure this is going to get a whole load of interest*, but I'm just curious.
Assuming you could ask me one question and get an honest response from me, what would it be?
* This is sarcasm, mostly based off of my nature here. i.e., loathed. Hooray for being an asshole.
P.S. I'm more than well aware the thread is over half a year old
I honestly cannot fathom why in the world anybody could possibly have a use for ratings outside of integral 1-10. Seriously.
What defines 8? What about 8.1?
Even then, what about 10? WHat if something comes along that's even better than that movie you rated 10?
More like "there doesn't seem to be much of an improvement in reasoning for this."
Though yes, that too :) Don't be surprised when you see 0/0 votes on movies.
Do some final fantasy scripts. Drops, randomization, prediction. That should keep you busy :)
The problem with this is that those would likely change every frame and wouldn't be easily figured out within moments unless I had somebody else inform me of where the addresses were. :P
Add to this that Lua is lagged by one frame and you have a problem. :|
I'm trying to encode a run-through of FF1 GBA for my personal usage. I just want the video to look exactly like the emulator(rerecording 19.3), and I'm not too concerned about file size.
If you mean, exactly like that, you could try following the instructions on this site.
Those worked well for me, though they may need some tweaking; for example, if you really don't care about filesize, installing X.264 and encoding that with a quantisizer of 0 will encode at lossless quality.
I also think that some people might vote because they saw the current voting results, and I don't see anything wrong with that either actually... they would still just give their opinion by voting.
Yeah, that's a good reason for hiding the votes
Why?
I think for the same reason that some districts in the US prevent people from wearing canidate-themed clothing/aparrel into voting areas -- to prevent people from seeing "Well, everybody voted <vote>, I will too." or something similar.
Not that I agree with this notion, but it is what I understood of it.
I am bored, therefore:
Do you have any particular (NES) game you would like to see a Lua script for? And if so, what kind?
I've been wanting to do requests for a while but I only know of a limited subset of games; taking a request like this may help out somewhat. :|
Judges are the ones most benefitted by the system;
Exactly. If it's not them, then who the heck is voting for that?
My guess is everybody else due to a percieved 'witchhunting of no-voters'.
My solution would just be to tell those who harass no-voters to knock it off. Allow "Why'd you vote no?" and, of course, discussion of their ideas and points, but not of plain old harassment how-could-you-vote-no-you-heartless-bastard type crap.
...but that's pretty much the extent of my ideas. I'd think a lot of people found the voting being shown useful -- for example, I used it to determine if a run was worth watching (if it had a small amount of votes or a lot of unsure/meh ones.)
The unfortunate thing about changing it at all is that it leaves some people unhappy.
Except that 2 out of 3 active judges have weighed in and neither have voted for this. And at least 1 (me) has mentioned being against this very concept.
Doesn't that kind of put a stigma against it?
Judges are the ones most benefitted by the system; if they all dislike the potential change, it doesn't seem likely that it will be added...
I still want to see the return of the old system. The "use ratings instead, unhidden per user preference" is good too.
What's the point of hiding the votes? As it is you can't tell who voted what, and anybody who votes "No" should be posting. There's nothing to gain from it except removing a quick and easy way to get a general assessment of opinions about the movie.
I think this whole idea is stupid, and this is coming from somebody who is quite often being yelled at for voting no for some reason or another.
I meant constructing a raw bitmap from scratch (which is easy), outputting to file, loading in dialog. Something like that should be able to work. Don't know about speed, and trying to cut away the file operation would probably be a good idea as well :p
And as I said, I wouldn't even know where to begin. :|
Darn. If only painting was faster :|
Not even sure where to begin there, and I fear GD might even be slower than Lua's current painting. Ick.
Also
Small, mostly pointless speedometer. Woo, or something.
I vote no unless this is published using the high-res texture pack, in which case I vote a resounding yes. With all the bells and whistles.
Fun movie and a great way to blow 2:50 :)
Btw: Xkeeper: Canvas Drawing: http://www.tecgraf.puc-rio.br/cd/
But don't ask me how to get it running, please do tell me if you managed it to :p
Haha. That's funny.
I've tried pretty much anything I could think of; at best I managed to crash FCEUX.
http://xkeeper.shacknet.nu:5/emu/nes/lua/test.lua
There's no "Example of usage in Lua" bit or anything, so you know. CRASH
Being able to use GD would be nice, but unless I can figure out how to stuff it into a dialog (or otherwise externalize it) I'm pretty much screwed. D'oh. I'm not sure how I'd do that in IUP :(