[VALIANT FORCE] How to adjust the character pictures extract from game data?

WardenPrince

New User
3
10/24/16
0
Thread Author
Hi~Everyone,
Recently I just extract the DLC file of VALIANT FORCE to get the Character pictures.
In Android, you can follow this access address:
Android>Data>com.diandian.valiantforce>cards
In "cards" folder, there are many folders in it.
Each folder is a character costume.
You can use some programs such as "unitystudio" to extract "anchoredportrait" in each folder.

However here comes the questions.
Some of the pictures width and length is deformed tragedy below:
http://i.imgur.com/xEbQ5UR.png

there still two files when I extract "anchoredportrait".
The two file is "MonoBehaviour #012.txt" & "MonoBehaviour #014.txt" in the attachments.
I am not sure these two files could help me adjust the width and length ratio......

Or anybody can teach me how to adjust the width and length of the pictures to original ratio without lost quality?

Thanks for everyone's help QwQ
 

Attachments

Hey

that pic you linked is at:

Width = 512
Height = 1024

it looks like the MonoBehaviour #012.txt file has:

float originalWidth = 721
float originalHeight = 1020

I used photoshop to resize it to the size in that text file and here is the result.

http://i.imgur.com/6mPskoB.png

I know photoshop costs though and not everyone has it, for free image editors Gimp comes to mind :)


Thanks Bro~~
But how do you know the original size?
Could you tell me which paragraph code in "MonoBehaviour #012" ?

Using photoshop to resize will lost picture's quality or not?
Or there's another way to resize the picture without lost picture's quality?
 
here is the text from MonoBehaviour #012.txt with orig height and width pointed to

Code:
PPtr<GameObject> m_GameObject
    int m_FileID = 0
    SInt64 m_PathID = 8271755767131449480
UInt8 m_Enabled = 1
PPtr<MonoScript> m_Script
    int m_FileID = 0
    SInt64 m_PathID = -3245343007564638482
string m_Name = ""
float originalWidth = 721 ----------------- HERE IS ORIG WIDTH
float originalHeight = 1020 ----------------- HERE IS ORIG HEIGHT
vector anchorChildren
    Array Array
    int size = 4
        [0]
        PPtr<$Transform> data
            int m_FileID = 0
            SInt64 m_PathID = 4092573950679798911
        [1]
        PPtr<$Transform> data
            int m_FileID = 0
            SInt64 m_PathID = -553504860001221223
        [2]
        PPtr<$Transform> data
            int m_FileID = 0
            SInt64 m_PathID = 3700949894561139594
        [3]
        PPtr<$Transform> data
            int m_FileID = 0
            SInt64 m_PathID = 4131842134886106216

Whether or not quality loss will happen kinda depends on what you resize, if you have a pic that is standard def for example and resize up to 4k then more than likely you will loose quality, but if you are only resizing like i did on that pic:

1024 -> 1020.... 4 pixels less
512 -> 721..... 209 pixels more

the largest resize here is 209 pixels, from that I don't think you are likely to see much if any quality loss.


Alright~~Thanks bro~~You really help me a lot~ Know the original size will be more easy for me to build the gallery.
 
Back
Top Bottom