Prince of Persia Forum Index
Prince of Persia Forum
FAQ  FAQ   Search  Search   Memberlist  Memberlist   Ranking  Ranking   Usergroups  Usergroups   RSS
Register  ::  Log in Log in to check your private messages

Post new topic  Reply to topic Goto page 1, 2  Next
 Problem with record-er « View previous topic :: G M Y :: View next topic » 
Author Message
jalal
PostPosted: Mon Jun 12, 2006 11:41 am    Post subject: Problem with record-er Reply with quote

Site Admin
Site Admin

Age: 19
Joined: 04 Dec 2005
Status: Offline
Posts: 1619
Location: Lebanon

The record-er didn't work normally so I had to install DosBox and run it form there so it re worked now ... but unfortuanly all the frames bitmaps are jammed like :



and sometimes the gameplay will slowdown.

weird problem, i also get 2 runtimes error (202/105) only if i setup the record-er advancely ; by pressing YES for skip seconds frames. (it's not that problem since it can be passed) ...



PS: The recod-er works great on pop2 !
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger 
poirot
PostPosted: Mon Jun 12, 2006 6:31 pm    Post subject: Reply with quote

Developer
Developer

Age: 25
Joined: 28 May 2006
Status: Offline
Posts: 183
Location: Ushuaia

try to apply the pentium II pascal patch to the program
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger 
jalal
PostPosted: Mon Jun 12, 2006 7:07 pm    Post subject: Reply with quote

Site Admin
Site Admin

Age: 19
Joined: 04 Dec 2005
Status: Offline
Posts: 1619
Location: Lebanon

ok but i have a request, can someone try the record-er with pop1 on his/her windows XP (using dosbox) and tell us the result.

XMS memory is boosted to the maximum! and I get error at the end (error while freeing xms memeroy) and error of prince.exe // just fyi
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger 
BlackChar
PostPosted: Tue Jun 13, 2006 11:37 am    Post subject: Reply with quote

Guard Veteran
Guard Veteran

Age: 19
Joined: 03 May 2006
Status: Offline
Posts: 108
Location: Decin, CZ

I get the same result. Also, Recorder threw out an "can't open prince.exe file" error AFTER the game finished. And two XMS memory errors, one before and one ater saving frames. I didn't get runtime errors even when setting up recorder.

poirot: Didn't old CRT unit cause Runtime Error 200? This doesn't look like this sort of problem. And btw, DOSBox emulates whole x86 machine, doesn't it? So it shouldn't cause errors related to PII processors. Just my opinion, though.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
peter_k
PostPosted: Tue Jun 13, 2006 5:10 pm    Post subject: Reply with quote

Guard
Guard

Age: 20
Joined: 21 Apr 2006
Status: Offline
Posts: 73
Location: Poland

Sorry, haven't seen this topic before.

poirot wrote:
try to apply the pentium II pascal patch to the program


The record binaries was compiled using repaired version of CRT module, so this patch will not help.

jalal wrote:
ok but i have a request, can someone try the record-er with pop1 on his/her windows XP (using dosbox) and tell us the result.

XMS memory is boosted to the maximum! and I get error at the end (error while freeing xms memeroy) and error of prince.exe // just fyi


I have try about year ago to record prince of persia without DosBox on XP, and everything was OK. Nearly everything... RECORDer don't detect my whole memory and i was able to record only few minutes of game... If i'll have time today i'll check how it works (i still have unused xp...).

BlackChar wrote:
I get the same result. Also, Recorder threw out an "can't open prince.exe file" error AFTER the game finished. And two XMS memory errors, one before and one ater saving frames. I didn't get runtime errors even when setting up recorder.

poirot: Didn't old CRT unit cause Runtime Error 200? This doesn't look like this sort of problem. And btw, DOSBox emulates whole x86 machine, doesn't it? So it shouldn't cause errors related to PII processors. Just my opinion, though.


Hmm, i will try to check this...

If anyone is curious here is source code of RECORD.PAS:
http://cvs.lug.fi.uba.ar/cgi-bin/cvsweb.cgi/poprecog/record/record.pas?rev=1.2&contenttype=text/x-cvsweb-markup&cvsroot=freeprince
Deleting "Halt;" from ERROR function will cause to not halt poprecog, even if important error occur. To compile this code you have to download also Heapman module (it is in SWAG), M_XMS.PAS and GRAPH13H.PAS (in the same dir of CVS as RECORD.PAS). You should also turn on 286 assembly instructions... Note that this source was written two years ago...
Back to top
View user's profile Send private message Visit poster's website  
BlackChar
PostPosted: Tue Jun 13, 2006 5:25 pm    Post subject: Reply with quote

Guard Veteran
Guard Veteran

Age: 19
Joined: 03 May 2006
Status: Offline
Posts: 108
Location: Decin, CZ

I already got the source code. However, my TP7 doesn't like running in DosBox, so I'll have to play with settings a bit. Hope I'll have some time later to check things out.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
peter_k
PostPosted: Tue Jun 13, 2006 6:16 pm    Post subject: Reply with quote

Guard
Guard

Age: 20
Joined: 21 Apr 2006
Status: Offline
Posts: 73
Location: Poland

So i have tested record on XP

1) Running on DosBox
I have the same problem as Jalal.
"WARNING: Error while freeing XMS memory" at the end and random filled bitmaps.
I suppose i know what can be the reason of this erros.
The function which is "grabbing" the screen is working as old dos clock interrupt. Every time it is copying the VGA screen saved in first primary megabyte of the memory. And i'm not sure if dosbox is using this memory while working in 320x200 mode! This can be the reason that every random frame is "the same". The second error may be with XMS memory...

