Ren'Py 6.3.0 Released

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Message
Author
c.s.marshall
Newbie
Posts: 18
Joined: Wed Apr 11, 2007 2:44 pm
Location: Dortmund, Germany
Contact:

#16 Post by c.s.marshall »

Tried it under WinXP SP2: five times as single task, five times under load (P7 rendering in background), five times with VD Compressing video in background. Not a single flaw ...

Mmmmmhhh ... I know I sometimes have *very* peculiar ideas, but what Codec was used for compressing the MPG originally? I ask because there are some compression formats that get buggy when they themselves are compressed (re-encoded) again, like the old MS 263.

One could try the procedure with differently pre-encoded MPGs and see what happens ...
---
Chris

User avatar
PyTom
Ren'Py Creator
Posts: 16097
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#17 Post by PyTom »

This is really a phenomenally annyoing bug. Can more people get involved, letting me know if it works (or doesn't) on your machine?
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

J13
Regular
Posts: 60
Joined: Wed Jan 24, 2007 3:28 am
Location: Cambridge
Contact:

#18 Post by J13 »

Using mpgtest-new.zip and the linked debugger program, Ren'Py crashed when the video was supposed to play and i got the following.
ModLoad: 02b30000 02c29000 C:\WINDOWS\system32\nvwimg.dll
(890.a54): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=016754f0 ebx=008cc9a0 ecx=00000003 edx=00000000 esi=00000000 edi=016754f0
eip=1e015d9a esp=0328fa38 ebp=00000003 iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010246
*** WARNING: Unable to verify checksum for C:\Desk files\Self productions\mpgtest-new\mpgtest-new\PYTHON23.DLL
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Desk files\Self productions\mpgtest-new\mpgtest-new\PYTHON23.DLL -
PYTHON23!PyEval_EvalCodeEx+0x93a:
1e015d9a 8b4e2c mov ecx,dword ptr [esi+2Ch] ds:0023:0000002c=????????

Counter Arts
Miko-Class Veteran
Posts: 649
Joined: Fri Dec 16, 2005 5:21 pm
Completed: Fading Hearts, Infinite Game Works
Projects: Don't Save the World
Organization: Sakura River
Location: Canada
Contact:

#19 Post by Counter Arts »

My machine seems to be working fine all times with the new one... let me test the old one.


EDIT: Tried 3 versions three times each or more. No problems whatsoever!

Man... what are the specs on everyone's machines?

P4 2.4 GHz machine, 512 RAM, winXP SP2

User avatar
PyTom
Ren'Py Creator
Posts: 16097
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#20 Post by PyTom »

Okay, added another fix. Hopefully, this one will do it.
Attachments
mpgtest-new2.zip
(4 MiB) Downloaded 91 times
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

Nafai
Veteran
Posts: 290
Joined: Thu Jun 29, 2006 2:10 pm
Projects: Elect: Ascendance
Location: Philippines
Contact:

#21 Post by Nafai »

Worked without a glitch for me, except when I tried moving the window around while the video was playing (which resulted in the pixelization earlier reported) but leaving the window alone the movie ran without a hitch.
Image

J13
Regular
Posts: 60
Joined: Wed Jan 24, 2007 3:28 am
Location: Cambridge
Contact:

#22 Post by J13 »

I unfortunately still get the crash with the new version, this is what i got with the debugger, it only ever crashes when the movies supposed to play through a second time though.
ModLoad: 02b30000 02c29000 C:\WINDOWS\system32\nvwimg.dll
(fc8.20c): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=01682750 ebx=008b7160 ecx=00000003 edx=00000000 esi=00000000 edi=01682750
eip=1e015d9a esp=0328fa38 ebp=00000003 iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010246
*** WARNING: Unable to verify checksum for C:\Desk files\Self productions\mpgtest-new2\mpgtest-new2\PYTHON23.DLL
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\Desk files\Self productions\mpgtest-new2\mpgtest-new2\PYTHON23.DLL -
PYTHON23!PyEval_EvalCodeEx+0x93a:
1e015d9a 8b4e2c mov ecx,dword ptr [esi+2Ch] ds:0023:0000002c=????????
and in case specs are relevant
Pentium 4 D 3 ghz
1.5 gb DDR2 Ram
GeForce 7950 GX2

User avatar
EwanG
Miko-Class Veteran
Posts: 711
Joined: Thu Oct 26, 2006 5:37 pm
Location: San Antonio, TX
Contact:

#23 Post by EwanG »

PyTom,
Seems like the best fix for now might be to just drop support for cutscene movies. I presume there are other ways to do animations for folks who really need them, and I am certain I could rewrite either of my current projects to not use them.

Just a thought,
Ewan

Enerccio
Miko-Class Veteran
Posts: 616
Joined: Thu Oct 26, 2006 4:23 pm
Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
Location: Slovakia, Kosice
Contact:

#24 Post by Enerccio »

EwanG wrote:PyTom,
Seems like the best fix for now might be to just drop support for cutscene movies. I presume there are other ways to do animations for folks who really need them, and I am certain I could rewrite either of my current projects to not use them.

Just a thought,
Ewan
I hope not though
Image
http://www.bishojo.tk is technically ONLINE!
Songs of Araiah promo: http://www.youtube.com/watch?v=CalchucuoDU

Enerccio
Miko-Class Veteran
Posts: 616
Joined: Thu Oct 26, 2006 4:23 pm
Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
Location: Slovakia, Kosice
Contact:

#25 Post by Enerccio »

PyTom wrote:Okay, added another fix. Hopefully, this one will do it.
working 100% here
Image
http://www.bishojo.tk is technically ONLINE!
Songs of Araiah promo: http://www.youtube.com/watch?v=CalchucuoDU

chronoluminaire
Eileen-Class Veteran
Posts: 1153
Joined: Mon Jul 07, 2003 4:57 pm
Completed: Elven Relations, Cloud Fairy, When I Rule The World
Tumblr: alextfish
Skype: alextfish
Location: Cambridge, UK
Contact:

#26 Post by chronoluminaire »

Test Version 2 doesn't crash for me, but it does glitch. The first time through it froze on the first screen and didn't animate at all; the second time it glitched for a second or so, then animated nicely. Third time also glitched for a second. Fourth time and fifth times were smooth and fine.

Update: sixth time it crashed and froze :(

This is on an Athlon dual-core 2.21GHz with 2GB of RAM, running WinXP SP2.

Running it in the debugger, it crashed first time. The command window shows:
(e10.dd8): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=fffffffe ebx=fffffffe ecx=00000000 edx=76b601c0 esi=fffffffe edi=0015c860
eip=76b44fa9 esp=0012f28c ebp=0012f2b4 iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010246
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINNT\system32\WINMM.DLL -
WINMM!timeGetTime+0x14e:
76b44fa9 8b40d4 mov eax,dword ptr [eax-2Ch] ds:0023:ffffffd2=????????

The call stack looked like:

WARNING: Stack unwind information not available. Following frames may be wrong.
WINMM!timeGetTime+0x14e
WINMM!midiOutGetDevCapsW+0xf9
WINMM!midiOutGetDevCapsA+0x55
WINMM!midiSteamOpen+0xea
PYTHON23!PyCFunction_Call+0x5a
PYTHON23!PyEval_GetFuncDeck+0x11b
PYTHON23!PyEval_EvalCode+0x1f55
Last edited by chronoluminaire on Thu Jun 14, 2007 11:02 am, edited 1 time in total.
I released 3 VNs, many moons ago: Elven Relations (IntRenAiMo 2007), When I Rule The World (NaNoRenO 2005), and Cloud Fairy (the Cute Light & Fluffy Project, 2009).
More recently I designed the board game Steam Works (published in 2015), available from a local gaming store near you!

User avatar
DaFool
Lemma-Class Veteran
Posts: 4171
Joined: Tue Aug 01, 2006 12:39 pm
Contact:

#27 Post by DaFool »

Is it really crucial to have mpegs obfuscated, given that

1.) JP commercial VNs usually have the mpegs (OPs) unobfuscated
2.) There is already code to unarchive resources from Ren'Py games.

(I would test this, but sadly I'm on a really slow machine right now.).

Enerccio
Miko-Class Veteran
Posts: 616
Joined: Thu Oct 26, 2006 4:23 pm
Projects: My Teacher; Songs of Araiah; Something new; Possible Cross Bomber?
Location: Slovakia, Kosice
Contact:

#28 Post by Enerccio »

DaFool wrote:Is it really crucial to have mpegs obfuscated, given that

1.) JP commercial VNs usually have the mpegs (OPs) unobfuscated
2.) There is already code to unarchive resources from Ren'Py games.

(I would test this, but sadly I'm on a really slow machine right now.).
1) Ewan said that he should stop implementing mpgs at all, which is not good
2) Yeah, I don't mind them unobfuscated
3) you cannot use that code to get files from any archive, you can only if you know the name and path of file.
Image
http://www.bishojo.tk is technically ONLINE!
Songs of Araiah promo: http://www.youtube.com/watch?v=CalchucuoDU

User avatar
PyTom
Ren'Py Creator
Posts: 16097
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

#29 Post by PyTom »

I'd really like this to work, so I'm spending some time on it.

Hm... chrono's stack trace points to it maybe being a problem with reinitializing the sound system. Could the people that have been having problems please try replacing renpy/audio/audio.py with the attached file?

Thanks.

(I see the corruption that occurs if you move the window around, but for now I'm treating that as a "don't do that" sort of situation.)
Attachments
audio.py
(17.99 KiB) Downloaded 97 times
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

chronoluminaire
Eileen-Class Veteran
Posts: 1153
Joined: Mon Jul 07, 2003 4:57 pm
Completed: Elven Relations, Cloud Fairy, When I Rule The World
Tumblr: alextfish
Skype: alextfish
Location: Cambridge, UK
Contact:

#30 Post by chronoluminaire »

Using that new audio.py, it doesn't glitch at all. First two times played fine.

Third time crashed with identical stack trace and command history to Drake's, as far as I can tell:
WARNING: Stack unwind information not available. Following frames may be wrong.
PYTHON23!PyEval_EvalCodeEx+0x93a
PYTHON23!PyEval_EvalCode+0x25e0
PYTHON23!PyEval_EvalCodeEx+0x70f

(b3c.554): Access violation - code c0000005 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
eax=01686120 ebx=008d3840 ecx=00000003 edx=00000000 esi=00000000 edi=01686120
eip=1e015d9a esp=0310fa38 ebp=00000003 iopl=0 nv up ei pl zr na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010246
*** WARNING: Unable to verify checksum for C:\TEMP\mpgtest-new2\PYTHON23.DLL
*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\TEMP\mpgtest-new2\PYTHON23.DLL -
PYTHON23!PyEval_EvalCodeEx+0x93a:
1e015d9a 8b4e2c mov ecx,dword ptr [esi+2Ch] ds:0023:0000002c=????????


Update: I tried restarting the debugger. This time it glitched again the first time, and the second time froze, without any stack trace or info in the command window. That precise sequence happened twice more.

Looks like you've fixed the audio problem I was having, but the main problem of Drake's and others' is still around.
I released 3 VNs, many moons ago: Elven Relations (IntRenAiMo 2007), When I Rule The World (NaNoRenO 2005), and Cloud Fairy (the Cute Light & Fluffy Project, 2009).
More recently I designed the board game Steam Works (published in 2015), available from a local gaming store near you!

Post Reply

Who is online

Users browsing this forum: Bing [Bot], giorgi1111