Valkyrie: MoM 1.7.1 (826) - broken import on Android

Created on 2 Feb 2019  路  21Comments  路  Source: NPBruce/valkyrie

Description of Problem or Question

The latest update to version 1.7.1 (826) seem to have a new sprite Atlas. Windows does not seem to be affected, there was an update for it yesterday, I tested.

Obb file affected: main.821.com.fantasyflightgames.mom.obb

See also: https://github.com/NPBruce/valkyrie/issues/964

1.7.0

image

1.7.1
1 7 1

Valkyrie Version

2.5.1 (Android)

bug

All 21 comments

It's like they do it on purpose

We need to find a long term solution for this :(
There must be a way to get the index of this atlas.

The SpriteAtlas is in sharedassets3.assets.
Maybe we could tune the importer to export every single sprite https://docs.unity3d.com/ScriptReference/U2D.SpriteAtlas.GetSprites.html

My motivation to work on this is close to zero.

I really want to finish what I have started with the Scenario explorer.
I'll look at this after I've released the next test version.

If someone want to fix this in the meantime here is an example of what needs to be done.
No coding required.

Example :
https://github.com/NPBruce/valkyrie/commit/35842cfaf891b746ec473c8375ff795f8fb9c522

@redwolf2, yes your proposal would probably make the change a bit less tedious.
But I'm not sure we can even use that function, as we may need an index of the Atlas.
Or do you think it's in the file itself ?

Release, when done is ok for me.

I found no meta data, that contains the indices. Maybe this is auto generated code, I am not sure.

Last option is recreating the tokens without images, just names.

@benrq do you have a latest release we can test?

Release, when done is ok for me.

I found no meta data, that contains the indices. Maybe this is auto generated code, I am not sure.

Last option is recreating the tokens without images, just names.

token

token2

But it would still jumble the other tokens, like search, walls etc

Those do not seem to be affected ATM, but can also be recreated.

@BenRQ Don't focus on this issue, I will try to come up with a custom tilemap that is compatible to the one used in 2.1.5

Last option is recreating the tokens without images, just names.

From what I've read on sprite atlas, I'm pretty sure it's Unity who is generating this from sprites.

@BenRQ do you have a latest release we can test?

I will have ... "soon"

Alright, I got the Character Token, but I need all names of those guys. I will do the default explore, search, etc. token next.

spriteatlastexture-atlas_features_core group 0 -2048x1024-fmt12_original

spriteatlastexture-atlas_features_core group 0 -2048x1024-fmt12

spriteatlastexture-atlas_features_core group 0 -2048x1024-fmt12

Got the tokens now, will go for investigators and names.

Update, got investigators, will go for names:

spriteatlastexture-atlas_features_core group 0 -2048x1024-fmt12

spriteatlastexture-atlas_features_core group 0 -2048x1024-fmt12

All currently supported investigators by 2.1.5 mapped. Should be release ready.

Font used: oldnewspapertypes.ttf

The above should work. I will test to integrate it. On the next iteration, I want simple icons for male/female, colored token. After that I might add own vectors (old woman, child, boy, nurse, etc.) for the different colored token.

Update:

grafik

grafik

I got this log while accessing the editor (after the merge) :

Token SylviaMarshdid not have an image. Skipping

Fixed it. I forgot to remove the {import} dir replacement there.
https://github.com/NPBruce/valkyrie/pull/1052

Merged

Was this page helpful?
0 / 5 - 0 ratings

Related issues

scrubbless picture scrubbless  路  4Comments

Rass1968 picture Rass1968  路  8Comments

chrismaliszewski picture chrismaliszewski  路  6Comments

chrismaliszewski picture chrismaliszewski  路  7Comments

Hacai666 picture Hacai666  路  7Comments