I've been coding a game in two projects. How do I merge them?

gfb08174gfb08174 Member, PRO Posts: 69

I'm new to GS and took some precautions with coding. In order to prevent irreversible damage I worked between two projects.

A problem comes up when copy and pasting behaviors from project A.1 to project A.2. Even though I recreate all the actors, attributes scenes, etc, an error message comes up saying: "warning: The following behaviors have invalid attribute values:" (it then shows a host of attributes) when I paste behaviors of an actor in project A.1 into the actor of project A.2

How can I transfer everything from project A.1 to project A.2?

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273

    Good question. You have to use a special tool. @DeepBlueApps has one on their site. I'll message you the direct link as posting it here is against the forum rules.

  • floatingwoofloatingwoo Los Angeles, Calif.Member Posts: 393

    I to would like to know that if you catch this message. Braydon_SFX

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273

    @floatingwoo said:
    I to would like to know that if you catch this message. Braydon_SFX

    Message sent.

  • gfb08174gfb08174 Member, PRO Posts: 69

    Hi @Braydon_SFX thanks for the answer and personal message. Is Project Merger the only solution? I rather not use a pay-to-use service

  • MeepedMeeped Member Posts: 31

    I rather not use a pay-to-use service

    Well, you could go with the old fashioned Ctrl + C and Ctrl+ V

  • gingagaminggingagaming FREELANCE GS DEV Member Posts: 1,685

    @gfb08174 said:
    Hi Braydon_SFX thanks for the answer and personal message. Is Project Merger the only solution? I rather not use a pay-to-use service

    It's not a pay to use service. It's a TOOL to solve your problem.

  • gfb08174gfb08174 Member, PRO Posts: 69
    edited February 2015

    @Meeped Ctrl + C and Ctrl+ V causes the error message.

    @gingagaming are there alternative tools?

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    That's the only tool of its kind I know of. I haven't used it personally but my clients have and find it works really well (I don't have any connection to DeepBlueApps.com, by the way).

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • zweg25zweg25 Member Posts: 738

    I recommend it, it is a cheap tool, works perfectly, and if you have trouble you could always contact Darren for instant help

  • LovejoyLovejoy Member Posts: 2,078

    @Braydon_SFX said:
    Good question. You have to use a special tool. DeepBlueApps has one on their site. I'll message you the direct link as posting it here is against the forum rules.

    @gingagaming said:
    It's not a pay to use service. It's a TOOL to solve your problem.

    @tatiang said:
    That's the only tool of its kind I know of. I haven't used it personally but my clients have and find it works really well (I don't have any connection to DeepBlueApps.com, by the way).

    @zweg25 said:
    I recommend it, it is a cheap tool, works perfectly, and if you have trouble you could always contact Darren for instant help

    You guys do realize that Xcode comes with a file merger in it? Its called FileMerge, its in the utilities folder...

    Open it up, choose project one, choose project 2, select destination, then add .gameprog extension to the folder made and bam, done. Then go buy a beer with the money you saved.

    Fortuna Infortuna Forti Una

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    @Lovejoy sounds good! I practically never open Xcode but perhaps I should...

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273

    @Lovejoy said: You guys do realize that Xcode comes with a file merger in it? Its called FileMerge, its in the utilities folder...

    What are you, some kind of genius or something? :P

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
  • LovejoyLovejoy Member Posts: 2,078

    No problem, Im glad you guys found it useful.

    Fortuna Infortuna Forti Una

  • metametmetamet Member, PRO Posts: 80

    Anybody ever try GitHub and merging the projects together? Curious if that works.

  • gfb08174gfb08174 Member, PRO Posts: 69

    Thank you @Lovejoy . My App Store is acting up and the Xcode page won't load so I'm unable to try it out for the time being.

    Does anyone have experience with this?

  • pilotjoepilotjoe Member, PRO Posts: 31

    I just use the app from DBA.. works perfectly!

  • UtopianGamesUtopianGames Member Posts: 5,692
    edited February 2015

    @Lovejoy @tatiang @Braydon_SFX @Jamie_c We don't recommend it and I'm surprised you don't know how GS works under the hood but hey…

    There's hundreds of text editors that can do that too.

    With a GS file you have to also do some 'changes' to the file.

    Might work for some projects but it won't resolve clashes in the xml id references and quite a few other things but might be ok with some projects where there's no conflicts.

    The variable 'game.lives' is a word us humans see.. Behind the scenes GameSalad assigns a unique number say 9986568 but in project 2, that number could be assigned to say a rule in the project.. So when you merge you'd end up with a very confused, and non working project....

    But if you had 2 projects, and by chance the thousands of id numbers are 100% different in each - then a simple text merge might be ok.

    In merger development this seemed to clash a lot - so our tool is coded to fix as it merges.. But whatever LOL you go buy a beer (if your old enough to drink) and we will continue to sell our tool.

  • LovejoyLovejoy Member Posts: 2,078

    @DeepBlueApps said:
    Lovejoy We don't recommend it - but hey… But whatever LOL you go buy a beer (if your old enough to drink) and we will continue to sell our tool.

    I really hope you are not trying to start an attack on me, i was simply answering the original poster's question since he clearly mentions that he did not want to spend money.

    Keep trying to press me and you will end up finding all your templates posted online for free. Word of advice, wordpress is not very secured my friend.

    Fortuna Infortuna Forti Una

  • UtopianGamesUtopianGames Member Posts: 5,692
    edited February 2015

    @Lovejoy said:
    Keep trying to press me and you will end up finding all your templates posted online for free. Word of advice, wordpress is not very secured my friend.

    Attacking you? Are you serious? I was simply explaining the pitfalls of your method and FYI we don't store our templates in the wordpress site so your wrong...again.

    I do hope one of the higher ups sees your post and takes action because your way out of order.

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    edited February 2015

    We don't recommend it and I'm surprised you don't know how GS works under the hood but hey…

    @DeepBlueApps It's not that I don't understand how it works... I'm taking another user's advice sight unseen. It's something worth exploring, that's all. I haven't used your Project Merger myself, either, so I don't know how well it does or does not resolve xml references. As I mentioned, some of my clients have used it successfully to merge purchased templates with whatever project files they had started working on.

    @Lovejoy, threatening another user is specifically prohibited in the Forum Rules:

    Please do not participate in name-calling, insults, verbal attacks, threats, general forum trolling, and/or harassment of other members or moderators (aka Sous Chefs).

    I'd ask you and @DeepBlueApps to both to be considerate of this.

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

  • LovejoyLovejoy Member Posts: 2,078

    I am well aware, seems like you missed the point. With that being said, good day.

    Fortuna Infortuna Forti Una

  • Dell7730Dell7730 Member, PRO Posts: 388

    I was about to get me some popcorn and soda but then it's all over, *sigh, lol

  • zweg25zweg25 Member Posts: 738

    Wait @DeepBlueApps if we do use the GSProject Merger what about the duplicate purchase table?

  • jay2dxjay2dx Member Posts: 611

    I'd just code a new project with all you've learnt! It Would be much quicker than posting here and thinking about it!!

    :)

  • neomanneoman Member, BASIC Posts: 826
    edited July 2015

    @Lovejoy said:
    Word of advice, wordpress is not very secured my friend.

    Out of the box WordPress is not secure similar to a Windows or Linux server. The more popular the product the more it is vulnerable to attack. All products need to be hardened (secured) and once secured WordPress is very secure. Custom products are not always secure but the only benefit with them is that the vulnerabilities are not known to attackers.

    And yes there are a lot of unsecured WordPress sites out there. In my experience I found 4 out of 5 installations not hardened. These sites are sitting ducks that could be hacked but that is the site admins' fault not WordPress's fault. The WordPress Codex tells you exactly how to harden your WordPress installation ...

Sign In or Register to comment.