marcowy Posted December 17, 2015 Author Share Posted December 17, 2015 I've already ask this question here https://www.launchbox-app.com/forum/features/non-installed-steamgog-galaxyorigin-games-import-feature/page-6#p8101, but I think it wasn't noticed, so here it comes again (little edited to be more clarify) :) @SentaiBrad, @Jason Is it possible to create (manualy or programaticaly) XML file and import it to LaunchBox via "Tools-Import-LaunchBox zip package" option? I've made a test: I've exported my Steam collection from Launchbox and then copied one game's settings to new, manually created LaunchBox.xml file. Then I've changed Title of this game. Next I've zipped that file and tried to import it - unsuccessfully. I've tried few more changes - remove ID, dates and so on. Nothing happened. Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted December 17, 2015 Share Posted December 17, 2015 Hi @marcowy, sorry I missed that. I'm sure it's possible, but probably difficult to figure out the exact format that it needs to be. That would probably be quite a struggle. You could create a normal exported package to compare it against though. Quote Link to comment Share on other sites More sharing options...
marcowy Posted December 17, 2015 Author Share Posted December 17, 2015 @Jason, have you read my message carrefully? I've created such an exported package and created my own based on it. Do you mean you don't know how your export/import function works? Who have wrote it? Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted December 17, 2015 Share Posted December 17, 2015 Yes, I read your message, and yes, I wrote the import and export processes. What I'm saying is it will be difficult for you to build a package manually to be imported. LaunchBox may expect that there be other files in the zip file other than the LaunchBox.xml file. It's also important to note that all the file paths are changed during the export process. So I'm saying it's possible but not recommended, because it will be annoyingly difficult. Quote Link to comment Share on other sites More sharing options...
marcowy Posted December 18, 2015 Author Share Posted December 18, 2015 Jason thank you for your answer. But I don't get it. "Launchbox may expect that there be other files"? What files??? There is only one other file in originaly created zip - Readme.txt. I get the dinstinct impression that you don't want to help me in this issue... Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted December 18, 2015 Share Posted December 18, 2015 Lol...not quite sure how to respond to that. Obviously lots of different files go into those zip packages, from images to game files, etc. My point is exactly that it is not worth the effort to try and figure out how to create one of the packages manually. Since you keep pressing me, I guess I will have to come right out and say it. No, I do not have time to research and then explain exactly how everything in those packages work. My apologies, but time spent on stuff like that only takes away from development time. I'm always happy to answer specific questions, but you're asking me to help you with a specific situation that would likely take hours to figure out. That, and you've been needlessly pushing me in this thread by putting words in my mouth and making accusations for no reason. Unfortunately my patience has run out. Quote Link to comment Share on other sites More sharing options...
marcowy Posted December 18, 2015 Author Share Posted December 18, 2015 Please forgive me, I really didn't want to be rude. I thought that the answer is relatively simple. I've forgot to write that I don't care about other files like images. There is a possibility to uncheck those files in the export option and then the only files created in zip package are LaunchBox.xml and Readme.txt. I don't expect you will waste your time for analyse this anymore. I will do some tests on my own. And if I don't figure it out I'll create new issue on your Bitbucket list to provide simple manual import from txt/csv files. Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted December 18, 2015 Share Posted December 18, 2015 Sorry if I was bit short, @marcowy. Thanks for understanding and dealing with my unfortunate lack of time. Quote Link to comment Share on other sites More sharing options...
marcowy Posted December 21, 2015 Author Share Posted December 21, 2015 @Jason, can you tell me how game ID in XML is generated (if it's not too time-consuming to answer :)? (e.g. f7de1a7f-9ba2-434b-aaa0-666e8fcc377e) Quote Link to comment Share on other sites More sharing options...
SentaiBrad Posted December 21, 2015 Share Posted December 21, 2015 You can't replicate it. It is based on several different factors, Hardware being one of them. Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted December 22, 2015 Share Posted December 22, 2015 Hi @marcowy, Brad's mostly right, it's a GUID, which is just generated randomly as a unique ID. It's basically just a random string of letters. So basically, it isn't important what it is so long as it's in the valid format and it isn't the same for more than one game in the XML. Quote Link to comment Share on other sites More sharing options...
marcowy Posted December 22, 2015 Author Share Posted December 22, 2015 Thanks for your help. I've figured it out myself, when I've changed it manually to random, shorter number. So I assume, that the only requirement of this ID is that it has to be unique, right? Quote Link to comment Share on other sites More sharing options...
Walk left Posted December 22, 2015 Share Posted December 22, 2015 marcowy, As my test,must be GUID format I think,and there are 2 GUID in xml file for per item, U need change both (could be same value) to unique GUID. Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted December 24, 2015 Share Posted December 24, 2015 I'm actually not certain if it needs to be in actual GUID format or not (I'd have to go look), so I'll trust Walk left on this one. :) But yes, other than format, it just needs to be unique. Quote Link to comment Share on other sites More sharing options...
marcowy Posted December 30, 2015 Author Share Posted December 30, 2015 Result of my efforts: https://www.launchbox-app.com/forum/features/non-installed-steamgog-galaxyorigin-games-import-feature/page-6#p8956 Quote Link to comment Share on other sites More sharing options...
Jason Carr Posted December 30, 2015 Share Posted December 30, 2015 Wow, nice. Awesome work. Thanks, @marcowy. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.