View previous topic :: View next topic |
Author |
Message |
bis_senchi

Joined: 08 Jun 2004 Posts: 460 Location: Reims, France
|
Posted: Sat Apr 09, 2005 5:40 am Post subject: Don't understand an error message |
|
|
When I launch my game I've got that message. Could someone help me to understand what it is about ?
The message says
pb interpret encounter noop
Could you also explain me how to solve this problem ?
Thank you very much in advance! |
|
Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
Posted: Mon Apr 11, 2005 6:21 am Post subject: |
|
|
That's not a good message.
Try re-compiling and importing your scripts, see if that solves it. Otherwise, we need the (whole) plotscript for debugging. That includes the .hsi file (if there is one), but we don't need plotscr.hsr.
If you don't want to post the whole file for anyone to read, that's ok. PM it to me, or email me: caron.mike@gmail.com _________________ I stand corrected. No rivers ran blood today. At least, none that were caused by us.
Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ |
|
Back to top |
|
 |
bis_senchi

Joined: 08 Jun 2004 Posts: 460 Location: Reims, France
|
Posted: Mon Apr 11, 2005 8:58 pm Post subject: I see but |
|
|
I work on two computers. One is under windows98 and the other on is under windows 2000.
I have no problems with testing my games under windows98 or compiling my scripts. But under windows 2000 when I want to test my game, the error message appear. Other problem I can't hear any bam music. But I can safely save my rpg file and compile my scripts.
May be I shouldn't copy all the repertory with custom.exe each time I pass from a computer to another one . May be I should re install completely custom on the computer with windows2000. what do you think about this ???
Anyways, thanks very much for the help! |
|
Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
Posted: Tue Apr 12, 2005 7:09 am Post subject: |
|
|
Ok, first off, I'll address the BAM problem: Windows 2000/XP don't do sound in dos. However, there is a program to emulate sound in dos called VDMS. It can be found here
Next, the error: It shouldn't matter whether you copy the files right over, since they're written for DOS, and don't care whether they're on Windows 98 or 2000.
I myself run a Windows 2000 machine, so that's not the problem. Can you get a screen shot of the error? When the error shows up, press Alt-Enter to make the window small, then press Alt-Print Screen to copy the window to the clipboard. Then, go into paint or Photoshop or something, and paste it. _________________ I stand corrected. No rivers ran blood today. At least, none that were caused by us.
Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ |
|
Back to top |
|
 |
Gizmog1 Don't Lurk In The Bushes!

Joined: 05 Mar 2003 Posts: 2257 Location: Lurking In The Bushes!
|
Posted: Tue Apr 12, 2005 2:05 pm Post subject: |
|
|
It's also quite possible that you won't understand this error message without making your own version of game.exe. I seem to remember something in the FAQ about noop errors, so visit www.hamsterrepublic.com, and read through the documentation section, and if that fails, you might just have to write your own version to understand why. |
|
Back to top |
|
 |
bis_senchi

Joined: 08 Jun 2004 Posts: 460 Location: Reims, France
|
Posted: Tue Apr 12, 2005 11:41 pm Post subject: |
|
|
Could somoene give me links for Vdms?
Because the link posted by pkmnfrk is no longer valid.
Thanks in advance ! |
|
Back to top |
|
 |
Inferior Minion Metric Ruler

Joined: 03 Jan 2003 Posts: 741 Location: Santa Barbara, CA
|
|
Back to top |
|
 |
bis_senchi

Joined: 08 Jun 2004 Posts: 460 Location: Reims, France
|
Posted: Tue Apr 12, 2005 11:51 pm Post subject: Finally |
|
|
After a few searches I found http://www.dosgames.com/
They put somoething interesting: they says that there can be problems with files like to the config or the autoexec.nt, and that's exactly what I have. I have to copy each time the computer starts the autoexec.nt file on c://winNT/system
I copy paste the file from windows98 and I think that's why there is a problem
I think my problem would be solved by finding an winNT autoexec.nt file. Could somoene advise me on how to reach for such a file ?
I am really sorry for forgetting something some important
As always thanks very much for the help! |
|
Back to top |
|
 |
Mike Caron Technomancer

