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.


Messages - Josepzin

Pages: [1]
1
General / Re: Rom paths, subfolder scan
« on: September 14, 2017, 06:26:43 AM »
I make this .BAT for crt/dsk-prg-tap files, it work!!!

Code: [Select]
@echo off
SETLOCAL enableextensions disabledelayedexpansion
ECHO Iniciando emulador C64 +-------------
ECHO Juego: %1

SET var=%1
SET searchVal=.crt
SET var|FINDSTR /b "var="|FINDSTR /i %searchVal% >nul
REM IF ERRORLEVEL 1 (echo It does't contain crt) ELSE (echo It contains .crt)
REM http://stackoverflow.com/questions/17602659/batch-file-find-if-substring-is-in-string-not-in-a-file-part-2-using-variab
IF ERRORLEVEL 1 ( GOTO normal ) ELSE ( GOTO cartridge )

:cartridge
ECHO Cartucho
D:\juegos\Commodore\C64\WinVICE/x64.exe -cartcrt %1 +confirmexit -fullscreen -autostart-warp
goto end

:normal
D:\juegos\Commodore\C64\WinVICE/x64.exe -autostart %1 +confirmexit -fullscreen -autostart-warp

:end
ENDLOCAL

2
Scripting / Re: screensaver
« on: September 13, 2017, 02:44:08 PM »
I'm not sure what things would "block" it, but perhaps send a signal to do nothing, maybe set display to the current display? Basically try to find something that does nothing, but could prevent it from launching the screensaver.

What i can do??

This code is for identify the event:

Code: [Select]
fe.add_transition_callback( "transition" );
function transition( ttype, var, transition_time )
{
local redraw_needed = false;
if( ttype == Transition.EndLayout && var == FromTo.ScreenSaver )
{
::print( "\n\nSCREENSAVERRRR\n\n" );
//return true;
}
   
   return false;
}

But a do know what i can do for prevent screensaver launch :S

3
Scripting / Re: sound.duration do not work?
« on: September 12, 2017, 11:48:54 AM »
"Solved": player_sound.time );

When i start to play the sound (player_sound.playing    = true;) i store the actual tick and then substract this value to the real tick :)

4
Scripting / sound.duration do not work?
« on: September 11, 2017, 09:53:04 PM »
Get duration o get time do not work, but playing or file_name yes.

Example:
Code: [Select]
local player_sound = fe.add_sound( "D:\\insertcoin.mp3" );
player_sound.playing = true; // or player_sound.playing = false; --> OK
::print( player_sound.file_name ); // --> ok
::print( player_sound.duration ); // --> 0
::print( player_sound.time ); // --> 0

Any suggest??

5
Scripting / Re: Magic Tokens UPPERCASE?
« on: September 09, 2017, 11:02:34 PM »
Thanks!!

6
Themes / Re: animated gifs / animated gif / .gif files as cover?
« on: October 07, 2016, 12:39:44 PM »
GIF animated como image snapshot is a great idea!!!

We can use this: http://ocreload.com/listp.php?sysid=18&sort=1&page=32

7
General / Re: Rom paths, subfolder scan
« on: September 23, 2016, 05:11:10 AM »
Reusing this post.

Vice need a special arg for CRT files, it is possible?

8
General / Re: Rom paths, subfolder scan
« on: November 06, 2015, 02:51:55 PM »
Thanks to both! :)

Can be interesting what Attract mode scan subfolders.

9
General / Re: updated sprites for attracman layout
« on: October 12, 2015, 08:38:15 AM »
So much better :)

10
General / Rom paths, subfolder scan
« on: October 12, 2015, 08:21:46 AM »
Hi!

Rom paths not scans subfolders?

Example: i have c64 games like this:
- olds
- olds > a
- olds > b
- olds > c
- olds > ...
- olds > z
- actual
- actual > mojontwins
- actual > seucks
- actual > rgcd >...
etc

Pages: [1]