Thread: Trying to load object data from 474 in Arios 498 client

Results 1 to 3 of 3
  1. #1 Trying to load object data from 474 in Arios 498 client 
    Registered Member
    Join Date
    Aug 2019
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    I've been attempting to load the 474 landscape objects in my 498 Arios client/server without much luck.

    So far, I've tried the following:

    Just directly copying map file 382 and 383 (Lumbridge) from the 474 cache using Harlan's Cache Manager
    - Result: Ground tiles work as expected because there is no XTEA encryption, but all objects fail to load within the affected region, and the console outputs invalid XTEA errors - all other regions work

    Copy the 'decryptXtea' function from the 474 client deob into my 498 client, and use the 474 XTEA decrypt code when the 383 file is being processed
    - Result: Invalid GZIP header error, Invalid XTEA errors

    GZipped the 383 file before putting it into the 498 cache
    - Result: When logging in, the loading bar gets to 31% and freezes with null reference errors in the console

    Changed XTEAs for region 12850 (Lumbridge) and re-packed the packed.mxk file, but there was no change (These keys could be wrong, they come from a random "474 XTEAs.txt" file I downloaded at some point.)
    - Result: Same as the first result (no objects appear + invalid XTEA errors)

    Tried XTEAs set to 0,0,0,0 for region 12850 in the packed.mxk file
    - Result: Same as the first result (no objects appear + invalid XTEA errors)

    Tested to ensure Harlan's Cache Manager isn't corrupting the files by replacing the 383 file in my 498 cache with itself
    - Result: The 498 objects for map 383 load without error (so it isn't the cache manager messing it up)

    I'm not sure what else to try, am I forgetting a vital or obvious step? I could use another revision besides 474, so long as it looks similar to how Runescape looked just before or after the grand exchange was added.
    My ultimate goal is to re-create Runescape like it was around 2006/2007, but with full screen. I'm trying to match the experience of RS by recording all of the quests + all possible chat dialogues from OSRS, and manually re-creating missing content that the Arios team didn't get to. The landscape content in Arios 498 isn't as old as I'd like RS to look, but I also really like the server structure they already wrote so I'd like to just downscale my Arios 498 landscape to 474 or similar.

    Thank you for reading.
    Last edited by PurpleDiscoCat; 09-11-2021 at 07:17 AM. Reason: Fixed formatting
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Jul 2012
    Posts
    25
    Thanks given
    3
    Thanks received
    1
    Discord
    View profile
    Rep Power
    11
    https://archive.openrs2.org/caches/237/map.png

    Check out this 474 map from Graham‘s archive, sadly we don‘t have many XTEAs for 474, not even full Lumbridge. Maybe the ones you downloaded weren‘t for a clean 474 cache. You could use 468 (the one OSRS was based on): https://archive.openrs2.org/caches/241 (has cache, XTEAs, and you can click on map to see the same picture as above, we have a lot more keys for the mainland from OSRS).
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Aug 2019
    Posts
    6
    Thanks given
    0
    Thanks received
    0
    Rep Power
    0
    Quote Originally Posted by Alex Winter View Post
    https://archive.openrs2.org/caches/237/map.png

    Check out this 474 map from Graham‘s archive, sadly we don‘t have many XTEAs for 474, not even full Lumbridge. Maybe the ones you downloaded weren‘t for a clean 474 cache. You could use 468 (the one OSRS was based on): https://archive.openrs2.org/caches/241 (has cache, XTEAs, and you can click on map to see the same picture as above, we have a lot more keys for the mainland from OSRS).
    Thank you! I appreciate how quickly you responded. I tried the 468 cache from the 'Displee' source today which looks very promising - but I'm unfortunately still getting the 'Invalid xtea keys received!' error. I've updated the packed.mxk file using the XTEA keys for region 12850 (50_50 on the map, in red) and then replaced file 383 in index 5 of the 498 cache with the 468 file. I also tried copying the 468 client's XTEA decrypt function into my client, similar to how I did for 474 - but there's no change and I still get the invalid XTEA error.

    I'll keep trying some things and post here if I figure it out.

    (EDIT)
    So far, I've found that the packed.mxk file isn't even used, it was just being generated for some reason. That means the XTEA keys I was messing with weren't even being used. Is there somewhere else that I need to use the XTEA keys?
    Is it failing because the 50_50 area on the map is red, indicating the XTEAs aren't good there? I'll be trying another region that isn't red tomorrow to see if it matters.

    (EDIT 2)
    I've figured it out, I had to hook up the UpdateSceneGraph 'parse' function and a couple of other spots in the server to use the packed.mxk file's keys, because apparently Arios used a single key for all of their map data. Now it works, and I can see the 468 objects/terrain.
    Last edited by PurpleDiscoCat; 09-13-2021 at 12:38 AM. Reason: Solved problem
    Reply With Quote  
     


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. Replies: 56
    Last Post: 07-16-2017, 03:49 AM
  2. PI Help trying to load Objects.json
    By TanzanitePS in forum Help
    Replies: 2
    Last Post: 04-21-2016, 08:51 AM
  3. Best way to save / load objects / data structures?
    By Harha in forum Application Development
    Replies: 1
    Last Post: 03-21-2015, 08:59 PM
  4. Replies: 0
    Last Post: 02-20-2013, 07:07 AM
  5. trying to load 474 models
    By Flippy in forum Help
    Replies: 2
    Last Post: 03-31-2012, 02:36 AM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •