Please login or register.

Login with username, password and session length
Advanced search  


For WME related articles and tutorials visit WME Resource Center.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - lacosaweb

Pages: [1] 2 3
Technical forum / Problem overriding changeScene method
« on: November 06, 2021, 02:19:11 PM »
Hi, I write my custom Game.ChangeScene method:

Code: [Select]
method ChangeScene(Scene_name,fadeout,fadein)
global altermenuopciones;
if(Scene.Name!="negro" && Scene.Description!="intro")
if(fadeout==null) fadeout=true;
menu_opciones = true;
global selected_item;
Game.SelectedItem = null;
selected_item = null;


Game.ChangeScene(Scene_name, false, false);

The method works ok but the script stands in memory and never disappear.
In debug console I can see that it gets through to the end, but every time I change scene a new changeScene item is added in memory.
This doesen't happen when I replance the las line of my method "Game.ChangeScene(Scene_name, false, false);" to "Game.ChangeScene(Scene_name);". But I need to change Scene without fade.

WME Lite / game in obb file
« on: October 10, 2015, 08:32:02 PM »
Hi, I'm trying to compile the game in a obb file using jobb provided with sdk tools.

I make a file of all directory of my game (including all dcp packages), then copied the obb file into SD card /Android/obb/my.package/

Then replaced the return of getGamePackagePath as
                  return "obbmount://"
         + Environment.getExternalStorageDirectory()
         + "/Android/obb/"
         + appPackageName
         + "/"
         + "main."
         + appVersionCode
         + "."
         + appPackageName
         + ".obb";

But when I run the game shows this error:

W/System.err﹕ OBB mount error: 20

WME Lite / Special font characters in wme android
« on: October 10, 2015, 06:36:10 PM »
Hi I'm running the wme game in android but special characters like áéíóúñ didn't show.

I'm using the same TTF font that in windows that it's correctly showing all characters but in android not.

Is any issue of this or any solution?


WME Lite / Error runing wme game in Android
« on: September 26, 2015, 05:00:04 PM »
Hi, when I try to run the game, seeing the logfile everything looks fine until these lines:

