Home   Help Search Login Register  

Author Topic: makeStringtable utility (OBSOLETE)  (Read 4895 times)

0 Members and 1 Guest are viewing this topic.

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
makeStringtable utility (OBSOLETE)
« on: 30 Mar 2007, 14:46:24 »
EDITORS DEPOT STAFF NOTE: This resource is no longer under development.  See last post.

I made a makeStringtable utility.

UPDATE!!! 11.05.2007  (v1.021)
EDITORS DEPOT STAFF NOTE: This resource is no longer under development.  See last post for details.

Description: If you are a mission designer for ArmA/OFP, you usually make sqs/sqf files. And these files you use TitleText and sideChat commands for text. It's very easy when you're designing a mission, but later - when mission done - you must collect the texts into a stringtable.csv
This utility make this work.

1., Sweep your mission folder for sqs/sqf files
2., and get the TitleText and sideChat commands
3., extract your text from these commands
4., change this text with   localize "STR_xx" and append a new line to the stringtable.csv


This is a consol aplication (no woindows/frontend).
Required: Java Runtime Environment


Usage:
makestringtable workfolder
The parameter is a folder path, where your sqs and sqf files are.

E.g:
makestringtable c:\Arma\missions\mymission
or
makestringtable "c:\Documents and settings\Name\Arma\missions\mymission"


DOWNLOAD


KNOWN BUG(S):
1., In script files only one Titletext or sideChat is in one line! (Multiple string commands prohibited)
« Last Edit: 06 Feb 2008, 14:15:28 by Loyalguard »
Fix bayonet!

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: makeStringtable utility
« Reply #1 on: 04 Apr 2007, 09:08:39 »
I have a few questions:

1., Is there anybody who use stringtable.csv for missions? And everybody write directly into stringtable.csv?
2., What type of commands are you use for texts? TitleText, sideChat...? And what else?
3., Java Environment is not a usual request? (Generally I didn't like if a tool request any environment, like .NET)
Fix bayonet!

Offline Cheetah

  • Former Staff
  • ****
Re: makeStringtable utility
« Reply #2 on: 04 Apr 2007, 09:26:04 »
Yep, I write them directly into the stringtable, because I want to write them only once. Find it frustrating to spent too much time and it's not too hard to do in my opinion. Most of my texts are used in sideRadio, say and playSound, don't know if you look for them in your utility?

Anyway, I don't have the Java Environment or well I think I don't have it but as I write them directly into the stringtable I don't need it either. Wouldn't it be possible to export the file so that you don't need a Java environment, just a quick executable or something to run, like the dePBO stuff?
Like missions? Help with Beta Testing! or take a look at the OFPEC Missions Depot for reviewed missions!

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: makeStringtable utility
« Reply #3 on: 04 Apr 2007, 09:52:14 »
Thanks cheetah for your answers...

I made this utility to me ;) because I usually write the text into sqs and sqf files and when mission is done, I extract the texts from scripts to stringtable manually. So I made it to me, but I thought it's a good idea to share it.

1., When you make a cutscene (intro/outro), is not very hard to know witch line is witch text it you see onli localize STR_23 ??? :) I like to see the texts in the designing time.
2., sideRadio, say and playSound commands is not text commands, but voice commands. I used them AFTER voiceover procedure.
3., I had no too much time for made this util, so I used my current "real job" environment (java).
Fix bayonet!

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: makeStringtable utility
« Reply #4 on: 11 Apr 2007, 14:46:41 »
First post updated!!!


The utility become EXE. (you can run it without java).
Fix bayonet!

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: makeStringtable utility
« Reply #5 on: 10 May 2007, 15:37:02 »
first post updated
Fix bayonet!

Offline hoz

  • OFPEC Site
  • Administrator
  • *****
Re: makeStringtable utility
« Reply #6 on: 05 Sep 2007, 14:52:23 »
I tried to use this tool, I even installed the sun java environment. But when I run the util it says I no Java Env. Is it possible to provide a link to the java stuff I need to make it work?
Xbox Rocks

Offline MattiusRochelle

  • Members
  • *
Re: makeStringtable utility
« Reply #7 on: 05 Sep 2007, 15:14:42 »
When i run this tool it starts and then just dissapears instantly. Who no error  :(

Offline hoz

  • OFPEC Site
  • Administrator
  • *****
Re: makeStringtable utility
« Reply #8 on: 05 Sep 2007, 15:28:49 »
You need to run it from the CLI
Xbox Rocks

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: makeStringtable utility
« Reply #9 on: 07 Sep 2007, 09:03:06 »
Mattius:

1., Do you have Java Environment? (JRE)
2., If you run it in a Command Line Window, you can check the error/info messages. (It's a command line application without windows)

Fix bayonet!

Offline hoz

  • OFPEC Site
  • Administrator
  • *****
Re: makeStringtable utility
« Reply #10 on: 12 Sep 2007, 17:52:10 »
I have the JRE but I can't seem to make this app work.
Xbox Rocks

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: makeStringtable utility
« Reply #11 on: 21 Sep 2007, 11:27:49 »
Hi hoz!

Quote
I have the JRE but I can't seem to make this app work.

Could you run it in a consol? Did you get error message or nothing?

I was confused with the jar2exe utilities... And when I did this last version, I made this exe (but needed the JRE). But maybe publish the jar file could be better...    :confused: ???  I don't know...


Fix bayonet!

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: makeStringtable utility
« Reply #12 on: 21 Sep 2007, 14:02:29 »
Any plan to make it Java-less  :whistle: ?

Offline bardosy

  • Honoured Contributor
  • ***
  • campaign designer
    • CartooDiv
Re: makeStringtable utility
« Reply #13 on: 21 Sep 2007, 14:35:24 »
Yeah... Maybe...
Well, I'm thinking on a plan....  :)
Because it's sux. But I'm not sure, anybody want to use this tool. And recode it in a non-java language is resource (time) needed process And I don't want waste it, if only me use it (because I could/can use it with java too) ;)
Fix bayonet!

Offline Mandoble

  • Former Staff
  • ****
    • Grunt ONE and MandoMissile suite
Re: makeStringtable utility
« Reply #14 on: 21 Sep 2007, 15:48:32 »
Well, IMO a working make string table based on current radio, title and cut text would be an outstanding tool. The only problem I see there is the java requirements.