Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normal Map #35

Open
luckydonald opened this issue Dec 16, 2015 · 6 comments
Open

Normal Map #35

luckydonald opened this issue Dec 16, 2015 · 6 comments
Assignees

Comments

@luckydonald
Copy link
Member

Just to collect the ideas and such.

Summary

  • There was the idea to use a Leaflet map for rendering, like IGN does
  • We can extract them from the game to a PNG using the npm package 'preview-dds' (but it offers no real api for that)
    • enables us to make the user select his favorite map mod file, so he has the same map ingame and outside
      • via select file
      • from game files automatically?
    • we should still include a static .png map, so you don't need a .dds, or in case the .dds fails in any way.
@luckydonald
Copy link
Member Author

@rgbkrk
Copy link
Member

rgbkrk commented Dec 16, 2015

We can extract them from the game to a PNG using the Skyrim DDS Converter 2

As for conversion, the map assets should be DDS texture files. Not surprisingly, there's an npm module for preview + conversion. Haven't tried it, though it's definitely available. Same thing with other WebGL texture utilities.

@luckydonald
Copy link
Member Author

Tested the command $preview-ddsworldmap_d.dds, which seems working.
edit: But doesn't offer a api
Using the version 1.3 of this map mod this will render in preview-dds's own electron window:
screen shot 2015-12-16 at 19 27 39

@luckydonald
Copy link
Member Author

Having that can give us the ability to let the chose the .dds file for the map himself. The user just has to unzip the mod he is using and can get the exactly same map in this app as he uses ingame. Or we search for a fallout executable, and the data folder.
This should still come with some default .png file, to have a fallback if there is no .dds or it fails somehow.

@luckydonald
Copy link
Member Author

Guide on how to make tiles yourself (ruby, imagemagick) :
Using leaflet.js with non-geographic imagery

@luckydonald
Copy link
Member Author

The android app includes this image
CompanionWorldMap.png

@luckydonald luckydonald self-assigned this Dec 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants