The 2011 Christmas gift: ECC2 version 0.6

Posts that are done/fixed/closed or aged! for this section are placed in here to keep the forum in shape & more viewable!

Moderator: DerMicha75

Locked [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
DerMicha75
ECC2 (java) Developer
Posts: 521
Joined: 05 Feb 2007, 22:14
Location: Germany
Contact:

The 2011 Christmas gift: ECC2 version 0.6

Unread post by DerMicha75 » 25 Dec 2011, 21:16

Hi all,

here comes the next version. As always: Use at own risk, its just beta state. The best way is to set up a new directory, then create all user dirs (use the command in tools menu) and copy / import roms.

Here are the release notes:

Code: Select all

Version 0.6 (2011-12-25) 
========================

fixed:

- some button resized wrong in image edit widged (when main window was too small)
- About dialog showed 0.4 instead of 0.5, now it shows 0.6 :-) 
- when starting multiple parse jobs now they wait before excution for finishing the others
- added a "offset = 16" for parsing NES, so now the correct CRC is calculated, use this guide to update without losing images/videos
  1. export images/videos
  2. delete images/videos directories
  3. reparse rom dirs
  4. import images/videos  
- when reparsing roms there was no update on path, filename and packed name
- parsing problems with TOSEC-names when information was stored in [] and started with special letters (m, u, ...)

added:

- images export function (single or all image types, file names based on different name fields or CRC32)
- videos export function (file names based on different name fields or CRC32)
- filter for region (only for main game view)
- filter for language (only for main game view)
- launch time and launch count are now filled
- ALL platforms from ECC1 now available in ECC2, count is 186. 
  Note: not all are currently working (platforms with zip as extension, multi rom platforms like MAME, ...) 
- platform information widget now shows information (when file eccident_facts.html is present in config dir) 
- Creation of user dirs now creates a subdir for each set type (based on information which set is available), when
  starting ECC2 with empty dirs in options these directories are configured correctly with set type
- parsing rom directories now lets you select all or a specific directory
- new context menu action in game view "open ROM folder", opens the folder where game is located (only Windows)
- New context menu (in platform list): Tools
  - Search for missing roms
  - Search for unneeded images/videos (you can then backup and/or delete them)

internal:

- renamed config files (You have to delete or rename your config files in /config/user dir!) 
  - emulator_eccid.ini --> eccid_emulator.ini
  - platform_eccid.ini --> eccid_platform.ini
  - facts_eccid.html --> eccid_facts.html
- updated to ini4j-0.5.2 (fixes Unicode problems with some platforms)
- new libraries jackcess-1.2.5, commons-lang-2.6.jar and commons-logging-1.1.1.jar for accessing Access databases
And here the download links:

Full package (23 MB): http://www.michas-modellbahn.de/_static ... 6_full.zip
Update (14 MB): http://www.michas-modellbahn.de/_static ... update.zip

Have fun!

Micha

PS: Look at the tools menu to see what is planned next...

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: The 2011 Christmas gift: ECC2 version 0.6

Unread post by Vicman » 27 Dec 2011, 14:16

Thanks Micha !
I'll try it this evening \:D/
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
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: The 2011 Christmas gift: ECC2 version 0.6

Unread post by Vicman » 28 Dec 2011, 23:10

Hi Micha,

i tryed to run a SNES - game with diff. emus, but i had no luck :-k

it works with ecc1 , when using %ROM% and "Pfad escapen"....but this option is not added in ecc2 (yet) ?

Does snes works for you ?

and if yes : wich emu and settings ?
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
DerMicha75
ECC2 (java) Developer
Posts: 521
Joined: 05 Feb 2007, 22:14
Location: Germany
Contact:

Re: The 2011 Christmas gift: ECC2 version 0.6

Unread post by DerMicha75 » 29 Dec 2011, 17:36

You have to escape it yourself... just put " around the %ROM% so it will lokk like: "%ROM%" and it works.

Micha

User avatar
Vicman
PLATINUM member
Posts: 1233
Joined: 17 Jun 2007, 16:12
Location: Germany,Bochum
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: The 2011 Christmas gift: ECC2 version 0.6

Unread post by Vicman » 29 Dec 2011, 19:24

