You are not logged in.
Lost Password?


Register To Post



 Bottom   Previous Topic   Next Topic

#11
Re: Updated Reality Boy
Posted on: 2010/2/10 7:04
PVB Elite
Joined 2003/7/25
USA
1507 Posts
PVBCC 1stCoderContributor#3 PosterHOTY09 EntryLong Time User (15 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
Thanks for the start dasi!

BTW, I updated the map mask tool, as well as created a map diff tool. In the mask tool, you can now specify what the fill byte is (nice for looking at disassemblies of masked code). You can also output "all except code" and "all except data", which masks off data specified as code or data, rather than masking the entire ROM except those.

The diff tool takes the difference between two maps. This is basically to allow you to get a map of the same part of the game, except do two different things (select different character, jump instead of run, etc), and see what the difference in the code and data is. Hopefully this would pinpoint the specific differences.

They're attached to this post.

DogP

Attach file:


zip map_diff.zip Size: 131.73 KB; Hits: 126
zip map_mask.zip Size: 132.04 KB; Hits: 139
Top

#12
Re: Updated Reality Boy
Posted on: 2010/2/11 7:02
PVB Elite
Joined 2003/7/25
USA
1507 Posts
PVBCC 1stCoderContributor#3 PosterHOTY09 EntryLong Time User (15 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
I played through a bunch of Mario's Tennis, trying to exercise as much code and data as possible (selecting all characters, playing different modes, etc)... so here's the map. It's getting pretty well mapped out, and I looked at this... I believe all the "extra" code is at 0x015fdc and before. I don't see anything particularly interesting, though there's still a lot of code, so it's hard to try to make sense of it all.

I didn't beat any tournaments in Special mode though, so if someone has some spare time and is any good at it, please upload a map of beating Special Easy, Medium, and Hard (and when you get to credits, menus, etc, let them play through as much as possible).

DogP

Attach file:


zip mt.zip Size: 6.71 KB; Hits: 114
Top

#13
Re: Updated Reality Boy
Posted on: 2010/2/11 19:32
PVB Elite
Joined 2010/1/5
Sweden
560 Posts
Long Time User (9 Years) Donator30+ Game Ratings
The latest version (with the graphic "error" fixes) seems to ask for a file called alleg42.dll which it hasn't been using before. I don't seem to have it on any of my harddrives - what does it do, why is it new?
Top

#14
Re: Updated Reality Boy
Posted on: 2010/2/12 8:06
PVB Elite
Joined 2003/7/26
USA
1465 Posts
PVBCC EntryCoderContributorSpecial AchievementTop10 PosterHOTY09 EntryLong Time User (15 Years) App Coder20+ Game RatingsPVBCC 2013 Entry
Quote:

e5frog wrote:
The latest version (with the graphic "error" fixes) seems to ask for a file called alleg42.dll which it hasn't been using before. I don't seem to have it on any of my harddrives - what does it do, why is it new?


It is the Allegro game library. It allows RB to access graphics, sound, and input devices, and simplifies some other stuff. I don't know why it hasn't been using it before. It has always used Allegro. Maybe you accidentally deleted it?

I attached the one I use, but you can also download it (with a bunch of other stuff) from here:

http://sourceforge.net/projects/alleg ... -msvc6-4.2.2.zip/download

Attach file:


dll alleg42.dll Size: 253.00 KB; Hits: 108
Top

#15
Re: Updated Reality Boy
Posted on: 2010/2/12 8:13
PVB Elite
Joined 2003/7/25
USA
1507 Posts
PVBCC 1stCoderContributor#3 PosterHOTY09 EntryLong Time User (15 Years) App CoderPVBCC 2010 EntryPVBCC 2013 Entry
The new versions from David Tucker don't require that file because he statically linked the dll... his old versions (built w/ VC6) didn't, and my builds are based off that, which requires the dll file.

DogP
Top

#16
Re: Updated Reality Boy
Posted on: 2010/2/12 11:02
Administrator
Joined 2000/1/8
Germany
2515 Posts
Highscore Top10Highscore Top ScoreCoder#1 PosterHOTY09 1stLong Time User (15 Years) App Coder90+ Game Ratings
Have you talked to David about incorporating your changes and releasing a new "official" version of Reality Boy?
Top

#17
Re: Updated Reality Boy
Posted on: 2010/2/12 11:48
PVB Elite
Joined 2003/7/26
USA
1465 Posts
PVBCC EntryCoderContributorSpecial AchievementTop10 PosterHOTY09 EntryLong Time User (15 Years) App Coder20+ Game RatingsPVBCC 2013 Entry
Quote:

DogP wrote:
...he statically linked the dll...


Ah, that explains why your exe was so much smaller than the one I replaced with it... (Actually, come to think of it, I think I had to move an Allegro DLL into the folder, too...)
Top

#18
Re: Updated Reality Boy
Posted on: 2010/2/12 20:18
PVB Elite
Joined 2010/1/5
Sweden
560 Posts
Long Time User (9 Years) Donator30+ Game Ratings
"Latest" version of Reality Boy 164kB
Allegro dll 253kB
"Old" Reality Boy 636kB

It doesn't really add up...


Also, even if I select "Red" palette it runs in black/white mode. And affine mode seems to be stuck in red/green mode or something...
Top

#19
Re: Updated Reality Boy
Posted on: 2010/2/12 21:04
PVB Elite
Joined 2003/7/26
USA
1465 Posts
PVBCC EntryCoderContributorSpecial AchievementTop10 PosterHOTY09 EntryLong Time User (15 Years) App Coder20+ Game RatingsPVBCC 2013 Entry
Did you check to see if the DLL is UPX packed? (I'm testing out GNUstep right now, or I would do it myself.) Also, the DLL is probably newer than the static lib DT linked with, so it could just be more efficiently coded, or have certain code disabled, or something.

About the problems: by "pick" do you mean from the front-end? If so, are you using my modified front-end, or one from a specific version of RB, or... The front-end may not be using the same command-line syntax the emulator is expecting.

The workaround is to run RB from a shortcut with manually chosen options, or associate .VB files with it in the registry.
Top

#20
Re: Updated Reality Boy
Posted on: 2010/2/13 6:41
PVB Elite
Joined 2003/7/26
USA
1465 Posts
PVBCC EntryCoderContributorSpecial AchievementTop10 PosterHOTY09 EntryLong Time User (15 Years) App Coder20+ Game RatingsPVBCC 2013 Entry
EDIT: It is UPX'ed.
Top

 Top   Previous Topic   Next Topic


Register To Post