09-26 17:57:41.026    3278-3314/ V/﹕ AssetDir: Request to open asset at path: raw success=TRUE
09-26 17:57:41.026    3278-3314/ V/﹕ AssetDir: close handle
09-26 17:57:41.116    3278-3314/ V/﹕ AssetDir: Request to open asset at path: raw success=TRUE
09-26 17:57:41.116    3278-3314/ V/﹕ AssetDir: next filename=ProjectMan.log
09-26 17:57:41.116    3278-3314/ V/﹕ AssetDir: next filename=SceneEdit.log
09-26 17:57:41.116    3278-3314/ V/﹕ AssetDir: next filename=SpriteEdit.log
09-26 17:57:41.116    3278-3314/ V/﹕ AssetDir: next filename=WindowEdit.log
09-26 17:57:41.116    3278-3314/ V/﹕ AssetDir: next filename=wme.log
09-26 17:57:41.116    3278-3314/ V/﹕ AssetDir: next filename=wme_demo.wpr
09-26 17:57:41.116    3278-3314/ V/﹕ AssetDir: next filename=NULL
09-26 17:57:41.116    3278-3314/ V/﹕ AssetDir: close handle
09-26 17:57:41.116    3278-3314/ V/﹕ DirectoryOperations: opendir('/data\') success=FALSE
09-26 17:57:41.116    3278-3314/ V/﹕ 17:57:41:   Registered 0 files in 0 package(s)
09-26 17:57:41.116    3278-3314/ V/﹕ 17:57:41: Initializing scripting engine...
09-26 17:57:41.116    3278-3314/ V/﹕ 17:57:41:   Script compiler is NOT available
09-26 17:57:41.116    3278-3314/ V/﹕ 17:57:41: Error opening file 'startup.settings'
09-26 17:57:41.116    3278-3314/ V/﹕ 17:57:41: CBGame::LoadSettings failed for file 'startup.settings'
09-26 17:57:41.116    3278-3314/ V/﹕ 17:57:41: Error loading game settings.
09-26 17:57:41.116    3278-3314/ V/﹕ 17:57:41:
09-26 17:57:41.116    3278-3314/ V/﹕ 17:57:41: Shutting down...
09-26 17:57:41.116    3278-3314/ V/﹕ 17:57:41: Shutting down scripting engine

I placed my 'data' directory into 'raw' directory and changed the getGameFilePath() and getGamePackagePath() in like the documentation indicates.

The log line "DirectoryOperations: opendir('/data\') success=FALSE" indicates that wme didn't find the data directory?

What is the problem?

WME sources discussion / Screen resolution scale down
« on: March 18, 2014, 12:30:03 PM »
Hi, I'm working on a full HD game (1920x1080) but when I try to run it in a computer without FullHD screen, the game doesn't run.

I'm trying to implement Downscaling resolution in case the screen can't work with game current res. I read that WMELite do it in CBRenderSDL::InitRenderer, but I don't know how to implement it in the WME Windows.

Please, can anyone help me? I think that is an important feature.

Thanks a lot!

Game announcements / James Peris English version available
« on: July 13, 2012, 07:06:44 PM »
Hi, the English version of James Peris adventure is now available in

Video trailer:


Foro general / James Peris en español ya disponible
« on: March 22, 2012, 09:14:46 AM »
Hola a todos, quería anunciaros que la versión completa de James Peris en español ya está disponible en la página oficial.

Ahora estamos trabajando en la versión en inglés, esperamos tenerla terminada en pocas semanas.


Aquí os dejo el trailer oficial:

Technical forum / Crash when exit game
« on: January 12, 2012, 05:27:16 PM »
Hi, I'm testing my game is some computers.
In all WindowsXP computers that I have tested the game works OK.
But in 2 computers with Windows7 the game crash when exits, this is the crash.log:

Code: [Select]
---------- wme 1.9.001 crash report: 12-01-2012, 11:21 ----------
JamesPeris.exe caused a EXCEPTION_ACCESS_VIOLATION in module JamesPeris.exe at 0023:00419F7F
EAX=00000004  EBX=00000001  ECX=00000000  EDX=005A2614  ESI=00000000
EDI=FFFFFFFE  EBP=0018FCD4  ESP=0018FCD0  EIP=00419F7F  FLG=00010202
CS=0023   DS=002B  SS=002B  ES=002B   FS=0053  GS=002B
Stack trace:
0023:00419F7F (0x1E972D2B 0x027C5BB0 0x0018FE28 0x00598957) JamesPeris.exe
0023:00479B11 (0x027C5BB0 0x0018FDA0 0x00451D62 0x00000001) JamesPeris.exe, CBGame::IsDirectXBound()+112289 byte(s)
0023:00418ADF (0x00000001 0x75F814DD 0x01E20000 0x00000000) JamesPeris.exe
0023:00451D62 (0x03360000 0x0000003E 0x0277E758 0x0000003E) JamesPeris.exe
0023:00401B49 (0x1E972FEF 0x01F5E038 0x0018FEA0 0x00594843) JamesPeris.exe
0023:0040155F (0x01F5E038 0x0018FEB0 0x0044F689 0x00000001) JamesPeris.exe
0023:00408D7F (0x00000001 0x1E972F6B 0xFFFFFFFE 0x00000000) JamesPeris.exe
0023:0044F689 (0x1E972F3B 0xFFFFFFFE 0x00000000 0x00000001) JamesPeris.exe
0023:00401066 (0x01F5E038 0x00400000 0x00000000 0x0026361E) JamesPeris.exe
0023:004010ED (0x7EFDE000 0x0018FFD4 0x770B9EF2 0x7EFDE000) JamesPeris.exe
0023:75F8339A (0x7EFDE000 0x76B81FE4 0x00000000 0x00000000) kernel32.dll, BaseThreadInitThunk()+18 byte(s)
0023:770B9EF2 (0x00536932 0x7EFDE000 0x00000000 0x00000000) ntdll.dll, RtlInitializeExceptionChain()+99 byte(s)
0023:770B9EC5 (0x00536932 0x7EFDE000 0x00000000 0x78746341) ntdll.dll, RtlInitializeExceptionChain()+54 byte(s)

My game is fully 2D, isn't compiled with Direct3D 9 option.
Any idea what is the cause of this error?


Foro general / Nueva demo de James Peris
« on: December 12, 2011, 03:17:50 PM »
Queda poco más de un mes para el lanzamiento de la aventura James Peris Sin Licencia Ni Control. Para ello hemos querido actualizar la demo que presentamos hace tiempo con las nuevas mejoras que tendrá el juego completo.

Por el momento solo disponible en español.

Descarga aquí la demo:

Technical forum / Crash when saving loaded game
« on: December 04, 2011, 07:12:19 PM »
Hi, when I save game this warning is displayed:

Warning: invalid instance 'm_WaitObject'

The game is saved succeful and can be loaded without problems.
But when I load this game and save again these warnings are displayed:

Warning: invalid instance 'm_WaitObject'
Warning: invalid instance ''

Then, when I load this game again the wme crash with this report:

Code: [Select]
---------- wme 1.9.001 crash report: 04-12-2011, 19:10 ----------
wme.exe caused a EXCEPTION_ACCESS_VIOLATION in module wme.exe at 001B:00411059
EAX=00000000  EBX=00000001  ECX=00000000  EDX=00000000  ESI=06D774A8
EDI=0AFD3F10  EBP=0000000B  ESP=0012FCC4  EIP=00411059  FLG=00010297
CS=001B   DS=0023  SS=0023  ES=0023   FS=003B  GS=0000
Stack trace:
001B:00411059 (0x00000000 0x00000000 0x00000000 0x00000000) wme.exe

It happens always when I save a loaded game and load it.

Any solution? Any cause?


Software and games / Recording voice volume
« on: September 20, 2011, 07:31:30 AM »
Hi, we have been recording voices for the game since three months. Now, when I implement it into game I see that some of them are very low volume and other are high.

We have more that 5000 audio files of voices, its impossible to edit all manually to fix the volume.

Anybody knows any software that can process volume for all audio files and make all equal?

Technical forum / Characters size
« on: June 04, 2011, 03:29:49 PM »
Hi, I see that letters in game takes the same size as windows desktop default font size. If you incrase or decrase the default window font size, the game font is affected and the layout looks very bad.

Is any way to aboid that game fonts size are linked to windows desktop size?

Technical forum / Multiple character problem
« on: February 01, 2010, 11:19:41 AM »
Hi, I'm finding problems in working with multiple main characters.

The idea is make the same as "Day of the Tentacle" or "Maniac Mansion", the player can change the main actor in the game.

Code: [Select]


If 2 actors are assigned to Game (Game.LoadActor), like in the code I wrote, I have the 2 actors in all rooms. This is bad because If the player goes to another room with actor1, the actor2 would be staying in the previous room.
When the player selects to play with actor2, the game needs to change the current scene to the current room of actor2. It doesn't work.

Any help? Any example? Anyone have worked with more than one actor in WME?


Feature requests, suggestions / http send/get
« on: January 21, 2010, 09:49:57 AM »
It will be interesting that in game, the player can see if any new version or patch is aviable. This would be connecting to a internet server.

It would be a great feature that Wintermute can download patches from www or send score to a server.

WME sources discussion / how works dcscomp.dll
« on: September 30, 2009, 04:17:16 PM »
Hi, I'm studying the possibility to export WME to other platforms like iPhone and Linux to compile our games in these platforms but I see that dcscomp.dll compile the scripts. This dll I think that would be compile the scripts in win32 platform and the sourcecode of this dll is not distributed with the wme sourcecode.

I think that it's not possible to export the wme games to other platforms if dcscomp.dll compile in win32 code.
Jan, it's true? Why?
I'll need the sourcecode of dcscomp.dll to compile the scripts in each platform.

Pages: [1] 2 3

Page created in 0.029 seconds with 16 queries.