Pc port debug small qol (#1663)

* Enable L2 'boost if cheatmode is on and PC PORT

Nice QOL

* Enable daxter intro CS skip in retail mode on PC_PORT

* Add empty jak1 folder in ISO_DATA

We can revert this if we want but yeah I just think its more convenient by a tiny tiny tiny amount

* Fix typo in comment to be consistant

This probably isn't a typo but like a EU/US thing or something however I changed it just to be consistent with the other 382 instances in the port.

* Add gitignore back to root ISO_Data folder

* Remove early mention of Jak 2

* Update .gitignore

!**/.gitignore
pull/1671/head
Zedb0T 2022-07-17 14:14:57 -04:00 committed by GitHub
parent e9567a6e4b
commit 4c3e23bcb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 4 deletions

View File

@ -1966,7 +1966,7 @@
((and (= (-> e tag i name) 'text-id) (= (-> e tag i elt-count) 1) (= (-> e tag i elt-type) int32))
(format *debug-temp-string* " (game-text-id ~S)" (enum->string game-text-id (-> (the (pointer int32) data) 0)))
)
;; eco-info, like in vents, crates, or collectibles in general
;; eco-info, like in vents, crates, or collectables in general
((and (= (-> e tag i name) 'eco-info) (= (-> e tag i elt-count) 2) (= (-> e tag i elt-type) int32))
(format *debug-temp-string* " ~S " (pickup-type->string (the-as pickup-type (-> (the (pointer int32) data) 0))))
(if (= (pickup-type fuel-cell) (-> (the (pointer int32) data) 0))

View File

@ -842,7 +842,7 @@
(if (and (>= (-> self racer heat) (-> *RACER-bank* heat-max)) (= (-> self game mode) 'play))
(send-event self 'attack #f (static-attack-info ((mode 'heat))))
)
(if (and *cheat-mode* *debug-segment* (cpad-pressed? 0 l2))
(if (and *cheat-mode* (or *debug-segment* PC_PORT) (cpad-pressed? 0 l2))
(send-event self 'boost 1.0)
)
(let ((v1-218 (- (-> *display* base-frame-counter) (-> self racer boost-time))))

View File

@ -483,7 +483,7 @@
)
:trans (behavior ()
((-> (method-of-type logo startup) trans))
(if (and *debug-segment*
(if (and (or *debug-segment* PC_PORT)
(cpad-pressed? 0 start circle x)
(member (level-status *level* 'village1) '(loaded active))
)

5
iso_data/.gitignore vendored
View File

@ -1,2 +1,5 @@
*
!.gitignore
!**/.gitignore
# Add Empty folders to place your assets.

2
iso_data/jak1/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*
!.gitignore