Author Topic: SubLists for Graphics and Framesets  (Read 20949 times)

durnurd

  • Lead Lemming
  • Expert
  • Fanatic
  • *****
  • Posts: 1234
  • Games completed so far: 0
    • MSN Messenger - durnurd@hotmail.com
    • View Profile
    • Find My Ed
Re: SubLists for Graphics and Framesets
« Reply #15 on: 2012-10-25, 05:04:23 PM »
I would also vote for globally unique names regardless of the path leading up to them.  As #Sharp mentioned, it would make things simpler.  Then some day, you may be able to make a change to the program to include a proper UI and data structure change so that the names don't actually include slashes, and everything will still work correctly.
Edward Dassmesser

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: SubLists for Graphics and Framesets
« Reply #16 on: 2012-10-26, 06:49:07 AM »
I suspected that the globally unique name thing would be preferred. I am going to try to do this properly by adding a "Folder Path" field to the appropriate screens and leave the name itself pretty much untouched. As it turns out, trying to hack the path into the name is probably going to make at least as much of a mess as adding a new field for the folder path. And this is the kind of thing that would be harder to fix later than now, so I decided I should do it properly now rather than later. Keeping the path separate will be cleaner anyway, I think.

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: SubLists for Graphics and Framesets
« Reply #17 on: 2012-10-28, 10:47:52 AM »
Could you test the new version for me before I release it?
http://sgdk2.enigmadream.com/ben/SGDK2IDE.zip

I think the EXE is all you need. Let me know if you have any problems. Please backup your project and SGDK2IDE.exe file before using the new/test version.

Every object for which you requested folders supports them in this version. Source Code is a little hard to figure out. There's a new "Specify Folder Name" menu item in the File menu when you're editing a source code object.

v6v

  • Clever
  • Fanatic
  • ***
  • Posts: 500
  • Has renamed his project to Galaxy!
    • View Profile
    • My Developer Page!
    • Email
Re: SubLists for Graphics and Framesets
« Reply #18 on: 2012-10-28, 03:53:28 PM »
I happened to find everything without any issue. The directories run fine.

This is definitely worthy of a new SGDK2 version.

It runs fine for me. Thank you bluemonkmn. This really helps development!!

Continuing on now..

EDIT: Should the Clickonce installer feature this?
« Last Edit: 2012-10-28, 05:20:06 PM by #Sharp »

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: SubLists for Graphics and Framesets
« Reply #19 on: 2012-10-28, 07:02:20 PM »
Yes, whenever I release now, both the ClickOnce installer and the formal release on SourceForge will be updated. I may not have time to release tonight, but hopefully in the next day or two.

v6v

  • Clever
  • Fanatic
  • ***
  • Posts: 500
  • Has renamed his project to Galaxy!
    • View Profile
    • My Developer Page!
    • Email
Re: SubLists for Graphics and Framesets
« Reply #20 on: 2012-10-29, 02:21:44 PM »
If a folder is created with the same name of an existing graphics sheet the graphics sheet becomes a subdirectory of the graphic sheet and the graphic sheet itself becomes a directory.

Not a serious issue (Not even an issue at all) It actually allows for the creation of subdirectories within directories.
« Last Edit: 2012-10-29, 02:26:23 PM by #Sharp »

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: SubLists for Graphics and Framesets
« Reply #21 on: 2012-10-29, 05:13:01 PM »
Weird. I mean surprising that it all worked out without errors, and I hadn't even planned it that way. Do you think I should keep that behavior or force a folder name to be an actual folder instead of allowing the nesting of objects within non-folders?

v6v

  • Clever
  • Fanatic
  • ***
  • Posts: 500
  • Has renamed his project to Galaxy!
    • View Profile
    • My Developer Page!
    • Email
Re: SubLists for Graphics and Framesets
« Reply #22 on: 2012-10-29, 06:13:48 PM »
In my honest opinion I think you should keep it.

But offer a disclaimer.

Because once it's done, it can't be undone.

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: SubLists for Graphics and Framesets
« Reply #23 on: 2012-10-29, 07:07:04 PM »
Ew, I should fix that part... that part didn't quite "all work out without errors" then. I think I can figure something out, though. Thanks for reporting in!

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: SubLists for Graphics and Framesets
« Reply #24 on: 2012-10-30, 08:38:03 PM »
All fixed and posted. I also updated the help file and version in the official release.

v6v

  • Clever
  • Fanatic
  • ***
  • Posts: 500
  • Has renamed his project to Galaxy!
    • View Profile
    • My Developer Page!
    • Email
Re: SubLists for Graphics and Framesets
« Reply #25 on: 2012-10-30, 10:23:41 PM »
Minor Bug!

Click the About button and close the about window twice.


bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: SubLists for Graphics and Framesets
« Reply #26 on: 2012-10-31, 04:55:47 AM »
I don't see any problem. I assume you're talking about the "About" menu item in the Help menu (there's no "About button"). It's working fine as far as I can tell.

v6v

  • Clever
  • Fanatic
  • ***
  • Posts: 500
  • Has renamed his project to Galaxy!
    • View Profile
    • My Developer Page!
    • Email
Re: SubLists for Graphics and Framesets
« Reply #27 on: 2012-10-31, 08:26:42 AM »
My computer only then.

If that's the case, then don't worry about it.

It throws a system32 error and shows a bunch red boxes and wireframe in the form where things should be.

Sorry for wasting your time!

bluemonkmn

  • SGDK Author
  • Administrator
  • Fanatic
  • *****
  • Posts: 2761
    • ICQ Messenger - 2678251
    • MSN Messenger - BlueMonkMN@gmail.com
    • View Profile
    • http://sgdk2.sf.net/
    • Email
Re: SubLists for Graphics and Framesets
« Reply #28 on: 2012-10-31, 11:20:04 AM »
It'd be nice to find the source of the problem -- it's rarely just 1 system that will see a problem. Are there any other things going on? Do you just start SGDK2 and do that right away after the splash screen goes away? Is there any way to can do that without the error happening? Do you have another system where you can try the same thing? Are you maybe opening or closing the window in an unusual way (Alt-F4? "X" button? Enter key?) or under unusual circumstances?

v6v

  • Clever
  • Fanatic
  • ***
  • Posts: 500
  • Has renamed his project to Galaxy!
    • View Profile
    • My Developer Page!
    • Email
Re: SubLists for Graphics and Framesets
« Reply #29 on: 2012-10-31, 11:23:49 AM »
The error happenned when I had opened an About Form in another SGDK2 version and attempted to open it in this version while the other About Form was already displaying it.

I'm looking more into this because I've removed all other versions of SGDK2 shortly after that happenned.