A.J. Franzman Posted April 8, 2006 Share Posted April 8, 2006 Does the original seed start the sequence at the first of those 57337 levels? Quote Link to comment Share on other sites More sharing options...
Thomas Jentzsch Posted April 8, 2006 Share Posted April 8, 2006 So I guess this answers the questions others have had then... is it at level 57338 that the game goes haywire? No, it just repeats. Any other River Raid mysteries you'd care to illuminate? You can always have a look into my River Raid disassembly. Maybe just reading the initial comments. Quote Link to comment Share on other sites More sharing options...
Thomas Jentzsch Posted April 8, 2006 Share Posted April 8, 2006 Does the original seed start the sequence at the first of those 57337 levels? Uhm, which one should be the first level, when they are generated randomly? The one with the lowest seed? Quote Link to comment Share on other sites More sharing options...
A.J. Franzman Posted April 8, 2006 Share Posted April 8, 2006 (edited) You only just posted that the cycle repeats! So obviously there is no "first" level of the pseudorandom sequence. If it did not repeat (i.e. the game ends, freezes or crashes at a specific level), then the first level would of course be the one furthest from the ending. Edited April 8, 2006 by A.J. Franzman Quote Link to comment Share on other sites More sharing options...
Thomas Jentzsch Posted April 8, 2006 Share Posted April 8, 2006 You only just posted that the cycle repeats! So obviously there is no "first" level of the pseudorandom sequence. You are absolutely right. Quote Link to comment Share on other sites More sharing options...
G.Whiz Posted April 11, 2006 Share Posted April 11, 2006 Okay, so why end the game at one million then? Rollover was obviously possible -- Space Invaders did it. Why not just let you continue onward? And is it possible to hack it now so it doesn't freeze? ~G Quote Link to comment Share on other sites More sharing options...
D.Yancey Posted April 11, 2006 Share Posted April 11, 2006 Okay, so why end the game at one million then? Rollover was obviously possible -- Space Invaders did it. Why not just let you continue onward? And is it possible to hack it now so it doesn't freeze? ~G Have you finished it up to the first million yet? Quote Link to comment Share on other sites More sharing options...
G.Whiz Posted April 11, 2006 Share Posted April 11, 2006 Okay, so why end the game at one million then? Rollover was obviously possible -- Space Invaders did it. Why not just let you continue onward? And is it possible to hack it now so it doesn't freeze? ~G Have you finished it up to the first million yet? Ha! No, but I think some have... in my case it is just a hypothetical question. I'm more interested to know about the workings of Activision -- why limit the game this way, as they did others? Does it take more RAM to go past 1,000,000, even with a rollover? ~G Quote Link to comment Share on other sites More sharing options...
kisrael Posted April 11, 2006 Share Posted April 11, 2006 Well, one million comes from being more than the typical six digit display can show. I think the !!!! is there so that for, say, the patch club, someone doesn't say "no, that's a MILLION five hundred, not just five hundred..."....that kind o thing. Quote Link to comment Share on other sites More sharing options...
+FujiSkunk Posted April 11, 2006 Share Posted April 11, 2006 So obviously there is a fixed number of possible configurations available by changing the seed. How many? (My first guess is 256 but I don't know all of the factors involved.) No, there are 2^16-1 = 65535 values possible (0, 0 is not allowed). 57337 of those will jump somewhere into the sequence of the original River Raid (being 57337 sections long), the others create a different, shorter sequence. Thomas, are you saying that there are only two sequences total, one with 57337 levels and another with 8198 levels? Well, one million comes from being more than the typical six digit display can show. I think the !!!! is there so that for, say, the patch club, someone doesn't say "no, that's a MILLION five hundred, not just five hundred..."....that kind o thing. That and the Activision programmers thought it would probably give gamers a goal to work toward, like the kill screen on games like Pac-Man. Quote Link to comment Share on other sites More sharing options...
Thomas Jentzsch Posted April 11, 2006 Share Posted April 11, 2006 Thomas, are you saying that there are only two sequences total, one with 57337 levels and another with 8198 levels? Probably, though I haven't checked this. But with the original seed, all levels in the 2nd sequence are out of scope, that's for sure. Quote Link to comment Share on other sites More sharing options...
Nukey Shay Posted April 12, 2006 Share Posted April 12, 2006 The one-million point goal was kind of a trademark with Activision games. While it would be possible to remove that goal, getting there is such a long chore anyway...so it's not really necessary. Though if you were after something like saving program space, that would be an easy target to save a few bytes. Quote Link to comment Share on other sites More sharing options...
D.Yancey Posted April 13, 2006 Share Posted April 13, 2006 There is never a dull moment in River Raid. You can have a break anytime you lose a plane, so that's nice. It is every bit of 3 hours + to get to one million. You guys are talking about the generating of the scenery and enemies in River Raid and how it never repeats. You should check out some of the WEIRD patterns that are generated in the river scenes in River Raid II after about 500,000 points. Absolute murder! And you better enter the river with full fuel or you're as good as dead. Quote Link to comment Share on other sites More sharing options...
Nukey Shay Posted April 14, 2006 Share Posted April 14, 2006 Okay, so why end the game at one million then? Rollover was obviously possible -- Space Invaders did it. Why not just let you continue onward? And is it possible to hack it now so it doesn't freeze? BTW the game should easily be possible to hack to ignore a score rollover. Just search for the loop that uses branches to the tag .maxedOut...and just comment out everything from that point down to (and including) the jmp instruction. That should prevent it from altering the score pointers to "!" and freezing the game. Quote Link to comment Share on other sites More sharing options...
+batari Posted April 15, 2006 Share Posted April 15, 2006 I had a little fun this evening with TJ's disassembly. I changed the game to allow you to select from 4 completely different rivers, each 65535 units long (if I've done it correctly, that is.) Selection matrix: Game River # players 1 1 1 2 1 2 3 2 1 4 2 2 5 3 1 6 3 2 7 4 1 8 4 2 RiverRaid_4rivers.zip Quote Link to comment Share on other sites More sharing options...
D.Yancey Posted April 15, 2006 Share Posted April 15, 2006 Great hack! The 4 rivers are certainly different. Is there a method in determining which variation is most difficult or are they simply generated the same way as the original in a different order and starting point? Quote Link to comment Share on other sites More sharing options...
+batari Posted April 16, 2006 Share Posted April 16, 2006 Great hack! The 4 rivers are certainly different. Is there a method in determining which variation is most difficult or are they simply generated the same way as the original in a different order and starting point? They are generated a little differently than the original, but all 4 new rivers are generated in a similar manner to each other. All have the objects in a different order. I imagine that the 4 rivers will likely be about equal in difficulty, but I haven't played them enough to be sure. Quote Link to comment Share on other sites More sharing options...
kisrael Posted April 16, 2006 Share Posted April 16, 2006 Batari: he does the things the rest of us just talk about. I'd recommend some variation of that, or "the coder you wish you were", for your profille's "Custom Status"... Seriously, you rarely fail to impress. Quote Link to comment Share on other sites More sharing options...
mugnatto Posted May 6, 2006 Share Posted May 6, 2006 Great hack! The 4 rivers are certainly different. Is there a method in determining which variation is most difficult or are they simply generated the same way as the original in a different order and starting point? They are generated a little differently than the original, but all 4 new rivers are generated in a similar manner to each other. All have the objects in a different order. I imagine that the 4 rivers will likely be about equal in difficulty, but I haven't played them enough to be sure. Batari: you could have earned hundreds of thousands of dollars in the 80s with this hack and a name such as Super River Raid where I live, in Brazil. No RR hack I know is this good! Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted April 2, 2008 Share Posted April 2, 2008 Why a random generator was implemented in the first place is because space in a rom cartridge is limited...it was the easiest way to insure that the game levels would be the same from game-to-game (without all of them mapped out in memory). Why it wasn't possible to override this function is obvious...there'd be no way to gaurantee that a seed value could be discovered which allowed very easy gameplay...or which featured very difficult gameplay. So Activision's own 15,000 pt. benchmark and !!!!!! goal would become irrelevant. I don't care about how easy or hard the rivers would be if they were random. Just let them be whatever they'll be. If a game starts out too hard, I could hit the reset button. I just play for the fun of it because I'm in the mood to play that game. I play until I get bored with it or until I have to get back to work or until I get in the mood to play another type of game. The score only means something to me if I get a new life after a certain number of points. So now we have 4 rivers for River Raid and random levels for H.E.R.O. on game 5: http://www.atariage.com/forums/index.php?s...st&p=738734 I'd like River Raid even more if could have more than 4 rivers. Just have it randomly start out with any one of 255 rivers. If it starts out too hard, hit the reset button. Has anyone hacked Pitfall! so the screens are random every time? I love swinging on the vines, but I only play for about 5 or 10 minutes since the rest of the gameplay is boring to me. Having different screens every time I play would be nice. Quote Link to comment Share on other sites More sharing options...
supercat Posted April 2, 2008 Share Posted April 2, 2008 Has anyone hacked Pitfall! so the screens are random every time? I love swinging on the vines, but I only play for about 5 or 10 minutes since the rest of the gameplay is boring to me. Having different screens every time I play would be nice. There was a hack which varied the starting point, but the overall sequence remained the same. A nicer approach, if a byte were available to hold the "game number", would have been to adjust the routines to move left/right: moveleft: lda gamenumber eor screen sta screen (insert old moveleft code here) lda gamenumber eor screen sta screen moveright: lda gamenumber eor screen sta screen (insert old moveright code here) lda gamenumber eor screen sta screen When gamenumber is zero, this would yield the same sequence as normal PitFall!, but non-zero game numbers would generate different sequences of 256 rooms. Quote Link to comment Share on other sites More sharing options...
+Random Terrain Posted April 3, 2008 Share Posted April 3, 2008 There was a hack which varied the starting point, but the overall sequence remained the same. A nicer approach, if a byte were available to hold the "game number", would have been to adjust the routines to move left/right: moveleft: lda gamenumber eor screen sta screen (insert old moveleft code here) lda gamenumber eor screen sta screen moveright: lda gamenumber eor screen sta screen (insert old moveright code here) lda gamenumber eor screen sta screen When gamenumber is zero, this would yield the same sequence as normal PitFall!, but non-zero game numbers would generate different sequences of 256 rooms. Does that mean a person who can hack game code could make a version of Pitfall that has random rooms? Or is there no space to do it? Quote Link to comment Share on other sites More sharing options...
supercat Posted April 3, 2008 Share Posted April 3, 2008 Does that mean a person who can hack game code could make a version of Pitfall that has random rooms? Or is there no space to do it? It would probably be doable. Nukey has managed to squeeze in enough other goodies. That having been said, I'd prefer numbered pseudo-random to random, since that would allow players to compete in hundreds of new "worlds". Quote Link to comment Share on other sites More sharing options...
thomasholzer Posted April 3, 2008 Share Posted April 3, 2008 My ex finished River Raid, took her 7.5 hours, and yes after the !!!!!! the game just didn't start again. Whereas Mario Bros. after 1 Mill it started over again. Quote Link to comment Share on other sites More sharing options...
kisrael Posted March 24, 2010 Share Posted March 24, 2010 (edited) Reviving an old thread... Years ago, B.Watson started making maps of River Raid, using a hack that meant your plane never got hit and never ran out of fuel. He then did some cleverness to stitch the resulting screens together... I posted his result here: http://kisrael.com/2005/11/28/ Does anyone think we could get a longer more complete map? Maybe broken up into slices that can be displayed side by side for convenience or as one giant web page you can just scroll and scroll and scroll... Anyone got the techie chops for this? I guess you just need the right hacked ROM and an emulator that can take a screenshot every X frames, then a bit of Image Magick to slice and dice the results.... Edited March 24, 2010 by kisrael Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.