2) Running on "clear" XP
After setting everything to maximum in memory tab and compability with 98 (for prince.exe, prince.pif, record.exe and record.pif) record is working without errors, expect that i can record only 255 frames Confused
Back to top
View user's profile Send private message Visit poster's website  
peter_k
PostPosted: Tue Jun 13, 2006 6:55 pm    Post subject: Reply with quote

Guard
Guard

Age: 20
Joined: 21 Apr 2006
Status: Offline
Posts: 73
Location: Poland

BlackChar wrote:
I already got the source code. However, my TP7 doesn't like running in DosBox, so I'll have to play with settings a bit. Hope I'll have some time later to check things out.


Maybe you should try fpc or gpc? But i don't know if they support intel assembly syntax...
Back to top
View user's profile Send private message Visit poster's website  
jalal
PostPosted: Tue Jun 13, 2006 6:59 pm    Post subject: Reply with quote

Site Admin
Site Admin

Age: 19
Joined: 04 Dec 2005
Status: Offline
Posts: 1619
Location: Lebanon

but why does it record perfectly for other games including pop2 ? what's the different between pop1 and pop2 ? ...
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger 
peter_k
PostPosted: Tue Jun 13, 2006 8:06 pm    Post subject: Reply with quote

Guard
Guard

Age: 20
Joined: 21 Apr 2006
Status: Offline
Posts: 73
Location: Poland

jalal wrote:
but why does it record perfectly for other games including pop2 ? what's the different between pop1 and pop2 ? ...


Before i was testing PoP1. I think the same may occur also in PoP2. Other games i was testing only on win98se, so i don't know if record is recording them perfectly Smile
Back to top
View user's profile Send private message Visit poster's website  
BlackChar
PostPosted: Tue Jun 13, 2006 9:27 pm    Post subject: Reply with quote

Guard Veteran
Guard Veteran

Age: 19
Joined: 03 May 2006
Status: Offline
Posts: 108
Location: Decin, CZ

peter_k: When I ran TP for the first time, DosBox crashed, but now it's ok. I've got another problem - memory. When you run IDE + app (recorder), there's not enough base RAM to run POP1. I'll try to load TP in high memory, if possible. I'm just not very sure HOW to do it. LH probably won't work in DOSBox, huh? ^^;

And btw, I'm pretty sure POP2 works just fine. I've tried it many times.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
jalal
PostPosted: Tue Jun 13, 2006 10:21 pm    Post subject: Reply with quote

Site Admin
Site Admin

Age: 19
Joined: 04 Dec 2005
Status: Offline
Posts: 1619
Location: Lebanon

peter_k wrote:
jalal wrote:
but why does it record perfectly for other games including pop2 ? what's the different between pop1 and pop2 ? ...


Before i was testing PoP1. I think the same may occur also in PoP2. Other games i was testing only on win98se, so i don't know if record is recording them perfectly Smile


i ment POP2. maybe, but not sure, because pop2 has more memory, thus record-er won' conflict with pop. i don't know just wondering Smile
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger 
peter_k
PostPosted: Wed Jun 14, 2006 8:54 pm    Post subject: Reply with quote

Guard
Guard

Age: 20
Joined: 21 Apr 2006
Status: Offline
Posts: 73
Location: Poland

I have tested record using dosbox on my linux machine. And it works Smile The only unpleasent thing is slowing down during the game, but probably i can change this in dosbox.conf.

Some screens:



Back to top
View user's profile Send private message Visit poster's website  
jalal
PostPosted: Thu Jun 15, 2006 8:55 am    Post subject: Reply with quote

Site Admin
Site Admin

Age: 19
Joined: 04 Dec 2005
Status: Offline
Posts: 1619
Location: Lebanon

can you test recorder with pop1 on your linux ?
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger 
peter_k
PostPosted: Thu Jun 15, 2006 1:13 pm    Post subject: Reply with quote

Guard
Guard

Age: 20
Joined: 21 Apr 2006
Status: Offline
Posts: 73
Location: Poland

Unfortunately it don't work with pop1. I'm getting also random filled shots.

Btw: Some in this forum wrote that there is new version of DosBox - 0.65 which allow to make movies...
Back to top
View user's profile Send private message Visit poster's website  
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

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

© 2002 - 2007 Jalal Noureddine, Prince of Persia Unofficial Website