Pages: 1 2
Author Topic: GMX Reader  (70,820 Views)
Offline (Unknown gender) time-killer-games
Guest


Email
Posted on: January 07, 2014, 09:37:56 PM
What is the most recent version of GMStudio that is most compatible with ENIGMA's GMX reader?
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #1 Posted on: January 08, 2014, 12:48:32 AM
It should be able to read and write GMX files up to version 1.2

A few things will be overwritten if you open a GMX and instantly save it, and those are, configs, extensions, and include files. I do not even attempt to read them when loading the GMX.

If you have a GMX file that is failing to load please upload it and I can attempt to fix the exception in the reader or writer. It is also helpful if you upload a small GMX project that simply exhibits the bug if you can do so, which makes it much easier to roll out other possibilities.
Offline (Unknown gender) time-killer-games
Guest


Email
Reply #2 Posted on: January 08, 2014, 02:40:50 AM
lol I was pretty sure 1.2 is supported but that's not being specific enough if you check out the release notes the versions can be like 1.2.0860 or something like that. Every GMS update released fucks up GMS's reader and writer so it really can vary each release. Anyway I sent you my project in a PM already, thanks! =)
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #3 Posted on: January 08, 2014, 02:50:19 AM
Yes as I said that is not my fault at all that they don't put the version number in the actual project file. So when you go to load a GMX, you have no idea what version you are loading, which is necessary because future GMX projects are likely to break older ones. So I can not make different versions of the GMX readers and writers I just have to constantly keep them up to date like they do, and I guess your pretty screwed if your project won't open, except of course you have me who can help you fix any anomalies in a GMX (if I can find them).
Offline (Unknown gender) time-killer-games
Guest


Email
Reply #4 Posted on: January 08, 2014, 03:57:02 AM
I wasn't asking to write multiple gmx readers and writers, because if you did that there would be way too many variations and way took much work. But anyway, thanks, and if you can't find an easy fix don't worry about it, no problem. =)
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #5 Posted on: January 08, 2014, 04:29:41 AM
No that is what I am supposed to do, that is exactly what the GMK reader/writer does. However as I said it simply is impossible with Studio's GMX format, there is no way for me to do it. I know you didn't mean that, but I was simply stating for the record that if it was possible I would make it compatible with all GMX versions, but I can only make it compatible with the newest GMX version due to it not being versioned. I haven't thought of it as a very big issue anyway, since YYG's don't even seem to give a shit, and they will likely run into the same issues, so like I said I will just continue to do what they do and make it always compatible with the latest version of Studio.

At any rate, I built the latest version of LateralGM from my local fork in Eclipse and it loaded your project fine.

The directory structures appeared correct and everything, it loaded in 11,270 milliseconds, and there was a warning as you can see in the debug output that one of your images has null data or rather 0 width and height, basically you have an empty sprite in that project.

What exactly was the issue you were having?
Offline (Unknown gender) time-killer-games
Guest


Email
Reply #6 Posted on: January 10, 2014, 03:23:18 AM
Thanks! Glad to see you got it working. =) The issue I had was that when I loaded gmx from the open file dialog it just sat there like a bump on a log for 20 min so I gave up. However I'm very excited to (hopefully) compile my game for Linux all thanks to you man! =)
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #7 Posted on: January 10, 2014, 04:21:07 AM
I have resolved the issue, it appears to be your game icon, when I replaced it under Configs/Default/windows/runner_icon.ico with the following icon from a default project, the GMX reader loads the project just fine.
https://www.dropbox.com/s/c26umgzvrbe3mmh/joshdefault.ico

I don't believe 512x512 is a standard icon file size, because I loaded it into paint.NET and reexported with all size layers (maximum is 256x256 PNG layer) and LGM loaded it fine. Here is the file if you want to do it yourself to get it to load.
https://www.dropbox.com/s/7yzipet21mt7yul/realmenpinkicon.ico

Windows Vista only added 256x256.
http://en.wikipedia.org/wiki/ICO_%28file_format%29
Because of general lack of support for these icon sizes, I have filed a feature request for you on LGM's tracker.
https://github.com/IsmAvatar/LateralGM/issues/105

I also went to find ico files that are 512x512 and failed to do so. I looked for instance at iconarchive and found a 512x512 PNG icon, but when I downloaded the ico format version, the max size was 256x256.
http://www.iconarchive.com/show/creature-folders-icons-by-fasticon/red-folder-icon.html

So I am curious, how did you manage to create a 512x512 icon file?
Offline (Unknown gender) time-killer-games
Guest


Email
Reply #8 Posted on: January 10, 2014, 11:58:32 PM
i used http://converticon.com/
Thanks for everything! =)
Offline (Unknown gender) time-killer-games
Guest


Email
Reply #9 Posted on: January 11, 2014, 03:07:46 AM
Okay I updated ENIGMA and the icon and still, I select the project in the open file dialog, but it gives me an empty resource tree and acts like it's done loading everything, the project filename is in the title bar, but no resources appear to be loaded nor still loading.
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #10 Posted on: January 11, 2014, 05:17:27 AM
Visit http://www.pastie.org and copy and paste the file enigma-dev/output_log.txt and then send me the link. By the way, hope I you are loading the GMX and not the GMZ, LGM does not have any GMZ support you have to do the extraction yourself.
Offline (Unknown gender) time-killer-games
Guest


Email
Reply #11 Posted on: January 11, 2014, 03:31:34 PM
Alright, I'm on it. Yes I'm trying to load the extracted gmx not the gmz archive.
Offline (Unknown gender) time-killer-games
Guest


Email
Reply #12 Posted on: January 19, 2014, 07:47:44 PM
Sorry for the amazing delay here's the error, "Java Heap Space" - http://pastie.org/8648633
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #13 Posted on: January 19, 2014, 07:50:50 PM
Ok can you open All Programs and type dxdiag and hit enter, run that program, save the information to a text file, and http://pastie.org that for me. I need to see your computers hardware specs.
Offline (Unknown gender) time-killer-games
Guest


Email
Reply #14 Posted on: January 19, 2014, 08:55:08 PM
http://pastie.org/8648802

I haven't updated java in a while out of laziness so if this information doesn't help I'll try that next just in case.
Pages: 1 2