Thanks,that was the trick :)
Also my vic20 games works now in ecc2 with the"%ROM%"... ;)...exept roms that haven't additional infos in the field "Info-ID". (in example : [prg][unexp][pal] )
The script or ecc2 can't find the utility "PRG-Info.exe" wich is than needed to start a vic20-program with the right Vice-config....
I put the "PRG-Info.exe" in E:\ECC2 v0.6\scripts\vic20...but i allways get the error-message :
PRG Info 'E:\eCC2 v0.\vic20\PrgInfo.exe' not found.... :-k
any idea ? maybe phoenix ?

here is the vic20 - script :
Spoiler: show
; Platform : Commodore VIC-20
; Script for : VICE emulator (xvic.exe) (tested with v2.1)
; Script version : v2.0.0.0
; Last changed : 2009.02.05
;
;
; Author : Sebastiaan Ebeltjes (aka Phoenix)
;
; NOTES:
;
;
;
;
; ==============================================================================
; You need to implent this block in every script, this changes the workfolder to
; the folder where this script is executed, and loads the 'eccScriptSystem' script.
FileChangeDir(@ScriptDir)
#include "..\eccScriptSystem.au3"
; ==============================================================================

; ------------------------------------------------------------------------------
; BEGIN OF SCRIPT
; ------------------------------------------------------------------------------

; SET additional variables for script
Global $VicIni = $eccEmuEmulatorPath & "vice.ini"
Global $VicCommandline = " "

; Check if the 'Meta-Info ID' field is filled in.
If $eccMetaInfoId = "" Then
; META INFO ID is not present

; Check if 'PrgInfo.exe' exists in the script folder
If FileExists($eccSystemEccFolder & "\ecc-script\vic20\PrgInfo.exe") <> 1 Then
MsgBox(0, $eccSystemName, "PRG Info '" & $eccSystemEccFolder & "\vic20\PrgInfo.exe' not found!")
Exit
EndIf

;First we need to 'catch' the right setting from 'PRGInfo'

; start 'PRGInfo' (using chr34 to put rom in quotes)
Run(@ScriptDir & "\PrgInfo.exe " & chr(34) & $eccFileRomPath & $eccFileRomFile & chr(34))

; wait until 'PRGInfo' is loaded
WinWait("PRGInfo 1.0.2", "", 10)

; Get the text from the PRG info windows and put it in a variable
$prg_info = WinGetText("PRGInfo 1.0.2", "")

; close 'PRGinfo'
WinClose("PRGInfo 1.0.2", "")

; Get the 'cpu settings' string from 'PRGinfo'
For $search_cpu = 1 to StringLen($prg_info)

; Check if string is found
If StringMid($prg_info, $search_cpu, 14) = "--------------" Then

; go 2 bytes further to get the good 'cpu string'
$search_cpu_found = $search_cpu + 16
EndIf
Next

; ROM files
If StringMid($prg_info, $search_cpu_found, 8) = "Vic20 4K" Then $VicCommandline = $VicCommandline & "-memory 3k "
If StringMid($prg_info, $search_cpu_found, 8) = "Vic20 8K" Then $VicCommandline = $VicCommandline & "-memory 8k "
; BASIC files
If StringMid($prg_info, $search_cpu_found, 16) = "Unexpanded Vic20" Then $VicCommandline = $VicCommandline & "-memory none "
If StringMid($prg_info, $search_cpu_found, 13) = "Vic20 with 3K" Then $VicCommandline = $VicCommandline & "-memory 3k "
If StringMid($prg_info, $search_cpu_found, 13) = "Vic20 with 8K" Then $VicCommandline = $VicCommandline & "-memory 8k "
If StringMid($prg_info, $search_cpu_found, 14) = "Vic20 with 16K" Then $VicCommandline = $VicCommandline & "-memory 16k "
If StringMid($prg_info, $search_cpu_found, 14) = "Vic20 with 24K" Then $VicCommandline = $VicCommandline & "-memory 24k "
; Other
If StringMid($prg_info, $search_cpu_found, 26) = "Vic20 With Super Expander" Then $VicCommandline = $VicCommandline & "-memory 8k "
If StringMid($prg_info, $search_cpu_found, 46) = "Vic20 graphics memory (standard 5K) or C64/128" Then $VicCommandline = $VicCommandline & "-memory 8k "
If StringMid($prg_info, $search_cpu_found, 42) = "Commodore64/128 or Vic20 with 3K expansion" Then $VicCommandline = $VicCommandline & "-memory 3k "
; Not supported
If StringMid($prg_info, $search_cpu_found, 13) = "Commodore 128" Then
MsgBox(0, $eccSystemName, "No setting found for 'Commodore 128 (Or expanded Vic20 with altered basic memory address)'")
Exit
EndIf
If StringMid($prg_info, $search_cpu_found, 64) = "Expanded Vic20, saved from manually altered basic memory address" Then
MsgBox(0, $eccSystemName, "No setting found for 'Expanded Vic20, saved from manually altered basic memory address'")
Exit
EndIf
If StringMid($prg_info, $search_cpu_found, 12) = "Commodore 64" Then
MsgBox(0, $eccSystemName, "No setting found for 'Commodore 64 (Or Expanded Vic20, saved from manually altered basic memory address)'")
Exit
Endif
If StringMid($prg_info, $search_cpu_found, 30) = "Cassette buffer or sprite data" Then
MsgBox(0, $eccSystemName, "No setting found for 'Cassette buffer or sprite data'")
Exit
EndIf
If StringMid($prg_info, $search_cpu_found, 16) = "Commodore 64/128" Then
MsgBox(0, $eccSystemName, "No setting found for 'Commodore 64/128'")
Exit
EndIf
Else
; META INFO ID is present
; Get information to run in NTSC or PAL.
If StringInStr($eccMetaInfoId, "[ntsc]") Then $VicCommandline = $VicCommandline & "-ntsc "
If StringInStr($eccMetaInfoId, "[pal]") Then $VicCommandline = $VicCommandline & "-pal "

