fgsfdsfgs / vitaXash3D

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

Custom language and HD models folder system unsupported #18

Open IlDucci opened 6 years ago

IlDucci commented 6 years ago

While the WON versions had the language content pasted on the same valve folder, the Steam version exported all of that to custom folders, like valve_hd for the HD models from Blue Shift and valve_spanish for the Spanish content (Bear in mind that there's plenty of untranslated strings in the custom "dlls" used in Xash3D).

Also, if you need some translation and graphics help, I could help a bit.

fgsfdsfgs commented 6 years ago

I don't think Xash3D supports either of those systems, since it's closer to WON HL than it is to Steam HL, but I might be mistaken. Once I fix the mod system, however, it will probably be possible to mount those directories as "mods", then I'll see what I can do.

Also, I'm that afraid with the current renderer hi-def models would lag like ass. You can try them out by replacing low-def models in the valve folder with the models from the valve_hd folder, should you want to test performance.

Thanks for the offer, but I can't think of anything graphics-related that you could help with right now. If you find anything yourself that you could improve, feel free to make a pull request with the changes. As for translation, I'll look into that after I fix the mod system at least partially.

IlDucci commented 6 years ago

Well, I'd like to change the menu font to one that's more similar to Trebuchet (The original one), but I don't know about this .FNT format. I thought HL used WADs for texts. Also, the android icons look like crap when opened in an editor, but I don't think you use them.

I could make a Vita raster logo if you plan on doing some sort of custom controls window, or a replica of the old WON menu graphics.

Also, here's a quick idea: Maybe you could use the touchscreen for certain features? Like turning on and off the flashlight, for example.

fgsfdsfgs commented 6 years ago

Yes, I will definitely implement some sort of touch screen controls.

In the latest commit menu button rendering actually has been fixed, so Xash will now load the original menu buttons like it should if they're present in either your HL data files or in extras.pak.

MuskratDesman commented 6 years ago

If you add controls to the touch screen, please adapt the controls for Vita TV - that is, move the functions from touch-control to L2 / R2 and L3 / R3. Also, if you use Dualshock 4 on Vita TV, the touch panel becomes available for use. Please consider this.

fgsfdsfgs commented 6 years ago

I'll try to do that when I get to implementing touch controls, though I don't have a PSTV.

Damin72 commented 6 years ago

I replace models from valve folder with models from valve_hd and... It's worked. Perfomance don't change.

a1batross commented 6 years ago

Engine does support "custom" folder.

You can place modified models/sound/etc to valve/custom/, preserving folder hierarchy. So original files won't hurt and you easily can revert it back.

fgsfdsfgs commented 6 years ago

Thanks for testing performance. The custom and download folders also work fine in the Vita port.

IlDucci commented 6 years ago

I've put both valve_hd and valve_spanish in the custom folder.

The Spanish translation from Steam seems to work OK (No missing accented characters, voices working just like in English, graphics updated), but, of course, it's missing all of the WON content (Menu BMPs and such). I've made a full replica of the menus for myself for now, but I could do other languages as well.

As for the HD models, I was going through the Hazard Course (Via a game saved before the HD update) and the shooting area had small drops in framerate, like it was trying to load stuff. I think that didn't happen on my previous run.

Rameron commented 6 years ago

Hello, guys! I installed original half-life from steam on my pc, then I installed russian patch. It added folder "valve_addon" to my installation folder of the game. I copied the content of this folder to xash3d/valve folder on my PS Vita and... It was changed only the language of game interface, but the voices are in English. What should I to change for activation of russian voices? Thanks.

Damin72 commented 6 years ago

Rameron Maybe yo dont transfer sound files?

Rameron commented 6 years ago

Damin72 I transfered all files from the addon folder, it was approximately 100 MB of information. Are the sounds files packed in "pak0.pak" file?

Damin72 commented 6 years ago

Rameron Good question... Need to test myself. =/

Damin72 commented 6 years ago

Rameron I don't know how you translated text (because i can't do this =/), but i get russian voices. Install pack from ZoG, look "Date of Change" and just copy "new" folders to Vita/data/valve/sounds.

IlDucci commented 6 years ago

@Damin72 @Rameron Or you can copy the contents of valve_addon to ux0:\data\xash3d\valve\custom.

Rameron commented 6 years ago

Oh, thanks. There are "sound" folder in the "pak0.pak", but steam version already have unpacked sound folder with English voice pack, so content of "pak0.pak" was ignoring by xash3d!

Damin72 commented 6 years ago

@IlDucci yeah, this works, but with some problem. It seems to be xash3d menu has his own file with text and translated HL-menu file doesn't affect.

IlDucci commented 6 years ago

The menus are untranslatable right now, only the ingame texts and menu graphics can be localized.

Elm4aster commented 3 years ago

hola que tal soy un fan fan de half life y la verdad me interesa eso de traducir el menu de fondo las letras al menos que se vean en español se que quizas se necesite programar y eso pero la verdad me gustaria aprender como puedo empezar a modificar el lenguaje las letras de fondo me refiero en el xash3d pude conseguir el btns-main.bpm en español del half life 1.1.1.0 en español pero me falta las lteras pequeñas que especifican estaria agradecido en verdad me cree esta cuenta para poder consulatar con gente que sabe del tema saludos de peru