Author Topic: Play Freespace 2 with new graphics and language mod  (Read 17580 times)

0 Members and 1 Guest are viewing this topic.

Offline totya

  • 25
Re: Play Freespace 2 with new graphics and language mod
problem is the class name ($name:) line in each entries are what the game uses to reference each entry group so you have to change every mission and every reference of that entry in the games mission and tables, it also means that any mod created for the game cant call any needed retail resource because it is no longer looking for the right name.  the +Tech Title: entries you are using are the override for showing an alternative name in the techroom.

Hi!

Thanks, okay, I think not big problem convert names to original state . But I think this is not solve the language problem, example:

MediaVP\MV_Assets\data\missions directory contains mission files wih new structure (example: Hull Repair Ceiling, mirror etc), and these files language is english.

  

Offline totya

  • 25
Re: Play Freespace 2 with new graphics and language mod
problem is the class name ($name:) line in each entries are what the game uses to reference each entry group so you have to change every mission and every reference of that entry in the games mission and tables, it also means that any mod created for the game cant call any needed retail resource because it is no longer looking for the right name.  the +Tech Title: entries you are using are the override for showing an alternative name in the techroom.

for example the Prom R
you have
Code: [Select]
Name:                                 Prometeusz R
+Title:                                XSTR("GTF-5a Prometeusz (retrofit) Agyu", -1)
+Tech Title:    XSTR("GTF-5a Prometeusz R", -1)

the better way to have done it iirc is

Code: [Select]
Name:                                 Prometheus R
+Title:                                XSTR("GTF-5a Prometeusz (retrofit) Agyu", -1)
+Tech Title:    XSTR("GTF-5a Prometeusz R", -1)

this way the game calls everything correctly while you get the language change in the techroom

edit:

it is the sort of thing where a small number of things missed can cause a big headache

Hi again. Well this example of weapons.tbl, this is OK.

But what about with ships.tbl ? No +Title filed in reference http://www.hard-light.net/wiki/index.php/Ships.tbl
+Tech Title is found, but only for 3.6.13 version, latest official version is 3.6.12. But +Title field is none, this is mean, ships name must in english.

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Minecraft
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: Play Freespace 2 with new graphics and language mod
3.6.14 is in the Release candidate stage and will hopefully be completed soon so 3.6.13 features will be standard soon
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline totya

  • 25
Re: Play Freespace 2 with new graphics and language mod
3.6.14 is in the Release candidate stage and will hopefully be completed soon so 3.6.13 features will be standard soon

Okay, but if not big quest, +Title support of ships.tbl?

Otherwise, "+Tech Title" in ships.tbl is defferent from "+Tech Title" in weapons.tbl.

In ships.tbl, Tech Title is simple string.
In weapons.tbl, Tech Title is XSTR, XTSR is built in support to translate text with index, external language table is tstrings.tbl.

I think compatible way, if "+Title" and "+Tech Title" available in ships.tbl, and these type is XTSR.

 

Offline totya

  • 25
Re: Play Freespace 2 with new graphics and language mod
Hi again!

I found problem. The best compatible way, if translator modify only "strings.tbl" and "Tstrings.tbl" files.
But, I try many times, I changed many lines in Tstrings.tbl file, but I don't see any changes. Wiki say, this is working http://www.hard-light.net/wiki/index.php/Tstrings.tbl But I don't see this.
Example first mission... text :"you will learn is targeting"
This is found in missions\Training-1.fs2 file.

Code: [Select]
$Team: -1
$MessageNew:  XSTR("The first function you will learn is targeting. [Press $t$] Target my fighter.", 2151)
$end_multi_text
+Wave Name: DTM_IN_02.wav

Index is 2151.

In  Tstrings.tbl I see this:

Code: [Select]
2151, "The first function you will learn is targeting. [Press $t$] Target my fighter."
Now I try modify this line, save to file, and copy modified Tstrings.tbl file to Freespace2\data\tables directory.

But after game is start, the text is not changed in game. What is the problem?

I try these too:
Delete all files in Freespace2\data\tables and \Freespace2\data\missions directory.
I try copy modified Tstrings.tbl to Freespace2\data\tables
No mod activate in launcher.
I have GoG version with 3.6.12 FSOpen.

Thanks.

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Play Freespace 2 with new graphics and language mod
Well... I'm not sure if the MediaVPs have tstrings.tbl -- but if they do, then \freespace2\mediavps-3612\data\tables\tstrings.tbl will override \freespace2\data\tables\tstrings.tbl

IIRC the way the engine handles files is:

file in filesystem overrides file in .vp filesystem

file in mod overrides file in sub-mod or retail

This is so mods can upgrade and change files in use by retail or parent mods

For example, say mod Sol: A History is based on mod INFr1, and mod INFr1 uses mediavps-3612, and of course mediavps-3612 has retail behind it.

If Sol: A History has Tstrings.tbl in FreeSpace2\Sol_A_History\data\tables\, it will override any Tstrings.tbl found in a .vp file in \FreeSpace2\Sol_A_History, and it will override any Tstrings.tbl found in either a .vp file or the actual (\data\) sub-directories of FreeSpace2\INFr1, FreeSpace2\mediavps-3612, or FreeSpace2.

