Anyone know what these file references are?

From C++ to PHP, debugging to webhosting; help and discussion about writing your latest program to running your website. NOT for help when your PC won't work.

Announcements Posted on
Please change your TSR password 23-05-2013
Sign in to Reply
  1. Sephiroth's Avatar
    • TSR Demigod
    • Location: Haus of GaGa
    • Posts: 6,163
    Anyone know what these file references are?
    I am trying to make a database out of CSVs obtained from a game's dat parsing. But I am having problems understanding the structure of the files.

    I can see how it all links in, but I get cells such as:

    Favors: [@SHEET(xtx/text_skillName,30,14)]

    Favors: is just general text, but the reference links to a CSV called txt_text_skillName and then row 30, column 14 in that sheet. These aren't the physical rows/column in the sheet, they're based on reference numbers in column A and row 1. This value is then pulled into that reference above.

    Obviously you can't pull in data in a CSV, but converting the CSV to Excel format didn't pull in the data either. Workbooks are linked together differently. Is that reference of any use to Excel or is there a way I can use it elsewhere? The dat parser manages to link everything together in the GUI so it must be possible to use it in programming. It would help if I understood what kind of referencing that is, but Google is giving me no luck.

    I was just going to get around it by doing a find and replace on each reference but there's potentially hundreds of different ones.
  2. Dez's Avatar
    • TSR Group Staff
    • The square root of rope is string.
    • Location: The South
    • Posts: 8,164
    Re: Anyone know what these file references are?
    Excel does allow you to reference different sheets in a workbook, or even a sheet in a different workbook. The syntax to reference a sheet is quite easy:

    =Sheet1!A1

    I'm not sure what the syntax for a different workbook is, but you can probably Google it. If your conversion program is naming the sheets properly, then you should be able to do a find/replace on those references to turn them into useful Excel formulae.
  3. Joinedup's Avatar
    • TSR Demigod
    • Posts: 7,495
    Re: Anyone know what these file references are?
    I think you could do it with macros... Forgotten how though
  4. Sephiroth's Avatar
    • TSR Demigod
    • Location: Haus of GaGa
    • Posts: 6,163
    Re: Anyone know what these file references are?
    I just took the easy route and put some replaces in my PHP code. It works for the item database but might need to come up with another solution if I decide to make a quest database.

    I run a MMO fan site incase you're wondering. :P
Sign in to Reply
Share this discussion:  
Useful resources
Article updates
Moderators

We have a brilliant team of more than 60 volunteers looking after discussions on The Student Room, helping to make it a fun, safe and useful place to hang out.

Reputation gems:
The Reputation gems seen here indicate how well reputed the user is, red gem indicate negative reputation and green indicates a good rep.
Post rating score:
These scores show if a post has been positively or negatively rated by our members.