[Sengoku South Korea] interpretation of the personas DNA and portraits System

Source: Internet
Author: User
Tags ultraedit

[Sengoku South Korea] interpretation of the personas DNA and portraits System

I. Basic Principles

The portraits in Sengoku are composed of two parts --
DNA: genes. It is used to describe the inherent characteristics of a character, such as eye and lip.
Properties: dress up. Describes the acquired characteristics of a person, such as the background, hair, and clothes.
(Note: Although properties has other meanings, I think it is more appropriate to translate it into "Dress Up" here)

The length of DNA (gene) is 11, and the first 7 are related to portraits --

Bit Description Image files
1 Chin Japanese_male_chin
2 Lip Japanese_male_mouth
3 Nose Japanese_male_nose
4 Forehead Japanese_male_head
5 Eyes Japanese_male_eyes
6 Ears Japanese_male_ear
7 Cheek Japanese_male_cheek

Properties (Dress Up) has 6 characters in length, the first five of which are related to portraits. Note that men and women are different --

Bit Male Mal_image File Female Female _ Image File
1 Background Japanese_background Background Japanese_background
2 Basic Japanese_male_base Basic Japanese_female_base
3 Clothes Japanese_male_clothes Latex Japanese_female_back_hair
4 Hair Japanese_male_hair Hair Japanese_female_hair
5 Beard Japanese_male_facial_hair Clothes Japanese_female_clothes

Then the game combines these elements to form portraits,

Ii. Image Materials

The image material is located in --
Male: \ GFX \ characters \ japanese_male \
Female: \ GFX \ characters \ japanese_female \

Multiple images are placed side by side in each DDS file. The image size is 96*100.

Iii. instance description

3.1 View

We open the game and choose Ashikaga yoshimasa to play the game and observe his avatar --

Then archive. Open the archive file with ultraedit, search for "yoshimasa", and find the DNA and properties data below. The only difference between justice and justice is --
DNA = "mjfcpfpkpao"
Properties = "kjgmfo"

According to the previous table, we can know that the 1st bits of the properties (Dress Up) string are the background.

So we open "japanese_background" and start to count a, B, c, d ...... When the number is K, it is exactly the background of the game's house --

(Note: after repeated tests, it does start with the second image. I really don't know what P thinks .)

Based on the method provided above, we can interpret each of the DNA (gene) and properties (dress up) to form the entire portrait.

3.2 Special Cases

Sometimes there is a problem where the number of letters exceeds the image size-there are only 8 parts, and the number of letters is K. What should I do?
Solution: count the first round, abcdefg. Then start from the first image, hijk, so K should be the fourth image.

3.3 modify

Go back to the Archive opened by ultraedit and change the first letter of properties to ""--

Save. Go to the game again and open the archive, and find that the background behind Ashikaga yoshimasa has changed --

The background image is the second image in "japanese_background.

(End)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.