GithubHelp home page GithubHelp logo

xwa_hooks's Introduction

Top Langs Jérémy Ansel's GitHub stats

xwa_hooks's People

Contributors

bguthrie1 avatar jeremyansel avatar morallo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

xwa_hooks's Issues

Request to add FG color to HangarMap.txt

Quoting you:

"; Must contain at least 4 object line.
; Format is : model index, position X, position Y, position Z, heading XY, heading Z
; Numbers can be in decimal or hexadecimal (0x) notation.
; When position Z is set to 0x7FFFFFFF, this means that the object stands at the ground."

Can we add something right after model index for FG color?

ETW tracing to generate custom events on hook execution

This would allow easy visualization of the frame rendering timeline in GPUView.
It will help modify the hook_d3d to optimize performance and reduce latency.

I would propose to emit one event each time a hook callback function is called, so it should be implemented in hook_main.

Before putting a big effort on it, do you think it makes sense @JeremyAnsel ?

An additional feature could be generating a ETW on demand for a list of given call instructions, provided by their address in a config file.
This would allow a low-overhead dynamic instrumentation of xwingalliance.exe useful for reversing and hooking analysis/design.
Hook_main would need to implement the necessary memory patching to capture the flow without altering the execution.
Is this second feature even feasible?

Thanks in advance!

Request to add way to hard set proving ground hangar

It seems that whatever opt is installed to represent the default hangar in missions also represents the proving ground as well. If that changes so does the proving ground. Can we have a way to hard set the proving ground hangar in a cfg?

Request to add craft parked height override (Hangar Hook)

I've been playing around with adding a hangar to DTM's Gozanti Cruiser. It works pretty well other than the animation rising the ship into the cruiser a bit at launch (If we can ever modify the animation that would be awesome).

However, I have centered the TIE fighter so that it sits perfectly under the clamps, but every other TIEs parked height is spaced further down from the cruiser.

If I can suggest a change to the flightmodel.ini section that overrides ride height for a specific craft for just that mother ship's hangar.

Example:

In Gozanti_FullHangar.ini

Add a section "[ParkedHeightOverride]"

So I could add

";ModelIndex_006_TieInterceptor
6, 0, 0, 0x7FFFFFFF, 16600, 0"

Where

Format is : model index, position X, position Y, position Z, heading XY, heading Z

Then I could change "0x7FFFFFFF" to say "25" and that would raise the player's TIE Interceptor in that specific hangar by 25 without affecting the ride height of other fighters you might choose.

Request to add (IFF)HangarMap.txt

This is a request to implement specific hangar map text loading based on the IFF of the model in question. This will allow multi faction ships to have multiple different interiors based on mission context and IFF set for said ship. when reading an flightmodel.ini, read the [HangarMap] and [ReplaceOpts] sections by default, but if say the flightmodel in mission is IFF Imperial, load [ImpHangarMap] and [ImpReplaceOpts] section from the ini

Whatever format works, but here is another format example.
[RebelHangarMap] [RebelHangarObjects]
[ImperialHangarMap] [ImperialHangarObjects]
[BlueHangarMap] [BlueHangarObjects]
[YellowHangarMap] [YellowHangarObjects]
[RedHangarMap] [RedHangarObjects]
[AzzameenHangarMap] [AzzameenHangarObjects]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.