Skip to content

Commit

Permalink
2.2.0.3
Browse files Browse the repository at this point in the history
Corrected :
 - Random Error making UXS crash. (Changing a part of MAIN
<-> ENGINE communication system)
 - Changing color progressbar is now
only green (Maybe a raison of random crash)
 - SSH finally will work
(sorry for that)
 - Apostrophes in filename now works... (Thanks
Marblemad)

Added :
 - ProgressBar when creating the XML File
  • Loading branch information
Universal-Rom-Tools committed Jun 6, 2017
1 parent 6872430 commit 0851018
Show file tree
Hide file tree
Showing 22 changed files with 140 additions and 7,662 deletions.
74 changes: 37 additions & 37 deletions Include/_MyFunction.au3
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ Func _GDIPlus_ResizeMax($iPath, $iMAX_Width, $iMAX_Height)
_GDIPlus_ImageDispose($hImageResized)
_WinAPI_DeleteObject($hImageResized)
_GDIPlus_ImageDispose($hImage)
_WinAPI_DeleteObject($hImageResized)
_WinAPI_DeleteObject($hImage)
_GDIPlus_Shutdown()
If Not FileDelete($iPath_Temp) Then
_LOG("Error deleting " & $iPath_Temp, 2, $iLOGPath)
Expand Down Expand Up @@ -1523,8 +1523,8 @@ Func _GDIPlus_Imaging($iPath, $aPicParameters, $vTarget_Width, $vTarget_Height)
Local $Image_C2Y = _GDIPlus_RelativePos($aPicParameters[5], $vTarget_Height)
Local $Image_C3X = _GDIPlus_RelativePos($aPicParameters[6], $vTarget_Width)
Local $Image_C3Y = _GDIPlus_RelativePos($aPicParameters[7], $vTarget_Height)
Local $Image_C4X = _GDIPlus_RelativePos($aPicParameters[11], $vTarget_Width)
Local $Image_C4Y = _GDIPlus_RelativePos($aPicParameters[12], $vTarget_Height)
;~ Local $Image_C4X = _GDIPlus_RelativePos($aPicParameters[11], $vTarget_Width)
;~ Local $Image_C4Y = _GDIPlus_RelativePos($aPicParameters[12], $vTarget_Height)
Local $Image_OriginX = _GDIPlus_RelativePos($aPicParameters[13], $iWidth)
Local $Image_OriginY = _GDIPlus_RelativePos($aPicParameters[14], $iHeight)
Switch $Image_OriginX
Expand Down Expand Up @@ -1603,28 +1603,28 @@ Func _GDIPlus_Imaging($iPath, $aPicParameters, $vTarget_Width, $vTarget_Height)
Case ''
$Image_C3Y = $Image_C1Y + $iHeight
EndSwitch
Switch $Image_C4X
Case 'CENTER'
$Image_C4X = Int($vTarget_Width / 2) + $iWidth
Case 'LEFT'
$Image_C4X = $iWidth
Case 'RIGHT'
$Image_C4X = $vTarget_Width + $iWidth
Case ''
$vNo4thPoint = 1
$Image_C4X = $Image_C1X + $iWidth
EndSwitch
Switch $Image_C4Y
Case 'CENTER'
$Image_C4Y = Int($vTarget_Height / 2) + $iHeight
Case 'UP'
$Image_C4Y = 0 + $iHeight
Case 'DOWN'
$Image_C4Y = $vTarget_Height + $iHeight
Case ''
$vNo4thPoint = 1
$Image_C4Y = $Image_C1Y + $iHeight
EndSwitch
;~ Switch $Image_C4X
;~ Case 'CENTER'
;~ $Image_C4X = Int($vTarget_Width / 2) + $iWidth
;~ Case 'LEFT'
;~ $Image_C4X = $iWidth
;~ Case 'RIGHT'
;~ $Image_C4X = $vTarget_Width + $iWidth
;~ Case ''
;~ $vNo4thPoint = 1
;~ $Image_C4X = $Image_C1X + $iWidth
;~ EndSwitch
;~ Switch $Image_C4Y
;~ Case 'CENTER'
;~ $Image_C4Y = Int($vTarget_Height / 2) + $iHeight
;~ Case 'UP'
;~ $Image_C4Y = 0 + $iHeight
;~ Case 'DOWN'
;~ $Image_C4Y = $vTarget_Height + $iHeight
;~ Case ''
;~ $vNo4thPoint = 1
;~ $Image_C4Y = $Image_C1Y + $iHeight
;~ EndSwitch


$Image_C1X = $Image_C1X + _GDIPlus_RelativePos($aPicParameters[9], $vTarget_Width) - $Image_OriginX
Expand All @@ -1633,25 +1633,25 @@ Func _GDIPlus_Imaging($iPath, $aPicParameters, $vTarget_Width, $vTarget_Height)
$Image_C2Y = $Image_C2Y + _GDIPlus_RelativePos($aPicParameters[10], $vTarget_Height) - $Image_OriginY
$Image_C3X = $Image_C3X + _GDIPlus_RelativePos($aPicParameters[9], $vTarget_Width) - $Image_OriginX
$Image_C3Y = $Image_C3Y + _GDIPlus_RelativePos($aPicParameters[10], $vTarget_Height) - $Image_OriginY
$Image_C4X = $Image_C4X + _GDIPlus_RelativePos($aPicParameters[9], $vTarget_Width) - $Image_OriginX
$Image_C4Y = $Image_C4Y + _GDIPlus_RelativePos($aPicParameters[10], $vTarget_Height) - $Image_OriginY
;~ $Image_C4X = $Image_C4X + _GDIPlus_RelativePos($aPicParameters[9], $vTarget_Width) - $Image_OriginX
;~ $Image_C4Y = $Image_C4Y + _GDIPlus_RelativePos($aPicParameters[10], $vTarget_Height) - $Image_OriginY

_LOG("$Image_C1X = " & $Image_C1X, 2, $iLOGPath)
_LOG("$Image_C1Y = " & $Image_C1Y, 2, $iLOGPath)
_LOG("$Image_C2X = " & $Image_C2X, 2, $iLOGPath)
_LOG("$Image_C2Y = " & $Image_C2Y, 2, $iLOGPath)
_LOG("$Image_C3X = " & $Image_C3X, 2, $iLOGPath)
_LOG("$Image_C3Y = " & $Image_C3Y, 2, $iLOGPath)
_LOG("$Image_C4X = " & $Image_C4X, 2, $iLOGPath)
_LOG("$Image_C4Y = " & $Image_C4Y, 2, $iLOGPath)

If $vNo4thPoint = 1 Then
_LOG("_GDIPlus_DrawImagePoints", 2, $iLOGPath)
_GDIPlus_DrawImagePoints($hGraphic, $hImage, $Image_C1X, $Image_C1Y, $Image_C2X, $Image_C2Y, $Image_C3X, $Image_C3Y)
Else
_LOG("_GDIPlus_GraphicsDrawImage_4Points", 2, $iLOGPath)
_GDIPlus_GraphicsDrawImage_4Points($hGraphic, $hImage, $Image_C1X, $Image_C1Y, $Image_C2X, $Image_C2Y, $Image_C3X, $Image_C3Y, $Image_C4X, $Image_C4Y)
EndIf
;~ _LOG("$Image_C4X = " & $Image_C4X, 2, $iLOGPath)
;~ _LOG("$Image_C4Y = " & $Image_C4Y, 2, $iLOGPath)

;~ If $vNo4thPoint = 1 Then
_LOG("_GDIPlus_DrawImagePoints", 2, $iLOGPath)
_GDIPlus_DrawImagePoints($hGraphic, $hImage, $Image_C1X, $Image_C1Y, $Image_C2X, $Image_C2Y, $Image_C3X, $Image_C3Y)
;~ Else
;~ _LOG("_GDIPlus_GraphicsDrawImage_4Points", 2, $iLOGPath)
;~ _GDIPlus_GraphicsDrawImage_4Points($hGraphic, $hImage, $Image_C1X, $Image_C1Y, $Image_C2X, $Image_C2Y, $Image_C3X, $Image_C3Y, $Image_C4X, $Image_C4Y)
;~ EndIf
_GDIPlus_ImageSaveToFile($hBMPBuff, $iPath)
_GDIPlus_GraphicsDispose($hGraphic)
_WinAPI_DeleteObject($hGraphic)
Expand Down
Binary file added MIX Repository/ComicBook (3img).zip
Binary file not shown.
4 changes: 4 additions & 0 deletions MIX Repository/Preview/ComicBook (3img)/Description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Author : Screech
Description :
3 images assembled in a comic book style: 3D Box, Screenshot and Wheel
To use with Comic Book Theme by TMNTturtlguy : https://retropie.org.uk/forum/topic/9211
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion MIX Repository/_MIXList.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@ Arcade Zoomed (moon)-Retropie
BigShot (2DBox)
BigShot (3DBox)
BigShot (ScreenShot)
ComicBook (3img)
FoolScreen (Arcade)
FoolScreen (GameGear)
FoolScreen (GB)
FoolScreen (GBA)
FoolScreen (GBC)
FoolScreen (GW)
FoolScreen (GameGear)
FoolScreen (Lynx)
FoolScreen (Monitor)
FoolScreen (NGP)
Expand Down
2 changes: 1 addition & 1 deletion ProfilsFiles/Recalbox.xml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
<Element Type="RomExcluded">
<Source_Type>Variable_Value</Source_Type>
<Source_Value>%AutoExclude%</Source_Value>
<AutoExcludeEXT>bin|img|iso|ccd|sub</AutoExcludeEXT>
<AutoExcludeEXT>bin|img|iso|ccd|sub|wav</AutoExcludeEXT>
<AutoExcludeValue>(Track |[Bios]|(Bios)</AutoExcludeValue>
</Element>
<Options>
Expand Down
2 changes: 1 addition & 1 deletion ProfilsFiles/Retropie.xml
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
<Element Type="RomExcluded">
<Source_Type>Variable_Value</Source_Type>
<Source_Value>%AutoExclude%</Source_Value>
<AutoExcludeEXT>bin|img|iso|ccd|sub</AutoExcludeEXT>
<AutoExcludeEXT>bin|img|iso|ccd|sub|wav</AutoExcludeEXT>
<AutoExcludeValue>(Track |[Bios]|(Bios)</AutoExcludeValue>
</Element>
<Options>
Expand Down
Binary file modified Ressources.zip
Binary file not shown.
Binary file modified Ressources/Images/Temp/Wheel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0851018

Please sign in to comment.