It is currently Sun Dec 15, 2019 1:54 pm

All times are UTC




Post new topic Reply to topic  [ 96 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next
Author Message
 Post subject:
PostPosted: Tue Mar 08, 2011 9:15 pm 
Offline
Former MystOnline Moderator

Joined: Fri Nov 10, 2006 3:05 pm
Posts: 4203
Location: 56°2'26", -3°20'28"
Found a few more of the console commands after a nudge from Brice:

getroomstats - will tell you how many objects, lights and "portals" are in the room
getnumrooms - will give you the number of rooms (presumably total in the game). Maybe this is the "ultimate question" since the answer appears to be '42' 8)
listportals - gives you the IDs of the room's portals (doors, windows)
getportalprops portal_ID - lists attributes of a portal

There are a few other commands that seem to need object IDs that I haven't figured out yet.

_________________
Image Mac - MOULagain KI#00004826 00004289
In the interests of the environment, this post has been constructed entirely from recycled electrons.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Mar 08, 2011 10:14 pm 
Offline
Obduction Backer

Joined: Fri Mar 05, 2010 8:10 pm
Posts: 2209
Location: CT, US
Figured I'd post this again because I really want to try it:

tanshin wrote:
So, does Dirt take an inordinate time to load, or is something just wrong with my setup? I installed nGlide and then ran Dirt.exe

The log seems to make it appear that everything does load, however it hangs at "Starting main loop"

I'm running 7 x64 for reference.

_________________
Image
The Public Age Project | Owner of Eastern Time Zone's Bevin


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Mar 08, 2011 10:18 pm 
Offline
Former MystOnline Moderator

Joined: Fri Nov 10, 2006 3:05 pm
Posts: 4203
Location: 56°2'26", -3°20'28"
It takes a little while for it to run through all the loading messages, but at the end it immediately drops into the game. No hang such as you describe. Maybe a processor affinity problem if you're multi-core?

Edit: BTW, "All data loaded successfully...Starting main loop" is the final message in my log too.

Edit 2: I wonder if it's the video mode - I'm using an old 4:3 display - Anyone got this working on a widescreen display?

_________________
Image Mac - MOULagain KI#00004826 00004289
In the interests of the environment, this post has been constructed entirely from recycled electrons.


Last edited by Mac_Fife on Tue Mar 08, 2011 10:23 pm, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Mar 08, 2011 11:44 pm 
Offline
Obduction Backer

Joined: Fri Mar 05, 2010 8:10 pm
Posts: 2209
Location: CT, US
From what I can tell it changes the screen's resolution automatically on launch. I'll have to try setting the affinity. For something I suggest so often it's amazing that I forgot it!

_________________
Image
The Public Age Project | Owner of Eastern Time Zone's Bevin


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Mar 09, 2011 12:11 am 
Offline
Obduction Backer

Joined: Tue May 09, 2006 1:46 am
Posts: 196
Location: In a Little House on the Prairie
This is - hands down - the most fun I've had with a PC game in a long time! On my machine (Windows Vista 32x) the difference between the Dirt-dbg and the Dirt versions are that in dbg I couldn't get the > to show up and poor Simon moved waaay too fast. I'm still trying to position those danged obelisks but luckily I don't crash when I load my saved game.

Thanks to all who gave us this fun fun gift!

_________________
"Excuse me, this is not the world I ordered. Please take it away and bring me a fresh one."


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Mar 09, 2011 12:57 am 
Offline
Obduction Backer

Joined: Tue Mar 09, 2010 4:08 am
Posts: 1185
I have a widescreen- i didn't adjust anything for it

_________________
Love Jesus the Lord our God. Also I am not affiliated with HeadSpin or Cyan.
Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Mar 09, 2011 5:23 am 
Offline

Joined: Thu Aug 03, 2006 10:55 pm
Posts: 625
morwyn wrote:
This is - hands down - the most fun I've had with a PC game in a long time! On my machine (Windows Vista 32x) the difference between the Dirt-dbg and the Dirt versions are that in dbg I couldn't get the > to show up and poor Simon moved waaay too fast. I'm still trying to position those danged obelisks but luckily I don't crash when I load my saved game.

Thanks to all who gave us this fun fun gift!


Yes, it unfortunately looks like -dbg is built with a slightly different codebase than the regular one. Not too different though - It's still very useful for understanding the code.

Other random reverse-engineering tidbits: A quick overview of the filesystem shows it's similar to an unpacked RealMyst (if you extract the actual data from the .dni files). There's also an easy list of console commands, but in the form I have it in now it inludes some random bits of code. Probably nothing Cyan would consider proprietary, but just the same I don't want to post the decompiled source. I'll post the list whenever I get around to cleaning it up.

_________________
MOULagain KI #: 66990

When I was your age, we rocket-jumped up hill both ways in boiling lava.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Mar 13, 2011 11:27 pm 
Offline
Obduction Backer

Joined: Thu Jul 02, 2009 6:14 pm
Posts: 736
Location: Lawrenceville, GA KI# 165326
This looks cool. I wonder if I can make it run in Wine on my Mac…

_________________
Cosmic Osmo for iOS is a must!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Mar 13, 2011 11:43 pm 
Offline
Obduction Backer

Joined: Fri Mar 05, 2010 8:10 pm
Posts: 2209
Location: CT, US
Still no luck getting it to run... I'll think of something I suppose.

