Scrolling Game Development Kit Forum

SGDK Version 1 => Help/FAQ => Topic started by: tprime on 2009-01-15, 12:00:13 AM

Title: WINDOWS VISTA
Post by: tprime on 2009-01-15, 12:00:13 AM
Sorry if this has already been posted, but can SGDK 1 wcork in Windows VISTA? I can edit graphics, but I can't edit maps? It says something about tileset can't draw or something? Anyone know? ??? Thanks.
Title: Re: WINDOWS VISTA
Post by: Jam0864 on 2009-01-15, 12:31:31 AM
works for me.
Title: Re: WINDOWS VISTA (and win7)
Post by: SmartBoy16 on 2009-01-15, 07:45:21 PM
how about windows 7?
Title: Re: WINDOWS VISTA
Post by: tprime on 2009-01-15, 10:26:56 PM
works for me.

Really? Maybe I should try out another game with my VISTA.

how about windows 7?

Windows 7? Is that in Beta? I don't want to mess up my VISTA, I just started using it.
Title: Re: WINDOWS VISTA
Post by: tprime on 2009-01-15, 10:36:14 PM
I just found out what the problem is. It seems to only affect maps with music. When trying to play the SAMPLE project, the map editing came out with the automation error.  :surprise:
Title: Re: WINDOWS VISTA
Post by: bluemonkmn on 2009-01-15, 10:42:38 PM
I thought you said it was an error about drawing the tileset, not an automation error.
Title: Re: WINDOWS VISTA
Post by: Jam0864 on 2009-01-16, 05:25:29 AM
make sure you have all the updates, including SP1, to be honest since SP1, I have had zero compatibility issues.
Title: Re: WINDOWS VISTA
Post by: tprime on 2009-01-16, 08:23:56 PM
I'll try your idea Jam0864.

I should have been more clear with the error. It says:
Automation Error
Uspecified Error

Error creating map: CreateTileSet requires an open display.
Title: Re: WINDOWS VISTA
Post by: SmartBoy16 on 2009-01-18, 03:07:20 PM
Quote
Windows 7? Is that in Beta? I don't want to mess up my VISTA, I just started using it.

yes. since you just got vista, i wouldn't recommend getting it...yet (i already was THAT close ruining my computer when i finally got Ubuntu)
Title: Re: WINDOWS VISTA
Post by: Jam0864 on 2009-01-18, 04:20:06 PM
Ubuntu won't ruin your computer lol. If you did it wrong and it stuffed up your windows installation you could easily reinstall windows.
Title: Re: WINDOWS VISTA
Post by: bluemonkmn on 2009-01-18, 10:18:14 PM
If you have a laptop, Ubuntu can ruin it, unless you get a version after the new fix is integrated that fixed the laptop killing bug (http://it.slashdot.org/article.pl?sid=09%2F01%2F17%2F2127254&from=rss).
Title: Re: WINDOWS VISTA
Post by: SmartBoy16 on 2009-01-19, 10:14:43 AM
well...it didn't exactly ruin it, but it wasn't able to, for some reason, dual boot. it would start up only in ubuntu and could not switch back to windows. (having a start-up disk comes in handy) i got it fixed now (my computer runs faster :D since i only had time to reinstall MSMoney, SGDK1, trueSpace, and Works) but 1/2 of my 2nd hard drive is still in Linux format (or whatever it is called)

what was weird though, when i ran ubuntu from the CD, the highest resolution it could run at was 1024x768, but after installing it, the highest was 800x600, plus a loss of all "widescreen" resolutions in between. did i do something, or is it my monitor/graphic card's fault?

Title: Re: WINDOWS VISTA
Post by: dutch_619 on 2009-01-19, 12:13:20 PM
It might be the Nvidia bug in the older version of Ubuntu. The older build ( kernel 7?) wouldn't load the drivers and ran in compatibility mode (VGA) only.
Title: Re: WINDOWS VISTA/Ubuntu bugs/why does the topic keep changing?
Post by: SmartBoy16 on 2009-01-20, 07:49:44 AM
i got the newest one right now, 8.10
Title: Re: WINDOWS VISTA
Post by: tprime on 2009-01-25, 06:18:26 PM
I should have been more clear with the error. It says:
Automation Error
Uspecified Error

Error creating map: CreateTileSet requires an open display.


I figured it out.  ;D I went to my project and played the "Marble" sound, it played. When I played the "Blue Block" sound, I got the error from above (without the creating map error).

Marble.wav
Blue Block.mid

My laptop plays WAV files, but not MID or MIDI. Looks like VISTA doesn't play sound through code. Since that is what VISTA does, right? Correct me if I'm wrong, I thought it played through something else.
 :nerd:

At least now all I have to do is convert my MID files into MP3 or WAV. I was planning to do this anyway, now I have a purpose to do this.  ;)
Title: Re: WINDOWS VISTA
Post by: SmartBoy16 on 2009-01-25, 06:28:16 PM
can vista play midis by itself (media player?)
Title: Re: WINDOWS VISTA
Post by: tprime on 2009-01-25, 07:03:46 PM
 ??? IDK
Title: Re: WINDOWS VISTA
Post by: Jam0864 on 2009-01-25, 08:28:19 PM
yes it can.
Title: Re: WINDOWS VISTA
Post by: bluemonkmn on 2009-01-26, 06:38:06 AM
FMOD needs a particular file in the Windows directory to play MIDI files because, in order to be cross-platform compatible and get consistent sound, it doesn't use the media support of the platform or sound drivers, but implements its own MIDI implementation (which I've always been a bit annoyed with because it sounds worse).  I can't remember the filename off the top of my head, but I remember there's some file in the Windows tree somewhere that hass all the MIDI instrument sounds stored in it that FMOD relies on, but doesn't install.
Title: Re: WINDOWS VISTA
Post by: tprime on 2009-01-26, 10:34:55 PM
Thank you. But, I don't think I will be relying on MIDI too much, then that would require everyone who plays my game to install that extra item. So I'll just convert them into MP3s.  ;D
Title: Re: WINDOWS VISTA
Post by: bluemonkmn on 2009-01-27, 06:29:32 AM
1) It doesn't require everyone to install it (that's why nobody even knows about it) -- it comes with Windows.  The file is WINDOWS\system32\drivers\gm.dls.  Does Vista not have that file?
2) I suggest using MOD format instead.  Maybe durnurd can suggest a utility to convert MIDI to MOD.  ModPlug might work according to this: http://www.gamedev.net/community/forums/topic.asp?topic_id=397811 (http://www.gamedev.net/community/forums/topic.asp?topic_id=397811).
Title: Re: WINDOWS VISTA
Post by: durnurd on 2009-01-27, 08:44:44 AM
I've gone the other way, but I've never found something that goes back to mod.  There's supposedly a MID2MOD which does something like this, but it was written so long ago, I doubt it would work in XP much less Vista.
Title: Re: WINDOWS VISTA
Post by: Jam0864 on 2009-01-27, 05:29:56 PM
Yes, there is a gm.dls file in vista.
Title: Re: WINDOWS VISTA
Post by: tprime on 2009-01-27, 08:55:59 PM
2) I suggest using MOD format instead.  Maybe durnurd can suggest a utility to convert MIDI to MOD.  ModPlug might work according to this: http://www.gamedev.net/community/forums/topic.asp?topic_id=397811 (http://www.gamedev.net/community/forums/topic.asp?topic_id=397811).

Thank you, but what's MOD? I never heard of it. Sound interesting though.
Title: Re: WINDOWS VISTA
Post by: bluemonkmn on 2009-01-28, 06:07:33 AM
Thank you, but what's MOD? I never heard of it. Sound interesting though.

MOD is similar to MIDI in the sense that it stores only the notes being played and their attributes and effects applied to them instead of recording the entire waveform.  But instead of relying on the environment to supply the instruments, the instruments (and their specific sounds/waveforms) are embedded in the file.  There are a number of related formats generated by various "tracker" programs which create and edit these MOD files and their relatives.  Most or all of the sample music provided with SGDK2 is in MOD format or a related format.  I think MODPlug (http://www.modplug.com/) looks like a pretty impressive free tracker, which I was using to preview all the SGDK2 music before importing it into a project template.  It supports MIDI, MOD and many, many other formats.  I think most of the music that I added to the music library was in IT format or XM format, which are a pretty flexible/powerful relatives of the MOD format introduced by Impulse Tracker and FastTracker respectively.

I went to some site like http://modarchive.org/ (http://modarchive.org/) to get a few of the files in SGDK2's music library, but was only able to get permission from a couple of authors.  Of course you can use whatever you want personally (or get your own permission from authors of whatever music you want).  I really like the relatively small files that sound really good, of course.
Title: Re: WINDOWS VISTA
Post by: SmartBoy16 on 2009-01-28, 08:05:28 AM
my midis sound realistic anyway, so i probably would not try MOD for now. (SoundBlaster Live!)
Title: Re: WINDOWS VISTA
Post by: bluemonkmn on 2009-01-29, 01:50:25 PM
I forgot I was in the SGDK 1 forums here.  SGDK 1.x doesn't play MOD files, but should play MIDI files just like Media Player does.
Title: Re: WINDOWS VISTA
Post by: tprime on 2009-01-29, 06:16:03 PM
I forgot I was in the SGDK 1 forums here.  SGDK 1.x doesn't play MOD files, but should play MIDI files just like Media Player does.

Oh, so do you know what is wrong with my computer? ???
Title: Re: WINDOWS VISTA
Post by: bluemonkmn on 2009-01-29, 09:10:15 PM
The only thing I can guess is bad sound drivers.
Title: Re: WINDOWS VISTA
Post by: SmartBoy16 on 2009-01-29, 11:12:17 PM
try this http://benryves.com/products/vistamidi
Title: Re: WINDOWS VISTA
Post by: tprime on 2009-01-30, 10:11:06 PM
It didn't work. But I found a good converter: it's an online one: http://www.hamienet.com/midi2mp3