Joined: 26 Jul 2003 Posts: 889 Location: Why do you keep asking?
|
Posted: Wed Apr 13, 2005 3:33 am Post subject: |
|
|
Autoexec.nt is the equivalent to autoexec.bat on Windows 9x (and earlier), except it only gets run when you run a dos app (like the OHR). You shouldn't touch the contents of autoexec.anything unless you know what you're doing.
The contents of autoexec.nt (on this WindowsXP computer) should be something like:
Code: | @echo off
REM AUTOEXEC.BAT is not used to initialize the MS-DOS environment.
REM AUTOEXEC.NT is used to initialize the MS-DOS environment unless a
REM different startup file is specified in an application's PIF.
REM Install CD ROM extensions
lh %SystemRoot%\system32\mscdexnt.exe
REM Install network redirector (load before dosx.exe)
lh %SystemRoot%\system32\redir
REM Install DPMI support
lh %SystemRoot%\system32\dosx
REM The following line enables Sound Blaster 2.0 support on NTVDM.
REM The command for setting the BLASTER environment is as follows:
REM SET BLASTER=A220 I5 D1 P330
REM where:
REM A specifies the sound blaster's base I/O port
REM I specifies the interrupt request line
REM D specifies the 8-bit DMA channel
REM P specifies the MPU-401 base I/O port
REM T specifies the type of sound blaster card
REM 1 - Sound Blaster 1.5
REM 2 - Sound Blaster Pro I
REM 3 - Sound Blaster 2.0
REM 4 - Sound Blaster Pro II
REM 6 - SOund Blaster 16/AWE 32/32/64
REM
REM The default value is A220 I5 D1 T3 and P330. If any of the switches is
REM left unspecified, the default value will be used. (NOTE, since all the
REM ports are virtualized, the information provided here does not have to
REM match the real hardware setting.) NTVDM supports Sound Blaster 2.0 only.
REM The T switch must be set to 3, if specified.
SET BLASTER=A220 I5 D1 P330 T3
REM To disable the sound blaster 2.0 support on NTVDM, specify an invalid
REM SB base I/O port address. For example:
REM SET BLASTER=A0
|
Just copy and paste all that. Otherwise, I still need that screenshot to help you further. _________________ I stand corrected. No rivers ran blood today. At least, none that were caused by us.
Final Fantasy Q
OHR Developer BLOG
Official OHRRPGCE Wiki and FAQ |
|
Back to top |
|
 |
bis_senchi

Joined: 08 Jun 2004 Posts: 460 Location: Reims, France
|
Posted: Wed Apr 13, 2005 7:51 am Post subject: ok but |
|
|
All right. But before doing that I would like to be sure :
1) With what programm am I supposed to open autoexec.nt?
2) Shall I erase all the existing code ? If not, in what part of the code file am I supposed to past it ? |
|
Back to top |
|
 |
rpgspotKahn Lets see...

Joined: 16 May 2004 Posts: 720 Location: South Africa
|
Posted: Wed Apr 13, 2005 10:18 am Post subject: |
|
|
Notepad.
Just replace all the code. _________________
2nd Edition out now! |
|
Back to top |
|
 |
TMC On the Verge of Insanity
Joined: 05 Apr 2003 Posts: 3240 Location: Matakana
|
|
Back to top |
|
 |
Gizmog1 Don't Lurk In The Bushes!

Joined: 05 Mar 2003 Posts: 2257 Location: Lurking In The Bushes!
|
Posted: Thu Apr 14, 2005 3:59 pm Post subject: |
|
|
I personally would advice NOT fucking with anything autoexec, or AutoNT, unless you know EXACTLY what you are doing. That's what loads everytime you start up your computer, and if you mess something up, you might wind up disabling your sound, or your CD drive, or something else. IT won't be hard to fix, mind, but you still don't want to go down that road. Try copying that file to a floppy diskette before you do anything. |
|
Back to top |
|
 |
bis_senchi

Joined: 08 Jun 2004 Posts: 460 Location: Reims, France
|
Posted: Fri Apr 15, 2005 12:54 am Post subject: Great news! |
|
|
The autoexec.nt file works perfectly. I managed to launch the game and test it without any bugs. But I still have a problem with the sound.
Even with Vdm sound 2.0.4 installed, I can't hear anything. I am going to check for the sound card compatibility. The programm seems to work... May be my sound card can't display any bam music which is rather strange because It has no problems to display midis under Windows...
Anyway, thanks for the code very much. I am going to check the sound card and informations about all the programms that could be useful to emulated dos and sound under dos for windowsNT
Could the windowsNt and Xp users tell me about the programms that could be useful (VDMS excepted) to emulate bam music ?
Other thing that may be strange... Is it normal to be able to hear windows music as you are making your game under custom.exe ? (I can do that under windows 98SE. As an example custom is launch I press the windows touch and I launch winamp and I can her music when I come back under Custom. But when I am under windowsNt the windows mps music display very slowly...) Does somoene understand why the music is so slow whereas there are no reasons because the programm don't take much memory)
Anyway thanks again and good luck! |
|
Back to top |
|
 |
Inferior Minion Metric Ruler

Joined: 03 Jan 2003 Posts: 741 Location: Santa Barbara, CA
|
Posted: Fri Apr 15, 2005 1:22 am Post subject: |
|
|
Once you install VDMS, you have to run game.exe through it. Sound will not work if you just double click on game.exe. Instead, right click on game.exe and select "Run with VDMS". Sound should work when you do that. _________________
|
|
Back to top |
|
 |
|