[Tool] ePDA - Empyrion PDA helper v1.291

Discussion in 'The Hangar Bay' started by Exacute, Aug 4, 2017.

Tags:
Thread Status:
Not open for further replies.
  1. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    v1.28 Released
    -Added mimetypes someplaces in the hope of making the error log a little cleaner. (No real impact for you as an user)
    -Fixed paste issues:
    --When pasting text that contains an escaped colon, it would break the importer.
    --If for whatever reason, a key under a task was invalid, it would break the importer.
    --If for whatever reason, a key under an action was invalid, it would break the importer.
    -Added GuidingDistance to Guiding-able actions, with a default of 300.
     
    #161
  2. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    v1.285 released (hotfix on v1.28)
    -Fixed overlooked issue with pasting
    -Removed some debug lines from pasting & importing
     
    #162
    Taelyn and RexXxuS like this.
  3. UresiiZo

    UresiiZo Ensign

    Joined:
    Jul 30, 2018
    Messages:
    4
    Likes Received:
    1
    missing fullurl in configs, or config file is corrupt.

    This message is displayed.I install it in a procedure of "How to install".
    Are any other causes it?
     
    #163
  4. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    This 90% means that you have messed up your config file, or that the url is wrong.. Please try to send the config file to me :)
     
    #164
  5. UresiiZo

    UresiiZo Ensign

    Joined:
    Jul 30, 2018
    Messages:
    4
    Likes Received:
    1
    This is a configuration file.
     

    Attached Files:

    #165
  6. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    Hmm. That's a little odd. The config file 'works for me' (obviously it cannot find anything at that path, but)

    Seemingly it doesn't manage to load the config file..
    -What browser are you using?
    -Can you please send a screenshot of the directory, where you have emp_main.html ?
    -Could you please press ctrl+shift+k (by default - open your browsers console), and tell me what that says?
     
    #166
  7. UresiiZo

    UresiiZo Ensign

    Joined:
    Jul 30, 2018
    Messages:
    4
    Likes Received:
    1
    The browser is Firefox.

    upload_2018-7-30_22-3-12.png

    Notice: Filled 1405 into internal data-store for types. (csv entries initially 3332, now: 1500). Also removed 0 duplicates in different helper-lists emp_main.html:12370:2
    クロスオリジン要求をブロックしました: 同一生成元ポリシーにより、file:///D:/Program%20Files%20(x86)/Steam/steamapps/common/Empyrion%20-%20Galactic%20Survival/Content/Configuration/Config_Example.ecf にあるリモートリソースの読み込みは拒否されます (理由: CORS 要求が http でない)。
    err: path file:///D:/Program%20Files%20(x86)/Steam/steamapps/common/Empyrion%20-%20Galactic%20Survival/Content/Configuration/Config_Example.ecf is specified, but invalid (default) emp_main.html:12209:6
    uncaught exception: JS-YAML: end of the stream or a document separator is expected at line 793, column 26: bkiConsumable,"Consumable: Use with LMB from toolbar or f ... ^
    Notice: Merged 9 entries in tempcsv, with same-key. 36 langfields had possible dataloss. emp_main.html:1943:6
    SyntaxError: JSON.parse: unexpected end of data at line 2 column 5 of the JSON data[詳細]
     

    Attached Files:

    #167
  8. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    Just to confirm: You are manually opening it with firefox, not just double clicking (from the looks of it, it would default open in chrome)

    Please make sure to have the console open, when you open the page. From the looks of it, you are missing the start of the log (which is the interesting part)

    Also. One thing that will become an issue:
    _You may NOT place it in a folder.
    It have to be in the /common/, not in /common/ePDA/
    (It can also be in higher folders, but it may NOT be in it's own folder)
     
    #168
  9. UresiiZo

    UresiiZo Ensign

    Joined:
    Jul 30, 2018
    Messages:
    4
    Likes Received:
    1
    Sorry.

    I opened firefox by double click.
    I lost /ePDA/ and put it in /common/, it worked normally.
    Thank you.
     
    #169
    Exacute likes this.
  10. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    So it works properly now? Glad to hear.
     
    #170
  11. 竹之韵

    竹之韵 Ensign

    Joined:
    May 7, 2018
    Messages:
    3
    Likes Received:
    1
    Hello, my EPDA set the default scenario of the game, can run normally. But as long as you use a custom scene or a scene in the creative workshop, the EPDA is wrong: "Something went wrong. Looks like you have a config error. Either). I checked the setting path, and there were no mistakes in the name of the scene. This task editor can only use the default scenario, I wonder if I made a mistake, please help me.[​IMG] [​IMG] [​IMG]
     
    #171
  12. 竹之韵

    竹之韵 Ensign

    Joined:
    May 7, 2018
    Messages:
    3
    Likes Received:
    1
    My EPDA installation path:[​IMG]
     
    #172
  13. 竹之韵

    竹之韵 Ensign

    Joined:
    May 7, 2018
    Messages:
    3
    Likes Received:
    1
    I figured out why the EPDA didn't work because I didn't have an" Extras" folder in my custom folder, so I created one myself. It's all right now.
     
    #173
    Exacute likes this.
  14. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    Good to hear. Yes, this folder is obligatory, as is a basic PDA.yaml and PDA.csv, even if basically without any content.
     
    #174
  15. xXDeathXx

    xXDeathXx Commander

    Joined:
    Aug 31, 2017
    Messages:
    87
    Likes Received:
    67
    Just looking at your tool, do you know if you can point PDA missions toward PVP kills and things like that ?
     
    #175
  16. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    afaik there's no actions to catch pvp-specific things (atleast from memory)
     
    #176
  17. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    Happy new year! ;)

    v1.29 have been released, fixing a few missing bits from 8.x, and adding 9.0 features :)

    A little call-for-action: If you like the tool, I'd highly recommend supporting it in one way or another - Contrary to my mods, very little interest is shown to this. And yet, it's still quite the timesink. So if there's an interest for further development, I'd encourage showing it :)

    v1.29
    -Fixed issue if imported csv contains '"'. Will be removed. Clearly someone have decided the default strings should contain them now..
    -Added 'WellFed', 'RadiationImmunity', 'PoisonAntidote' to effects list
    -Fixed import issue of ecf file, if '}# Container Blocks' happens ... (all comments are now purged)
    -Added new 'Default.jpg', as the default 'to show', if no task/chapter-image was specified. Given it exists.
    -Changed visual of 'Reward items on completion:'. Now the KEY of the item will also be searchable, aswell as appear in the entered data. (So same behaviour as when using items for action-conditions). This both for 'chapterrewards', 'chapterskiprewards' and 'taskrewards'.
    -Added 'Reputation' as a parameter for rewards on chapters and tasks, with accepted value between 1 and 30000.
    -On import, will split 'Faction' into multiple entries (If both 'zirax' and 'talon' were on same, it will create two entries, instead of having the same on one). This is to easier edit, and because the usecases where you'd want both to the same value is few at best.
    -Added import of 'factions' found in the PDA entries. Untill the 'custom factions' is finalised, this should suffice, together with the three defaults 'Talon', 'Polaris', 'Zirax' (Used to define what is pick-able for faction selection for reputation for rewards)
    -(Also added exception for 'min-max' check for rewards, in the case of reputation, as they support negative numbers)
    -Fixed issue with 'rewards' count not being properly maxed, if being 'special' (UP/XP/). It should now properly have a max value, despite already being added to the list.
    -Added F button, to the 'rewards' picker. Use it to pick faction reputation reward is associated with. F will be replaced by faction name, once picked.
    -Fully implemented 'Reputation' and 'ReputationTarget' for reward-conditions
    -Reputation entries with blank factions will be ignored for input and output
    -Fixed numbers for reward-count not being properly initialised, if reward already existed
    -Fixed an error with pasting
    -Added new categories, aswell as an auto-append for future factions, with category name <FactionName>Mission
    -Added 'ByReputation' to 'Visibility'
    -Added 'ByReputation' to 'Activatable'
    -Added 'ReputationLevel' field to main chapter. It is visible if Visibility or Activatable is set to ByReputation
    -Fixed issue with 'Visibility' and 'Activatable' that would be treated as names (ie. given a translation key), rather than a fixed value, when imported by pasting.
     
    #177
    Bollen, ravien_ff, jmcburn and 2 others like this.
  18. Bollen

    Bollen Captain

    Joined:
    Mar 22, 2017
    Messages:
    253
    Likes Received:
    250
    Hello! I've been using your tool for a while now, love it and really appreciate your work. Unfortunately, I just downloaded the latest version and can't get it to work... I get the "Something went wrong. Looks like you have a config error. Either scenario or path." notice.

    The Emp Tool folder is sitting inside Steamapps, I've also tried it in Common, but doesn't make a difference.

    This is what Firefox has to say:

    Object { Settings: {…}, DotExeSettings: {…}, EmpyrionPath: {…} }
    emp_main.html:11380:3
    XML Parsing Error: not well-formed
    Location: file:///C:/Program%20Files%20(x86)/Steam/steamapps/emp_tool_v1.29/emp_config.txt
    Line Number 1, Column 1: emp_config.txt:1:1
    Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http://xhr.spec.whatwg.org/ emp_main.html:11479:4
    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///C:/Program%20Files%20(x86)/Steam/steamapps/emp_tool_v1.29/csv_translator.html. (Reason: CORS request not http).[Learn More]
    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Empyrion%20-%20Galactic%20Survival/BuildNumber.txt. (Reason: CORS request not http).[Learn More]
    Object { Settings: {…}, DotExeSettings: {…}, EmpyrionPath: {…} }
    emp_main.html:11489:3
    Loaded configs Successfully emp_main.html:11491:4
    Notice: No default image was found in PDA folder for path: file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Empyrion%20-%20Galactic%20Survival/Content/Scenarios/Test/Extras/PDA/Default.jpg emp_main.html:11513:5
    failed, config error emp_main.html:11529:5
    WARN: Sectors.yaml (file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Empyrion%20-%20Galactic%20Survival/Content/Scenarios/Test/Sectors/Sectors.yaml) failed to load:undefined..error..0 error emp_main.html:11569:4
    TypeError: $(...).text(...).match(...) is null[Learn More] emp_main.html:11389:32
    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Empyrion%20-%20Galactic%20Survival/Content/Scenarios/Test/Extras/PDA/Default.jpg. (Reason: CORS request not http).[Learn More]
    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Empyrion%20-%20Galactic%20Survival/Content/Scenarios/Test/Extras/PDA/PDA.yaml. (Reason: CORS request not http).[Learn More]
    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Empyrion%20-%20Galactic%20Survival/Content/Scenarios/Test/Extras/PDA/PDA.csv. (Reason: CORS request not http).[Learn More]
    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Empyrion%20-%20Galactic%20Survival/Content/Scenarios/Test/Sectors/Sectors.yaml. (Reason: CORS request not http).[Learn More]
    Successfully loaded Empyrion loca file emp_main.html:12437:67
    ERROR with the games localization file! emp_main.html:12450:6
    Cleaned up loca file: removed 9 duplicates, 0 invalid keys/blank emp_main.html:12677:5
    Notice: Filled 1405 into internal data-store for types. (csv entries initially 3332, now: 1500). Also removed 0 duplicates in different helper-lists emp_main.html:12794:2
    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at file:///C:/Program%20Files%20(x86)/Steam/steamapps/common/Empyrion%20-%20Galactic%20Survival/Content/Extras/Localization.csv. (Reason: CORS request not http).[Learn More]
    XML Parsing Error: syntax error
    Location: file:///C:/Program%20Files%20(x86)/Steam/steamapps/emp_tool_v1.29/emp_assets/helpers/Localization.csv
    Line Number 1, Column 1:

    And I'll upload the config file,

    Thank you again!
     

    Attached Files:

    #178
  19. Exacute

    Exacute Rear Admiral

    Joined:
    Feb 17, 2017
    Messages:
    456
    Likes Received:
    307
    I take it you've placed it in a folder, like steamapps/emp_tool_v1.29 , according to log
    This doesn't work.
    As the errors suggest:
    "Cross-Origin Request Blocked:"
    Your browser (and really all modern browsers) are protecting you, so that any locally run html may only *look down* folders. Not up.
    In other words, it CANNOT be placed in a folder ;)
    The emp_main.html MUST have 'direct access' to the egs directory. Hence, you cannot place it in a subfolder.
    If you take all the files, and place in /Steam/ or /steamapps/ or /common/ you should be fine. Just make sure the emp_main.html is like /Steam/emp_main.html , etc.
     
    #179
    Bollen likes this.
  20. Bollen

    Bollen Captain

    Joined:
    Mar 22, 2017
    Messages:
    253
    Likes Received:
    250
    Duh! So sorry, I had completely forgotten that you had to place the files not the folder above Empyrion... And more idiotic still, I had all the files from the previous version right there in front of me but I hadn't noticed them...:oops:!

    A thousand thanks!
     
    #180
    Exacute likes this.
Thread Status:
Not open for further replies.

Share This Page