Feature Request for eCC2

I want to show you what I'm doing some evenings in my spare time.
At first I want to say that this is ONLY A PRIVATE HOBBY PROJECT, I don't want to "kill" eCC, But eventually wake up Andreas a bit ;-)

Moderator: DerMicha75

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Feature Request for eCC2

Unread post by Vicman » 06 Jan 2012, 20:48

just a request : (also for ecc1...)
is it possible to have the option "use short filenames" in emulator-setting ?

i could need this for diff. emulators :
- up to now for winvice (commodore vic20) and ep128emu (enterprise)

'cause programs with a comma in the filename don't start in this emus.
examples : 6502 Assembler (1982)(Horton, P.J.).prg... or... Catch, The (1983)(Rabbit).tap

Frontend GameBase use it like this :
Emulators.ini (textfile)

Code: Select all

[Emulators]
1=Vice 2.2
2=WinVice 1.2
3=Vice 1.15
4=
[File Types]
SupportTypes=D64;T64;G64;G41;TAP;CRT;P00;PRG
[Vice 2.2]
UseShortFilenames=1
UseDefaultTypes=0
SupportedTypes=D64;T64;G64;G41;TAP;CRT;P00;PRG
EmulatorPathFile=E:\eCC\ecc-user\vic20\emus\WinVICE-2.2-x86\WinVICE-2.2-x86\xvic.exe
ScriptFile=WinVICE.txt
WaitFinish=1
any idea how to solve this in eCC2 (and ecc1) ?

EDIT :

should be the command in Autoit3 : FileGetShortName.....
but don't know, how to use this in the scripts :(
http://www.autoitscript.com/autoit3/doc ... rtName.htm

User avatar
DerMicha75
ECC2 (java) Developer
Posts: 521
Joined: 05 Feb 2007, 22:14
Location: Germany
Contact:

Re: Feature Request for eCC2

Unread post by DerMicha75 » 11 Jan 2012, 20:32

For AutoIt... should be possible, but phoenix is the expert :-)

For direct use in ECC2: impossible. There is no way in Java to create a correct short filename like Windows does it. I could only guess and always create a filename with ~1 at the end. But when you have 2 similar names this fails...

Micha

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9057
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Feature Request for eCC2

Unread post by Phoenix » 14 Jan 2012, 01:11

Vicman
Hi Sebastiaan,

i need the Emulator-Setting-Option "8.3 Filename" inside the Vic20 and other Scripts.
'cause when i enable "8.3 Filename" and also use a Script, it don't work.

I don't know, how/where to add the "FileGetShortName" - command in the scripts....

Can you do this, please ?
Hi Vicman,

I tested this, and it works fine within ECC :yes_head:

1. In the emulator config select 8.3 output, then ECC writes in 'ecc-script\eccScriptRom.dat':

Code: Select all

rom_file = "THISIS~1.GEN"
rom_path = "C:\EMUCON~1\ecc-test\"
if you didn't select the 8.3 option, ECC writes:

Code: Select all

rom_file = "thisisatestthisisatest1.gen"
rom_path = "C:\emuControlCenter\ecc-test\"
2. therefore in the ecc scriptsystem you can use these variables:
$eccFileRomFile
$eccFileRomPath


I could bring out an patch to let ECC always write the 8.3 path+filename to 'ecc-script\eccScriptRom.dat'....selected or not by the user in the ECC config...example:

Code: Select all

rom_file = "thisisatestthisisatest1.gen"
rom_file_83 = "C:\EMUCON~1\ecc-test\THISIS~1.GEN"
rom_path = "C:\emuControlCenter\ecc-test\"
and create a variable: $eccFileRomFile83

What do you guys think?



--------------------------------------------------------------------------------------------------------------------------------
ps. the above way is the best, because when i implement something like this in 'ecc-script\eccScriptSystem.au3':

Code: Select all

Global $eccFileRomFile = IniRead("..\eccScriptRom.dat", "FILE", "rom_file", "")
Global $eccFileRomFile83 = FileGetShortName($eccFileRomFile)
AND the user selects 8.3 in the ECC config....things could get messy (or i have to use IF....THEN with flags... >not handy!) :shocked:
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Feature Request for eCC2

Unread post by Vicman » 14 Jan 2012, 19:00

Phoenix wrote:----------------
ps. the above way is the best, because when i implement something like this in 'ecc-script\eccScriptSystem.au3':

Code: Select all

Global $eccFileRomFile = IniRead("..\eccScriptRom.dat", "FILE", "rom_file", "")
Global $eccFileRomFile83 = FileGetShortName($eccFileRomFile)
AND the user selects 8.3 in the ECC config....things could get messy (or i have to use IF....THEN with flags... >not handy!) :shocked:
Ok...do i understand you right : It is not so good to patch up autoit3, right ?
So, how to use your idea in the vic20 script.... :oops:

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9057
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Feature Request for eCC2

