#Area Maps

1 messages ยท Page 1 of 1 (latest)

glass totem
#

Adds the zone maps from the Erenshor Wiki to the game.

Features

  • When opening the world map, the zone map will be displayed instead, provided that one is available.
  • If a zone area map is not available, the Wiki's world map will be displayed instead.
  • A button to toggle between the zone map and the Wiki's world map is available in the bottom right corner of the map screen.
    • If there is no button, it would be because a zone map is unavailable.

Installation

  • Requires BepInEx
  • Download the attached zip file.
  • Place the whole Ayloonah.Erenshor-Area-Maps-Mod folder inside your BepInEx/Plugins directory
    • For example, C:\Program Files (x86)\Steam\steamapps\common\Erenshor\BepInEx\Plugins\Ayloonah.Erenshor-Area-Maps-Mod

Known quirks

  • I'm sure there's a way to grab the zone map from the game, but I don't know how, so the Assets folder is currently required. If you know how to do it, feel free to reuse my code or to tell me so I can update ^^
  • Some (if not all) area maps look squished as they are wider than the map window. I could most likely fix it, but didn't feel like it atm.
Erenshor Wiki
GitHub

Unity / XNA game patcher and plugin framework. Contribute to BepInEx/BepInEx development by creating an account on GitHub.

GitHub

Contribute to Ayloonah/Erenshor-Area-Maps-Mod development by creating an account on GitHub.

#

I want to add this to TS and GitHub. GitHub is a WIP, but TS might be rough; file is too big and TS hates it.

tough silo
#

the assets are twice in the zip

glass totem
#

Ooof

glass totem
tough silo
#

i've stripped the alpha channels of all the images and reduced the sizes by 50% which isn't optimal but it reduces the size by quite a bit

glass totem
#

Tysm!

tough silo
#

i don't know how that'll look in-game though and if they even work without alpha channel

glass totem
#

I'll test it

#

Works well enough! If it means it'll potentially actually upload on ts and github, worth it lol

#

I'm honestly not even sure if there's a difference

#

I see some green dots maybe? And there's a weird line at the bottom, but honestly, all barely noticeable and I think that the size difference is worth it. Maybe I'll keep both options, like NQ and HQ lol

#

Two different zip files, and HQ only through here because I'm not even trying to upload that anymore

tough silo
#

that's weird, cause that part isn't part of the image

glass totem
#

Right, idk why it shows

#

Same with these, under and above the image. I have to double check if that's there with the regular images. It's there no matter the map I look at though

tough silo
#

i put the image over it just to see

#

the game without the mod has this too though

#

must have something to do with that overlay texture that's probably something @paper remnant has to look into and you shouldn't worry about it

glass totem
#

Alrighty then ^^

#

Now on ts and github!

untold crystal
#

More mods I need!

paper remnant
#

Changing the sprite material would fix it

#

To default or whatever it's called

silent garnet
#

Will this not work by simply pressing download on R2modman? just wanna make sure I didn't do it wrong cause it wasn't working but i manually dropped em in and it works

glass totem
glass totem
silent garnet
#

ahh gotcha, when I downloaded it via R2Mod mad, it just gets an error and the world map button is there but no map pop ups except the default one. So I kept the mod but put the file in manually

glass totem
#

Hmm. Maybe it discarded something it shouldn't have. Thanks for letting me know!

still vigil
#

@glass totem Thanks so much for this!

glass totem
glass totem
#

Fixed!

glass totem
# tough silo must have something to do with that overlay texture that's probably something <@...

I was messing around with this a bit and no matter what I changed the mapImage's sprite material to or what settings I applied to it, the issue was persisting. I was thinking that the fade was causing it, and I was pressing on random stuff to try to figure it out.
When I turned Image.preserveAspect to true, because the Azure map is smaller than the canvas size, I finally realized that the fade is an image over the mapImage, and the weird pixels and stuff didn't move at all, meaning they're part of that map image frame.
Now, I'm just thinking that was an aethetic choice? Like, maybe it was meant to be stars or something? @paper remnant

