Thread: Revision 225 (2004) Cache/Client/Packets

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1 Revision 225 (2004) Cache/Client/Packets 
    Contributor


    Join Date
    Oct 2013
    Posts
    31
    Thanks given
    34
    Thanks received
    91
    Discord
    View profile
    Rep Power
    286
    Cache and original client: https://runewiki.org/archive/cache/225.zip

    This is essentially right after the RS2 launch, which was March 29th, 2004. Revision 225 is dated May 18, 2004.

    Spoiler for Media:









    I started refactoring the client and will improve this over time. Not worried about best naming conventions yet, I have a bunch I need to go through again later.
    https://github.com/Pazaz/RS2-225

    The network protocol can be largely understood from the refactored code, but here's a big table on client/server packets: https://www.runewiki.org/Old_Engine/...l?revision=225
    Until I can write some full pages on things I recommend reading through both the refactored code and protocol page if you want to make a 2004 server.

    Cache information:
    1) Every loose file in the cache gets saved with its base37 representation as its name. It can be reversed, but special characters are replaced with underscores, so it will not have its original filename. It's also limited to 12 characters.
    2) Maps and MIDIs are compressed using BZip2, and the first 4 bytes is the uncompressed size of the file. It gets replaced with the BZip2 header when decompressing.
    3) Take a look at the missing regions below: (red=missing, green=can take from 289 as it's unchanged, blue=exists)
    Spoiler for Map overview:

    4) There are no jingles as they weren't saved. There are a fair bit of songs still.

    Notes:
    1) The original player launched the game on April 2nd and played to May 27th, never revisiting some areas. On June 1st Jagex introduced the new cache format and updates would've gone to main_file_cache instead.
    2) You can use Jagex's RSA key: https://www.rune-server.ee/runescape...ion-597-a.html
    3) I think 225 may have been the last public release before the cache format was introduced (234) because there are maps here from May 27, and 234 would've been June 1st. Not much time for 9 public revisions and they probably needed some revisions to get the new format working.
    4) You can use newer maps with the client, but you need to catch exceptions when loading newer/out-of-bounds objects. The area may just appear black otherwise
    5) One of the mapscene sprites included in this cache makes Lumbridge's river look weird. It's not included in the 194 or 289+ caches, it gets left as a transparent sprite. I have a theory it might've been a debug sprite and the original player never revisited Lumbridge to get the "225" map. Either that or Jagex left it as a mistake in this build. But it seems to line up with the collisions. Its index is 22 in mapscene.dat, and can be skipped from loading or rendering in the client
    Spoiler for Weird mapscene sprite:


    And finally... enjoy! I highly recommend filling any gaps with what we have from 289 (Jan 2005). Here's some extra goodies

    225 models converted to the 234+ format: https://runewiki.org/archive/misc/225-models.zip - animations not included, it will look very off if you repack these into a newer cache

    MIDIs decompressed for convenience: https://runewiki.org/archive/misc/225-songs.zip

    EDIT Feb 14 2022:
    I obtained another 225 source to merge today! This player started in the RS2 beta and you'll find new timestamps from Dec 2003 - March 2004. Unfortunately no maps remain that would've been used with 186/194, other than a couple unused underworld regions.

    1) New map files: from 474 files to 610, with 9 that have another revision. I placed them in a "rev1" folder and the main folder has the latest revision.
    2) New midis: from 96 files to 135.
    3) Older timestamps for some files to help build a timeline of changes

    Check the updated map overview!

    EDIT Feb 17 2022:
    Got another 225 cache from 2004! This time from a f2p player who started at launch. It didn't get us new map regions, but did get earlier versions of some. We now have 32 files that have another revision, and I placed them in a rev1/ folder. Also replaced a few file timestamps with earlier ones from this source.
    It also had a "different" copy of medieval.mid, but I can't tell if there was really any difference other than metadata.
    Reply With Quote  
     


  2. #2  
    Nes
    Nes is offline
    RSPS Youtuber at youtube.com/nesrsps

    Nes's Avatar
    Join Date
    Aug 2014
    Age
    23
    Posts
    460
    Thanks given
    183
    Thanks received
    277
    Rep Power
    1096
    looking good

    Watch content, find a new RSPS or advertise your server!
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    May 2020
    Posts
    6
    Thanks given
    0
    Thanks received
    7
    Discord
    View profile
    Rep Power
    0
    Lovely, thanks!
    Reply With Quote  
     

  4. #4  
    WVWVWVWVWVWVWVW

    _jordan's Avatar
    Join Date
    Nov 2012
    Age
    24
    Posts
    2,971
    Thanks given
    95
    Thanks received
    1,693
    Discord
    View profile
    Rep Power
    5000
    Very cool.
    Reply With Quote  
     

  5. #5  
    Registered Member
    Teemuzz's Avatar
    Join Date
    Oct 2009
    Posts
    2,753
    Thanks given
    1,205
    Thanks received
    421
    Rep Power
    934
    the community never fails to amaze me. Great piece of history right here saved
    Reply With Quote  
     

  6. #6  
    Respected Member


    George's Avatar
    Join Date
    Mar 2009
    Posts
    7,121
    Thanks given
    2,224
    Thanks received
    3,105
    Discord
    View profile
    Rep Power
    5000
    You're an absolute legend.



    Reply With Quote  
     

  7. #7  
    08-13, SpawnScape Owner

    jet kai's Avatar
    Join Date
    Dec 2009
    Age
    26
    Posts
    872
    Thanks given
    614
    Thanks received
    882
    Discord
    View profile
    Rep Power
    5000
    @Omar lets do it!
    Reply With Quote  
     

  8. #8  


    Wayne's Avatar
    Join Date
    Jan 2012
    Posts
    153
    Thanks given
    70
    Thanks received
    79
    Discord
    View profile
    Rep Power
    364
    Amazing
    Reply With Quote  
     

  9. #9  






    Omar's Avatar
    Join Date
    Dec 2007
    Posts
    276
    Thanks given
    598
    Thanks received
    759
    Discord
    View profile
    Rep Power
    5000
    Goated. Easily the coolest release in a very, very long time. And the refactor is great!

    Quote Originally Posted by jet kai View Post
    @Omar lets do it!
    Planning on it!


    Spoiler for aaaa:



    Reply With Quote  
     

  10. #10  
    Contributor


    Join Date
    Oct 2013
    Posts
    31
    Thanks given
    34
    Thanks received
    91
    Discord
    View profile
    Rep Power
    286
    Updated the refactor to ignore the weird mapscene sprite, and also load the 289 maps by ignoring missing models (link at the end of the first post). Shouldn't affect anyone who wants to only use the original maps

    Spoiler for Media:

    Fixed lumbridge after ignoring the sprite:


    289 map before:


    289 map after:

    Reply With Quote  
     

  11. Thankful users:


Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. A 225-275 rs client and cache
    By 42 in forum Requests
    Replies: 6
    Last Post: 09-13-2009, 02:43 AM
  2. [512] Server, Cache, Client
    By Glabay in forum Downloads
    Replies: 20
    Last Post: 05-26-2009, 10:03 PM
  3. req a normal 317 cache client
    By Mikey` in forum Requests
    Replies: 3
    Last Post: 01-10-2009, 10:39 PM
  4. 509 Client/packet dumper/mapdata dumper
    By Project 503 in forum RS 503+ Client & Server
    Replies: 8
    Last Post: 09-03-2008, 02:48 AM
  5. Replies: 3
    Last Post: 09-10-2007, 07:07 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •