ShootersForever.com Forum Index

GoldenEye 007 Nintendo 64 Community, GoldenEye X, Nintendo 64 Games Discussion
GoldenEye Cheats, GoldenEye X Codes, Tips, Help, Nintendo 64 Gaming Community


GoldenEye Setup Editor Feature Requests List/Bugs
Goto page Previous  1, 2, 3 ... 104, 105, 106
 
Post new topic   Reply to topic    ShootersForever.com Forum Index -> Q-Lab Hacking Department
View previous topic :: View next topic  
Wreck
Administrator
Administrator


Joined: 14 Dec 2005
Posts: 7194
Location: Ontario, Canada

 PostPosted: Tue Sep 12, 2023 5:05 pm    Post subject: Reply with quote Back to top

Does sound like one of my requests from over the years. I feel like it might have been for quickly updating the image list in the model header for stuff I had been porting. Characters, objects, weapons, etc. May not be much use outside of that kind of thing now. I'd need to test to confirm.
 
View user's profile Send private message Visit poster's website
Jonaeru
Secret Agent
Secret Agent


Joined: 19 Jan 2013
Posts: 230
Location: Japan

 PostPosted: Mon Oct 02, 2023 3:58 pm    Post subject: Reply with quote Back to top

Is it possible to allow compressed files to be saved when saving files under File Management in the game configuration in the PD editor?
This would be useful when creating mods for the PC port (decomp source).
It is possible to do this in Tools -> Compress File, but it would take a long time to do it one at a time.

Also, it would be nice if the original raw binary could be extracted in the Animation Editor.
_________________
YouTube: https://www.youtube.com/user/jonaeru
NicoNico: https://www.nicovideo.jp/user/2033487
Twitter: https://twitter.com/jonaeru
 
View user's profile Send private message Visit poster's website
SubDrag
Administrator
Administrator


Joined: 16 Aug 2006
Posts: 6115

 PostPosted: Tue Oct 03, 2023 4:10 pm    Post subject: Reply with quote Back to top

Jonaeru wrote:
Is it possible to allow compressed files to be saved when saving files under File Management in the game configuration in the PD editor?
This would be useful when creating mods for the PC port (decomp source).
It is possible to do this in Tools -> Compress File, but it would take a long time to do it one at a time.

Also, it would be nice if the original raw binary could be extracted in the Animation Editor.


The animations thing has come up before, but it's not just a binary - there's a header, and binary section.

I don't know how decomp works, but is there not a standalone tool that can just whip thru and compress/decompress pre-insertion?
 
View user's profile Send private message
Jonaeru
Secret Agent
Secret Agent


Joined: 19 Jan 2013
Posts: 230
Location: Japan

 PostPosted: Tue Oct 03, 2023 6:40 pm    Post subject: Reply with quote Back to top

Quote:
I don't know how decomp works, but is there not a standalone tool that can just whip thru and compress/decompress pre-insertion?


Currently, a file replacement feature for mods exists in PC port.
Just place the file and it will be replaced, but it must be a compressed file.
The compress tool exists (Linux) and may support uncompressed files in the future.

image
https://drive.google.com/file/d/1UYMjkQbGldJnM58JBfj_A6B9LPKSCM2P/view?usp=drive_link


Quote:
The animations thing has come up before, but it's not just a binary - there's a header, and binary section.


It is not essential to be able to extract animations, since there is an extract tool, but I thought it would be useful to be able to extract it in the PD editor.

extract tool: https://gitlab.com/ryandwyer/perfect-dark/-/blob/master/tools/extract?ref_type=heads
_________________
YouTube: https://www.youtube.com/user/jonaeru
NicoNico: https://www.nicovideo.jp/user/2033487
Twitter: https://twitter.com/jonaeru
 
View user's profile Send private message Visit poster's website
SubDrag
Administrator
Administrator


Joined: 16 Aug 2006
Posts: 6115

 PostPosted: Wed Oct 04, 2023 4:49 pm    Post subject: Reply with quote Back to top

Does it not include the header data? That's critical. I just see there ripping the pure data.
 