_________________
Image
The Public Age Project | Owner of Eastern Time Zone's Bevin


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 14, 2011 1:31 am 
Offline
Obduction Backer

Joined: Mon Jul 05, 2010 9:40 pm
Posts: 1767
Location: um... how did i get here..?
tanshin wrote:
Still no luck getting it to run... I'll think of something I suppose.


usually it's me with these kinda of problems tanshin


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 14, 2011 4:04 pm 
Offline
Obduction Backer

Joined: Mon Jan 18, 2010 6:39 pm
Posts: 517
Try it under Wine? :D


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 14, 2011 4:39 pm 
Offline
Obduction Backer

Joined: Thu Jul 27, 2006 8:09 pm
Posts: 1987
Location: Berlin, Germany
Have a widescreen as well and it works and looks great... There was a 800x600 resolution initially...
I adjusted it to 1680x1050 with nGlide's configurator and I have a great full view... :P

Thanks for the commands Mac_Fife, will try them out asap... I am also hanging with the chapel
and obelisk puzzle right now lol, but I was glad that I could move on to the earth puzzle where I've
got the lovely gong in the end and I think that is it then, not so? Couldn't find a way to go any further...

The save and load commands work great as well (without crashing) and so I'll go back to the chapel soon...
I'd like to add, just in case that this is what the initial crashes were about, I also crashed in the beginning,
when I named them with spaces included such as bomb first, power on, power lightning, chapel 1 etc.
Now I changed the names to e.g. poweron, chapel2, bombfirst etc... and it works like a charm... Thanks all... :D

Edit: Tanshin, I'm sorry, I have a Win XP SP3 only... So, I have no idea... :)

_________________
MO:ULa is Image - Minkata Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 14, 2011 5:05 pm 
Offline

Joined: Thu Aug 03, 2006 10:55 pm
Posts: 625
OK, I know I said I was going to clean this up first, but I've been lazy and I don't want to keep making you guys wait. So without further delay, here's the console commands in their natural habitat:

Code:
//----- (0046C18C) --------------------------------------------------------
int __thiscall sub_46C18C(void *this)
{
  void *v2; // [email protected]

  v2 = this;
  sub_46C0AA(this, (int)"SetEnable", 2);
  sub_46C0AA(v2, (int)"SetCollide", 3);
  sub_46C0AA(v2, (int)"SetDraw", 4);
  sub_46C0AA(v2, (int)"SetUpdate", 5);
  sub_46C0AA(v2, (int)"SetSoundEmission", 6);
  sub_46C0AA(v2, (int)"SetCurrentsAffect", 7);
  sub_46C0AA(v2, (int)"SetGuidesAffect", 8);
  sub_46C0AA(v2, (int)"Quit", 1);
  sub_46C0AA(v2, (int)"Exit", 1);
  sub_46C0AA(v2, (int)"GetWorldPos", 9);
  sub_46C0AA(v2, (int)"FogSetColor", 10);
  sub_46C0AA(v2, (int)"FogSetClearColor", 11);
  sub_46C0AA(v2, (int)"FogSetDistance", 12);
  sub_46C0AA(v2, (int)"FogSetDensity", 13);
  sub_46C0AA(v2, (int)"FogSetDepth", 14);
  sub_46C0AA(v2, (int)"FogSetYon", 15);
  sub_46C0AA(v2, (int)"Wireframe", 18);
  sub_46C0AA(v2, (int)"ZClear", 19);
  sub_46C0AA(v2, (int)"SaveNode", 20);
  sub_46C0AA(v2, (int)"LoadNode", 21);
  sub_46C0AA(v2, (int)"Reset", 22);
  sub_46C0AA(v2, (int)"Save", 23);
  sub_46C0AA(v2, (int)"Load", 24);
  sub_46C0AA(v2, (int)"Shading", 25);
  sub_46C0AA(v2, (int)"PlayAnimation", 26);
  sub_46C0AA(v2, (int)"SetPersona", 27);
  sub_46C0AA(v2, (int)"GetProps", 28);
  sub_46C0AA(v2, (int)"GetNumRooms", 29);
  sub_46C0AA(v2, (int)"GetRoomStats", 30);
  sub_46C0AA(v2, (int)"ListPortals", 31);
  sub_46C0AA(v2, (int)"GetPortalProps", 32);
  sub_46C0AA(v2, (int)"ExecActor", 33);
  sub_46C0AA(v2, (int)"RegisterEvent", 34);
  return sub_46C0AA(v2, (int)"RemoveEvent", 35);
}

_________________
MOULagain KI #: 66990

When I was your age, we rocket-jumped up hill both ways in boiling lava.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 14, 2011 6:39 pm 
Offline
Obduction Backer

Joined: Thu Jul 27, 2006 8:09 pm
Posts: 1987
Location: Berlin, Germany
:shock: ... Wow!!! Thanks... :D

_________________
MO:ULa is Image - Minkata Image


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Mar 14, 2011 11:27 pm 
Offline
Obduction Backer

Joined: Thu Jul 02, 2009 6:14 pm
Posts: 736
Location: Lawrenceville, GA KI# 165326
I gave Wine a shot and got an error. Even after I tried installing nGlide. If anybody makes some kind of wrapper that might work, please, please, please post it! I'm dying to give this a try!

_________________
Cosmic Osmo for iOS is a must!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 96 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to: