fgsfdsfgs / vitaXash3D

a port of Xash3D-FWGS to the PSVita
GNU General Public License v3.0
139 stars 15 forks source link

Support with SUBTITLE MOD? #27

Open Damin72 opened 6 years ago

Damin72 commented 6 years ago

How we can install this mod on vitaXash3D or it doesn't work itself with this engine?

Simple copy to valve folder doesn't work.

a1batross commented 6 years ago

Subs mod require proprietary VGUI to render subtitles.

Damin72 commented 6 years ago

And this function doesn't realized in current build?

fgsfdsfgs commented 6 years ago

Yes, it's not implemented and probably won't ever be, because VGUI is not open source and I can't port it to the Vita. Besides that, the subtitles mod itself doesn't seem to have its source code published anywhere, so I can't build it for the Vita.

Damin72 commented 6 years ago

Source Code of mod. https://github.com/Fograin/hl-subs-mod

fgsfdsfgs commented 6 years ago

I'll take a look and see if I can make it use different methods of text display. Not sure what to do with non-ASCII characters though.

Damin72 commented 6 years ago

@fgsfdsfgs like a cyrillic, yeah?

fgsfdsfgs commented 6 years ago

Yes. Xash does seem to have support for different codepages, cp1251 being the default (?), but I don't know much about how that works.

Damin72 commented 6 years ago

It's strange, because russian translate of Half-life working on Vita. Hm.

Damin72 commented 6 years ago

Is it possible use standart game font (Use in Hazard Course, Game Over Text and Credits) instead font from mod?

fgsfdsfgs commented 6 years ago

That's what I wanted to find out.

Damin72 commented 6 years ago

Okay. I hope you can do this. =)