View user's profile Send private message
Jonaeru
Secret Agent
Secret Agent


Joined: 19 Jan 2013
Posts: 230
Location: Japan

 PostPosted: Wed Oct 04, 2023 7:29 pm    Post subject: Reply with quote Back to top

Sorry if I'm wrong, but does the animations header include numframes, bytesperframe, flags etc?
If so, it is defined in a separate file. (animations.json)

https://gitlab.com/ryandwyer/perfect-dark/-/blob/master/src/assets/ntsc-final/animations.json
_________________
YouTube: https://www.youtube.com/user/jonaeru
NicoNico: https://www.nicovideo.jp/user/2033487
Twitter: https://twitter.com/jonaeru
 
View user's profile Send private message Visit poster's website
SubDrag
Administrator
Administrator


Joined: 16 Aug 2006
Posts: 6115

 PostPosted: Thu Oct 05, 2023 12:06 pm    Post subject: Reply with quote Back to top

Yeah that's it. Shouldn't he have tools to just rip right through and pull out the animations and the header? It wouldn't make sense to export a single binary animation, since then header would be not updated too. I'd also think he should be able to take uncompressed files, or write a quick batch tool that could compress.
 
View user's profile Send private message
Lazlo52
Secret Agent
Secret Agent


Joined: 18 Nov 2017
Posts: 331
Location: N.J.

 PostPosted: Thu Oct 05, 2023 6:26 pm    Post subject: Reply with quote Back to top

SubDrag wrote:
Yeah that's it. Shouldn't he have tools to just rip right through and pull out the animations and the header? It wouldn't make sense to export a single binary animation, since then header would be not updated too. I'd also think he should be able to take uncompressed files, or write a quick batch tool that could compress.

Animations can be modded into the PC port on an individual basis. It uses the raw binary for the animation itself, and a text file to define its header data. The decomp tools don't have visuals and look like some kind of batch script. It's much easier for a common user to browse to the desired anim in the PG editor and extract the binary without the header. The user can then create their own text file for the header data since the editor shows that data.
_________________
Quote:
22 not happening nerds. forget about it. 23 til the day i die.
 
View user's profile Send private message
Jonaeru
Secret Agent
Secret Agent


Joined: 19 Jan 2013
Posts: 230
Location: Japan

 PostPosted: Fri Oct 06, 2023 4:11 am    Post subject: Reply with quote Back to top

Here is the PC port source code
https://github.com/fgsfdsfgs/perfect_dark

Compressed and uncompressed tools exist. It may be modified in the future to support uncompressed, so it may not be that much of a problem.
https://github.com/fgsfdsfgs/perfect_dark/blob/port/tools/rarezip

Sorry for the lack of explanation.
The PC port currently replaces animations by placing files as follows.
If a single binary animation can be exported, it can be replaced by placing it as is. (e.g. animation/00d2.bin)
The header needs to be written in a text file. I think it needs to be written manually. (e.g. animation/00d2.txt)