paper remnant
#

No the shader I wrote is sloppy in some places is the true answer

glass totem
#

I mean, I'm impressed that you've done all of this already!

#

Thanks for confirming! I'll see what I can do ^^

glass totem
#

Giving up on the shader thing because I'd have to make a whole shader and that's more than I really wanna do at this time. Instead trying to make the map use a top down camera view like the minimap mod does to be able to repackage without assets. Also trying to make it interactive so you see your character's position on it. Stay tuned ^^

silent garnet
#

If possible, it'd be sick if you could use a similar portal icon of the minimap mod, with the maps name on the topdown view map as well

glass totem
#

I'll do my best ๐Ÿ˜Š

glass totem
#

Managed to get the camera mostly sorted out I think! I just need to finalize the functions that'll track whether the map is open or not and then that part will be almost over.

I think if I can get that working properly, I'll also make sure to change the map frame's size to something a bit larger and adjust the map size accordingly. Then, I'll test it in various areas to make sure it works well, adjust the map position if needed, and release that before moving on to the next steps!

languid halo
# glass totem So yeah, I checked and the assets folder is completely missing on TS. I'll have ...

I'm still seeing this issue from the TS, I can see the world map button but I have no other changes in any zone. I can see the assets folder and the assets are there. Its a couple extra levels down though. mine is sitting at

C:\Users\name\AppData\Roaming\Thunderstore Mod Manager\DataFolder\Erenshor\profiles\Default\BepInEx\plugins\Ayloonah-Area_Maps\Ayloonah.Erenshor-Area-Maps-Mod

Is that how its supposed to be organized?
its like it threw your whole git repo in there. instead of the mod package itself.

edit: just to give you as much info as I can. I coppied the actual mod package folder <Ayloonah.Erenshor-Area-Maps-Mod> and dumped it directly in the plugins folder and it worked.

fair bronze
#

Doing it manually it sits in steamapps\common\Erenshor\BepInEx\plugins\Ayloonah.Erenshor-Area-Maps-Mod

#

So it depends on if your plugins\Ayloonah-Area_Maps\Ayloonah.Erenshor-Area-Maps-Mod is a folder with the dll?

#

Maybe do that one manually.

languid halo
#

the folder Ayloonah.Erenshor-Area-Maps-Mod needed to be directly in the plugins folder. Apprently being nested down another level did not work.

tough silo
#

yeah TS sucks end of story

#

i might have to do the same for coop then if it puts them in their own folder already

languid halo
# tough silo yeah TS sucks end of story

I totally understand that but in my limited play time I really don't want to manually check that my mods are updated. unless maybe I used gitKraken or something and tried to submodule them in. That might tell you they are out of date.
is there a mechanism in place to alert you to a new version other than manually checking that I am missing?

fair bronze
#

Github has an Watch thing.

#

I get emails when stuff is updated.

languid halo
#

ok, I guess that makes sense. Maybe I will try that.

fair bronze
#

Use the mod manager. Just do the ones that are finicky manually.

#

You can drop them right into your C:\Users\name\AppData\Roaming\Thunderstore Mod Manager\DataFolder\Erenshor\profiles\Default\BepInEx\plugins\ like it was manual modding.

languid halo
#

After my experiment that makes sense. There are a couple Github only mods I wanted to try so I will do that. Thank you!

fair bronze
#

In my testing for making the modding guide, I had to do the Expanded Hotbar like that. It was a bit weird otherwise.

tough silo
#

i mean as in like, ts doesn't really explain how your zip should be exactly

#

at least i couldn't find anywhere that would tell me if i needed a folder or if it needed a specific folder structure

#

which causes the issues you're having because that tells me that the mod manager is making a folder by itself and then putting the folder that we put in the zip in there

