Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Mac OS X port
Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
 
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Soapbox
View previous topic :: View next topic  
Author Message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Fri Sep 24, 2010 6:52 pm    Post subject: Mac OS X port Reply with quote

Surprise! My secret project this week has been to port FreeBASIC and the OHRRPGCE to Mac OS X (Intel Macs only). (And it did take all week.)

Sadly I forgot to take a screenshot. :(

I said I had given up, but I had forgotten there was one more approach I could attempt.

http://rpg.hamsterrepublic.com/ohrrpgce/Downloads (once James uploads it)

Zenzizenzic, May 7th
Changes:
* Added Zoom 1-4 options to the Window menu
* Now packaged in a .dmg file. Reduced clutter.
* Can compile and import scripts from within Custom
* HSpeak now handles DOS newlines and script files in other directories
* Launch the decoding/encoding utilities (likewise HSpeak) in Terminal when importing .mp3 and .wav, so that you can see why the program is frozen (and can abort the process)
* Updated the version of SDL used to the in-development version (I haven't noticed any differences)

Updated May 1st (actually April 26th)
Changes:
* Updated to SVN r4236. (Out of date) Zenzizenic release candidate.

Updated February 7th
Changes:
* Updated to latest SVN (r4160). In particular, the scroll tool was added; Capslock isn't used anymore.
* Added Fullscreen menu option. (Had added Zoom options as well, but they didn't work due to an SDL bug)

Updated October 22nd
Changes:
* Now includes madplay, so you can import MP3 music and sound effects
* HSpeak recompiled for DOS newline bugfix
* Updated to latest SVN (r3917): includes zone stuff :)

Updated October 13th
Changes:
* Custom can now find the help files
* oggenc included, so you can import WAVs. You can't import MP3s yet.
* Help menu no longer shown in Game
* relump and unlump utilities included

Updated October 12th
Changes:
* saving/creating a RPG now works
* some other small bug fixes
* Custom and Game now packaged as App bundles
* SDL and SDL_mixer frameworks no longer needed
* hspeak is included
* SDL_mixer MIDI loop bug fixed
* all shortcut keys, eg. Cmd-Shift-? now work
* a couple weeks of new nightly features :)

Still left to do:
* One crash reported, and I saw one too
* A way to package your games as apps
_________________
"It is so great it is insanely great."


Last edited by TMC on Sat May 07, 2011 8:01 am; edited 7 times in total
Back to top
View user's profile Send private message Send e-mail
Shadowiii
It's been real.




Joined: 14 Feb 2003
Posts: 2460

PostPosted: Sat Sep 25, 2010 11:41 am    Post subject: Reply with quote

Oh HELL to the YES! You are my hero.
_________________
But enough talk, have at you!
Back to top
View user's profile Send private message Send e-mail
JJ Sonick




Joined: 27 Sep 2010
Posts: 1
Location: US

PostPosted: Mon Sep 27, 2010 10:18 pm    Post subject: Reply with quote

Wow, thanks for doing this! I was excited about the possibility of a Mac version with FreeBASIC, since I'm mostly on a Mac now.

Ohrrpgce-game seems to be running well for me under OS X 10.6.4. I had an older SDL_mixer install that pissed it off at first - assertion failure crash when trying to play some midi I think, but after I replaced my SDL versions with the ones you've linked to, it seemed to be happy.

Just tried out the beginnings of several games. I can try out custom later this week.
Back to top
View user's profile Send private message
Sparoku
Pyrithea Amethyst.




Joined: 02 Feb 2004
Posts: 467
Location: Washington State

PostPosted: Mon Sep 27, 2010 10:41 pm    Post subject: Reply with quote

I applaud you, good sir.
_________________
"There will always be people who will tell you they hate what you made, or like what you made, and will tell you that what you did was wrong or right."
My Discord ID: SparDanger#0305
Back to top
View user's profile Send private message Send e-mail Visit poster's website
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Tue Sep 28, 2010 2:41 am    Post subject: Reply with quote

Thanks guys. In a couple more days, James should have nightly Mac builds going, and we'll have proper bundled apps which include the SDL and SDL_mixer libraries. I've implemented looping MIDI in SDL_mixer, and all other problems should be fixed rapidly too.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
ShakeyAir




Joined: 27 Apr 2004
Posts: 93

PostPosted: Tue Sep 28, 2010 11:28 pm    Post subject: Reply with quote

this is amazing, since ive lost all access to windows computers these days. game works perfectly so far as i can tell, but custom yelled at me when i tried to create a new file.

also, i can't tell where custom keeps the un-lumped RPG file, since now it always gives me the message about finding an un-lumped file, and this persisted even when i deleted the whole folder and re-downloaded everything

EDIT: my OHR version of Tetris doesn't run as smoothly, and RMZ's batman game crashed when i tried to pick a mission.
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Wed Sep 29, 2010 3:56 am    Post subject: Reply with quote

I'm glad someone finally found the bugs ;)

Quote:
also, i can't tell where custom keeps the un-lumped RPG file, since now it always gives me the message about finding an un-lumped file, and this persisted even when i deleted the whole folder and re-downloaded everything


That's odd.
Unix versions of Custom store working.tmp in .ohrrpgce/working.tmp in your home directory instead of the installation directory. .ohrrpgce will probably be hidden by default. (If you open a command prompt, you can delete it with "rm -rf ~/.ohrrpgce/working.tmp")

Quote:
EDIT: my OHR version of Tetris doesn't run as smoothly


You mean not just on the titlescreen?
The OHR uses more CPU on Mac than on other platforms because of Quartz Compositor, but it shouldn't be much overhead. Any Intel Mac at all is high-end, relative to our requirements.
The script interpreter will also run slower because I had to remove an optimisation in FreeBasic. Might make a difference on very script intensive games.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
ShakeyAir




Joined: 27 Apr 2004
Posts: 93

PostPosted: Wed Sep 29, 2010 12:56 pm    Post subject: Reply with quote

The title screen actually runs ok, but it takes slightly longer to load. Gameplay is just a little less smooth, blocks will slow down or not respond to a keypress right away. its not terrible, but considering ive seen the game run smoothly on fairly crappy windows computers, i thought it was worth noting.

And I deleted working.tmp manually, and now custom opens, but i figured you might want to see the error.

The OHR itself says 'general data is missing, RPG file corrruption is likely' (i dont know if anyones noticed theres an extra R in corruption in that message?)

I'll get back to you on whether opening an existing file works ok.
Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Wed Sep 29, 2010 1:07 pm    Post subject: Reply with quote

ShakeyAir wrote:

The OHR itself says 'general data is missing, RPG file corrruption is likely' (i dont know if anyones noticed theres an extra R in corruption in that message?)


Strange. it is definitely spelled correctly in the source code.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ShakeyAir




Joined: 27 Apr 2004
Posts: 93

PostPosted: Wed Sep 29, 2010 5:21 pm    Post subject: Reply with quote

i tried to get a screenshot, but by the time i hit apple shift 4 it closed. Sad...

it looks like opening an existing file works ok, though. ill start working on something silly i dont care too much about and let you know when i hit problems.

EDIT: also, should i expect a new post here if it gets updated? and when it gets snuggled in to the regular nightlies?

EDIT 2: it didnt open one game i had on an old jump drive. i picked this one because there was only like, one walkabout graphic and it was just a solid color, and no tiles. i don't know if that sort of lack of data messes it up somehow?

EDIT 3: also i noticed theres a few more errors:
'general data is missing, RPG file corruption is likely"
'general data is missing!'
'map00 tilemap is missing!'
'map00 passmap is missing!'
'map00 foemap is missing!'
'map00 NPClocations are missing!'
'map00 NPCdefinitions are missing!'
'map00 doorlinks are missing!'
'general data is missing, RPG file corruption is likely"

then it closes, but it leaves working.tmp behind
Back to top
View user's profile Send private message
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Wed Sep 29, 2010 6:37 pm    Post subject: Reply with quote

open up Terminal or iTerm and run the following command

Code:
ls -la ~/.ohrrpgce


it will show you a directory listing. Yours will look different than mine, but here is something like what you *might* see.

Code:

drwxr-xr-x  16 james james  4096 2010-07-28 15:33 .
drwxr-xr-x 121 james james  4096 2010-09-29 19:27 ..
total 1680
drwxr-xr-x 3 james james 12288 2010-09-11 11:52 20100911115223.330.tmp
drwxr-xr-x 3 james james 12288 2010-09-11 11:57 20100911115744.813.tmp
drwxr-xr-x 3 james james 12288 2010-09-11 12:00 20100911120021.863.tmp
drwxr-xr-x 3 james james  4096 2010-05-27 18:26 vikings
drwxr-xr-x 2 james james  4096 2009-06-10 15:39 wander
drwxr-xr-x 2 james james  4096 2010-09-29 18:20 working.tmp


I am especially interested in the "drwxr-xr-x" stuff at the beginning of each line.

Next run:

Code:
ls -la ~/.ohrrpgce/working.tmp


which should also produce a similar listing.
If the listings happen to be really really long and you don't want to post them here, you can paste them into TextEdit and send them to me and TMC in private messages.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ShakeyAir




Joined: 27 Apr 2004
Posts: 93

PostPosted: Wed Sep 29, 2010 10:02 pm    Post subject: Reply with quote

drwxr-xr-x 4 matt staff 136 Sep 29 21:29 .
drwxr-xr-x+ 43 matt staff 1462 Sep 29 21:25 ..
-rw-r--r--@ 1 matt staff 6148 Sep 29 21:29 .DS_Store
drwxr-xr-x 61 matt staff 2074 Sep 29 21:33 working.tmp


drwxr-xr-x 61 matt staff 2074 Sep 29 21:33 .
drwxr-xr-x 4 matt staff 136 Sep 29 21:29 ..
-rw-r--r-- 1 matt staff 2055 Sep 29 21:33 .fnt
-rw-r--r-- 1 matt staff 0 Sep 29 21:33 .say
-rw-r--r-- 1 matt staff 31 Sep 29 21:30 archinym.lmp
-rw-r--r-- 1 matt staff 162 Sep 29 21:30 attack.bin
-rw-r--r-- 1 matt staff 18 Sep 29 21:30 binsize.bin
-rw-r--r-- 1 matt staff 80 Sep 29 21:30 browse.txt
-rw-r--r-- 1 matt staff 2 Sep 29 21:30 defpal0.bin
-rw-r--r-- 1 matt staff 2 Sep 29 21:30 defpal1.bin
-rw-r--r-- 1 matt staff 2 Sep 29 21:30 defpal2.bin
-rw-r--r-- 1 matt staff 2 Sep 29 21:30 defpal3.bin
-rw-r--r-- 1 matt staff 2 Sep 29 21:30 defpal4.bin
-rw-r--r-- 1 matt staff 2 Sep 29 21:30 defpal5.bin
-rw-r--r-- 1 matt staff 2 Sep 29 21:30 defpal6.bin
-rw-r--r-- 1 matt staff 2 Sep 29 21:30 defpal7.bin
-rw-r--r-- 1 matt staff 2 Sep 29 21:30 defpal8.bin
-rw-r--r-- 1 matt staff 2 Sep 29 21:30 fixbits.bin
-rw-r--r-- 1 matt staff 576 Sep 29 21:30 menuitem.bin
-rw-r--r-- 1 matt staff 46 Sep 29 21:30 menus.bin
-rw-r--r-- 1 matt staff 2007 Sep 29 21:30 ohrrpgce.d00
-rw-r--r-- 1 matt staff 12000 Sep 29 21:30 ohrrpgce.dox
-rw-r--r-- 1 matt staff 38160 Sep 29 21:30 ohrrpgce.dt0
-rw-r--r-- 1 matt staff 320 Sep 29 21:30 ohrrpgce.dt1
-rw-r--r-- 1 matt staff 80 Sep 29 21:30 ohrrpgce.dt6
-rw-r--r-- 1 matt staff 715 Sep 29 21:30 ohrrpgce.e00
-rw-r--r-- 1 matt staff 100 Sep 29 21:30 ohrrpgce.efs
-rw-r--r-- 1 matt staff 2055 Sep 29 21:30 ohrrpgce.fnt
-rw-r--r-- 1 matt staff 80 Sep 29 21:30 ohrrpgce.for
-rw-r--r-- 1 matt staff 1007 Sep 29 21:30 ohrrpgce.gen
-rw-r--r-- 1 matt staff 600 Sep 29 21:30 ohrrpgce.itm
-rw-r--r-- 1 matt staff 3007 Sep 29 21:30 ohrrpgce.l00
-rw-r--r-- 1 matt staff 64 Sep 29 21:30 ohrrpgce.map
-rw-r--r-- 1 matt staff 1543 Sep 29 21:30 ohrrpgce.mas
-rw-r--r-- 1 matt staff 80 Sep 29 21:30 ohrrpgce.mn
-rw-r--r-- 1 matt staff 64000 Sep 29 21:30 ohrrpgce.mxs
-rw-r--r-- 1 matt staff 3007 Sep 29 21:30 ohrrpgce.n00
-rw-r--r-- 1 matt staff 715 Sep 29 21:30 ohrrpgce.p00
-rw-r--r-- 1 matt staff 48 Sep 29 21:30 ohrrpgce.pal
-rw-r--r-- 1 matt staff 5120 Sep 29 21:30 ohrrpgce.pt0
-rw-r--r-- 1 matt staff 578 Sep 29 21:30 ohrrpgce.pt1
-rw-r--r-- 1 matt staff 1250 Sep 29 21:30 ohrrpgce.pt2
-rw-r--r-- 1 matt staff 3200 Sep 29 21:30 ohrrpgce.pt3
-rw-r--r-- 1 matt staff 1600 Sep 29 21:30 ohrrpgce.pt4
-rw-r--r-- 1 matt staff 576 Sep 29 21:30 ohrrpgce.pt5
-rw-r--r-- 1 matt staff 3750 Sep 29 21:30 ohrrpgce.pt6
-rw-r--r-- 1 matt staff 2048 Sep 29 21:30 ohrrpgce.pt7
-rw-r--r-- 1 matt staff 1250 Sep 29 21:30 ohrrpgce.pt8
-rw-r--r-- 1 matt staff 824 Sep 29 21:30 ohrrpgce.say
-rw-r--r-- 1 matt staff 40 Sep 29 21:30 ohrrpgce.sho
-rw-r--r-- 1 matt staff 400 Sep 29 21:30 ohrrpgce.sng
-rw-r--r-- 1 matt staff 84 Sep 29 21:30 ohrrpgce.stf
-rw-r--r-- 1 matt staff 1757 Sep 29 21:30 ohrrpgce.stt
-rw-r--r-- 1 matt staff 715 Sep 29 21:30 ohrrpgce.t00
-rw-r--r-- 1 matt staff 80 Sep 29 21:30 ohrrpgce.tap
-rw-r--r-- 1 matt staff 64000 Sep 29 21:30 ohrrpgce.til
-rw-r--r-- 1 matt staff 210 Sep 29 21:30 ohrrpgce.tmn
-rw-r--r-- 1 matt staff 240 Sep 29 21:30 ohrrpgce.veh
-rw-r--r-- 1 matt staff 772 Sep 29 21:30 palettes.bin
-rw-r--r-- 1 matt staff 32 Sep 29 21:30 songdata.bin
-rw-r--r-- 1 matt staff 126 Sep 29 21:30 uicolors.bin
Back to top
View user's profile Send private message
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Thu Sep 30, 2010 8:11 am    Post subject: Reply with quote

I'm not expecting to put up another build before we have nightly builds running (which are a little delayed - don't blame James for that; I haven't got the FreeBASIC port working smoothly yet). Yes we'll say so when that happens.

I'm confused: "general data is missing" and following errors: is this what you see when trying to create a new game? When trying to open that file from your flashdisk? Both? Can you open that file on your flash disk after you copy it to your harddisk?

And that listing of files in working.tmp: was that what was left over after attempting to open the file from your flashdisk? Or was it left over after it successfully opened some game (but failed to delete working.tmp)?
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Bob the Hamster
OHRRPGCE Developer




Joined: 22 Feb 2003
Posts: 2526
Location: Hamster Republic (Southern California Enclave)

PostPosted: Thu Sep 30, 2010 8:46 am    Post subject: Reply with quote

I am curious about the:

-rw-r--r-- 1 matt staff 2055 Sep 29 21:33 .fnt
-rw-r--r-- 1 matt staff 0 Sep 29 21:33 .say

I wonder if that means the "general data is missing" could have something to do with an attempt to read "working.tmp/.gen" instead of "working.tmp/ohrrpgce.gen" but even that seems a bit crazy, since that would indicate a failure to read archinym.lmp, and I don't see how that would be happening...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ShakeyAir




Joined: 27 Apr 2004
Posts: 93

PostPosted: Sun Oct 10, 2010 1:49 pm    Post subject: Reply with quote

i see 'general data is missing (etc)' when i try to:

create a new game
opening a game i tried to create (the .rpg file does get made)
opening a game i previously saved on this instance of the OHR

(all of my earlier games needed to be updated, and it handles updating and opening them fine, but if i save and try to reopen then nothing works)

ive been opening all files from my external hard drive, which also contains the OHRRPGCE. could this be the problem? after im done with this post ill check and see.

and i don't remember exactly about the list of files, but when it successfully opens a game it successfully deletes working.tmp, so it must have been after creating a new game or trying to open a game that didnt work.

EDIT: behavior doesn't change when i put it on my hard drive, at all as far as i can tell.

EDIT 2: so basically, RPG files are screwed if my editor saves them. do you guys want an example RPG file to see if theres something wrong with it?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Soapbox All times are GMT - 8 Hours
Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
Page 1 of 8

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group