d2jsp
Log InRegister
d2jsp Forums > Diablo II > Diablo 2 Discussion > Does Anyone Know How To Find The Mapseed In Sp?
Add Reply New Topic New Poll
Member
Posts: 10,894
Joined: Apr 15 2008
Gold: 107.00
Jul 5 2024 10:55pm
I can see some github downloads to map seed but i want to know if anyone has any way of finding map seeds of my current single player characters?
Member
Posts: 10,965
Joined: May 30 2019
Gold: 167.69
Warn: 20%
Jul 6 2024 03:50pm
out of curiosity, whats a map seed?
Member
Posts: 10,894
Joined: Apr 15 2008
Gold: 107.00
Jul 6 2024 10:09pm
Quote (SylvesterStallone @ Jul 6 2024 02:50pm)
out of curiosity, whats a map seed?


a map seed is the predetermined map that you get when you enter a game. On single player its a static map seed so you get the same map every time you enter the same difficulty and online you get a different map seed every time you enter a game
Member
Posts: 10,965
Joined: May 30 2019
Gold: 167.69
Warn: 20%
Jul 6 2024 11:36pm
Quote (liniculus @ Jul 7 2024 06:09am)
a map seed is the predetermined map that you get when you enter a game. On single player its a static map seed so you get the same map every time you enter the same difficulty and online you get a different map seed every time you enter a game


Aha.
And just to see if I understood correctly, map seeds can be added into single player so your map is not whatever you got/rerolled by switching difficulties and instead you want to implement a map file to D2 folder and use that map?

Never heard of it tbh.
Most people in SP only cared about LK map, durance lvl2 and desired alvl85 area :D

This post was edited by SylvesterStallone on Jul 6 2024 11:37pm
Member
Posts: 10,894
Joined: Apr 15 2008
Gold: 107.00
Jul 7 2024 07:29am
Quote (SylvesterStallone @ Jul 6 2024 10:36pm)
Aha.
And just to see if I understood correctly, map seeds can be added into single player so your map is not whatever you got/rerolled by switching difficulties and instead you want to implement a map file to D2 folder and use that map?

Never heard of it tbh.
Most people in SP only cared about LK map, durance lvl2 and desired alvl85 area :D


my current map seed has the most desirable lk and durance level 2 map among other thing that i enjoy and would really want to keep. I might download some github things in sandboxie and give it a shot

was hoping someone here knew about how to extract that information before i was to do stuff
Member
Posts: 6,568
Joined: Jun 10 2006
Gold: 9,293.00
Jul 7 2024 10:10am
Quote (liniculus @ Jul 7 2024 09:29am)
my current map seed has the most desirable lk and durance level 2 map among other thing that i enjoy and would really want to keep. I might download some github things in sandboxie and give it a shot

was hoping someone here knew about how to extract that information before i was to do stuff


the github project D2-MapID-Finder (not sure if I'm allowed to link out here) shows the Map ID offset at 171. you can search for that project and see the code under src/core/D2CharFileParser. if you don't want to download a random tool you can grab any general hex viewer like hexedit and open up your char save and go to that offset. you could verify it's right by setting the seed manually to something easy to find like 100000000 (use command line option "-seed 100000000")
Member
Posts: 10,894
Joined: Apr 15 2008
Gold: 107.00
Jul 7 2024 08:10pm
Quote (Derisionlol @ Jul 7 2024 09:10am)
the github project D2-MapID-Finder (not sure if I'm allowed to link out here) shows the Map ID offset at 171. you can search for that project and see the code under src/core/D2CharFileParser. if you don't want to download a random tool you can grab any general hex viewer like hexedit and open up your char save and go to that offset. you could verify it's right by setting the seed manually to something easy to find like 100000000 (use command line option "-seed 100000000")


For all future visitors of this page looking for the same information:

I did not want to download a tool off the internet and instead downloaded visual studio code (VSC), a microsoft tool that's super prolific in the coding community and easy to use.

Then i downloaded in VSC a hex editor in the extention tab.

Open c:/users/your profile/saved games/d2r/character name. map in VSC

Click "Open Anyway" button in VSC and use Hex Editor to display

in row 00000010 click the 04 hexadecimal, in the data inspector you will see a bunch of data and the number you want is uint32/int32 which is 8-10 numbers, this is your seed. When you type -seed "xxxxxxxx" (the x's being the numbers in the uint32/int32 field) in the end of the Target after the quotations, you will now have access to the exact seed map you enjoy.

https://imgur.com/a/CDeAk8E

This post was edited by liniculus on Jul 7 2024 08:20pm
Go Back To Diablo 2 Discussion Topic List
Add Reply New Topic New Poll