glass totem
#

Yeah, I found info that said if you make a plugins folder and then set it up in there the way it needs to be in the plugins folder, then it'll keep that structure, but I guess that was bs

#

And that might also be why yours wasn't working on the steam deck @rancid topaz

tough silo
#

i don't use mod managers so i would never notice this stuff

glass totem
#

Right, same

rancid topaz
glass totem
#

But thunderstore's structure is wrong, they messed with it

rancid topaz
glass totem
#

It should be plugins\Ayloonah.Erenshor-Area-Maps-Mod\Assets

tough silo
#

it should be \plugins\Ayloonah.Erenshor-Area-Maps-Mod but it makes \plugins\Ayloonah-Area_Maps\Ayloonah.Erenshor-Area-Maps-Mod

glass totem
#

Right

languid halo
tough silo
#

@glass totem the true fix to this? embed the images in the dll

#

i think you can just load byte data with unity iirc, i do that in one of my projects

glass totem
#

I'm working on v1.1 and there's only a single asset in that one. I'll embed it and then that'll fix all of it. I'm not messing with the releases til then

#

I'm trying to get that out at some point today

tough silo
#

are you doing an atlas?

glass totem
#

I'm using a top down camera view like the minimap

#

The only asset will be the world map

tough silo
#

ah hopefully it's not too slow

glass totem
#

Camera should only be active when map is open, so should be fine

tough silo
#

maybe take an image and cache it?

#

since you have to render to a texture anyway you can just throw that into ram

glass totem
#

Smart. I'll do my best. I'm honestly struggling because this is way harder than I was expecting for little beginner me lmao

#

But I'll get there eventually!

tough silo
#

i think you can just disable the camera after 1 or 2 frames or something? i could test it but im a bit busy right now

glass totem
#

It's okay! I know what you mean because I did it in Unity Explorer when trying to figure out the camera settings I need. It freezes on the last frame, which is really all I need. Smart! Thank you!

tough silo
#

if you can figure out how to grab those giant trees blocking the view and disable those before rendering with that camera that would be even more magical

#

if @paper remnant wants to be awesome he could name those differently for you, then you could just grab them in a OnPreRender or whatever it was called and hide them on a camera monobehaviour script

rancid topaz
#

@glass totem nie it workes on steam deck shibaexcite

glass totem
#

It's hard because they're not in a separate layer, but I think I found a workaround

glass totem
rancid topaz
#

Found one little issue. The switch button for Area or Worldmap didn't work by pressing a. Instead you must hold the right trackpad

glass totem
#

Aaah, yeah, idk anything about that. I'll try to fix it though

rancid topaz
#

No rush ๐Ÿ‘

glass totem
#

Sorry everyone, I've been trying to work on this, but I've been swamped with homework and the time I do have free these days I'm just trying to decompress. As soon as I have a bit more time, though, I'll iron out the few issues I'm still having and I'll get this out. My current src is on github if anyone is curious, but it's not in working condition atm.

hasty canopy
#

take your time

small cedar
#

Guys, what does that error mean?

tough silo
#

could be that the textures are in the wrong folder

small cedar
#

Oh, and I just realized that the mod doesn't work for me, and when I click on the map button, it just displays a world map.

#

ill check the folder, thanks

#

btw i downloaded this mod from thunderstore and thought all will be fine

#

my plugins folder looks like this, is this right?

tough silo
#

check this, not sure if it still applies

#

#1374661776251162664 message

small cedar
#

ok, ill check, thank you<3

#

yo, it worked

fair bronze
#

#1403704696098783334 message Comes with pictures even.

frail tiger
#

is this mod broken now? can't seem to get it to work

fair bronze
#

It depends. Are you doing a manual install or a mod manager?

#

Also it has been a super long time since was updated and I think the modder left the discord.

fair bronze
#

I don't use it since there is a minimap now.

frail tiger