Freelancer XML Project
-
I have a problem to start both Tools, saying that i must have freelancer installed to use them.
Well i have - and think have found the problem.
In the OnInitDialog for UTFXML he tries to read the path from the registry. But i dont have the entries under HKEY_LOCAL_MACHINE.My freelancer entries are under HKEY_LOCAL_USER. Thatswhy i cannot start those tools. And what me bothers - why do i have the installation under a different registry key as nearly all here ;)?
I could change it for my needs and recompile - but that does not answer the question above.
Anyone an idea?
-
Huor wrote:
i dont have the entries under HKEY_LOCAL_MACHINE.My freelancer entries are under HKEY_CURRENT_USER.
When you installed Freelancer, did you install it just for yourself? Rather than installing it for all users on your computer?
HKEY_CURRENT_USER is the hive that contains stuff related to the currently logged-in user (you). HKEY_LOCAL_MACHINE refers to the entire computer.
An easy way to move (or copy) the Freelancer key is to:
- Export the key from the Registry
- Edit the resulting .reg file
- Change HKEY_CURRENT_USER to HKEY_LOCAL_MACHINE
- Double-click the .reg file to add the changes to your Registry.
-
Yeah thanks Bullwinkel, I probably installed it only for me. Dunno why - but i am not concerned
Thought to share of something that is not yet considered in the source and its would be one or two lines to add to the source. That was my reason i posted - in the same moment i felt astonished that this matter havent happend before to anyone else^^
Thanks Adoxa for looking into this.
-
Version 2.2 of the Freelancer XML Project is now available.
Release 2.2 fixes converting integer RGB ALE values in XMLUTF. Prompt for the path to Freelancer, if the registry key is not found. Create the entire destination path. The logs are written to the temporary directory, adding the source and destination paths and the summary. The Alchemy type values have been given a name (e.g. type=“bool” instead of type=“0x001”). Animated Pris parts no longer use degrees and quaternions use angle (in degrees) plus axis (if the Rotation option is in effect). Handle command line options. Do not include “DATA” in the path attribute.
-
I’ve generated and extracted all files (UTF->XML). I don’t doubt this will prove to be very useful.
Right now I’m looking at the audio files, and notice they all have names like 0x8A94090E.wav… I had hoped for slightly more intelligible filenames. Is there a way to achieve this? Or are there no ‘more intelligible’ filenames?
-
to get the audio file crc (or any other) names in plain text you have to run the list generator. Make sure the source path is set to your freelancer file and hit he generate button. Once thats done, run the coversion. the hex names should now be converted to their ini names.
Make sure you havent left the “skip audio” tick in… -
@ Thaddeus: Thanks!!! It’s running now, very nice
-
Very cool indeed. Stuff to study for days.
And to add something might take months… :eek:
I assume that new soundfiles for Bases, Systems and Factions, will have to go in each and every folder where the stock ones occur. Am I right?
Nest step. If I would indeed undertake this operation of actually adding soundbytes, doing it properly, obeying the filename system and all, I assume that I’ll need the XML->UTF proggy to repack it all for the game, that is: I assume all the game’s non-.ini files that I extraced using the UTF->XML tool, will then repacked again into the formats the game uses.
But - will that be it? Will the game then be able to find, the soundbyte corresponding to gcs_refer_system_Li07?
-
http://freelancercommunity.net/viewtopic.php?f=5&t=316 has the info you are looking for, before you reinvent the wheel.
-
DwnUndr wrote:
http://freelancercommunity.net/viewtopic.php?f=5&t=316 has the info you are looking for, before you reinvent the wheel.:worship: <–supposed to be emoticons
-
DwnUndr wrote:
http://freelancercommunity.net/viewtopic.php?f=5&t=316 has the info you are looking for, before you reinvent the wheel.Btw, I assume (rather, desperately hope) that Adoxa’s XMLUTF eliminates the need to use the CRCTool. Is this correct?
EDIT: I fear not, as the .xml files are full of entries like x803000CA name=“0x803000CA”
-
RTFM!
To assist with creating new audio entries, the hash attribute
can be used - it generates the hash of its value, using that as the node name.
For example:<msg hash=“gcs_refer_fc_new_short” …=“”>is equivalent to
<_xBC3D4807 name=“0xBC3D4807” …/></msg>
-
adoxa wrote:
RTFM!To assist with creating new audio entries, the hash attribute
can be used - it generates the hash of its value, using that as the node name.
For example:<msg hash=“gcs_refer_fc_new_short” …=“”>is equivalent to
<_xBC3D4807 name=“0xBC3D4807” …/></msg>