; Set memorybanks for VIC-20
If StringInStr($eccMetaInfoId, "[unexp]") Then $VicCommandline = $VicCommandline & "-memory none "
If StringInStr($eccMetaInfoId, "[all]") Then $VicCommandline = $VicCommandline & "-memory all "
If StringInStr($eccMetaInfoId, "[3k]") Then $VicCommandline = $VicCommandline & "-memory 3k "
If StringInStr($eccMetaInfoId, "[8k]") Then $VicCommandline = $VicCommandline & "-memory 8k "
If StringInStr($eccMetaInfoId, "[16k]") Then $VicCommandline = $VicCommandline & "-memory 16k "
If StringInStr($eccMetaInfoId, "[24k]") Then $VicCommandline = $VicCommandline & "-memory 24k "
If StringInStr($eccMetaInfoId, "[Custom 3,5]") Then $VicCommandline = $VicCommandline & "-memory 3,5 "

; Settings for catridges (no memory settings needed...?)
If StringInStr($eccMetaInfoId, "[a0]") Then $VicCommandline = $VicCommandline & "-cartA -cart6 "
If StringInStr($eccMetaInfoId, "[b0]") Then $VicCommandline = $VicCommandline & "-cartB "
If StringInStr($eccMetaInfoId, "[20]") Then $VicCommandline = $VicCommandline & "-cart2 "
If StringInStr($eccMetaInfoId, "[40]") Then $VicCommandline = $VicCommandline & "-cart4 "
If StringInStr($eccMetaInfoId, "[60]") Then $VicCommandline = $VicCommandline & "-cart6 "
If StringInStr($eccMetaInfoId, "[test]") Then $VicCommandline = $VicCommandline & "-cart6 E:/eCC/ecc-user/#_AUTO_UNPACKED/vic20/arachnoid.crt "
If StringInStr($eccMetaInfoId, "[neu]") Then $VicCommandline = $VicCommandline & "-cart6 $RomFile "
If StringInStr($eccMetaInfoId, "[cart]") Then $VicCommandline = $VicCommandline & "-cartA -cart6"
; If StringInStr($eccMetaInfoId, "[test2]") Then $VicCommandline = $VicCommandline & "-cartA "
EndIf

; Run the rom
Run($Emulator & " " & $VicCommandline & $RomFile)

; ------------------------------------------------------------------------------
; END OF SCRIPT
; ------------------------------------------------------------------------------
Exit
btw.
ecc2 v0.6 ! works ok so far :clapshout:
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
DerMicha75
ECC2 (java) Developer
Posts: 521
Joined: 05 Feb 2007, 22:14
Location: Germany
Contact:

Re: The 2011 Christmas gift: ECC2 version 0.6

Unread post by DerMicha75 » 03 Jan 2013, 20:05

Closed, newer version available.

Locked
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 1 guest