So, in the above example, you would need to modify the Tstrings.tbl found in \FreeSpace2\Sol_A_History\data\tables, if a) you are using the Sol A History mod and b) Sol A History has a tstrings.tbl, either in its .vp files or in its directories ... if it doesn't[/b], modify the next mod up the chain that does (check INFr1, then mediavps-3216, etc) OR you can copy tstrings.tbl into Sol A History, modify that, and then that would work.

I apologize if this is confusing.. I hope you get the right idea; if not, maybe someone can explain it better (also, if I'm incorrect, someone please feel free to point that out as well).

EDIT: Basically, I'm saying, if you modify the retail directory, that works well and good if you play retail, but you use mediavps-3612 mod, so the tstrings.tbl in mediavps over-rides any changes you made, if there is indeed a tstrings.tbl in the mediavps folders or .vp files.

 

Offline mjn.mixael

  • Cutscene Master
  • Moderator
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: Play Freespace 2 with new graphics and language mod
Well... I'm not sure if the MediaVPs have tstrings.tbl -- but if they do, then \freespace2\mediavps-3612\data\tables\tstrings.tbl will override \freespace2\data\tables\tstrings.tbl

I don't think that's correct. I'm pretty sure loose files in freespace2\data have highest priority.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
Re: Play Freespace 2 with new graphics and language mod
Actually, the last time I checked, \mod folder\ will override \freespace2\ and therefore things in \mod folder\data\ will override things in \freespace2\data\ . I think.
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 

Offline Mongoose

  • Rikki-Tikki-Tavi
  • Global Moderator
  • 212
  • This brain for rent.
    • Minecraft
    • Steam
    • Something
Re: Play Freespace 2 with new graphics and language mod
Yep, anything in a mod folder's data section will override what's in the main directory's data folder.  And if I have my order right, things in the mod's data folder should also override what's in the mod folder.

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Play Freespace 2 with new graphics and language mod
Otherwise, hi-poly model files (in mediavps-3612\data\models via a .vp file in mediavps-3612\ ) would get overridden by the retail assets (in \freespace2\data\models via a .vp file in \freespace2\ ).

mjn, you were thinking that 'loose files' (meaning files outside a .vp container) have priority, and they do, but only within the current level (e.g., the 'mediavps-3612' mod level)

A file will override it's .vp equivalent in the same mod level (say mediavps).  current mod file > current mod .vp > next level mod file > next level mod .vp ... > retail file > retail .vp.  Everything on the larger side of the caret marks above takes precedence over everything to the smaller side.

 

Offline totya

  • 25
Re: Play Freespace 2 with new graphics and language mod
Well... I'm not sure if the MediaVPs have tstrings.tbl -- but if they do, then \freespace2\mediavps-3612\data\tables\tstrings.tbl will override \freespace2\data\tables\tstrings.tbl...

Thanks for answer, but I wrote this in my last post:

Quote
No mod activate in launcher.

Again, now I'm not use any mod, only copy modified tstrings.tbl to Freespace2\data\tables directry, but I don't see any change the text in game. This translate function not working, I don't know why.

If I create mod from this file (tstrings.tbl), and activete in launcher, the result is don't working too.

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Play Freespace 2 with new graphics and language mod
Is there perhaps a loose file in your root (\FreeSpace2\) directory?  IIRC, \FreeSpace2\tstrings.tbl might override \FreeSpace2\data\tables\tstrings.tbl... Not really sure on that, and you shouldn't have loose files in the root directory, but if you do, (maybe you extracted tstrings.tbl from the .vp into the root directory, saved the modified version to \data\tables, and forgot to delete the unmodified file in the root directory?) then perhaps that is the cause.

 

Offline totya

  • 25
Re: Play Freespace 2 with new graphics and language mod
Is there perhaps a loose file in your root (\FreeSpace2\) directory?  IIRC, \FreeSpace2\tstrings.tbl might override \FreeSpace2\data\tables\tstrings.tbl... Not really sure on that, and you shouldn't have loose files in the root directory, but if you do, (maybe you extracted tstrings.tbl from the .vp into the root directory, saved the modified version to \data\tables, and forgot to delete the unmodified file in the root directory?) then perhaps that is the cause.

Hi!

No tstrings.tbl file in Freespace root directory, only here: \Freespace2\data\tables\tstrings.tbl

You see any change in game, if you change tstrings.tbl file?

Thanks.

 

Offline totya

  • 25
Re: Play Freespace 2 with new graphics and language mod
Hi again!

I found problem. The best compatible way, if translator modify only "strings.tbl" and "Tstrings.tbl" files.
But, I try many times, I changed many lines in Tstrings.tbl file, but I don't see any changes.

This (my) problem is solved... see this topic: http://www.hard-light.net/forums/index.php?topic=80979.0

 

Offline jr2

  • The Mail Man
  • 212
  • It's prounounced jayartoo 0x6A7232
    • Steam
Re: Play Freespace 2 with new graphics and language mod
[troll]in-b4-charges-of-inter-forum-thread-incest[/troll]

:warp: