Sunday, 5 July 2009
Xcode template madness
so today i wanted to order a little the list of Xcode templates, as user templates normally are placed in random locations: some in the preferences, some in the user library and so on
this is the list were both the standard templates and the user templates are
/Developer/Library/Xcode/Project Templates
/Library/Application Support/Apple/Developer Tools/Project Templates
~/Library/Application Support/Developer/Shared/Xcode/Project Templates/
/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Project Templates
(the last one is for the iphone templates)
this is the list were both the standard templates and the user templates are
/Developer/Library/Xcode/Project Templates
/Library/Application Support/Apple/Developer Tools/Project Templates
~/Library/Application Support/Developer/Shared/Xcode/Project Templates/
/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Project Templates
(the last one is for the iphone templates)
Label:
Mac OS X,
XCode
Link a questo post
Tuesday, 30 June 2009
some docs
a quick post to advertize new docs by Tibia!
http://www.scribd.com/doc/16959893/Controlli-Automatici
http://www.scribd.com/doc/16959904/Introduzione-allAnalisi-in-TempoFrequenza
http://www.scribd.com/doc/16959906/Sistemi-Elettronici-Digitali
plus a little gift from me, the slides of my final thesis
http://www.scribd.com/doc/16959927/slides-Parallel-and-Distributed-Computing-on-Low-Latency-Clusters
http://www.scribd.com/doc/16959893/Controlli-Automatici
http://www.scribd.com/doc/16959904/Introduzione-allAnalisi-in-TempoFrequenza
http://www.scribd.com/doc/16959906/Sistemi-Elettronici-Digitali
plus a little gift from me, the slides of my final thesis
http://www.scribd.com/doc/16959927/slides-Parallel-and-Distributed-Computing-on-Low-Latency-Clusters
Label:
docs,
School
Link a questo post
Sunday, 14 June 2009
Hedgewars on the iPhone?? perhaps one day...
Let me first clarify that the blog posts across the internet claiming that an iPhone version is "near completion" are nowhere near the truth!
In fact the idea of porting the game originally started one year ago, but was soon dismissed because of lack of manpower/equipment. Everything remained silent until i joined development and i was proposed to resume developing the iPhone version; i was shocked by this because i never did anything with the iPhone and my SDL/Pascal was (and still is) very limited! However i received so much help by unC0Rr, nemo, tiy and many other people at #hedgewars that all together we managed to pull something off! With a lot of patience and trial&error, here's what we've got so far:
What we're showing now is a very BASIC demo, running in the iPhone simulator! The code compiles fine and graphics too, but there is still no support for audio and no way to control the game. This is where current development is at the moment, but now you can rest assured that you'll see one iPhone version of your favourite game in the future!!!
In fact the idea of porting the game originally started one year ago, but was soon dismissed because of lack of manpower/equipment. Everything remained silent until i joined development and i was proposed to resume developing the iPhone version; i was shocked by this because i never did anything with the iPhone and my SDL/Pascal was (and still is) very limited! However i received so much help by unC0Rr, nemo, tiy and many other people at #hedgewars that all together we managed to pull something off! With a lot of patience and trial&error, here's what we've got so far:
What we're showing now is a very BASIC demo, running in the iPhone simulator! The code compiles fine and graphics too, but there is still no support for audio and no way to control the game. This is where current development is at the moment, but now you can rest assured that you'll see one iPhone version of your favourite game in the future!!!
Label:
Hedgewars,
iPhone,
Opensource
Link a questo post
Monday, 8 June 2009
animals yet again
from the USA trip set, i've updated the animals set with the squirrels!!
http://picasaweb.google.com/vittorio.giovara/USATripAnimali#
Saturday, 30 May 2009
second shot
bird album is ready!
where's the bird in this photo? in the lower left corner!
ok it should have gone into the tree ones, but i like the blur behind the tree
http://picasaweb.google.com/vittorio.giovara/USATripAnimals
enjoy
Thursday, 28 May 2009
and we're back
from our tour in the USA!
I'll be publishing slots of photos as soon as i finish sorting them!
As always, the best one on flickr and the album on picasa!
I'll pick one (more) "best" shots from flickr and post it here!
stay tuned
Vittorio
Monday, 20 April 2009
the WHOLE SDL libraries availalbe for the iPhone
So i have been toying with this toolchain lately... i must say that i'm constantly surpised by Xcode power! it's something that you have to get used to, but once there it can almost whatever you want!
anyways, i am in the middle of porting a certain game from a normal Mac framework to a iPhone/iPod Touch device! Most of the stuff is already there, like the Pascal compiler, but the main libraries are missing!
I'm talking about SDL, but after some thinkering i got everything done! Here is what i did after checking out every repository
SDL
well this was the easiest, porting this lib started in a past google SoC and they did a pretty good job. To get the lib it's sufficient to unpack the Xcode_iPhone.tar.gz and press "build".
SDL_net
this one wasn't particuarly difficult, as it required just a correct configuration in the Xcode.tar.gz project. In the project settings, set the Base SDK to Device - iPhoneOS (or Simulator according to your needs) and Architectures to Standard.
SDL_ttf
i had to google a little to get this done: ttf is built exactly as SDL_net, but all the applications built with it are hard depending on libfreetype. Of course this library is available for the iphone, but it's difficult to configure it correctly. Luckily i read this site which clearly explained what to do; include that file in your application frameworks and add the -lz flag to the linker options, and you are done!
SDL_image
the hardest of all, just because the svn repository was out of date! In fact there's this guy who did a neat job for introducing a native support for png, jpeg etc instead of third party libraries. His patches were accepted in mainstream, but the iphone project in the repo has not been updated and can't compile!!! I emailed sdl-list but got no reply... for now it's sufficient to download his updated package and compile from it.
SDL_mixer
this was not as easy as net but i guess that porting for this project has yet to start. For the moment i got a working library just by removing all the native_midi_mac stuff, as it's the only part that relies on a framework which is not present in the iPhone. I didn't need any midi support, so i was satisfied with it already.
Beware that while simulation will give no problems, there's an issue for the device! In fact the simluator is likely to load the ogg functions from the shared libs of the system, but since ogg is nowere in the iphone, we have to provide our own!
so let's grab libvorbis and libogg and compile them the same way we compiled libfreetype; i had some problems with the paths when compiling libvorbis, due to the macports installations. I resolved by placing the arm version of libogg.a into the lib directory of macports (/opt/local/lib) and creating a symlink to it named libogg.dylib. Obviously make backups so you can restore your installation!
Now that you know what to do, you can keep updated the freely available versions that i compiled! they are the latest revision... of today! If something doesn't work complain with the SDL guys! I do hope that by the 1.3 release, SDL for iPhone will become officially supported
if you find them useful, drop a comment here, it'll mean that my work is appreciated :)
Vittorio
anyways, i am in the middle of porting a certain game from a normal Mac framework to a iPhone/iPod Touch device! Most of the stuff is already there, like the Pascal compiler, but the main libraries are missing!
I'm talking about SDL, but after some thinkering i got everything done! Here is what i did after checking out every repository
SDL
well this was the easiest, porting this lib started in a past google SoC and they did a pretty good job. To get the lib it's sufficient to unpack the Xcode_iPhone.tar.gz and press "build".
SDL_net
this one wasn't particuarly difficult, as it required just a correct configuration in the Xcode.tar.gz project. In the project settings, set the Base SDK to Device - iPhoneOS (or Simulator according to your needs) and Architectures to Standard.
SDL_ttf
i had to google a little to get this done: ttf is built exactly as SDL_net, but all the applications built with it are hard depending on libfreetype. Of course this library is available for the iphone, but it's difficult to configure it correctly. Luckily i read this site which clearly explained what to do; include that file in your application frameworks and add the -lz flag to the linker options, and you are done!
SDL_image
the hardest of all, just because the svn repository was out of date! In fact there's this guy who did a neat job for introducing a native support for png, jpeg etc instead of third party libraries. His patches were accepted in mainstream, but the iphone project in the repo has not been updated and can't compile!!! I emailed sdl-list but got no reply... for now it's sufficient to download his updated package and compile from it.
SDL_mixer
this was not as easy as net but i guess that porting for this project has yet to start. For the moment i got a working library just by removing all the native_midi_mac stuff, as it's the only part that relies on a framework which is not present in the iPhone. I didn't need any midi support, so i was satisfied with it already.
Beware that while simulation will give no problems, there's an issue for the device! In fact the simluator is likely to load the ogg functions from the shared libs of the system, but since ogg is nowere in the iphone, we have to provide our own!
so let's grab libvorbis and libogg and compile them the same way we compiled libfreetype; i had some problems with the paths when compiling libvorbis, due to the macports installations. I resolved by placing the arm version of libogg.a into the lib directory of macports (/opt/local/lib) and creating a symlink to it named libogg.dylib. Obviously make backups so you can restore your installation!
Now that you know what to do, you can keep updated the freely available versions that i compiled! they are the latest revision... of today! If something doesn't work complain with the SDL guys! I do hope that by the 1.3 release, SDL for iPhone will become officially supported
click here to download all the libraries, both for the simulator and for the device (debug version obv)
if you find them useful, drop a comment here, it'll mean that my work is appreciated :)
Vittorio
Label:
iPhone,
Mac OS X,
SDL
Link a questo post
Subscribe to:
Posts (Atom)



