mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-30 05:14:14 +01:00
20 lines
409 B
Plaintext
20 lines
409 B
Plaintext
|
<?php
|
||
|
$width = $argv[1];
|
||
|
$height = $argv[2];
|
||
|
|
||
|
$aspect = $width / (float)$height;
|
||
|
|
||
|
if (round($aspect*100.0) == 178)
|
||
|
exit(1);
|
||
|
|
||
|
$aspect = number_format((float)$aspect, 3, '.', '');
|
||
|
?>
|
||
|
[TropicalFreeze2]
|
||
|
moduleMatches = 0x4FF15DD2
|
||
|
0x10018498 = .float <?=$aspect?>
|
||
|
0x10094758 = .float <?=$aspect?>
|
||
|
|
||
|
[TropicalFreeze16]
|
||
|
moduleMatches = 0xA37C99E1
|
||
|
0x100184A8 = .float <?=$aspect?>
|
||
|
0x100946F8 = .float <?=$aspect?>
|