grumpycoders / grumpycoders/pcsx-redux

export_to_redux.py produces something that doesn't seem to load properly

Open
#1,291 8 comments 0 reactions 1 assignee Claimed by @twevs View on GitHub
Dominant language
C++
Stars
994
Forks
151
Avg merge
1d 15h
Merged PRs (30d)
18

Description

### Describe the bug

I'm using a modified `export_to_redux.py`. Modification is as below and should hopefully be unrelated (crashes with None otherwise on un-named fields...).

```
field_name = component.getFieldName()
if field_name == None:
field_name = 'field{}_0x{:02x}'.format(component.getOrdinal(), component.getOffset())
```

It then producse some redux_funcs.txt and redux_data_types.txt which look sane to me at a glance.

I attach them in the ticket. Let me know if you need more information.

PS: Great software so far, much nicer for debugging/reversing than whatever else I tried!

### Expected behavior

I load these in Typed Debugger (dynarec disabled). It doesn't complain but there are no functions listed at all.

As a side-note, exporting symbols from ghidra via the the Java script seems to work...

### Steps to reproduce the bug

I guess just load these two in and see if functions come up.

[redux_data_types.txt](https://github.com/grumpycoders/pcsx-redux/files/11311777/redux_data_types.txt)

[redux_funcs.txt](https://github.com/grumpycoders/pcsx-redux/files/11311779/redux_funcs.txt)

### Operating System

NixOS

### PCSX-Redux version

git 0093bea292920f1d1c3eb7515026b4153fe2e926

### CPU model

Intel(R) Core(TM) i7-8086K CPU

### GPU model & Drivers

GTX 1080Ti, NVIDIA 530.41.03

### BIOS version

scph5500

### Options

- [ ] Dynarec CPU
- [ ] 8MB
- [ ] OpenGL GPU
- [ ] Fastboot
- [X] Debugger

### Iso checks

_No response_

### Logs

Nothing comes up when loading, no failure.

### Additional information

![empty](https://user-images.githubusercontent.com/893115/234038418-bd3750fd-5d40-4d2b-9702-19f6d904d448.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.