Commit Graph

905 Commits

Author SHA1 Message Date
Lorenzooone 1f03f27ac5
Upgrade to mgba_rom_test for faster testing (#175)
It's a 0.10 new platform, which is lighter than mgba-sdl, and also allows automatically closing the emulator when the tests end.
Helps making both the actions and the user-side docker testing faster
2022-07-09 18:08:31 +02:00
Lorenzooone 7c9408ec44
Harden workflows by defining only strictly needed permissions for all of them (#174)
* Define only needed write permissions
2022-07-05 15:38:23 +02:00
Lorenzooone 64c1d925a3
Merge pull request #172 from Lorenzooone/master
Improve Test PR security
2022-07-05 02:37:53 +02:00
Lorenzooone 341df589ab Improve PR security 2022-07-05 02:31:41 +02:00
Lorenzooone f3a669cf0b
Fully fix Testing PRs (#170) 2022-07-04 00:06:22 +02:00
Lorenzooone feb3adbb2a
Merge pull request #168 from Lorenzooone/master
Allow testing PRs
2022-07-03 23:22:30 +02:00
Lorenzooone 39bb61543f Allow testing PRs 2022-07-03 23:19:35 +02:00
Lorenzooone 1b0964c50e
Merge pull request #167 from Lorenzooone/master
Make workflows run for master
2022-07-03 23:11:12 +02:00
Lorenzooone c5408c2232 Make workflows run for master 2022-07-03 23:06:19 +02:00
Lorenzooone eb96f57f68
Update README.md 2022-07-03 22:53:10 +02:00
Lorenzooone c949c2a29c
Change to Github actions for building + releasing & testing (#166)
Should fix the issue with temp-builds on appveyor as well.
2022-07-03 22:52:08 +02:00
jeffman b75fb2b9da
Merge pull request #158 from Lorenzooone/update-enemy-text
Update enemy text to match EB's and fix window overflow for encounter text
2022-01-24 09:21:27 -05:00
Lorenzo Carletti b7efccc27b Adds one missing pixel to the width overflow check
Also better handles the case of
"X
and its cohorts attacked!"
by breaking it into
"X and
its cohorts attacked!"
if possible.
2022-01-17 20:55:28 +01:00
Lorenzo Carletti 1e261f5e7d Handle "X attacked!" differently
Having
"The
X attacked!" wasn't a good way to do this. Now it 's more likely to do
"The X
attacked!"
It also mantains the beheviour of not leaving "attacked" alone if "and its cohort/s" is printed.
2022-01-17 08:59:53 +01:00
Lorenzo Carletti 75a2d868b1 Add missing condition for IS_NEWLINE 2022-01-17 06:13:35 +01:00
Lorenzo Carletti c458447a34 Match the maximum amount of nestedness the game can reach 2022-01-17 06:04:56 +01:00
Lorenzo Carletti bd2acc82ab Add auto newline for encounter text 2022-01-17 05:57:02 +01:00
Lorenzo Carletti 4e23e12b54 Update death text to match EB 2022-01-16 05:54:35 +01:00
Lorenzo Carletti d0b3bcad1f Update encounter text to match EB 2022-01-16 05:21:13 +01:00
jeffman 586391eee3
Merge pull request #157 from Lorenzooone/gas-station
Localize gas station screen
2022-01-07 15:27:54 -05:00
jeffman 566a315cf1
Merge pull request #156 from Lorenzooone/custom_default_names
Adds the ability to change default names
2022-01-07 15:27:45 -05:00
jeffman b30c7c967e
Merge pull request #155 from Lorenzooone/test_docker
Add testing docker build files and usage
2022-01-07 15:27:37 -05:00
Lorenzo Carletti 6794d0ddef Change the text to be 3 pixels shorter
Matches the change made for M1+2
2022-01-01 21:35:27 +01:00
Lorenzo Carletti a35c547a46 Localize gas station screen
Also added a png with just the background for future translations
2022-01-01 19:02:50 +01:00
Lorenzo Carletti 0e7ed4945e Add customizable default names 2022-01-01 05:05:22 +01:00
Lorenzo Carletti 56788421aa Remove xvfb and use SDL env variable instead
It turns out that xvfb and Windows don't really work together, even if it's inside of a docker.
2021-12-30 22:08:25 +01:00
Lorenzooone 025d617b02 Improve compatibility with Windows and its Powershell 2021-12-30 21:48:59 +01:00
Lorenzooone fca0331def Use multi-stage to save space on tester docker 2021-12-30 19:45:42 +01:00
Lorenzo Carletti ff47b3076d Use multi-stage building for docker 2021-12-30 14:04:07 +01:00
Lorenzooone 71b13445b6 Add testing docker build files and usage 2021-12-28 02:10:18 +01:00
Lorenzooone 737fb02e64 Merge branch 'Ds886-master' 2021-12-27 20:25:51 +01:00
Lorenzooone 3412187933 Change docker script's execution flow
Changes the user who will build the ROM.
Separates building the docker image and building the ROM.
Updates README.md to reflect the new building method.
2021-12-27 20:25:25 +01:00
Ds886 7992ee47e3 Fixes spacelines and clean out output 2021-12-24 00:52:44 +02:00
Ds886 de513fd714 Adds an automated docker build 2021-12-24 00:50:52 +02:00
jeffman 009a974a60
Merge pull request #153 from Lorenzooone/test_rows
Add missing target boundary tests and overworld menu items boundary tests
2021-12-20 20:37:53 -05:00
Lorenzo Carletti dbedc3712a Add overworld menu's items boundary testing 2021-12-20 00:34:28 +01:00
Lorenzo Carletti fad84ad9be Add front row and back row target boundary tests 2021-12-18 02:20:00 +01:00
Lorenzo Carletti 008b96204e Add target_name boundary tests 2021-12-18 02:08:25 +01:00
jeffman 8f24089e13
Merge pull request #150 from Lorenzooone/psi_battle_nopp_fix
Fix windows when the "Not enough PP!" message shows up in battle
2021-12-05 13:30:20 -05:00
Lorenzo Carletti 79893ad462 Make tests more indipendent from each other 2021-12-02 22:47:51 +01:00
Lorenzo Carletti 9bb93ff7a0 Change "Who? to "Whom?"
Used when choosing who will consume something.
2021-12-02 21:32:55 +01:00
Lorenzo Carletti cfcdb18a9f Simplify memory blanking 2021-12-02 21:09:24 +01:00
Lorenzo Carletti b71218955b Handle the "Not enough PP!" window's removal 2021-12-02 20:48:16 +01:00
jeffman 01c80662df
Merge pull request #149 from Lorenzooone/testing_branch
Add death text tests
2021-12-01 09:11:11 -05:00
Lorenzo Carletti 4301e6a747 Fix inner battle psi window being reprinted every two frames 2021-12-01 12:58:04 +01:00
Lorenzo Carletti 3132e180cc Add death text tests 2021-11-30 22:44:26 +01:00
Lorenzo Carletti 40dbb00b22 Add memory wipe function 2021-11-30 12:53:36 +01:00
Lorenzooone b8ca6df07e
Merge pull request #148 from Lorenzooone/testing_branch
Update test script
2021-11-28 18:25:23 +01:00
Lorenzo Carletti 6e21c0ef92 Update test script
Done in order to match e938be4ba8 and the mGBA builds that will use it.
2021-11-28 18:24:52 +01:00
jeffman 067b77f8f2
Merge pull request #147 from Lorenzooone/testing_branch
Add unit testing script and first test
2021-11-21 13:43:15 -05:00