Unread post by Phoenix » 14 Jan 2012, 19:58

Well actually the VIC20 script for ECC should work fine as it is.....if the option 8.3 is checked in the ECC emulator config!

Can you test this?
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Feature Request for eCC2

Unread post by Vicman » 14 Jan 2012, 20:36

No...:no:

Files with a comma ( , ) don't work in ecc.

It works, when i only use the option 8.3 in the settings.
but, when i use script and use option 8.3 , then games with a " , " in the filename don't start ! (File not found) [option 8.3 don't work with enabled script]

So, option 8.3 works only with disabled script.....(at last by me....)
Test it yourself with "Quikman"....
*Edit Quickman deleted, problem solved!
Attachments
t work for me.jpg
don't work for me...
File not found.jpg
File not found, because of the comma
in the Filename.
(option 8.3 wird erst gar nicht angewendet, obwohl aktiviert)
works.jpg
File found, loading.

works with option 8.3
but only if you don't use the vic20-script
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9057
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Feature Request for eCC2

Unread post by Phoenix » 14 Jan 2012, 21:00

Hi Vicman,

Did you imported this as a zipped the file??, because it all works for me here... :online2long:

8.3 setting + Script > loads the game you provided ;-)

Can you post your ECC ScriptRomDat file (ecc-script\eccScriptRom.dat) here? after you ran the specific game (rename to TXT or ZIP it)
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9057
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Feature Request for eCC2

Unread post by Phoenix » 14 Jan 2012, 21:06

I tested it myself....it seems zipped files cause trouble with the script though....
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Feature Request for eCC2

Unread post by Vicman » 14 Jan 2012, 21:08

Yes, i use zipped files....
Spoiler: show

Code: Select all

[META]
name = "Quikman"
media_type = ""
media_current = ""
media_count = ""
player = "1"
info_id = "[prg][unexp]"
info_string = ""
[FILE]
rom_crc32 = "1E411FE3"
rom_file = "QUBB39~1.ZIP"
rom_path = "E:\!TOSEC~1\Games\_PRG_~1\"
rom_file_packed = "Quikman (1984)(Hurst, Robert).prg"
rom_name_plain = "Quikman (1984)(Hurst, Robert)"
rom_extension = "prg"
rom_file_extension = "zip"
rom_filesize = "3585"
ecc_unpacked_file = "Quikman (1984)(Hurst, Robert).prg"
ecc_unpacked_path = "E:\eCC\ecc-user\#_AUTO_UNPACKED\vic20\"
is_multirom = "0"
[AUDIT]
driver = ""
rom = ""
rom_of = ""
clone_of = ""
set_type = "single"
set_contains_trash = "0"
filename_valid = "0"
[EMU]
emulator_file = "xvic.exe"
emulator_path = "E:\eCC\ecc-user\vic20\emus\WinVICE-2.2-x86\WinVICE-2.2-x86\"
emulator_file_plain = "xvic"
parameter = "%ROM%"
escape = "1"
win8char = "1"
filenameOnly = "0"
noExtension = "0"
executeInEmuFolder = "0"
enableZipUnpackActive = "1"
enableZipUnpackAll = "1"
enableZipUnpackSkip = "1"
useCueFile = "0"
[SYSTEM]
ident = "vic20"
name = "Commodore VIC-20"
category = "Computer"
extensions = "d64, t64, tap, prg, bin, a0, b0, 20, 40, 60, 70, 80, crt, p00"
language = "en"
ecc_folder = "E:\eCC\"
[MULTI]
Last edited by Vicman on 14 Jan 2012, 21:11, edited 1 time in total.
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Feature Request for eCC2

Unread post by Vicman » 14 Jan 2012, 21:09

Phoenix wrote:I tested it myself....it seems zipped files cause trouble with the script though....
But i want using zipped files :cryhard:
Hope you'll find a solution O:)
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9057
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Feature Request for eCC2

Unread post by Phoenix » 14 Jan 2012, 21:42

Bleh... i tested everything, okay this is the problem for ECC:

ECC passes the 8.3 filename (when selected) FOR THE ZIP file (and extract it)
Now inside the ZIP file is again a long name (.PRG), ECC does not convert these to 8.3 filename....

maybe i could find a workaround for this in ECC, but better to fix xvic.exe, see below.


BUT there is a problem (BUG?) also in XVIC.EXE, it cannot handle shortened folders > 8.3, examples

NOT Working (full path + full name):
xvic.exe "c:\emuControlCenter\ecc-user\#_AUTO_UNPACKED\vic20\Quikman 2008 (2008)(Hurst, Robert).prg"

