Modern Elevators and Escalators

Modern Elevators and Escalators

106k Downloads

Bluemap doesn't load station indicators

AwesomeKalin opened this issue ยท 5 comments

commented

Expected Behaviour
A clear and concise description of what you expected to happen.

I expect that the station icon to appear in Bluemap

Actual Behaviour
A clear and concise description of what actually happened.

It fails to load and right-clicking the not loaded image icon that the browser shows, will result in a 404.

Reproduction Steps
Steps to reproduce the behaviour:

  1. Use Bluemap with MTR
  2. Make a route
  3. Go to Bluemap

Crash Report
Attach a crash report to the issue.

N/A

Screenshots
If applicable, add screenshots to help explain your problem.

image

Environment

  • Minecraft Version: Fabric 0.14.24, 1.19.4
  • Installed Mods:
  • Bluemap
  • Debugify
  • Fabric API
  • Fabric Language Kotlin
  • Ferritecore
  • Hold That Chunk
  • ImmediatelyFast
  • InRealTime
  • Lithium
  • MemoryLeakFix
  • MixinTrace
  • MTR
  • MTR London Underground (v2.0.7)
  • Nemo's Transit Expansion
  • Station Decoration
  • NoChatReports
  • Starlight
  • Worldedit

Additional Information
Anything else you want to add?
N/A

commented

Bump. @AwesomeKalin You figured anything out?

commented

@rhaamo I can't figure out what you're saying, could you give me some instructions please?

commented

@ProbablyIdiot there saying they can fix this by putting resources/common/normal/assets/mtr/textures into from this repo to bluemap/web/assets/mtr/ though the icon will be large

@rhaamo is this correct :/, and have you forked the project and added the changes

commented

@rhaamo is this correct :/, and have you forked the project and added the changes

that is correct, just put the folder at the mentioned place.

No I didn't forked the project because that's probably an issue with BlueMap (perhaps on their side related to maybe not being able to specify a size), and the logo is probably used as assets in the game, so resizing it "in the mod" won't do good.

commented

Same with MTR-fabric-1.19.4-3.2.2-hotfix-1.jar and BlueMap 3.20, URL /assets/mtr/textures/block/sign/logo.png ends up 404.

Looks like I can "fix" it by putting resources/common/normal/assets/mtr/textures from the repository in bluemap/web/assets/mtr/ of my minecraft server install, but the logo ends up giant (I did resize the logo to 32x32 for now).

I guess there is some support missing somewhere or something.

firefox_5Iv3GXVYlD

Edit: after adding or editing a station, in /bluemap/web/maps/overworld/live/markers.json a marker with "icon": "/assets/mtr/textures/block/sign/logo.png" gets added, by

updateBlueMap(world, railwayData.stations, MARKER_SET_STATIONS_ID, MARKER_SET_STATIONS_TITLE, MARKER_SET_STATION_AREAS_ID, MARKER_SET_STATION_AREAS_TITLE, STATION_ICON_PATH);
I think

Which means we should have a manual setup step to do to have the textures resolved then?