Code:
PD
|-- eeprom.bin
|-- ibgcc_s_dw2-1.dll
|-- libwinpthread-1.dll
|-- pd.exe
|-- SDL2.dll
|-- zlib1.dll
|-- data
|   `-- pd.ntsc-final.z64
`-- g5_carpark               -> mod directory
    |-- modconfig.txt
    |-- animations
    |   |-- 00d2.bin         -> single binary animation
    |   |-- 00d2.txt         -> header
    |   |-- 0178.bin         -> single binary animation
    |   `-- 0178.txt         -> header
    |-- files                -> compressed files
    |   |-- LoptionsE
    |   |-- LpeteE
    |   |-- Ump_setupmp5Z
    |   `-- bgdata
    |       |-- bg_mp5.seg
    |       `-- bg_mp5_padsZ
    `-- textures
        `-- 061a.bin


Sample by fgsfdsfgs.

modconfig.txt

Code:
# G5 Car Park by Jonaeru
# http://n64vault.com/pd-levels:g5-car-park

# Replace Chicago with Carpark, change music, alarm sound and weatherproof room set
stage 0x1d {
  bgfile "bgdata/bg_mp5.seg"
  tilesfile "bgdata/bg_mp5_tilesZ"
  padsfile "bgdata/bg_mp5_padsZ"
  setupfile "Ump_setupmp5Z"
  alarm 0x00a3
  extragunmem 0
  music {
    primarytrack 0x3e
    xtrack 0x13
  }
  weather {
    exclude_rooms {
      clear
      0x02 0x03 0x04 0x05 0x06 0x07 0x08 0x09
      0x0a 0x0b 0x0c 0x0d 0x0e 0x0f 0x10 0x11
      0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19
      0x1a 0x1b 0x1c 0x1d 0x1e 0x20 0x21 0x22
      0x23 0x24 0x25 0x26 0x27 0x28 0x46 0x47
      0x49 0x55 0x56 0x5e 0x63 0x69 0x03 0x16
      0x4f 0x4b 0x3f 0x13 0x19
    }
  }
}


animations/00d2.txt

Code:
numframes 0x258
bytesperframe 6
headerlen 0x25
framelen 12
flags 0x2


animations/0178.txt

Code:
numframes 0x12d
bytesperframe 0
headerlen 0x25
framelen 12
flags 0xa

_________________
YouTube: https://www.youtube.com/user/jonaeru
NicoNico: https://www.nicovideo.jp/user/2033487
Twitter: https://twitter.com/jonaeru
 
View user's profile Send private message Visit poster's website
SubDrag
Administrator
Administrator


Joined: 16 Aug 2006
Posts: 6115

 PostPosted: Fri Oct 06, 2023 8:06 am    Post subject: Reply with quote Back to top

I guess ultimately, the decompile is a vastly different beast, and doing anything towards it in the editor is just going to unlock a rabbithole of requests.

I'm assuming someone or multiple people are taking a lead on decompile tools, so my suggestion is the better approach is to start creating common tools that rip data from Vanilla/Editor ROMs, towards whatever formats the decompile needs - then it can evolve over time, etc. It should be fairly trivial I would think, to do this, for your requests above, getting it into json formats, or whatever you need.
 
View user's profile Send private message
Jonaeru
Secret Agent
Secret Agent


Joined: 19 Jan 2013
Posts: 230
Location: Japan

 PostPosted: Sat Oct 07, 2023 11:25 pm    Post subject: Reply with quote Back to top

As you say, maybe the request for the decompile should be resolved with tools of decompile.
I will either try to develop it as a practice or submit a request to them.
Thank you for your time.
_________________
YouTube: https://www.youtube.com/user/jonaeru
NicoNico: https://www.nicovideo.jp/user/2033487
Twitter: https://twitter.com/jonaeru
 
View user's profile Send private message Visit poster's website
Wreck
Administrator
Administrator


Joined: 14 Dec 2005
Posts: 7194
Location: Ontario, Canada

 PostPosted: Mon Dec 04, 2023 12:04 am    Post subject: Reply with quote Back to top

I have a request. In GE mode, there is an option..

Export Room -> Game Format

Which saves whatever is currently being used for the vertices and display lists of said room you clicked on. However, this option is greyed out and unavailable for PD mode. Which is a bit odd, considering that when you use the top option to export the entire BG and its room positions, it spits out the files in the same GE format, anyway. Could this option be re-enabled for PD mode? It would be very helpful for making larger scale changes to a specific room. My current work around takes a up far more time than necessary.
 
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    ShootersForever.com Forum Index -> Q-Lab Hacking Department All times are GMT - 8 Hours
Goto page Previous  1, 2, 3 ... 104, 105, 106
Page 106 of 106

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Cobalt 2.0 BB theme/template by Jakob Persson.
Copyright 2002-2004 Jakob Persson


Powered by BB 01, 02 BB Group

 


Please Visit My Other Sites: GoldenEyeForever.com | GrandTheftAutoForever.com

Got kids? Check out my Dora The Explorer site with games and coloring pages!

Our forums feature Nintendo 64 games, GoldenEye 007 N64 New Maps and Missions, GoldenEye Cheats, N64 Emulator, Gameshark, GoldenEye Multiplayer and more!

[ Privacy Policy ]