marcussacana / MwareStuff

My tools to the Mware Engine
The Unlicense
60 stars 12 forks source link

Question about font #11

Closed satanahorror closed 4 years ago

satanahorror commented 4 years ago

Replaced all fonts in the font folders, but the font has not changed. image this is the font itself. image game Minikui Mojika no Ko

Delete Font.npk It still works, where does it get the fonts from?

marcussacana commented 4 years ago

Hmmm, strange, not sure what I can reply to you here... but for now, try use the SRL, enable the CreateFontW hook, then use the srl to change the font to your one, if not works... hell yeah, that is strange. try extract all packages of the game and ensure if don't exist more fonts.

satanahorror commented 4 years ago

There are no more fonts. I can send you fully disassembled files

satanahorror commented 4 years ago

I unpacked system.npk, there is a setting.ini file there. This file contains the following:

[Init]
SCREEN_WIDTH=1280
SCREEN_HEIGHT=720
WINDOW_NAME="‚Э‚Й‚­‚ўѓ‚ѓWѓJ‚МЋq"
#DOCKING=0#‰рЏњ
DOCKING=1#ѓhѓbѓN
#SOUND_TYPE="CRIAdx2"
SOUND_TYPE="XAudio2"
#CODE_PAGE="UTF8"
CODE_PAGE="SJIS"

[App]
VERSION="1.00"
SAVE_PATH="<APPDATA>/Nitroplus/‚Э‚Й‚­‚ўѓ‚ѓWѓJ‚МЋq/1.00"

[Font]
FOT-ѓ†ѓgѓЉѓЌ Pro M="media/font/FOT-UtrilloPro-M.otf"
FOT-ѓZѓUѓ“ѓk Pro DB="media/font/FOT-CezannePro-DB.otf"
FOT-ѓZѓUѓ“ѓk Pro M="media/font/FOT-CezannePro-M.otf"

I deleted it:

[Font]
FOT-ѓ†ѓgѓЉѓЌ Pro M="media/font/FOT-UtrilloPro-M.otf"
FOT-ѓZѓUѓ“ѓk Pro DB="media/font/FOT-CezannePro-DB.otf"
FOT-ѓZѓUѓ“ѓk Pro M="media/font/FOT-CezannePro-M.otf"`

and still the game worked and accepted the old fonts. I don't know what else to do :(

satanahorror commented 4 years ago

StringReloads-difficult. I am very stupid :p

satanahorror commented 4 years ago

do you have telegram, or facebook? I'd like to talk it over there. If you don't mind. It is very difficult to write here.

satanahorror commented 4 years ago

sorry

marcussacana commented 4 years ago

Nop, I dislike to talk personally because here is a public place, maybe someone can have the same problem like you and read this to know what to do. If you're with doubt of what do with the SRL, take a look in the Specific-Games Repostorie in my github, Take a look in this example https://github.com/marcussacana/MwareStuff/issues/3#issuecomment-629881483 You just need change in the end of the SRL.ini the To= to your font face name.

satanahorror commented 4 years ago

image WOW! Where did it change the value?

satanahorror commented 4 years ago

I set the font, but it didn't work. Just stupid encoding of the old font changed or whatever.

[Font.0]
From=*
;FromWidth=10
;FromHeight=10
;FromCharset=0
;To=Kautiva Cyrillic Black
Charset=0
Width=00
Height=50

image

and what fonts should I take from the system, or do I need to create a separate folder and put them in?

marcussacana commented 4 years ago

in the begin of the To line have a ;, that means 'comment' AKA (ignore it), just remove the ;

satanahorror commented 4 years ago
;FromWidth=10
;FromHeight=10

is this the location of the text?

satanahorror commented 4 years ago

image WORK! Do I need to delete the SRL after manimulations?

satanahorror commented 4 years ago

Since the game will be installed by others, it will need to draw fonts, they can not be transferred?

marcussacana commented 4 years ago

Nop, you can't delete. the SRL will be needed to change the game font. Also, The user need install the font, but maybe you can overwrite that fonts in the font.npk and maybe, maybe the SRL will load it without install in the windows, test it to ensure.

satanahorror commented 4 years ago

How do I change the position of the text?

marcussacana commented 4 years ago

Impossible with my tools, maybe with the nutcracker, take a look in this issue https://github.com/marcussacana/MwareStuff/issues/7 Maybe you wanna change the position because of the new font size? you can comment the Width and Height in the SRL.ini to restore the original game font size.

satanahorror commented 4 years ago

I don't understand how this tool works

marcussacana commented 4 years ago

Are you saying about the nutcracker or the SRL?

satanahorror commented 4 years ago

nutcracker

marcussacana commented 4 years ago

Srry i didn't used that one too. try ask help in the repo of that tool

satanahorror commented 4 years ago

Thanks for the help. I don't know what's going to happen. You can close the topic if you think that the issue has been resolved.