English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   project.WHDLoad (http://eab.abime.net/forumdisplay.php?f=63)
-   -   Midnight Resistance WHDload Slave Update (http://eab.abime.net/showthread.php?t=48790)

Retro1234 08 November 2009 02:33

Quote:

Originally Posted by Hungry Horace (Post 613659)
it was simple, once i'd worked out the palette values in raw data (e.g. 0F FF being pure white), i was able to search for them in the game data (using the AR3 on my a500 to test "on the fly")

setting all values to pink/black meant i could check for anything that was being changed /missed - such as the shop data. locating that wasnt too hard either once i knew what the values had changed to.

then i extracted all the value that were stored, caluclated what they would be "doubled" and add that to the whdload patch. I'm still in the process of adding other things to it as well, and i have yet to find the 2 colours required for the hardware sprites. (a grey and a red)

edit - if i dont post much on this in the next few days it is because my laptop psu has gone down and i'm conserving the battery until the replacement arrives! looks like im back on the a1200 for actual work on it!

:bowdownfiguring out the first value 0F FF seems laborious/hard you went through a lot of hex?
Anyway well done

Hungry Horace 08 November 2009 13:05

$0FFF was just an example - obviously there were no FFF values because everything was < $0777


it's very easy to find a complete set of palette entries when you rip a picture with AR3 and load it in dpaint. Searching for the the right memory / file-offset address took minutes. - no manual searching required.

The only bit that took any real length of time was calculating the doubled-values.

Retro1234 08 November 2009 13:16

Ok -Sorry for questions ive never been able to alter the palette of a game- You ripped the Picture with AR3 this gave you a Perfect IFF with all corect palette how did you then figure out the RAW values of the colours used in the picture?

Edit:The RAW values you then searched for?

Hungry Horace 08 November 2009 13:40

i opened dpaint (in ecs mode), loaded the picture (see screenshots above) and wrote down the value for the first few entries (using the pallete screen) .... really wasnt any more complex than that!

Retro1234 08 November 2009 13:52

Thanks for your replys ill check it out:)

Retro1234 08 November 2009 17:11

Midnight Resistance WHDload Slave Update
 
1 Attachment(s)
Sorry dude ive done the obvious ripped the picture with ARIII - picture attached bellow - how do I get the HEX value for the brown for example to search memory for the brown value?

StingRay 08 November 2009 17:22

Quote:

Originally Posted by Boo Boo (Post 613780)
Sorry dude ive done the obvious ripped the picture with ARIII - picture attached bellow - how do I get the HEX value for the brown for example to search memory for the brown value?

Pick the brown color in D-Paint ("," key) and convert the decimal RGB values to hex.

Retro1234 08 November 2009 17:50

Quote:

Originally Posted by StingRay (Post 613784)
Pick the brown color in D-Paint ("," key) and convert the decimal RGB values to hex.

Ok this will give me a six figure HEX -RGB -Thankyou:)

Edit:Brown = $503010
Ill search for this string

Hungry Horace 08 November 2009 18:57

actually brown would be $0531 in this case. there is always a lead zero, with the RGB value filling 2 bytes.


if you boot dpaint in an OCS/ECS mode (just set uae to non-AGA) you'll find it a lot easier, as you'll have the proper values, and not the AGA ones, so less "calculation" is needed.

Hungry Horace 08 November 2009 19:06

here are the values i patched (in) for the first 4 colours;

Code:

                PL_L        $955E,$00000A62       
                PL_L        $9562,$08640A86

so the originals (which you can search for) would be;
0000 0531 0432 0543

Retro1234 08 November 2009 19:12

Im using Dpaint 4 OCS and this is giving me the correct values -
Thanks again HH for your help:bowdown, very intresting stuff -Im intrested in anything like this:)
Lesson 2 finding keyboard routines:D

Hungry Horace 08 November 2009 19:21

look around $68 and you will find reference to some memory locations to start looking in for keyboard routines (doesnt always work, but it's where i start - you can thank BippyM and StingRay for giving me tips like that!)

andreas 08 November 2009 21:29

Quote:

Originally Posted by IFW (Post 613661)

Thanks.
Hmm...
Broken site? Gives me a "This site is not redirecting properly" error in Firefox. Had to use IE to view it. Hrmphhh...

Maybe a bad web server config? Took one whole minute to load; then surprisingly it worked in Firefox too. Odd.

Retro-Nerd 08 November 2009 21:30

Quote:

Originally Posted by andreas (Post 613860)
Broken site? Gives me a "This site is not redirecting properly" error in Firefox. Had to use IE to view it. Hrmphhh... :bash

Works fine here with Firefox.

Hungry Horace 08 November 2009 23:36

TCD has kindly posted in the Zone for me the latest version

1.5 Beta 3
- bug in brigtness patch fixed (thanks StingRay for highlighting my flaws!)
- loading / saving of highscores added for both versions.

enjoy :)

Retro-Nerd 08 November 2009 23:42

Great, a highscore saver. What's next (besides the jump button support)? Some extra levels? :D :great

TCD 08 November 2009 23:46

Trainer! Trainer! :D ;)

Hungry Horace 08 November 2009 23:48

trainers and 2nd button planned.... possible cd32 pad support (i.e. including a jump button, pause etc) if i can get some assistance in doing it right.

Retro-Nerd 08 November 2009 23:48

For the convenience, true. But there is a cheat for unlimited continues.

http://hol.abime.net/2468/cheatcode

Hungry Horace 08 November 2009 23:53

/me ponders the irony of the "blueday" cheat!

i was actually thinking of something other than continues. check out the really impressive Thyrone trainers on the angels' crack ADF


All times are GMT +2. The time now is 18:55.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.

Page generated in 0.04759 seconds with 11 queries