SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Sub/Naval + Other Games > Indie Subsims
Forget password? Reset here

View Poll Results: Would you play OpenSSN on Windows?
Yes, please make OpenSSN available on Windows 14 93.33%
No, I already have subsims I like on Windows 1 6.67%
I don't use Windows 0 0%
Voters: 15. You may not vote on this poll

Reply
 
Thread Tools Display Modes
Old 09-03-11, 12:15 PM   #1
redtyphoon
Sailor man
 
Join Date: May 2011
Posts: 45
Downloads: 0
Uploads: 0
Question for the gamers

The OpenSSN project is coming along nicely. I'm happy to report it's working well on FreeBSD, PC-BSD and it's in the process of being included in Debian and Ubuntu Linux.

As happy as I am about this, I realize a lot of gamers are on Windows. So, my question to you is, is there any interest in seeing OpenSSN ported to Windows? I may be able to get a Windows developer on board, but before I do that I'd like to make sure there's an interest in the game from Windows players.

http://openssn.sourceforge.net/
redtyphoon is offline   Reply With Quote
Old 09-03-11, 01:45 PM   #2
magicstix
Captain
 
Join Date: Aug 2011
Location: Nuclear submarine under the North Pole
Posts: 481
Downloads: 1
Uploads: 0
Default

If you're using only SDL for the graphics it should be a pretty straightforward port...
magicstix is offline   Reply With Quote
Old 09-03-11, 01:50 PM   #3
redtyphoon
Sailor man
 
Join Date: May 2011
Posts: 45
Downloads: 0
Uploads: 0
Default SDL

The SDL library is the only external dependency. So, yes, porting should be fairly straight forward. However, I don't have a Windows box to compile/test with, which gets in the way.
redtyphoon is offline   Reply With Quote
Old 09-03-11, 01:58 PM   #4
magicstix
Captain
 
Join Date: Aug 2011
Location: Nuclear submarine under the North Pole
Posts: 481
Downloads: 1
Uploads: 0
Default

Hmm... I took a look through main.cpp and didn't see anything that would cause trouble under windows. I'll run it through visual studio and see what breaks.
magicstix is offline   Reply With Quote
Old 09-03-11, 02:08 PM   #5
redtyphoon
Sailor man
 
Join Date: May 2011
Posts: 45
Downloads: 0
Uploads: 0
Default Porting

Most of the code should be fine, I've done my best to keep it to standards. The only place where I think there may be trouble is in files.cpp

The files.cpp module tries to find OpenSSN's data files and checks a couple of different places, including the current working directory. Since files are organized differently on Windows than Linux/BSD this function might bomb. I think it will still compile, but it might not return the correct location. Everything else is pretty vanilla.
redtyphoon is offline   Reply With Quote
Old 09-03-11, 02:10 PM   #6
magicstix
Captain
 
Join Date: Aug 2011
Location: Nuclear submarine under the North Pole
Posts: 481
Downloads: 1
Uploads: 0
Default

Which version of SDL are you using? The latest doesnt have the SDL subdirectory tree nor does it have SDL_image.h
magicstix is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:48 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.