WORKING (full path + 8.3 name):
xvic.exe "c:\emuControlCenter\ecc-user\#_AUTO_UNPACKED\vic20\QUIKMA~1.PRG"

NOT Working (8.3 path + 8.3 name) why not??:
xvic.exe "C:\EMUCON~1\ecc-user\#AUTO~1\vic20\QUIKMA~1.PRG"
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Feature Request for eCC2

Unread post by Vicman » 14 Jan 2012, 22:01

maybe you can add something like this to the vic20script.....

- check if zipped file has a comma in it... Quikman 2008 (2008)(Hurst, Robert).zip
- if yes : unpack the zipfile to folder #_AUTO_UNPACKED.......Quikman 2008 (2008)(Hurst, Robert).prg
- "auto-delete" the comma in unpacked file......Quikman 2008 (2008)(Hurst Robert).prg
- xvic.exe loads the renamed file :-k

is this possible ....... ???
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9057
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Feature Request for eCC2

Unread post by Phoenix » 14 Jan 2012, 22:06

Well....i got a better idea, upgrading the 'eccScriptSystem.au3' atm, hang on, i hope it all works...
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9057
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Feature Request for eCC2

Unread post by Phoenix » 14 Jan 2012, 23:15

Hi Vicman,

Okay it is fixed now and should work OK (i tested it), can you test this also?

ECC EMU CONFIG: Use 8.3 + Script!!

Patch/future update here:
*Edit: File deleted will be released trough ECC Live!

Changelog:

Code: Select all

eccScriptSystem v1.2.0.0
- Added 8.3 Dosfile names on unpacked ROM files when 8.3 is enabled in ECC config! (only affects the FILEname of the ROM)
Vic20 - Xvic script v2.1.0.0 (Phoenix)
- Fixed: The script can now determine the right memorysetting when the romfile is unpacked to a TEMP folder (using Prginfo).
- Fixed: Now displays correctly the path to 'Prginfo.exe' when this program is not found.
- Improved: The versionnumer of 'Prginfo.exe' in the script isn't needed anymore (less script maintenance).
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Feature Request for eCC2

Unread post by Vicman » 14 Jan 2012, 23:43

Great work, Phoenix ! I've tested several files, and all works fine now :clapshout: :flowers:
Thanks a lot !
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9057
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Feature Request for eCC2

Unread post by Phoenix » 14 Jan 2012, 23:55

You're welcome! :thumbsup:

I'll create an update for this!, thanks for testing!

I will not close the post because it's in Micha's space :-"
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Feature Request for eCC2

Unread post by Vicman » 15 Jan 2012, 00:06

well...there are still problems with cartridge games.....[*.crt-files] :oops: (it has nothing to do with the option 8.3 problem...)

i will explain the problem tomorrow..... ;)

btw.
here you will find the latest VIC20 TOSEC (I'm the maintainer :D )
http://www.multiupload.com/A87XKXXO0C
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
Phoenix
ECC Developer 2006-2016
Posts: 9057
Joined: 27 Aug 2006, 01:17
Location: Deventer, The Netherlands
Contact:

Re: Feature Request for eCC2

Unread post by Phoenix » 15 Jan 2012, 00:10

Thanks Vicman!

Ps. could you make a new topic for that in the Troubleshooting / Bugs section of ECC?
Sebastiaan Ebeltjes | ECC Developer 2006-2016 | ECC Forum Admin | Phoenix Interactive WebMaster
[- ECC programs -]
eccUpdate, eccScriptSystem, GtkThemeSelect, DatFileUpdater (DFU), ImagePackCenter (IPC), eccDiagnostics, 3dGallery, iccImageInject
eccKameleonCode, eccCreateStartmenuShotcut, eccThirdPartyConfig (TPC), EmuMoviesDownloader (EMD), eccVideoPlayer
MobyGamesImporter (MGI), ECC Amiga GetGemusConfig.

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Feature Request for eCC2

Unread post by Vicman » 15 Jan 2012, 00:11

ok ;)
good night.
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum

Re: Feature Request for eCC2

Unread post by Vicman » 15 Jan 2012, 10:44

Good Morning,

well, the updated "eccScriptSystem.au3" & "xvic.eccscript" works now fine, when using eCC1.....

But because Micha's eCC2 don't have the "option 8.3" in the emu-settings, it don't work here :surrender:

So, we need another solution (maybe a diff. vic20-script) for eCC2 :?

any ideas here ?
eCC2-emu-setting.jpg
imagepacks:
Done: Vic20, N64, Philips VG-5000 G7000 G7400, SordM5, Amstrad GX4000, Enterprise 64/128
Progress: Atari 8bit, Dosbox, Exelvision EXL 100
Vicman's eCC-Clips on You Tube

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest