FAQ  •  Register  •  Login

Can virtual files include a path ?

Moderator: MiRai

<<

Angahran

Posts: 59

Joined: Fri Aug 27, 2010 11:30 pm

Post Tue Jun 19, 2018 4:15 pm

Can virtual files include a path ?

Simple question.
Can Virtual Files contain a path ?

e.g.
I currently have the following virtual files which work fine.
eqclient.ini virtualized as eqclient-character.ini

Can I create the following (well, I know I can create it but will it work?)
.\uifiles\classic_spell_icons\gemicons01.tga virtualized as .\uifiles\classic_spell_icons\gemicons01-character.tga
<<

bob

User avatar

League of Extraordinary Multiboxers

Posts: 4643

Joined: Sat Feb 15, 2014 11:14 am

Location: In the dining room, with the lead pipe.

Post Tue Jun 19, 2018 5:06 pm

Re: Can virtual files include a path ?

Sure it would look like.
Code:
uifiles/classic_spell_icons/gemicons01.tga

It depends on how the game loads the game though. Some times the game loads things in a odd manner, and it might not work.
<<

lax

User avatar

Site Admin

Posts: 7302

Joined: Tue Nov 17, 2009 9:32 pm

Post Tue Jun 19, 2018 7:45 pm

Re: Can virtual files include a path ?

Be aware you don't need to specify the path, unless there's 2 different files with the same file name in different folders, and you only want to virtualize one of them.

You can virtualize "gemicons01.tga" as "gemicons-character.tga" and this will work regardless of where the game stores the files.
<<

Angahran

Posts: 59

Joined: Fri Aug 27, 2010 11:30 pm

Post Tue Jun 19, 2018 8:14 pm

Re: Can virtual files include a path ?

Unfortunately there are multiple versions of these files.

uifiles\default\gemicoms01.tga to gemicons23.tga
uifiles\default\Spells01.tga to Spells62.tga

also

uifiles\classic_spell_icons\gemicons01.tga to gemicons03.tga
uifiles\classic_spell_icons\Spells01.tga to Spells07.tga

I have created the following virtual files and dragged my character to them:
.\uifiles\classic_spell_icons\gemicons01.tga virtualized as .\uifiles\classic_spell_icons\gemicons01-character.tga
.\uifiles\classic_spell_icons\gemicons02.tga virtualized as .\uifiles\classic_spell_icons\gemicons02-character.tga
.\uifiles\classic_spell_icons\gemicons03.tga virtualized as .\uifiles\classic_spell_icons\gemicons03-character.tga
.\uifiles\classic_spell_icons\Spells01.tga virtualized as .\uifiles\classic_spell_icons\Spells01-character.tga
.\uifiles\classic_spell_icons\Spells02.tga virtualized as .\uifiles\classic_spell_icons\Spells02-character.tga
.\uifiles\classic_spell_icons\Spells03.tga virtualized as .\uifiles\classic_spell_icons\Spells03-character.tga
.\uifiles\classic_spell_icons\Spells04.tga virtualized as .\uifiles\classic_spell_icons\Spells04-character.tga
.\uifiles\classic_spell_icons\Spells05.tga virtualized as .\uifiles\classic_spell_icons\Spells05-character.tga
.\uifiles\classic_spell_icons\Spells06.tga virtualized as .\uifiles\classic_spell_icons\Spells06-character.tga
.\uifiles\classic_spell_icons\Spells07.tga virtualized as .\uifiles\classic_spell_icons\Spells07-character.tga

But it does not seem to be using the virtualized files.
Attachments
ISBoxerToolkitProfile.XML
profile
(182.21 KiB) Downloaded 610 times
<<

bob

User avatar

League of Extraordinary Multiboxers

Posts: 4643

Joined: Sat Feb 15, 2014 11:14 am

Location: In the dining room, with the lead pipe.

Post Tue Jun 19, 2018 8:19 pm

Re: Can virtual files include a path ?

your
Code:
.\uifiles\classic_spell_icons\gemicons01.tga

doesn't look like
Code:
uifiles/classic_spell_icons/gemicons01.tga
<<

Angahran

Posts: 59

Joined: Fri Aug 27, 2010 11:30 pm

Post Sat Sep 21, 2024 3:44 pm

Re: Can virtual files include a path ?

lax wrote:Be aware you don't need to specify the path, unless there's 2 different files with the same file name in different folders, and you only want to virtualize one of them.
You can virtualize "gemicons01.tga" as "gemicons-character.tga" and this will work regardless of where the game stores the files.


The reason I was trying to use a path is because I was trying to setup a laptop that both my wife and I would use and we both have different setups for the same characters.
So I thought if I could use a path I could put all of my files in one folder and all hers in a different folder (since the files would have the same names).

What I've done, and it's probable a kludge, was copy all of the characters and named them character1-mine and character1-hers, etc.
<<

Angahran

Posts: 59

Joined: Fri Aug 27, 2010 11:30 pm

Post Sun Sep 22, 2024 10:36 am

Re: Can virtual files include a path ?

bob wrote:your
Code:
.\uifiles\classic_spell_icons\gemicons01.tga

doesn't look like
Code:
uifiles/classic_spell_icons/gemicons01.tga


So I messed up the format :(

Looking at the manual (I know, should have done that to start), I see this:
Examples:
"*/core_user_*.dat" => "{1}/core_user_allsamefile.dat"
"*/core_user_*.dat" => "{1}/core_user_{2}-isboxer.dat"
"*/WTF/*" => "{1}/WTF/{2}"
"*/Addons.txt" => "{1}/Addons-ISBoxer.txt"
"/Interface/" => "/Interface-Boxing/"


where do the {1}, {2}, etc come from?

Say I wanted to virtualize this file for two different players
character_server_SHD.ini

I would put this?
player1/character_server_SHD.ini
and
player2/character_server_SHD.ini

But I'd still nee two entries under ISBoxer-Characters, right? one for pplayer 1 and 1 for player2?

And I see there is also a 'Virtual Files' section under Character Sets?
How does that work with the 'Virtual Files' under the individual characters?

https://docs.google.com/document/d/1W_tEx5ioIeTsJmxL55d3vqzFWLd_XQVfA71VbIsQI_E/edit?usp=sharing

Maybe I'm just trying to do something that can't be done :P
1. One list of all characters under 'Characters'
2. Two character sets, both containing the same characters
3. characterSet1 using virtualized files from folder1
4. characterSet2 using virtualized files from folder2
5. the files in both folder1 and folder2 would have the same names
<<

bob

User avatar

League of Extraordinary Multiboxers

Posts: 4643

Joined: Sat Feb 15, 2014 11:14 am

Location: In the dining room, with the lead pipe.

Post Sun Sep 22, 2024 3:35 pm

Re: Can virtual files include a path ?

Angahran wrote:where do the {1}, {2}, etc come from?

They are the matches for the wild cards in the match string.
e.g. in the samples of the match string a wildcard is used *. The first wildcard can be referenced as {1} and the second can referenced as {2} (and however many wildcards you have in the match string). This is useful for when you need to specify some section of the path in the virtual file.

Angahran wrote:Maybe I'm just trying to do something that can't be done

You could potentially set what you want under the Character Set virtual files, but these to apply to all characters in the character set so any files that might match multiple characters in that set might not have the desired result.
However, if the file to be matched will actually end up being character specific (they seem to be as they are named CHARACTER_SERVER_CLASS.ini), you will probably get what you are after.

You should make sure you are not trying to virtualize the same file twice at the character and character set level. That will have unpredictable results.

Return to EverQuest

Who is online

Users browsing this forum: No registered users and 4 guests